android framework原始碼目錄介紹

2020-08-13 14:41:11
  簡介

之前的研究太偏嚮應用層功能實現了,很多原理不瞭解沒有深究,現在研究framework框架層了。


記錄

1、下載原始碼,目錄如下:



2、Android系統的層次如下:



3、專案目錄簡單分析如下:



4、telphony目錄

檔案 描述
CellIdentityCdma //描述電信通訊標識
CellIdentityGsm 描述行動通訊標識
CellIdentityLte 描述3G通訊標識
CellIdentityWcdma 描述聯通通訊標識
CellInfo 手機資訊(什麼網路、是否已註冊、記錄時間)
class CellInfoCdma extends CellInfo 電信通訊手機資訊
CellInfoGsm extends CellInfo 行動通訊手機資訊
class CellInfoLte extends CellInfo 3G通訊手機資訊
class CellInfoWcdma extends CellInfo 聯通通訊手機資訊
CellLocation 手機位置資訊(獲取手機服務介面,獲取位置資訊)
CellSignalStrength 描述手機信號強度的抽象類
class CellSignalStrengthCdma extends CellSignalStrength implements Parcelable 電信信號強度
class CellSignalStrengthGsm extends CellSignalStrength implements Parcelable 移動信號強度
class CellSignalStrengthLte extends CellSignalStrength implements Parcelable 3G信號強度
class CellSignalStrengthWcdma extends CellSignalStrength implements Parcelable 聯通訊號強度
JapanesePhoneNumberFormatter 專門爲日本設計了電話號碼格式的規則?艹
MSimTelephonyManager 電話服務管理(卡服務、網路型別、設定資訊……)
NeighboringCellInfo 接收信號強度和相鄰小區ID的位置
class PhoneNumberFormattingTextWatcher implements TextWatcher  手機號碼格式化
PhoneNumberUtils 電話號碼設定
PhoneStateListener 電話狀態監測變化 (服務狀態,信號強度,訊息)
Rlog 日誌資訊
ServiceState 服務狀態(執行商、網路型別、漫遊等)
SignalStrength 信號強度資訊
TelephonyManager 手機服務管理(撥號、接聽、發送簡訊等等)
CdmaCellLocation extends CellLocation 電信手機位置資訊
CdmaSmsCbProgramData 電信手機簡訊數據描述
CdmaSmsCbProgramResults 電信簡訊服務數據結果描述
GsmCellLocation 移動手機位置資訊描述
CallerInfo 使用者資訊描述
CallerInfoAsyncQuery 非同步查詢來電者資訊
DctConstants 常數資訊
EncodeException 自定義編碼異常
GsmAlphabet 移動簡訊字元轉換
 IccCardConstants  常數
RILConstants rtl常數
SmsConstants 簡訊常數
SmsRawData 簡訊數據
TelephonyIntents 手機意圖描述(定義字串常數)
TelephonyProperties 電話屬性介面
IPhoneStateListener 手機狀態監聽
IPhoneSubInfo 獲取手機資訊介面
ISms 簡訊操作介面
ITelephony 手機管理介面(撥號、接聽、發送簡訊…等)
ITelephonyRegistry 提供手機註冊服務(單卡)
ITelephonyRegistryMSim 提供手機註冊服務(雙卡時)
IWapPushManager wap推播訊息
IPhoneSubInfoMSim 手機資訊介面
ITelephonyMSim 手機服務介面
   

5、sax目錄

檔案 描述
class BadXmlException extends SAXParseException xml解析錯誤
Children 子集
Element 一個元素
interface ElementListener extends StartElementListener,
        EndElementListener
解析監聽(開始、結束)
EndElementListener 結束監聽
EndTextElementListener 結束文字
class RootElement extends Element 根元素
StartElementListener 開始監聽
interface TextElementListener extends StartElementListener,
        EndTextElementListener
文字元素監聽
ExpatPerformanceTest extends AndroidTestCase 單元測試
SafeSaxTest extends AndroidTestCase 單元測試
   

6、policy目錄

檔案 描述
BarController 系統欄 控制元件狀態/行爲
EnableAccessibilityController 系統存取控制
class GlobalActions implements DialogInterface.OnDismissListener, DialogInterface.OnClickListener 對話方塊動作監聽實現
GlobalKeyManager 鍵值對映管理
IconUtilities 圖示輔助類
ImmersiveModeConfirmation 導航欄隱藏、顯示輔助類
PhoneFallbackEventHandler implements FallbackEventHandler 手機回退事件處理,這段程式碼應該是鎖屏介面選擇的一些事件處理,比如拖動解鎖框至電話圖示就開啓電話介面。
PhoneLayoutInflater extends LayoutInflater 手機佈局
 class PhoneWindow extends Window implements MenuBuilder.Callback 手機表單
class PhoneWindowManager implements WindowManagerPolicy 手機表單管理
class Policy implements IPolicy 用於建立Window類、LayoutInflater類和WindowManagerPolicy類,它扮演着簡單工廠模式中的工廠類角色,而抽象產品角色由IPolicy介面實現,具體產品角色由Policy類實現。
class RecentApplicationsBackground extends LinearLayout 垂直線性佈局
class RecentApplicationsDialog extends Dialog implements OnClickListener  對話方塊
ShortcutManager extends ContentObserver  快捷圖示管理
class SystemGesturesPointerEventListener implements PointerEventListener 監聽輸入手勢
WindowOrientationListener 手機方向監聽
KeyguardServiceDelegate 管理鍵盤的狀態
class KeyguardServiceWrapper implements IKeyguardService 軟碟的實現
KeyguardServiceDelegate.java和KeyguardServiceWrapper.java 這兩個類是android 4.4新增加的,分別對KeyguardService進行了代理和包裝,代理類裏面有一個Scrim檢視在keyguard崩潰時顯示。包裝類就是對keyguardService的簡單包裝,最終把排程都會傳給keyguardService。

7、wifi目錄

檔案 描述
BatchedScanResult WiFi掃描的結果
BatchedScanSettings WiFi掃描設定
NetworkUpdateResult 網路更新結果
RssiPacketCountInfo RSSI和包計數資訊,用於WiFi看門狗
ScanResult wifi掃描結果
StateChangeResult 狀態變化資訊
SupplicantState 請求狀態
SupplicantStateTracker 請求狀態監控者
 WifiApConfigStore extends StateMachine 設定資訊儲存
WifiChannel 一個WiFi通道或頻率
WifiConfigStore WiFi網路設定管理API
WifiConfiguration 一個Wi-Fi網路設定
WifiEnterpriseConfig Wi-Fi企業設定
WifiInfo 描述wifi連線狀態
WifiManager wifi管理
WifiMonitor 監聽wpa_supplicant 服務
WifiNative 本地wifi管理
WifiSsid ssid資訊
WifiStateMachine wifi連線狀態
WifiStateTracker wifi連線服務監視者
WifiWatchdogStateMachine extends StateMachine 監控WiFi連線到網路
WpsInfo wps資訊
WpsResult wps結果
IWifiManager 控制和查詢Wi-Fi連線介面
WifiP2pConfig 對等(P2P)連線與Wi-Fi直接設定連線
WifiP2pDevice 對等(P2P)連線與Wi-Fi直接裝置
WifiP2pDeviceList 對等(P2P)連線與Wi-Fi直接裝置列表
WifiP2pGroup 對等(P2P)連線與Wi-Fi直接 組
WifiP2pGroupList 對等(P2P)連線與Wi-Fi直接組列表
WifiP2pInfo 一個對等(P2P)連線與Wi-Fi直接資訊
WifiP2pManager 對等(P2P)連線與Wi-Fi直接管理
WifiP2pProvDiscEvent 對等(P2P)連線與Wi-Fi直接搜尋和響應事件
WifiP2pService 對等(P2P)連線與Wi-Fi直接服務
WifiP2pWfdInfo 對等(P2P)連線與Wi-Fi直接顯示資訊
IWifiP2pManager 對等(P2P)連線與Wi-Fi直接管理介面
WifiP2pDnsSdServiceInfo wifi直接儲存資訊
WifiP2pDnsSdServiceRequest wifi直接服務探索請求
WifiP2pDnsSdServiceResponse wifi直接搜尋結果
WifiP2pServiceInfo 一個wifi直接服務資訊
WifiP2pServiceRequest 一個wifi直接服務請求
WifiP2pServiceResponse 一個wifi直接服務響應結果
WifiP2pUpnpServiceInfo UPnP服務資訊
WifiP2pUpnpServiceRequest UPnP服務資訊請求
WifiP2pUpnpServiceResponse UPnP服務資訊響應
   

