LXG Blog

Rome was not built in a day.

Android PMS Verification

PackageManagerService

应用安装检查 Package Verifiers 应用安装检查 核心代码 PackageManagerService.java /** * Whether verification is enabled by default. */ private static final boolean DEFAULT_VERIFY_ENABLE = true...

Android Systrace

Performance tools

参考网址 systrace-看云 systrace-官网 systrace-AOSP systace-Gityuan 简介 Android Device Monitor ./sdk/tools/monitor 命令行 命令行抓取systrace python ./platform-tools/s...

AndroidStudio FAQ

FAQ

AS快捷键 常见问题解决方法 gradle下载慢问题 // 使用阿里云的镜像 buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } } } allprojects { repositories ...

Android Linux Shell

system/bin system/xbin

toybox external/toybox/Android.mk toybox –help usage: toybox [--long | --version | [command] [arguments...]] With no arguments, shows available commands. First argument is name of a command to ...

Android Logcat

Debug

android-logcat logcat system 缓冲区 Android 日志记录系统为日志消息保留了多个环形缓冲区,而且并非所有的日志消息都会发送到默认的环形缓冲区。 要查看其他日志消息,可以使用 -b 选项运行 logcat 命令,以请求查看备用的环形缓冲区。可以查看下列任意备用缓冲区: adb logcat -b main -b radio -b events ...

eSIM

Android eSIM

eSIM-AOSP 概念 嵌入式 SIM(又称 eSIM 或 eUICC)是一种最新技术,可让移动用户在没有实体 SIM 卡的情况下,下载运营商配置文件并激活运营商服务。该技术是由 GSMA 推动的全球规范,支持在任何移动设备上进行远程 SIM 配置。从 Android 9 开始,Android 框架提供了用于访问 eSIM 和管理 eSIM 上的订阅配置文件的标准 API。借助这...

Android Fastboot

Android sdk tools

fastboot和recovery-简书 fastboot-AOSP Fastboot Fastboot 是一种引导加载程序模式,您可以在该模式下刷写设备。 在设备冷启动过程中,可使用组合键进入 fastboot 模式: 按住音量调低键,然后按住电源键。 可以使用命令 adb reboot bootloader 直接重新启动进入引导加载程序。 ...

Android Alarm

AlarmManagerService

理解AlarmManager机制-gityuan

Git

Git is a free and open source distributed version control system.

Git官网 Git教程-官网 GIT架构-简书 GIT架构 GIT的架构,可以分为几个部分: 本地工作区(working directory) 暂存区(stage area, 又称为索引区, index) 本地仓库(local repository) 远程仓库副本 远程仓库(remote repository) .git $ tree -L 1 ....

聪明的投资者

证券分析之父---本杰明·格雷厄姆

格雷厄姆的50条精彩投资语录(摘自雪球) 格雷厄姆投资语录-雪球 聪明的投资者-豆瓣 投资好文-雪球 第一部分 作为一个成功的投资者应遵循两个投资原则:一是严禁损失,二是不要忘记第一原则。 内在价值是价值投资的前提。 股市从短期来看是“投票机”,从长期来看则是“称重机”。 安全边际:以四毛的价格买值一元的股...