在线查看 Android 系统源代码 AOSPXRef and AndroidXRef

ops/2024/9/24 13:31:45/

在线查看 Android 系统源代码 AOSPXRef and AndroidXRef

  • 1. AOSPXRef
    • 1.1. `http://aospxref.com/android-14.0.0_r2/`
    • 1.2. `build/envsetup.sh`
  • 2. AndroidXRef
    • 2.1. `http://androidxref.com/9.0.0_r3/`
    • 2.2. `build/envsetup.sh`
  • References

AOSPXRef_2">1. AOSPXRef

http://aospxref.com/

在这里插入图片描述

Android Source

android-14.0.0_r2
android-13.0.0_r3
android-12.0.0_r3
android-11.0.0_r21
android-10.0.0_r47
android-9.0.0_r61
android-8.1.0_r81
android-8.0.0_r36
android-7.1.2_r39
android-7.0.0_r7
android-6.0.1_r9
android-5.1.1_r9
android-5.0.2_r3
kernel-android14-6.1-lts
kernel-android14-5.15-lts
kernel-android13-5.15-lts
kernel-android13-5.10-lts
kernel-android12-5.10-lts

1.1. http://aospxref.com/android-14.0.0_r2/

http://aospxref.com/android-14.0.0_r2/

在这里插入图片描述

1.2. build/envsetup.sh

http://aospxref.com/android-14.0.0_r2/xref/build/envsetup.sh

Line#: Show or hide line numbers (might be slower if file has more than 10000 lines).
Scopes#: Show or hide scopes window.
Navigate#: Show or hide symbol list.
Raw: 显示原始文件
Download: 下载当前文件

在这里插入图片描述