8、tools目錄

檔案 描述
aapt 打包工具
aidl 介面本地實現
obbtool  
orientationplot  
preload


validatekeymaps

按鍵對映相關

velocityplot  
layoutlib 佈局庫(詳細如下)
public abstract class AnimationThread extends Thread 抽象動畫執行緒
PropertyValuesHolder_Delegate 對映屬性方法本地實現
Fragment_Delegate 負責範例化flagment物件
public class BridgeAssetManager extends AssetManager 擴充套件AssetManager的管理
public final class BridgeResources extends Resources 擴充套件Resources的管理
public final class BridgeTypedArray extends TypedArray 自定義非編譯資源
Resources_Theme_Delegate 資源主題管理本地實現
TypedArray_Delegate 自定義資源本地實現
public class AvoidXfermode_Delegate extends Xfermode_Delegate android.graphics.AvoidXfermode本地實現
BidiRenderer 通過分解成各種指令碼和使用合適的字型渲染文字
Bitmap_Delegate android.graphics.Bitmap 本地實現
BitmapFactory_Delegate android.graphics.BitmapFactory本地實現
public class BitmapShader_Delegate extends Shader_Delegate android.graphics.BitmapShader本地實現
public class BlurMaskFilter_Delegate extends MaskFilter_Delegate android.graphics.BlurMaskFilter本地實現
Canvas_Delegate  android.graphics.Canvas本地實現
ColorFilter_Delegate android.graphics.ColorFilter本地實現
public class ColorMatrixColorFilter_Delegate extends ColorFilter_Delegate android.graphics.ColorMatrixColorFilter
本地實現
public class ComposePathEffect_Delegate extends PathEffect_Delegate android.graphics.ComposePathEffect
本地實現
public class ComposeShader_Delegate extends Shader_Delegate  android.graphics.ComposeShader本地實現
public class CornerPathEffect_Delegate extends PathEffect_Delegate android.graphics.CornerPathEffect本地實現
public final class DashPathEffect_Delegate extends PathEffect_Delegate android.graphics.DashPathEffect本地實現
public class DiscretePathEffect_Delegate extends PathEffect_Delegate android.graphics.DiscretePathEffect本地實現
DrawFilter_Delegate DrawFilter本地實現
public class EmbossMaskFilter_Delegate extends MaskFilter_Delegate android.graphics.EmbossMaskFilter本地實現
public abstract class Gradient_Delegate extends Shader_Delegate  坡度基礎類別
public class LayerRasterizer_Delegate extends Rasterizer_Delegate android.graphics.LayerRasterizer本地實現
public class LightingColorFilter_Delegate extends ColorFilter_Delegate android.graphics.LightingColorFilter本地實現
public final class LinearGradient_Delegate extends Gradient_Delegate android.graphics.LinearGradient 本地實現
MaskFilter_Delegate android.graphics.MaskFilter 本地實現
Matrix_Delegate android.graphics.Matrix 本地實現
NinePatch_Delegate android.graphics.NinePatch 本地實現
Paint_Delegate android.graphics.Paint 本地實現
public class PaintFlagsDrawFilter_Delegate extends DrawFilter_Delegate android.graphics.PaintFlagsDrawFilter 本地實現
Path_Delegate android.graphics.Path 本地實現
public class PathDashPathEffect_Delegate extends PathEffect_Delegate android.graphics.PathDashPathEffect本地實現
PathEffect_Delegate android.graphics.PathEffect本地實現
public class PixelXorXfermode_Delegate extends Xfermode_Delegate android.graphics.PixelXorXfermode 本地實現
public class PorterDuffColorFilter_Delegate extends ColorFilter_Delegate android.graphics.PorterDuffColorFilter 本地實現
public class PorterDuffXfermode_Delegate extends Xfermode_Delegate android.graphics.PorterDuffXfermode 本地實現
public class RadialGradient_Delegate extends Gradient_Delegate android.graphics.RadialGradient 本地實現
Rasterizer_Delegate android.graphics.Rasterizer  本地實現
Region_Delegate android.graphics.Region 本地實現
Shader_Delegate android.graphics.Shader 本地實現
public class SumPathEffect_Delegate extends PathEffect_Delegate android.graphics.SumPathEffect 本地實現
public class SweepGradient_Delegate extends Gradient_Delegate android.graphics.SweepGradient 本地實現
Typeface_Accessor 方法屬性許可權
Typeface_Delegate Typeface 本地實現
Xfermode_Delegate android.graphics.Xfermode 本地實現
Build_Delegate  android.os.Build 本地實現
Handler_Delegate android.os.Handler 本地實現
HandlerThread_Delegate android.os.HandlerThread 本地實現
Looper_Accessor 回圈方法屬性存取許可權
ServiceManager 服務管理
SystemClock_Delegate android.os.SystemClock 本地實現
AndroidBidi_Delegate AndroidBidi本地實現
DateFormat_Delegate DateFormat本地實現
Time_Delegate Time本地實現
public class BridgeXmlPullAttributes extends XmlPullAttributes XmlPullParser 介面實現
FloatMath_Delegate android.util.FloatMath 本地實現
Log_Delegate 日誌輸出
public class LruCache<K, V> 快取列表管理
AttachInfo_Accessor 匹配屬性方法存取許可權
public final class BridgeInflater extends LayoutInflater 自定義處理、自定義檢視
Choreographer_Delegate Choreographer 本地方法getRefreshRate
Display_Delegate Display 本地方法updateDisplayInfoLocked
public class IWindowManagerImpl implements IWindowManager 表單管理介面
LayoutInflater_Delegate  
SurfaceView  
View_Delegate View isInEditMode本地方法
ViewRootImpl_Delegate 檢視isInTouchMode方法實現
WindowManagerGlobal_Delegate 表單管理
AccessibilityManager 服務系統等級管理
InputMethodManager_Accessor 輸入方法許可權管理
InputMethodManager_Delegate 輸入方法本地實現
public class WebView extends MockView web檢視
PolicyManager 策略管理
ITextServicesManager_Stub_Delegate 文字服務管理
XmlUtils_Delegate xml輔助類本地實現
public final class Bridge extends com.android.ide.common.rendering.api.Bridge  
BridgeConstants 常數
public class BridgeRenderSession extends RenderSession 橋接渲染對談
public class MockView extends TextView MockView 檢視
public final class BridgeContentProvider implements IContentProvider 橋接共用數據庫管理
public class BridgeContentResolver extends ContentResolver 橋接共用數據庫管理
public final class BridgeContext extends Context 橋接控制代碼
public class BridgeIInputMethodManager implements IInputMethodManager 橋接輸入管理
public class BridgeLayoutParamsMapAttributes implements AttributeSet 橋接佈局屬性
public class BridgePowerManager implements IPowerManager 橋接電源管理
public final class BridgeWindow implements IWindow 橋接表單
public final class BridgeWindowSession implements IWindowSession 橋接表單對談
public class BridgeXmlBlockParser implements XmlResourceParser 橋接xml解析
public class WindowManagerImpl implements WindowManager  /表單管理
abstract class CustomBar extends LinearLayout 自定義欄
public class FakeActionBar extends CustomBar  虛變欄
public class NavigationBar extends CustomBar  導航欄
public class StatusBar extends CustomBar 狀態列
public class TitleBar extends CustomBar 標題列
public final class DelegateManager<T>  本地管理
FontLoader 字型載入
GcSnapshot 快照
ParserFactory 解析工廠
public class PlayAnimationThread extends AnimationThread 播放動畫執行緒
public abstract class RenderAction<T extends RenderParams> extends FrameworkResourceIdProvider 渲染動作
public class RenderSessionImpl extends RenderAction<SessionParams>  渲染介面
ResourceHelper 資源輔助
public class Stack<T> extends ArrayList<T> 堆疊列表
AdapterHelper 適配器輔助類
AdapterItem 適配器節點
public class FakeAdapter extends BaseAdapter 虛適配器
public class FakeExpandableAdapter implements ExpandableListAdapter, HeterogeneousExpandableList  擴充套件適配器
Debug 模式
DynamicIdMap id記錄
SparseWeakArray<E> 弱參照
public @interface VisibleForTesting  可見屬性
public abstract class AbstractClassAdapter extends ClassVisitor 抽象類適配
public class AsmAnalyzer Java位元組碼操作
AsmGenerator 類生成
public class ClassHasNativeVisitor extends ClassVisitor 類本地實現
public final class CreateInfo implements ICreateInfo 類資訊
public class DelegateClassAdapter extends ClassVisitor 類適配
class DelegateMethodAdapter2 extends MethodVisitor  
public class DependencyFinder  根據java位元組碼找到
ICreateInfo 描述資訊介面
Log 日誌資訊
public class LogAbortException extends Exception 日誌異常描述
public class MethodAdapter implements MethodListener 方法適配器
public interface MethodListener {  //方法監聽
public final class OverrideMethod {  //過載方法
public class RefactorClassAdapter extends AbstractClassAdapter {  //重構類適配
public class RenameClassAdapter extends AbstractClassAdapter {  //重名類適配
class StubMethodAdapter extends MethodVisitor { //跟方法適配
class TransformClassAdapter extends ClassVisitor { //變換類適配
public interface AutoCloseable {  //自動關閉介面
public final class Charsets {  //編碼
public final class IntegralToString {  //整形轉字元
public class UnsafeByteSequence {  //不安全位元組碼字元
public class MapView extends MockView {  //對映檢視
DateIntervalFormat_Delegate 整形格式化本地實現
ICU_Delegate libcore.icu.ICU ICU本地實現
 

9、data目錄

檔案 描述
etc  裏面包含編譯檔案
fonts 字型資源
keyboards 軟碟資源
sounds 聲音資源
videos 視訊資源
   


10、obex目錄

檔案 描述
public final class ApplicationParameter {   //參數資訊
public interface Authenticator {  //認證介面
public interface BaseStream {  //流介面
public final class ClientOperation implements Operation, BaseStream {  //讀寫資訊用戶端
public final class ClientSession extends ObexSession {  //藍牙對談用戶端
public final class HeaderSet {  //耳塞
public final class ObexHelper {  //藍牙輔助類
public class ObexSession {  //藍牙對談
public interface ObexTransport {  //藍牙傳輸
public interface Operation {  //操作介面
public final class PasswordAuthentication {  //認證密碼
public final class PrivateInputStream extends InputStream {  私有流資訊
public final class PrivateOutputStream extends OutputStream {  //私有輸出流
public final class ResponseCodes {  //響應程式碼
public final class ServerOperation implements Operation, BaseStream {  //伺服器操作
public class ServerRequestHandler {  //伺服器響應處理
public final class ServerSession extends ObexSession implements Runnable {  //服務對談
public interface SessionNotifier {  //服務通知
   


11、libs目錄

檔案 描述
androidfw  
hwui  
storage  
usb  
UsbManager USB管理
UsbAccessory USB外掛
   

12、keystore目錄

檔案 描述
public class AndroidKeyPairGenerator extends KeyPairGeneratorSpi 鍵值產生
public class AndroidKeyStore extends KeyStoreSpi { 鍵值
public class AndroidKeyStoreProvider extends Provider { 鍵值提供
public class Credentials { 憑據
public final class KeyChain { 鍵鏈
public interface KeyChainAliasCallback { 鍵回撥
public class KeyChainException extends Exception { 異常
public final class KeyPairGeneratorSpec implements AlgorithmParameterSpec { 產生鍵值異常
public class KeyStore { 鍵值
public final class KeyStoreParameter implements ProtectionParameter { 鍵值參數
public class SystemKeyStore { 系統鍵值
IKeyChainAliasCallback.aidl  
IKeyChainService.aidl  
public class AndroidKeyPairGeneratorTest extends AndroidTestCase {  
public class AndroidKeyStoreTest extends AndroidTestCase {  
public class KeyPairGeneratorSpecTest extends AndroidTestCase {  
public class KeyStoreTest extends ActivityUnitTestCase<Activity> {  
public class SystemKeyStoreTest extends ActivityUnitTestCase<Activity> {  
   


13、drm目錄

檔案 描述
public class DrmConvertedStatus { 轉換狀態
public class DrmErrorEvent extends DrmEvent { 自定義錯誤事件
public class DrmEvent { 自定義事件
public class DrmInfo { 交易資訊
public class DrmInfoEvent extends DrmEvent { 自定義事件
public class DrmInfoRequest { DRM伺服器請求資訊
public class DrmInfoStatus { 狀態值
public class DrmManagerClient { 管理用戶端
public class DrmOutputStream extends OutputStream { 輸出流
public class DrmRights { 許可證資訊
public class DrmStore { 常數
public class DrmSupportInfo { drm支援資訊 例如DRM外掛
public class DrmUtils { 輔助類
public class ProcessedData { 處理數據
   


14、nfc-extras

檔案 描述
public class EeAlreadyOpenException extends EeIOException {  //已經開啓異常
public class EeExternalFieldException extends EeIOException {  //擴充套件屬性異常
public class EeInitializationException extends EeIOException {  //初始化異常
public class EeIOException extends IOException {  //輸入輸出異常
public class EeListenModeException extends EeIOException {  //監聽異常
public class EeNfcDisabledException extends EeIOException {  //不可用異常
public final class NfcAdapterExtras {  //模擬器卡附加參數
public class NfcExecutionEnvironment {  //執行環境
   

15、tests目錄

檔案 描述
AccessoryDisplay 顯示測試
ActivityTests Activity測試
AppLaunch 啓動測試
appwidgets 小部件測試
Assistant  
backup 備份測試
BandwidthTests 頻寬測試
BatteryWaster 浪費電池測試
BiDiTests  
BrowserPowerTest 瀏覽器電力測試
Camera2Tests 攝像頭測試
CanvasCompare 畫布測試
Compatibility 相容性測試
CoreTests 核心測試
DataIdleTest 數據測試
DpiTest  
FixVibrateSetting 振動設定
FrameworkPerf 框架效能測試
GridLayoutTest grid佈局測試
HugeBackup 大數據備份
HwAccelerationTest 硬體加速測試
ImfTest  
LargeAssetTest 大數據測試
LocationTracker 位置追蹤者
LotsOfApps  
LowStorageTest 低儲存測試
MemoryUsage 記憶體狀態
permission 許可權
RemoteDisplayProvider 遠端顯示
RenderScriptTests 渲染指令碼測試
SerialChat 串列埠聊天
SharedLibrary 共用庫
SmokeTest 吸菸測試
SmokeTestApps  
SslLoad ssl載入測試
StatusBar 狀態列測試
TileBenchmark  
touchlag 觸控測試
TransformTest 轉換測試
TransitionTests 轉換測試
TtsTests tts測試
WebViewTests web檢視測試
   


16、test-runner目錄

檔案 描述
public abstract class ActivityInstrumentationTestCase<T extends Activity> 
        extends ActivityTestCase {
//Activity功能測試
public abstract class ActivityTestCase extends InstrumentationTestCase { //actvity測試基礎類別
public abstract class ActivityUnitTestCase<T extends Activity> 
        extends ActivityTestCase {
//Activity單元測試
public class AndroidTestRunner extends BaseTestRunner {  //測試執行
public abstract class ApplicationTestCase<T extends Application> extends AndroidTestCase {  
public class AssertionFailedError extends Error { //斷言失敗
public class ClassPathPackageInfo {  //包資訊
public class ClassPathPackageInfoSource {  //包資訊
public class ComparisonFailure extends AssertionFailedError {  //異常
public class DatabaseTestUtils {  //數據庫測試
public class InstrumentationCoreTestRunner extends InstrumentationTestRunner {  
public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider {  
public class InstrumentationUtils {  
public class IsolatedContext extends ContextWrapper {   
public class LaunchPerformanceBase extends Instrumentation {  //啓動測試
public class LoaderTestCase extends AndroidTestCase {  //載入測試
public final class MoreAsserts {  
class NoExecTestResult extends TestResult { //  
public class PackageInfoSources { //包資訊
public interface PerformanceCollectorTestCase {  
public abstract class ProviderTestCase<T extends ContentProvider>
       extends InstrumentationTestCase {
 
public class RenamingDelegatingContext extends ContextWrapper {  
public abstract class ServiceTestCase<T extends Service> extends AndroidTestCase {  //服務測試
abstract class SimpleCache<K, V> {  //雜湊快取
public abstract class SingleLaunchActivityTestCase<T extends Activity>
        extends InstrumentationTestCase {
 
public class SyncBaseInstrumentation extends InstrumentationTestCase {  
public interface TestCase extends Runnable  
public class TestCaseUtil {  
public class TestPrinter implements TestRunner.Listener, TestListener {  
public class TestRunner implements PerformanceTestCase.Intermediates {  
public interface TestSuiteProvider {  
public @interface TimedTest {  
public class TouchUtils {  
public class ViewAsserts {  
public class MockApplication extends Application { //模擬應用
public class MockContentProvider extends ContentProvider {  //模擬共用數據庫
public class MockContentResolver extends ContentResolver { //模擬共用數據庫
public class MockContext extends Context {  //模擬控制代碼
public class MockCursor implements Cursor {  //模擬遊標
public class MockDialogInterface implements DialogInterface {  //模擬對話方塊介面
public class MockIContentProvider implements IContentProvider {  //模擬數據庫介面
public class MockPackageManager extends PackageManager {  //模擬包管理
public class MockResources extends Resources {  //模擬資源
class AssignableFrom implements Predicate<TestMethod> { //類方法判斷
public class InstrumentationTestSuiteBuilder extends TestSuiteBuilder { //儀器測試
public class SmokeTestSuiteBuilder extends TestSuiteBuilder { //冒煙測試
public class TestGrouping { //類路徑測試類
public class TestMethod { //類方法測試
public class TestPredicates {  
public class TestSuiteBuilder {  
public class UnitTestSuiteBuilder extends TestSuiteBuilder {  
public class HasAnnotation implements Predicate<TestMethod> {  
class HasClassAnnotation implements Predicate<TestMethod> {  
class HasMethodAnnotation implements Predicate<TestMethod> {  
 

17、cmds目錄

檔案 描述
am activity manager,你能使用am去模擬各種系統的行爲
app_process app進程
backup 備份
bmgr 應用數據備份以及還原
bootanimation 啓動動畫
bu 備份
content 發佈數據的類
ime 軟碟命令
input 輸出命令
interrupter 中斷命令
media 媒體命令
pm package manager,你能使用pm命令去模擬android行爲或者查詢裝置上的應用等
requestsync 同步請求命令
screencap 截圖
settings 設定
svc 系統SVC 命令(命令列WIFI 開關、GPRS 移動數據開關)
wm 系統切換與雙啓動
 

18、location目錄

檔案 描述
public class Address implements Parcelable { // 位置資訊
public class Country implements Parcelable {  //國家資訊
public class CountryDetector {  //國家匹配
public class Criteria implements Parcelable {  //位置參數
public class FusedBatchOptions implements Parcelable {  //設定資訊
public final class Geocoder { //地理編碼和反向地理編碼
public class GeocoderParams implements Parcelable { //地理編碼和反向地理編碼參數
public final class Geofence implements Parcelable { //地理邊界
public class GeoFenceParams implements Parcelable { //地理邊界 參數
public final class GpsSatellite {  //gps衛星
public final class GpsStatus {  //gps狀態
public class Location implements Parcelable {  //位置資訊
public interface LocationListener {  //位置資訊監聽
public class LocationManager {  //位置資訊管理
public class LocationProvider { //位置資訊提供
public final class LocationRequest implements Parcelable {  // 位置資訊請求
public abstract class SettingInjectorService extends Service {  //設定服務
interface IFusedGeofenceHardware {  硬體介面
public class GpsNetInitiatedHandler {  // 網路gps處理
public final class ProviderProperties implements Parcelable {  //設定資訊
public final class ProviderRequest implements Parcelable {  //請求
interface ILocationProvider {  //位置管理介面
public final class FusedLocationHardware {  //系結硬體
public abstract class FusedLocationHardwareSink {  //位置資訊抽象
public abstract class FusedProvider   
public abstract class GeocodeProvider {  //編碼服務
public abstract class GeofenceProvider {  //位置邊界服務
public class GmsFusedBatchOptions {  //設定資訊
public abstract class LocationProviderBase {  //位置資訊基礎類別
public final class LocationRequestUnbundled {  
public final class ProviderPropertiesUnbundled {  
public final class ProviderRequestUnbundled {  
 

19、media目錄

檔案 描述
mca 影象形態分量分析(MCA- Morphological Component Analysis)通過結合影象的稀疏表示(Sparce representation)理論和變分方法進行影象分解。
public final class AmrInputStream extends InputStream  //amr輸入流
public class AsyncPlayer {  //非同步播放
public class AudioFormat {  //音訊格式
public class AudioManager {  // 音訊管理
public class AudioRecord   //音訊錄音
public class AudioRoutesInfo implements Parcelable {  // 音訊可用資訊
public class AudioService extends IAudioService.Stub {  //音訊服務
public class AudioSystem {  //音訊系統資訊
public final class AudioTimestamp {  // 音訊時間軸
public class AudioTrack {  // 音訊監聽
public class CamcorderProfile {  //音訊設定資訊
public class CameraProfile {  //相機設定資訊
public interface DataSource extends Closeable {  // 源數據
public class DecoderCapabilities {  //根據視訊的型別解碼
public final class DeniedByServerException extends MediaDrmException {  //拒絕異常
public class EncoderCapabilities {  //編碼
public class ExifInterface {  //閱讀和寫作在JPEG檔案介面
public class FaceDetector {  // 臉部匹配
class FocusRequester {  //拒絕請求
public abstract class Image implements AutoCloseable {  // 圖片類
public class ImageReader implements AutoCloseable { // 圖片讀取
public class JetPlayer {  //jet播放器
public class MediaActionSound {  // 媒體動作聲音
final public class MediaCodec {  //媒體編碼
public final class MediaCodecInfo { //媒體編碼資訊
final public class MediaCodecList {  //編碼列表
public final class MediaCrypto {  //編碼加密
public final class MediaCryptoException extends Exception {  //編碼加密異常
public final class MediaDrm {   //媒體數位許可權管理
public class MediaDrmException extends Exception {  //異常
final public class MediaExtractor { //媒體提取
public class MediaFile {  //媒體檔案
public class MediaFocusControl implements OnFinished {  //媒體聚焦控制
public final class MediaFormat {  //媒體格式
public class MediaInserter {  //媒體讀寫輔助類
public abstract class MediaMetadataEditor {  //媒體型別編輯
public class MediaMetadataRetriever {  //媒體
final public class MediaMuxer {  //媒體複用
public class MediaPlayer implements SubtitleController.Listener {  //媒體播放
public class MediaRecorder {  //媒體錄音
public class MediaRouter {  //媒體路由
public final class MediaRouterClientState implements Parcelable { //媒體路由狀態
public class MediaScanner {  //媒體讀寫
public interface MediaScannerClient {  //媒體讀寫用戶端
public class MediaScannerConnection implements ServiceConnection {  // 媒體讀寫連線
public class MediaSyncEvent {  // 媒體同步事件
public interface MediaTimeProvider {  // 媒體時間
public class Metadata {  //數據
public class MiniThumbFile { //  
public final class NotProvisionedException extends MediaDrmException {  
public final class Rating implements Parcelable {  // 評級
public class RemoteControlClient {  //遠端控制用戶端
public final class RemoteController {  // 遠端控制
public final class RemoteDisplay {  //遠端顯示
public final class RemoteDisplayState implements Parcelable {  //遠端顯示狀態
public final class ResampleInputStream extends InputStream { //重採樣輸入流
public final class ResourceBusyException extends MediaDrmException {  
public class Ringtone {  //鈴聲
public class RingtoneManager { //鈴聲播放
public class SoundPool {  //聲音介面
public class SubtitleController { //字幕控制器
public final class SubtitleData {  //字幕數據
public abstract class SubtitleTrack implements MediaTimeProvider.OnMediaTimeListener { //字幕監聽
public class ThumbnailUtils { //媒體提供商縮圖生成
public final class TimedText {  //時間文字
public class ToneGenerator { // 音調生成
public final class UnsupportedSchemeException extends MediaDrmException  
public interface VolumeController {  //音量控制
public class WebVttRenderer extends SubtitleController.Renderer { // 字幕渲染
public class AcousticEchoCanceler extends AudioEffect {//回聲消除器  
public class AudioEffect { //音訊效果
public class AutomaticGainControl extends AudioEffect { //自動增益控制
public class BassBoost extends AudioEffect { //低音增強
public class EnvironmentalReverb extends AudioEffect { //環境聲音
public class Equalizer extends AudioEffect { //均衡器
public class LoudnessEnhancer extends AudioEffect { //增大音訊
public class NoiseSuppressor extends AudioEffect { //噪聲抑制器
public class PresetReverb extends AudioEffect {  
public class Virtualizer extends AudioEffect { //音訊虛擬器
public class Visualizer { //音訊虛擬器
public class AudioTrack {  //音訊軌道
public abstract class Effect { //單媒體
public class EffectColor extends Effect {  //顏色
public class EffectKenBurns extends Effect {  
public interface ExtractAudioWaveformProgressListener {  
class MediaArtistNativeHelper { //媒體藝術輔助類
public class MediaImageItem extends MediaItem {  //媒體圖片項
public abstract class MediaItem {  //媒體項
public class MediaProperties {  //媒體屬性
public class MediaVideoItem extends MediaItem { // 視訊項
public abstract class Overlay { //重疊
public class OverlayFrame extends Overlay {  //重疊幀
public abstract class Transition { //轉換
public class TransitionAlpha extends Transition { //alpha混合
public class TransitionCrossfade extends Transition { //淡入淡出效果
public class TransitionFadeBlack extends Transition { //提供一個褪色的黑和黑過渡消失
public class TransitionSliding extends Transition { //建立滑動過渡
public interface VideoEditor { //視訊編輯
public class VideoEditorFactory { //視訊編輯工廠
public class VideoEditorImpl implements VideoEditor {  //視訊編輯介面
public class VideoEditorProfile {  //視訊編輯檔案
public class WaveformData {  //wave檔案
public final class MtpConstants {  //mtp常數
public class MtpDatabase {  //mtp數據庫
public final class MtpDevice {  //mtp裝置
public class MtpDeviceInfo {  //mtp裝置資訊
public final class MtpObjectInfo {  //mtp物件資訊
class MtpPropertyGroup {  //mtp屬性資訊
class MtpPropertyList {  //mtp屬性列表
public class MtpServer implements Runnable {  //mtp服務
public class MtpStorage {  //mtp儲存
public final class MtpStorageInfo {  //mtp儲存資訊
public class RemoteDisplay { //遠端顯示
public abstract class RemoteDisplayProvider {  //遠端顯示提供
 

20、graphics目錄

檔案 描述
public class Atlas {  
public class AvoidXfermode extends Xfermode { //指定了一個顏色和容差,強制Paint避免在它上面繪圖(或者只在它上面繪圖)。
public final class Bitmap implements Parcelable {  //圖片
public class BitmapFactory {  //建立圖片物件
public final class BitmapRegionDecoder {  //矩形區域解碼
public class BitmapShader extends Shader { //着色器
public class BlurMaskFilter extends MaskFilter { //模糊過濾
public class Camera {  // 相機(產生3D效果)
public class Canvas {  //畫布
public class Color { //顏色
public class ColorFilter {  //顏色過濾
public class ColorMatrix {  //顏色矩陣
public class ColorMatrixColorFilter extends ColorFilter { // 顏色矩陣過濾
public class ComposePathEffect extends PathEffect { // 構建輪廓
public class ComposeShader extends Shader {  //構建着色器
public class CornerPathEffect extends PathEffect { //輪廓角
public class DashPathEffect extends PathEffect { //對摺輪廓
public class DiscretePathEffect extends PathEffect { //離散輪廓
public class DrawFilter { //畫圖過濾
public class EmbossMaskFilter extends MaskFilter { //浮雕濾鏡
public class ImageFormat {  //影象格式
public class Insets { //一個插圖範例
public class Interpolator { //插補器
public final class LargeBitmap {  //大圖片
public class LayerRasterizer extends Rasterizer { //光柵層
public class LightingColorFilter extends ColorFilter {  //亮光
public class LinearGradient extends Shader {  //線性梯度
public class MaskFilter {  //過濾
public class Matrix {  //矩陣
public class Movie {  //電影?
public class NinePatch {  //.9圖片
public class Paint {  //繪畫
public class PaintFlagsDrawFilter extends DrawFilter {  //繪畫過濾
public class Path {  //輪廓
public class PathDashPathEffect extends PathEffect {  //對摺輪廓
public class PathEffect {  //輪廓
public class PathMeasure { //路測
public class Picture {  //圖片
public class PixelFormat { //畫素格式
public class PixelXorXfermode extends Xfermode { //當覆蓋已有的顏色時,應用一個簡單的畫素互斥或操作。
public class Point implements Parcelable {  //座標
public class PointF implements Parcelable {  //座標
public class PorterDuff {  //繪畫模式
public class PorterDuffColorFilter extends ColorFilter {  //繪畫顏色過濾
public class PorterDuffXfermode extends Xfermode { // 這是一個非常強大的轉換模式,使用它,可以使用影象合成的16條Porter-Duff規則的任意一條來控制Paint如何與已有的Canvas影象進行互動。
public class RadialGradient extends Shader { //徑向梯度
public class Rasterizer { //光柵
public final class Rect implements Parcelable {  //矩形
public class RectF implements Parcelable {  //矩形
public class Region implements Parcelable { //區域
public class RegionIterator {  //區域迭代器
public class Shader {  //着色器
public class SumPathEffect extends PathEffect {  //輪廓
public class SurfaceTexture {  //表面紋理
public class SweepGradient extends Shader { //掃描梯度
public class TableMaskFilter extends MaskFilter { //表格過濾器
public class TemporaryBuffer { //臨時緩衝區
public class Typeface { //型別
public class Xfermode { //模式
public class YuvImage {  //YUV圖片(-->jpeg)
public interface Animatable {  //動畫介面
public class AnimatedRotateDrawable extends Drawable implements Drawable.Callback, Runnable,
        Animatable { 
//旋轉動畫圖片
public class AnimationDrawable extends DrawableContainer implements Runnable,
Animatable {
// 動畫圖片
public class BitmapDrawable extends Drawable { //圖片
public class ClipDrawable extends Drawable implements Drawable.Callback { //拷貝圖片
public class ColorDrawable extends Drawable { //顏色圖片
public abstract class Drawable { //圖片抽象類
public class DrawableContainer extends Drawable implements Drawable.Callback { // 圖片包涵器
public class GradientDrawable extends Drawable { //梯度圖片
public class InsetDrawable extends Drawable implements Drawable.Callback { //插入圖片
public class LayerDrawable extends Drawable implements Drawable.Callback { //圖層
public class LevelListDrawable extends DrawableContainer { //等級列表圖片
public class NinePatchDrawable extends Drawable { //.9圖片
public class PaintDrawable extends ShapeDrawable { //繪畫圖片
public class PictureDrawable extends Drawable { //圖片
public class RotateDrawable extends Drawable implements Drawable.Callback { //旋轉圖片
public class ScaleDrawable extends Drawable implements Drawable.Callback { // 尺度圖片
public class ShapeDrawable extends Drawable {  //形態圖片
public class StateListDrawable extends DrawableContainer { //圖形影象
public class TransitionDrawable extends LayerDrawable implements Drawable.Callback { //過濾圖片
public class ArcShape extends RectShape { //弧形
public class OvalShape extends RectShape { //橢圓形
public class PathShape extends Shape { //輪廓
public class RectShape extends Shape { //正方形
public class RoundRectShape extends RectShape { //圓形
public abstract class Shape implements Cloneable { //形狀
public class PdfDocument { //PDF文件
public class Allocation extends BaseObj { //設定
public class AllocationAdapter extends Allocation { //反射適配器
public class BaseObj { //渲染指令碼基礎類別
public class Byte2 {  //位元組碼
public class Double2 {/ /雙精度浮點數形式儲存
public class Element extends BaseObj { // 元素
public class FieldPacker { //欄位包裝
public class FileA3D extends BaseObj { //從檔案載入renderscript物件
public class Float2 { //浮點
public class Font extends BaseObj { //字型
public class Int2 { //整形
public class Long2 { //長整形
public class Matrix2f {/ /矩形
public class Mesh extends BaseObj { //數據顯示容器
public class Path extends BaseObj { //路徑
public class Program extends BaseObj {  //圖形流水執行緒序
public class ProgramFragment extends Program { //片段着色器
public class ProgramFragmentFixedFunction extends ProgramFragment { //一個輔助類
public class ProgramRaster extends BaseObj { //光柵程式
public class ProgramStore extends BaseObj { //圖形硬體處理寫入到幀緩衝
public class ProgramVertex extends Program { //頂點着色器
public class ProgramVertexFixedFunction extends ProgramVertex { //頂點着色器
public class RenderScript { //渲染指令碼
public class RenderScriptGL extends RenderScript { //渲染指令碼
public class RSDriverException extends RSRuntimeException { //異常
public class RSSurfaceView extends SurfaceView implements SurfaceHolder.Callback { //一種圖形
public class RSTextureView extends TextureView implements TextureView.SurfaceTextureListener { //文字圖形
public class Sampler extends BaseObj { //採樣物件
public class Script extends BaseObj { //指令碼
public class ScriptC extends Script { //指令碼類
public final class ScriptGroup extends BaseObj {  //指令碼內核
public abstract class ScriptIntrinsic extends Script { //指令碼
public final class ScriptIntrinsic3DLUT extends ScriptIntrinsic {  
public class ScriptIntrinsicBlend extends ScriptIntrinsic {  
public final class ScriptIntrinsicBlur extends ScriptIntrinsic {  
public final class ScriptIntrinsicColorMatrix extends ScriptIntrinsic {  
public final class ScriptIntrinsicConvolve3x3 extends ScriptIntrinsic {  
public final class ScriptIntrinsicConvolve5x5 extends ScriptIntrinsic {  
public final class ScriptIntrinsicHistogram extends ScriptIntrinsic {  
public final class ScriptIntrinsicLUT extends ScriptIntrinsic {  
public final class ScriptIntrinsicYuvToRGB extends ScriptIntrinsic {  
public class Short2 { //短整形
public class Type extends BaseObj { // 型別描述
 

21、opengl目錄

檔案 描述
public class EGL14 { //一種粉刷
public class EGLConfig extends EGLObjectHandle { //本地設定
public class EGLContext extends EGLObjectHandle {  //控制代碼
public class EGLDisplay extends EGLObjectHandle {  //顯示物件
public class EGLExt { //擴充套件
class EGLLogWrapper implements EGL11 { //  
public abstract class EGLObjectHandle {  
public class EGLSurface extends EGLObjectHandle {  
public class ETC1 {  
public class ETC1Util {  
public class GLDebugHelper {  
class GLErrorWrapper extends GLWrapperBase {  
public class GLES10 {  
public class GLES10Ext {  
public class GLES11 extends GLES10 {  
public class GLES11Ext {  
public class GLES20 {  
public class GLES30 extends GLES20 {  
public class GLException extends RuntimeException {  
class GLLogWrapper extends GLWrapperBase {  
public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback {  
public class GLU {  
public final class GLUtils {  
class GLWallpaperService {  
abstract class GLWrapperBase
    implements GL, GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {
 
public abstract class ManagedEGLContext {  
public class Matrix {  
public class Visibility {  
public class EGLConfigImpl extends EGLConfig {  
public class EGLContextImpl extends EGLContext {  
public class EGLDisplayImpl extends EGLDisplay {  
public class EGLImpl implements EGL10 {  
public class EGLSurfaceImpl extends EGLSurface {  
public class GLImpl implements GL10, GL10Ext, GL11, GL11Ext, GL11ExtensionPack {  
public interface EGL {  
public interface EGL10 extends EGL {  
public interface EGL11 extends EGL10 {  
public abstract class EGLConfig
{
 
public abstract class EGLContext
{
 
public abstract class EGLDisplay
{
 
public abstract class EGLSurface
{
 
public interface GL {  
public interface GL10 extends GL {  
public interface GL10Ext extends GL {  
public interface GL11 extends GL10 {  
public interface GL11Ext extends GL {  
public interface GL11ExtensionPack extends GL {  
 

22、packages目錄

檔案 描述
public class WapPushManager extends Service { //實現來處理傳入的 WAP PUSH訊息
public class BitmapUtils { //圖片輔助
public class Utils { //輔助類
class ByteBufferInputStream extends InputStream { //位元組緩衝
class CountedDataInputStream extends FilterInputStream { //輸入流計數
class ExifData { //儲存EXIF
public class ExifInterface { //exif介面(提供了閱讀和寫作的JPEG檔案的方法和常數)
public class ExifInvalidFormatException extends Exception {/ /異常
class ExifModifier { //編輯器
class ExifOutputStream extends FilterOutputStream { //輸出流
class ExifParser {  //exif解析器
class ExifReader {  //exif讀取
public class ExifTag { //exif標籤
class IfdData {  //標誌
public interface IfdId { //id  
class JpegHeader {  //jpeg頭資訊
class OrderedDataOutputStream extends FilterOutputStream { //順序數據輸出
public class Rational { //合理數據型別
public abstract class BasicTexture implements Texture { //一個真正的GL紋理的紋理
public class BitmapTexture extends UploadedTexture { //文字點陣圖
public interface GLCanvas { //畫布
public class GLES20Canvas implements GLCanvas { //畫布
public class GLES20IdImpl implements GLId { //標識
public interface GLId { //介面
public class GLPaint { //繪畫
public class RawTexture extends BasicTexture { //文字
public interface Texture { //文字
public abstract class UploadedTexture extends BasicTexture {  
public class IntArray { //整形陣列
interface SimpleBitmapRegionDecoder { //圖片區域解碼
public class BlockingGLTextureView extends TextureView
        implements SurfaceTextureListener {
 //文字檢視
public class TiledImageRenderer { //圖片渲染
public class TiledImageView extends FrameLayout {  //頭檢視
public class CropView extends TiledImageView implements OnScaleGestureListener { //拷貝檢視
public class WallpaperCropActivity extends Activity { //介面
public class InputDeviceReceiver extends BroadcastReceiver { //輸入廣播
public class FusedLocationProvider extends LocationProviderBase implements FusionEngine.Callback {//  
public class FusedLocationService extends Service {  
public class FusionEngine implements LocationListener {  
public class FakeApp extends Application {  
public class FakeBackgroundService extends Service {  
public class FakeCoreService extends Service {  
public class FakeCoreService2 extends FakeCoreService {  
public class FakeCoreService3 extends FakeCoreService {  
public class FakeView extends View {  
public class ExternalStorageProvider extends DocumentsProvider { //擴充套件儲存
public class MountReceiver extends BroadcastReceiver {  //廣播
public class TestDocumentsProvider extends DocumentsProvider {  
public class ColumnAdapter extends BaseAdapter { //適配器
public class CreateDirectoryFragment extends DialogFragment { //對話方塊建立一個新目錄
public class DirectoryContainerView extends FrameLayout {  //目錄
public class DirectoryFragment extends Fragment {  //顯示一個目錄裏面的檔案
class DirectoryResult implements AutoCloseable { //目錄載入
public class DirectoryView extends FrameLayout {  //目錄檢視
public class DocumentsActivity extends Activity {  //文件介面
public class DocumentsApplication extends Application {  //文件程式
public class FilteringCursorWrapper extends AbstractCursor {  //過濾遊標
public class IconUtils {  //圖示輔助類
public class MimePredicate implements Predicate<DocumentInfo> {  
public class PackageReceiver extends BroadcastReceiver {  //包接收
public class ProviderExecutor extends Thread implements Executor { //  
public class RecentLoader extends AsyncTaskLoader<DirectoryResult> { //載入
public class RecentsCreateFragment extends Fragment { //顯示目錄建立在最近發生的
public class RecentsProvider extends ContentProvider { //最近的共用數據庫
public class RootCursorWrapper extends AbstractCursor { //根遊標
public class RootsCache { //根快取
public class RootsFragment extends Fragment { //儲存列表
public class RootsLoader extends AsyncTaskLoader<Collection<RootInfo>> {  //載入
public class SaveFragment extends Fragment {  //頭標編輯
public class SectionedListAdapter extends BaseAdapter {//  
public class SettingsActivity extends Activity { //設定介面
public class SortingCursorWrapper extends AbstractCursor {  //排序遊標
public class ThumbnailCache extends LruCache<Uri, Bitmap> {  
public abstract class UriDerivativeLoader<P, R> extends AsyncTaskLoader<R> { //載入uri
public class DocumentInfo implements Durable, Parcelable { //文件資訊
public class DocumentStack extends LinkedList<DocumentInfo> implements Durable { //文件堆疊
public interface Durable { //文件讀寫介面
public class DurableUtils { //文件輔助類
public class RootInfo implements Durable, Parcelable { //根資訊
public class DefaultContainerService extends IntentService { //服務負責拷貝下載apk
public class MeasurementUtils {  
public class BackupRestoreConfirmation extends Activity { //全備份/恢復操作介面
public class ConfirmDialog extends AlertActivity implements
        CompoundButton.OnCheckedChangeListener, DialogInterface.OnClickListener { 
//提交對話方塊
public class ManageDialog extends AlertActivity implements
        DialogInterface.OnClickListener, Handler.Callback { 
//管理對話方塊
public class BatteryMeterView extends View implements DemoMode { //電量百分顯示
public class BootReceiver extends BroadcastReceiver {  //啓動廣播
public interface DemoMode {  //自定義模式
public class DessertCase extends Activity { //  
public class DessertCaseDream extends DreamService {  
public class DessertCaseDreamSettings extends PreferenceActivity {  
public class DessertCaseView extends FrameLayout {  
public class DockBatteryMeterView extends BatteryMeterView {  
public class ExpandHelper implements Gefingerpoken, OnClickListener {  
public interface Gefingerpoken {  
public class ImageWallpaper extends WallpaperService {  
public class LoadAverageService extends Service {  
public interface RecentsComponent {  
public class SearchPanelView extends FrameLayout implements
        StatusBarPanel, ActivityOptions.OnAnimationStartedListener {
 
public class Somnambulator extends Activity {  
public class SwipeHelper implements Gefingerpoken {  
public abstract class SystemUI {  
public class SystemUIService extends Service {  
public class ActionTarget { //管理自定義操作的輔助類
public class CMCaseView extends DessertCaseView {  
public class NotificationPlayer implements OnCompletionListener { //提示聲
public class RingtonePlayer extends SystemUI { //鈴聲播放
public class NetworkOverLimitActivity extends Activity {  //網路顯示介面
public class PowerUI extends SystemUI {  //電源介面
public class AirplaneModeTile extends QuickSettingsTile implements
NetworkSignalChangedCallback {
 //飛航模式
public class AlarmTile extends QuickSettingsTile {  //提示頭
public class AutoRotateTile extends QuickSettingsTile {  //自動換頭
public class BatteryTile extends QuickSettingsTile implements BatteryStateChangeCallback {  //電源頭
public class BluetoothTile extends QuickSettingsTile implements
        BluetoothAdapter.BluetoothStateChangeCallback,
        BluetoothController.BluetoothDeviceConnectionStateChangeCallback {
//藍牙頭
public class BrightnessTile extends QuickSettingsTile implements
BrightnessStateChangeCallback { 
//亮度頭
public class BugReportTile extends QuickSettingsTile {  //bug提交頭
public class CameraTile extends QuickSettingsTile {  //相機頭
public class DockBatteryTile extends BatteryTile {  //電池頭
public class ExpandedDesktopTile extends QuickSettingsTile {  //擴充套件桌面頭
public class GPSTile extends QuickSettingsTile implements
LocationSettingsChangeCallback {
 //gps頭
public class InputMethodTile extends QuickSettingsTile {  //輸入方式頭
public class LteTile extends QuickSettingsTile {  //三色頭
public class MobileNetworkTile extends NetworkTile { //行動網路頭
public class MobileNetworkTypeTile extends QuickSettingsTile implements
NetworkSignalChangedCallback { 
//網路型別頭
public class NetworkAdbTile extends QuickSettingsTile {  //網路頭
public abstract class NetworkTile extends QuickSettingsTile implements
NetworkSignalChangedCallback {
//網路頭
public class NfcTile extends QuickSettingsTile {  //nfc頭
public class PerformanceProfileTile extends QuickSettingsTile { //  
public class PreferencesTile extends QuickSettingsTile {  //屬性頭
public class ProfileTile extends QuickSettingsTile { // 檔案頭
public class QuickSettingsTile implements OnClickListener {  //設定頭
public class QuietHoursTile extends QuickSettingsTile { //靜音頭
public class RemoteDisplayTile extends QuickSettingsTile{  //遠端顯示頭
public class RingerModeTile extends QuickSettingsTile {  //鈴聲模式頭
public class ScreenTimeoutTile extends QuickSettingsTile {  //螢幕超時
public class SleepScreenTile extends QuickSettingsTile {  //睡眠頭
public class SyncTile extends QuickSettingsTile { //同步頭
public class ToggleLockscreenTile extends QuickSettingsTile
        implements OnSharedPreferenceChangeListener {
//鎖屏頭
public class TorchTile extends QuickSettingsTile { //手電筒頭
public class UsbTetherTile extends QuickSettingsTile {  //usb頭
public class UserTile extends QuickSettingsTile {  //使用者頭
public class VolumeTile extends QuickSettingsTile { //聲音頭
public class WifiAPTile extends QuickSettingsTile {  //wifi頭
public class WiFiTile extends NetworkTile {/ /wifi頭
public class ColorDrawableWithDimensions extends ColorDrawable {  //顏色
public class Constants {  //常數
public class FadedEdgeDrawHelper { //漸變圖
public class FirstFrameAnimatorHelper extends AnimatorListenerAdapter
    implements ValueAnimator.AnimatorUpdateListener { 
//動畫
public class Recents extends SystemUI implements RecentsComponent {  
public class RecentsActivity extends Activity {  
public interface RecentsCallback {  
public class RecentsHorizontalScrollView extends HorizontalScrollView
        implements SwipeHelper.Callback, RecentsPanelView.RecentsScrollView {
 
public class RecentsPanelView extends FrameLayout implements OnItemClickListener, RecentsCallback,
        StatusBarPanel, Animator.AnimatorListener {
 
public class RecentsPreloadReceiver extends BroadcastReceiver {  
public class RecentsVerticalScrollView extends ScrollView
        implements SwipeHelper.Callback, RecentsPanelView.RecentsScrollView {
 
public class RecentTasksLoader implements View.OnTouchListener {  
public final class TaskDescription {  
public class DeleteScreenshot extends BroadcastReceiver {  //截圖
class SaveImageInBackgroundData {  
public class TakeScreenshotService extends Service {  //獲取截圖
public class BrightnessController implements ToggleSlider.Listener { //亮度控制器
public class BrightnessDialog extends Dialog implements
        BrightnessController.BrightnessStateChangeCallback {
//對話方塊
public abstract class CurrentUserTracker extends BroadcastReceiver {  //當前使用者監聽者
public class SettingsUI extends SystemUI { //設定UI
public class ToggleSlider extends RelativeLayout implements
CompoundButton.OnCheckedChangeListener, SeekBar.OnSeekBarChangeListener { 
//滑動檢視
public class AnimatedImageView extends ImageView {  //動畫圖片
public abstract class BaseStatusBar extends SystemUI implements
     ommandQueue.Callbacks {
//狀態列
public class CommandQueue extends IStatusBar.Stub {  //命令佇列
public class DelegateViewHelper {  //檢視輔助
public class ExpandableNotificationRow extends FrameLayout {  // 擴充套件通知欄
public class GestureRecorder {  //捕捉手勢
public class LatestItemView extends FrameLayout {  //最近檢視
public class MSimSignalClusterView extends LinearLayout implements
MSimNetworkController.MSimSignalCluster { 
//卡信號檢視
public class NotificationData {  //通知數據
public class ServiceMonitor {  //一個安全的定義的服務元件
public class SignalClusterTextView extends LinearLayout implements
        NetworkController.NetworkSignalChangedCallback,
        NetworkController.SignalStrengthChangedCallback 
{//信號組
public class SignalClusterView
        extends LinearLayout
        implements NetworkController.SignalCluster {
//信號檢視
public class StatusBarIconView extends AnimatedImageView { //狀態圖示
public interface StatusBarPanel {  //狀態
public class SystemBars extends SystemUI implements ServiceMonitor.Callbacks { //系統欄
public class BarTransitions {  
public class DemoStatusIcons extends LinearLayout implements DemoMode {  
public class IconMerger extends LinearLayout {  
public class KeyguardTouchDelegate { //導航欄和事件之間的通訊介面
public class NavbarEditor implements View.OnTouchListener { //處理導航欄的編輯
public final class NavigationBarTransitions extends BarTransitions {  
public class NavigationBarView extends LinearLayout {  
public class NotificationPanelView extends PanelView {  
public class PanelBar extends FrameLayout {  
public class PanelHolder extends FrameLayout {  
public class PanelView extends FrameLayout {  
public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        NetworkController.UpdateUIListener {
 
public class PhoneStatusBarPolicy {  
public final class PhoneStatusBarTransitions extends BarTransitions {  
public class PhoneStatusBarView extends PanelBar {  
class QuickSettings {  
class QuickSettingsBasicTile extends QuickSettingsTileView {  
public class QuickSettingsContainerView extends FrameLayout {  
public class QuickSettingsController {  
public class QuickSettingsHorizontalScrollView extends HorizontalScrollView {  
class QuickSettingsModel implements BluetoothStateChangeCallback,
        NetworkSignalChangedCallback,
        BatteryStateChangeCallback,
        BrightnessStateChangeCallback,
        RotationLockControllerCallback,
        LocationSettingsChangeCallback {
 
public class QuickSettingsScrollView extends ScrollView {  
public class QuickSettingsTileView extends FrameLayout {  
public class SettingsPanelView extends PanelView {  
public class StatusBarWindowView extends FrameLayout  
public abstract class Ticker {  
public class TickerView extends TextSwitcher  
public class AccessibilityContentDescriptions { //內容的描述存取許可權
public class BatteryController extends BroadcastReceiver {  //電量控制
public class BluetoothController extends BroadcastReceiver {  
public class Clock extends TextView implements DemoMode, OnClickListener,
OnLongClickListener { 
//電子鐘
public class DateView extends TextView implements OnClickListener, OnLongClickListener {  
public class DeadZone extends View { //死掉區域
public class DockBatteryController extends BatteryController {  
public class HeadsUpNotificationView extends FrameLayout implements SwipeHelper.Callback, ExpandHelper.Callback {  
public class KeyButtonView extends ImageView {  
public class LocationController extends BroadcastReceiver { // 位置相關狀態的變化和更新
public class MSimNetworkController extends NetworkController { //卡網路
public class NetworkController extends BroadcastReceiver implements DemoMode {// 網路控制
public class NotificationRowLayout
        extends LinearLayout
        implements SwipeHelper.Callback, ExpandHelper.Callback
 
public interface OnSizeChangedListener {  
public class Prefs {  
public final class RotationLockController {  
class TelephonyIcons {  
class WifiIcons {  
class WimaxIcons {  
public class TvStatusBar extends BaseStatusBar {  //狀態列
public class StorageNotification extends SystemUI { //儲存通知欄
public class UsbAccessoryUriActivity extends AlertActivity
        implements DialogInterface.OnClickListener {
//usb提示
public class UsbConfirmActivity extends AlertActivity
        implements DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener {
 //usb提交介面
public class UsbDebuggingActivity extends AlertActivity implements
DialogInterface.OnClickListener {
//usb偵錯介面
class UsbDisconnectedReceiver extends BroadcastReceiver {  //usb拔出監聽
public class UsbPermissionActivity extends AlertActivity implements
DialogInterface.OnClickListener, CheckBox.OnCheckedChangeListener { 
//usb存取許可權
public class UsbResolverActivity extends ResolverActivity {  //usb裝置
public class UsbStorageActivity extends Activity implements
View.OnClickListener, OnCancelListener {
// usb儲存介面
public class BugreportPrefs { //BUG報告相關設定
public class BugreportReceiver extends BroadcastReceiver {  //debug提交廣播
public class BugreportWarningActivity extends AlertActivity
        implements DialogInterface.OnClickListener {
 //debug警告介面
public class ObbBackupService extends Service { //備份管理器
public class SharedStorageAgent extends FullBackupAgent {  //共用儲存代理
public class DatabaseHelper extends SQLiteOpenHelper { //數據庫輔助
public final class ProfilePickerActivity extends AlertActivity implements
DialogInterface.OnClickListener,
AlertController.AlertParams.OnPrepareListViewListener { 
//檔案撿取
public class SettingsBackupAgent extends BackupAgentHelper {  //設定備份代理
public class SettingsHelper {  //設定輔助
public class SettingsProvider extends ContentProvider {  //設定數據庫
public class PacNative {  
public class PacService extends Service {  
public class ProxyServer extends Thread {  
public class ProxyService extends Service {  
public class SocketConnect extends Thread {  
public class FusedPrintersProvider extends Loader<List<PrinterInfo>> { // 載入輸出資訊
public class MediaSizeUtils { //媒體大小輔助
public class NotificationController { // 通知控制
public class PrintDialogFrame extends FrameLayout {  //輸出對話方塊
public class PrintJobConfigActivity extends Activity {  //輸出設定介面
public final class PrintSpoolerService extends Service {  //輸出服務
final class RemotePrintDocumentAdapter {  
public class SelectPrinterActivity extends Activity implements OnPrinterSelectedListener {  
public final class SelectPrinterFragment extends Fragment {  
public class MSimCarrierText extends CarrierText {  
public class MSimKeyguardSimPinView extends KeyguardSimPinView {// 顯示開鎖
public class MSimKeyguardSimPukView extends KeyguardSimPukView { //顯示輸入PUK
interface BiometricSensorUnlock {  
public class CameraWidgetFrame extends KeyguardWidgetFrame implements View.OnClickListener {  
public class CarrierText extends TextView {  
public interface ChallengeLayout {  
public class CheckLongPressHelper {  
public class EmergencyButton extends Button {  
public class EmergencyCarrierArea extends LinearLayout {  
public class FaceUnlock implements BiometricSensorUnlock, Handler.Callback {  
public abstract class KeyguardAbsKeyInputView extends LinearLayout implements
KeyguardSecurityView, OnEditorActionListener, TextWatcher {
//PIN和密碼解鎖螢幕
public class KeyguardAccountView extends LinearLayout implements
KeyguardSecurityView, View.OnClickListener, TextWatcher {/
/帳戶
public abstract class KeyguardActivityLauncher {  //軟碟啓動介面
class KeyguardCircleFramedDrawable extends Drawable {  //軟體圓圓圖片
public class KeyguardDisplayManager {  
public class KeyguardFaceUnlockView extends LinearLayout implements KeyguardSecurityView {  
public class KeyguardGlowStripView extends LinearLayout {  
public class KeyguardHostView extends KeyguardViewBase {  
public class KeyguardLinearLayout extends LinearLayout {  
class KeyguardMessageArea extends TextView {  
class KeyguardMultiUserAvatar extends FrameLayout {  
public class KeyguardMultiUserSelectorView extends FrameLayout implements View.OnClickListener {  
public class KeyguardPasswordView extends KeyguardAbsKeyInputView
        implements KeyguardSecurityView, OnEditorActionListener, TextWatcher {
 
public class KeyguardPatternView extends LinearLayout implements KeyguardSecurityView {  
public class KeyguardPINView extends KeyguardAbsKeyInputView
        implements KeyguardSecurityView, OnEditorActionListener, TextWatcher {
 
public interface KeyguardSecurityCallback {  
public class KeyguardSecurityContainer extends FrameLayout {
    public KeyguardSecurityContainer(Context context, AttributeSet attrs) {
 
public class KeyguardSecurityModel {  
public interface KeyguardSecurityView {  
public class KeyguardSecurityViewFlipper extends ViewFlipper implements KeyguardSecurityView {  
public class KeyguardSecurityViewHelper {  
public class KeyguardSelectorView extends LinearLayout implements KeyguardSecurityView {  
public class KeyguardService extends Service {  
public class KeyguardSimPinView extends KeyguardAbsKeyInputView
        implements KeyguardSecurityView, OnEditorActionListener, TextWatcher {
 
public class KeyguardStatusView extends GridLayout {  
public class KeyguardTransportControlView extends FrameLayout {  
public class KeyguardUpdateMonitor {  
class KeyguardUpdateMonitorCallback {  
public abstract class KeyguardViewBase extends FrameLayout {  
public class KeyguardViewManager {  
public class KeyguardViewMediator {  
public class KeyguardViewStateManager implements
        SlidingChallengeLayout.OnChallengeScrolledListener,
        ChallengeLayout.OnBouncerStateChangedListener {
 
public class KeyguardWidgetCarousel extends KeyguardWidgetPager {  
public class KeyguardWidgetFrame extends FrameLayout {  
public class KeyguardWidgetPager extends PagedView implements PagedView.PageSwitchListener,
        OnLongClickListener, ChallengeLayout.OnBouncerStateChangedListener {
 
class LiftToActivateListener implements View.OnHoverListener {  
public class MultiPaneChallengeLayout extends ViewGroup implements ChallengeLayout {  
public class MultiUserAvatarCache {  
public class NumPadKey extends Button {  
class ObscureSpeechDelegate extends AccessibilityDelegate {  
public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarchyChangeListener {  
public interface SecurityMessageDisplay {  
public class SlidingChallengeLayout extends ViewGroup implements ChallengeLayout {  
 


未完待續,Framework簡單記錄完畢後將逐步瞭解Android各個部分,大致分爲:
Graphics 原理、View 原理、Activity 原理、BroadcastReceive 原理、Service 原理、ContentProvider與數據庫 原理、gesture 原理、Animation 原理、Webkit 原理、Hardware 原理、Bluetooth 原理、Speech 原理、Preference 原理、NFC 原理、Net 原理、Widget 原理、Location 原理、Media 原理、Opengl 原理、Packages 原理、Notification 原理、Process 原理、Widget 原理。