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

在线查看 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`
  • 3. HELLO Android
  • References

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.
...

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.

3. HELLO Android

Android 系统源代码
https://www.androidos.net.cn/sourcecode

在这里插入图片描述

Android 10 | 10.0.0_r6
https://www.androidos.net.cn/android/10.0.0_r6/xref

References

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

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.xdnf.cn/news/1535652.html

如若内容造成侵权/违法违规/事实不符,请联系一条长河网进行投诉反馈,一经查实,立即删除!

相关文章

JAVA基础面试题总结(十五)——设计模式

面试专题-设计模式 前言 在平时的开发中&#xff0c;涉及到设计模式的有两块内容&#xff0c;第一个是我们平时使用的框架&#xff08;比如spring、mybatis等&#xff09;&#xff0c;第二个是我们自己开发业务使用的设计模式。 面试官一般比较关心的是你在开发过程中&#…

浮动元素详解

浮动元素 代码实现&#xff1a; <!DOCTYPE html> <html><head><meta charset"utf-8"><title>浮动元素</title><style>#container1 {width: 400px;height: 50px;background-color: lightgrey;border: 1px solid;}#contai…

828华为云征文|华为云Flexus云服务器X实例之openEuler系统下dufs文件服务器

828华为云征文&#xff5c;华为云Flexus云服务器X实例之openEuler系统下dufs文件服务器 一、Flexus云服务器X实例介绍1.1 Flexus云服务器X实例简介1.2 Flexus云服务器X实例特点1.3 Flexus云服务器X实例使用场景 二、dufs介绍2.1 dufs简介2.2 dufs特点2.3 使用场景 三、本次实践…

学习整理vue前端框架项目目录结构的含义

学习整理vue前端框架项目目录结构的含义 1、目录结构2、结构含义 1、目录结构 2、结构含义

大模型大侦探-一次丝滑的探图记录

文章目录 缘起调查深入确认总结 缘起 最近找到了我的一台老笔记本电脑&#xff0c;竟然还能开机&#xff0c;是XP的。里面有一个桌面&#xff0c;叫做panMilk: 这太美了&#xff0c;但这是哪里&#xff1f;这个问题在20年前就困扰了我&#xff0c;不得答案。这些年学校、公司的…

CorrMatch复现

复现结果–Full&#xff1a;81.78327847863439&#xff0c;成功 U2PL’s splits计算量太大&#xff0c;不建议复现

美团图床设置教程

大厂图床&#xff0c;CDN加速 项目地址&#xff1a;https://github.com/woniu336/mt-img 使用方法 在mt.php填上你的token即可&#xff0c;然后打开index.html上传图片 获取token方法 注册https://czz.meituan.com/发布视频&#xff0c;上传封面&#xff0c;注意在上传封面后…

2024年汉字小达人区级自由报名备考冲刺:往年真题练一练

2024年第十一届汉字小达人的区级活动的时间9月25-30日正式开赛&#xff0c;还有不到两周时间。 最后的冲刺时间&#xff0c;可以利用接下来的三天中秋假期做几套模拟题&#xff0c;熟悉汉字小达人的比赛形式、考察方式&#xff0c;尤其是把2024年的模拟题做做熟&#xff0c;查…

2、HDFS编程实践

目录 1、Hadoop三种Shell方式(1)目录操作1、查看目录2、创建目录3、删除目录 &#xff08;2&#xff09;文件操作1、创建文件2、上传文件3、下载文件4、拷贝文件 2、利用Web界面管理HDFS3、利用Java API 与 HDFS 进行交互&#xff08;1&#xff09;安装eclipse包&#xff08;2&…

CH1-1 引论

一、参考教材 清华大学出版社《数值分析》李庆扬 王能超 易大义 编 数值分析 机械工业出版社 Numerical Analysis David Kincaid Ward Cheney 著 二、课程背景 所学内容在数学学科体系里的位置: 所学内容: 计算数学是广泛的研究框架,数值分析(教材名)是理论研究,计算…

Python基础知识学习(2)

一&#xff0c;分支条件判断语句 在python中&#xff0c;分支条件语句如下&#xff1a; 1&#xff0c;判断条件&#xff1a;if exception: 2&#xff0c;接着判断的语句为&#xff1a;elif exception: 3&#xff0c;最后的条件为&#xff1a;else: 4&#xff0c;通过缩进来表示…

在线查看 Android 系统源代码 Git repositories on android

在线查看 Android 系统源代码 Git repositories on android 1. Git repositories on android1.1. Android Make Build System1.2. Android Open Source Project Code Review References 1. Git repositories on android https://android.googlesource.com/ 1.1. Android Make …

C++笔记之子类初始化时父类带参构造函数的处理、父子类中模板参数的传递

C++笔记之子类初始化时父类带参构造函数的处理、父子类中模板参数的传递 code review! 文章目录 C++笔记之子类初始化时父类带参构造函数的处理、父子类中模板参数的传递一.子类初始化时父类带参构造函数的处理1.1.若父类只有带参数的构造函数,子类初始化时必须在初始化列表…

[Python学习日记-22] Python 中的字符编码(下)

[Python学习日记-22] Python 中的字符编码&#xff08;下&#xff09; 简介 编码的战国时代 Unicode 和 UTF 现代计算机系统通用的字符编码工作方式 简介 在[Python学习日记-21] Python 中的字符编码&#xff08;上&#xff09;中我们讲了字符编码中的 ASCII 码和 GB2312/G…

18060 删除空格

**思路**: 1. 使用两个指针&#xff0c;一个指向当前字符位置&#xff0c;另一个指向下一个非空格字符应该放置的位置。 2. 遍历字符串&#xff0c;如果当前字符不是空格&#xff0c;则将其移动到目标位置指针处&#xff0c;并递增目标位置指针。 3. 最后在目标位置指针处添加字…

新电脑安装和配置pytorch、anaconda、CUDA、cuDNN、pycharm、OpenCV的过程记录

显卡驱动和CUDA 一、升级显卡驱动到官方最新版 1、打开英伟达官网&#xff0c;输入显卡芯片型号&#xff0c;手动搜索并下载显卡驱动。 NVIDIA 官方驱动 ​ 2、下载完成后安装驱动。 二、确认显卡支持的最高CUDA版本 1、键盘"winR"&#xff0c;调出运行输入cmd后…

查询中的算术表达式

需要修改数据显示方式&#xff0c;如执行计算&#xff0c;或者作假定推测&#xff0c;这些都可能用到算术表达式。 一个算术表达式可以包含列名、固定的数字值和算术运算符。 使用算术运算符 示例&#xff1a;查询雇员的年薪&#xff0c;并显示他们的雇员ID&#xff0c;名字…

支付域——聚合支付设计

摘要 聚合支付是支付行业的一项重要创新&#xff0c;通过整合多种支付方式&#xff0c;极大简化了支付流程&#xff0c;提升了交易效率&#xff0c;为商户和消费者提供了更加便捷的支付体验。随着移动支付的普及&#xff0c;聚合支付在未来的支付场景中将继续发挥重要作用&…

bat批量修改文件名

一、bat代码 代码如下&#xff0c;其中csv_file中记录了原来的文件名字和要修改为的新文件名字&#xff0c;folder是img所在的文件路径。 echo off setlocal enabledelayedexpansion set "csv_fileD:\img\1.csv" set "folderD:\img\" for /f "…

Spring Boot母婴商城:打造一站式购物体验

1 绪论 1.1 研究背景 当前社会各行业领域竞争压力非常大&#xff0c;随着当前时代的信息化&#xff0c;科学化发展&#xff0c;让社会各行业领域都争相使用新的信息技术&#xff0c;对行业内的各种相关数据进行科学化&#xff0c;规范化管理。这样的大环境让那些止步不前&#…