source ./build/envsetup.sh
hmm
Run "m help" for help with the build system itself.Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- lunch:      lunch <product_name>-<build_variant>Selects <product_name> as the product to build, and <build_variant> as the variant tobuild, and stores those selections in the environment to be read by subsequentinvocations of 'm' etc.
- tapas:      tapas [<App1> <App2> ...] [arm|x86|arm64|x86_64] [eng|userdebug|user]Sets up the build environment for building unbundled apps (APKs).
- banchan:    banchan <module1> [<module2> ...] [arm|x86|arm64|x86_64|arm64_only|x86_64only] \[eng|userdebug|user]Sets up the build environment for building unbundled modules (APEXes).
- croot:      Changes directory to the top of the tree, or a subdirectory thereof.
- m:          Makes from the top of the tree.
- mm:         Builds and installs all of the modules in the current directory, and theirdependencies.
- mmm:        Builds and installs all of the modules in the supplied directories, and theirdependencies.To limit the modules being built use the syntax: mmm dir/:target1,target2.
- mma:        Same as 'mm'
- mmma:       Same as 'mmm'
- provision:  Flash device with all required partitions. Options will be passed on to fastboot.
- cgrep:      Greps on all local C/C++ files.
- ggrep:      Greps on all local Gradle files.
- gogrep:     Greps on all local Go files.
- jgrep:      Greps on all local Java files.
- jsongrep:   Greps on all local Json files.
- ktgrep:     Greps on all local Kotlin files.
- resgrep:    Greps on all local res/*.xml files.
- mangrep:    Greps on all local AndroidManifest.xml files.
- mgrep:      Greps on all local Makefiles and *.bp files.
- owngrep:    Greps on all local OWNERS files.
- rsgrep:     Greps on all local Rust files.
- sepgrep:    Greps on all local sepolicy files.
- sgrep:      Greps on all local source files.
- tomlgrep:   Greps on all local Toml files.
- pygrep:     Greps on all local Python files.
- godir:      Go to the directory containing a file.
- allmod:     List all modules.
- gomod:      Go to the directory containing a module.
- bmod:       Get the Bazel label of a Soong module if it is converted with bp2build.
- pathmod:    Get the directory containing a module.
- outmod:     Gets the location of a module's installed outputs with a certain extension.
- dirmods:    Gets the modules defined in a given directory.
- installmod: Adb installs a module's built APK.
- refreshmod: Refresh list of modules for allmod/gomod/pathmod/outmod/installmod.
- syswrite:   Remount partitions (e.g. system.img) as writable, rebooting if necessary.Environment options:
- SANITIZE_HOST: Set to 'address' to use ASAN for all host modules.
- ANDROID_QUIET_BUILD: set to 'true' to display only the essential messages.
...

AndroidXRef_109">2. AndroidXRef

http://androidxref.com/

Android Source Code Cross Reference

在这里插入图片描述

Android Source

Pie - 9.0.0_r3
Oreo - 8.1.0_r33
Oreo - 8.0.0_r4
Nougat - 7.1.2_r36
Nougat - 7.1.1_r6
Nougat - 7.0.0_r1
Marshmallow - 6.0.1_r10
Marshmallow - 6.0.0_r5
Marshmallow - 6.0.0_r1
Lollipop - 5.1.1_r6
Lollipop - 5.1.0_r1
Lollipop - 5.0.0_r2
KitKat - 4.4.4_r1
KitKat - 4.4.3_r1.1
KitKat - 4.4.2_r2
KitKat - 4.4.2_r1
KitKat - 4.4
JellyBean - 4.3
JellyBean - 4.2.2
JellyBean - 4.2
JellyBean - 4.1.2
JellyBean - 4.1.1
ICS - 4.0.4
ICS - 4.0.3
Gingerbread - 2.3.7
Gingerbread - 2.3.6
Froyo - 2.2.3
Eclair - 2.1
Donut - 1.6

2.1. http://androidxref.com/9.0.0_r3/

http://androidxref.com/9.0.0_r3/
http://androidxref.com/9.0.0_r3/xref/

在这里插入图片描述

在这里插入图片描述

2.2. build/envsetup.sh

http://androidxref.com/9.0.0_r3/xref/build/envsetup.sh

Line#: Show or hide line numbers (might be slower if file has more than 10000 lines).
Navigate#: Show or hide symbol list.
Download: 下载当前文件

在这里插入图片描述

source ./build/envsetup.sh
hmm
Run "m help" for help with the build system itself.Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- lunch:     lunch <product_name>-<build_variant>Selects <product_name> as the product to build, and <build_variant> as the variant tobuild, and stores those selections in the environment to be read by subsequentinvocations of 'm' etc.
- tapas:     tapas [<App1> <App2> ...] [arm|x86|mips|arm64|x86_64|mips64] [eng|userdebug|user]
- croot:     Changes directory to the top of the tree.
- m:         Makes from the top of the tree.
- mm:        Builds all of the modules in the current directory, but not their dependencies.
- mmm:       Builds all of the modules in the supplied directories, but not their dependencies.To limit the modules being built use the syntax: mmm dir/:target1,target2.
- mma:       Builds all of the modules in the current directory, and their dependencies.
- mmma:      Builds all of the modules in the supplied directories, and their dependencies.
- provision: Flash device with all required partitions. Options will be passed on to fastboot.
- cgrep:     Greps on all local C/C++ files.
- ggrep:     Greps on all local Gradle files.
- jgrep:     Greps on all local Java files.
- resgrep:   Greps on all local res/*.xml files.
- mangrep:   Greps on all local AndroidManifest.xml files.
- mgrep:     Greps on all local Makefiles files.
- sepgrep:   Greps on all local sepolicy files.
- sgrep:     Greps on all local source files.
- godir:     Go to the directory containing a file.

References

[1] Yongqiang Cheng, https://yongqiang.blog.csdn.net/


http://www.ppmy.cn/ops/111095.html

相关文章

MySQL原理之UUID主键分析,插入或更新语法分析

文章目录 1 MySQL不能用UUID做主键1.1 前言1.2 mysql和程序实例1.2.1 准备工作1.2.2 开始测试1.2.3 程序写入结果1.2.4 效率测试结果 1.3 使用uuid和自增id的索引结构对比1.3.1 自增id1.3.2 uuid 1.4 自增id缺点1.5 雪花算法 2 插入或更新2.1 on duplicate key2.1.1 定义2.1.2 …

如何调试本地npm package

背景&#xff1a; 在不发布的情况下调试本地的npm包&#xff0c;有以下两种方式&#xff1a; 离线调试 此种模式适用于本地npm package 已经比较稳定&#xff0c;需要在项目中使用这个npm package。 在本地npm package项目中&#xff0c;使用npm pack创建一个tgz文件&#x…

Spring Boot中实现定时任务的主要方式

文章目录 在Spring Boot中实现定时任务&#xff0c;主要有以下几种方式&#xff1a;1. 使用Scheduled注解2. 使用Quartz调度器使用Quartz调度器(更好的做法)3. 使用TaskExecutor和ScheduledExecutorService4.总结 在Spring Boot中实现定时任务&#xff0c;主要有以下几种方式&a…

开始一个WPF项目时的记忆重载入

目前在工业软件的UI开发方案选择中&#xff0c;WPF仍然是一个重要的选项。 但是其固有的复杂性&#xff0c;对于像我这样&#xff0c;并不是一直在从事界面开发的人来说&#xff0c;每次重启&#xff0c;都需要一两天的适应的时间。所以这里稍微写一个笔记。 还是老办法&…

【无人机设计与控制】四旋翼飞行无人机姿态控制ADRC非线性自抗扰控制Simulink仿真

摘要 本研究针对四旋翼飞行无人机姿态控制&#xff0c;提出了一种基于非线性自抗扰控制&#xff08;ADRC&#xff09;的控制策略。通过Simulink对系统进行了建模和仿真&#xff0c;验证了所设计控制器在不同工况下的有效性和鲁棒性。仿真结果表明&#xff0c;所设计的控制器能…

Certificate has expired(npm 安装strapi)

报错信息 解决方法 1、清空缓存&#xff0c;有时&#xff0c;损坏的缓存会导致连接问题 npm cache clean --force 2、切换到淘宝镜像源的 npm 注册表 npm config set registry https://registry.npmmirror.com/ 执行这两步后就可以执行自己想要安装的东西了&#xff0c;我是在执…

【Arduino】BNO085 姿态的 3D模型 展示方法(映射到 Unity)

总览 1.arduino 代码和库等… 2.Unity 的部分&#xff0c;创建一个 3D 工程&#xff0c;然后创建一个 cube&#xff0c;绑定一个脚本文件 3.效果预览&#xff1a; 【Arduino】BNO085 姿态的 3D模型 展示方法&#xff08;映射到 Unity&#xff09; 一、Arduino 部分 1.使用的…

查看有多少个终端用户当前登录

在Debian 10系统上,可以通过以下命令来查看有多少个终端用户当前登录: 1. 使用 who 命令: 可以使用 who 命令来查看当前登录系统的所有用户及其终端信息。通过统计这个命令的输出行数,可以知道有多少个终端登录。 who 或者直接统计行数: who | wc -l 2. 使用 w 命令:…