当前位置: 首页 > 工具软件 > FrameWorks > 使用案例 >

android frameworks目录,Android Frameworks目录

宣意致
2023-12-01

/frameworks/base/core

该目录是android核心文件存放路劲

下设3个目录

java目录下存的是java源码

jni目录下存的是.h , .cpp文件  (java 层的native method会调用这个文件夹下的实现方法)

res目录是资源文件的存储目录。

/frameworks/base/packages/

statusBar相关文件

./tests/StatusBar

./tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java

./core/java/com/android/internal/statusbar/StatusBarNotification.java

./core/java/com/android/internal/statusbar/StatusBarIconList.aidl

./core/java/com/android/internal/statusbar/StatusBarIcon.aidl

./core/java/com/android/internal/statusbar/StatusBarIcon.java

./core/java/com/android/internal/statusbar/StatusBarIconList.java

./core/java/com/android/internal/statusbar/StatusBarNotificationList.aidl

./core/java/com/android/internal/statusbar/StatusBarNotification.aidl

./core/java/android/app/StatusBarManager.java

./services/java/com/android/server/StatusBarManagerService.java

./packages/SystemUI/src/com/android/systemui/statusbar/StatusBarView.java

./packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java

./packages/SystemUI/src/com/android/systemui/statusbar/StatusBarPolicy.java

./packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.javastatusBar在2.3时,移植到了packages/SystemUI下面。在froyo版本,StatusBar是在service/java/com/android/server/status下面。

froyo StatusBar相关文件

./tests/StatusBar

./tests/StatusBar/src/com/android/statusbartest/StatusBarTest.java

./core/java/android/app/StatusBarManager.java

./services/java/com/android/server/status/StatusBarNotification.java

./services/java/com/android/server/status/StatusBarException.java

./services/java/com/android/server/status/StatusBarView.java

./services/java/com/android/server/status/StatusBarIcon.java

./services/java/com/android/server/status/StatusBarPolicy.java

./services/java/com/android/server/status/StatusBarService.java

 类似资料: