07 2021 档案
摘要:概述 在launcher中点击应用来启动应用。 启动应用的过程中,用intent通过PMS来查询对应的activity信息,得到ActivityInfo信息和applicationInfo信息 1. 调用流程 PackageManagerInternalImpl类:resolveIntent ->
阅读全文
摘要:概述 zram-writeback就是像电脑的swap分区那样,将zram中的压缩数据,写回到磁盘当中 执行流程 开机的时候:StorageManagerService: handleSystemReady -> if (!zramPropValue.equals("0") // persist.s
阅读全文
摘要:概述 编译emulator使用的qemu的kernel,调试内核 1. emulator内核编译 # 下载内核 git clone https://android.googlesource.com/kernel/goldfish.git # 切换分支,android-10.0.0_r13 tag对应
阅读全文
摘要:概述 使用伪终端的方式来处理子进程的log输出,logwrapper会等待子进程执行完毕之后再退出 源码解析 1. logwrap模块 1.1 logwrap_fork_execvp // {"/system/bin/vdc","cryptfs", "encryptFstab", attempted
阅读全文
摘要:概述 在launcher中点击应用来启动应用。 launcher发一个intent来启动应用。 1. 应用图标 通过android studio的tools → layout inspector工具可以看到,桌面上的app图标使用的是DoubleShadowBubbleTextView类,第二级菜单
阅读全文
摘要:概述 编译ijkplayer项目 配置 (1)安装git yasm sudo apt-get install ysam (2)安装android studio和android sdk https://dl.google.com/android/repository/sdk-tools-linux-4
阅读全文

浙公网安备 33010602011771号