一、Camera(拍照,錄影,編碼)

1、tango_donut/packages/apps/Camera(拍照和錄影的界面)

a) tango_donut/packages/apps/Camera/src/com/android/camera/VideoCamera.java

2、tango_donut/frameworks/base/camera/libcameraservice(x900_MPEG4硬件編碼的接口)

a) tango_donut/frameworks/base/camera/libcameraservice/CameraHardwareStub.cpp

b) tango_donut/frameworks/base/camera/libcameraservice/JMultiMpeg4Source.cpp

c) tango_donut/frameworks/base/camera/libcameraservice/ VideoApi.cpp

3、tango_donut/ frameworks/base/media(中間層)

a) tango_donut/frameworks/base/media/libmedia/mediarecorder.cpp

b) tango_donut/frameworks/base/media/jni/android_media_MediaRecorder.cpp

4、tango_donut/external/opencore(x900_MPEG4硬件編碼)

a) tango_donut/external/opencore/android/author/authordriver.cpp

b) tango_donut/external/opencore/android/author/ android_camera_input.cpp

c) tango_donut/external/opencore/android/author/ android_audio_input.cpp

d) tango_donut/external/opencore/codecs_v2/omx/omx_m4venc/src/mpeg4_enc.cpp

e) tango_donut/external/opencore/codecs_v2/omx/omx_m4venc/src/omx_mpeg4enc_component.cpp

f) tango_donut/external/opencore/codecs_v2/omx/omx_amrenc/src/amr_enc.cpp

g) tango_donut/external/opencore/codecs_v2/omx/omx_amrenc/src/omx_amrenc_component.cpp


二、Video(視頻播放,MPEG4,H264)

1、tango_donut/hardware/packages/apps/video(播放界面)

a) tango_donut/hardware/packages/apps/video/src/com/android/video/VideoPlay.java

2、tango_donut/ frameworks/base/media(中間層)

a) tango_donut/frameworks/base/media/libmediaplayerservice/MediaPlayerService.cpp

b) tango_donut/ frameworks/base/media/libmedia/mediaplayer.cpp

c) tango_donut/frameworks/base/media/jni/android_media_MediaPlayer.cpp

3、tango_donut/external/opencore(x900_MPEG4和H264硬件解碼)

a) tango_donut/external/opencore/codecs_v2/omx/omx_h264/src/avc_dec.cpp

b) tango_donut/external/opencore/codecs_v2/omx/omx_m4v/src/mpeg4_dec.cpp

c) tango_donut/external/opencore/codecs_v2/video/libjademp4dec

d) tango_donut/external/opencore/codecs_v2/video/m4v_h263/dec/src/jademp4

e) tango_donut/external/opencore/codecs_v2/video/avc_h264/dec/src

4、tango_kernel/drivers/video/x900video(圖象顯示)

a) tango_kernel/drivers/video/x900video/cgi_x900.c

b) tango_kernel/drivers/video/x900video/x900bmp.c


三、3G Evdo

1、tango_donut/packages/apps/Settings(打開,關閉設置)

a) tango_donut/packages/apps/Settings/src/com/android/settings/WirelessSettings.java

b) tango_donut/packages/apps/Settings/src/com/android/settings/evdo

c) tango_donut/packages/apps/Settings/src/com/android/settings/evdo/EvDoEnabler.java

d) tango_donut/packages/apps/Settings/evdo

2、tango_donut/frameworks/base/telephony/java/com/android/internal/telephony/RIL.java(中間層)

3、tango_donut/hardware/ril(功能的實現,打電話,發短信等)

a) tango_donut/hardware/ril/reference-ril/reference-ril.c

b) tango_donut/hardware/ril/reference-ril/atchannel.c


四、Cdma

1、 tango_donut/frameworks/base/telephony/java/com/android/internal/telephony/cdma

a) tango_donut/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/BearerData.java


五、Wifi

1、tango_donut/packages/apps/Settings(打開,關閉和其他的設置)

a) tango_donut/packages/apps/Settings/src/com/android/settings/WirelessSettings.java

b) tango_donut/packages/apps/Settings/src/com/android/settings/wifi

c) tango_donut/packages/apps/Settings/src/com/android/settings/wifi/WifiEnabler.java

d) tango_donut/packages/apps/Settings/wifidhcp

2、tango_donut/frameworks/base/wifi/java/android/net/wifi(中間層)

a) tango_donut/frameworks/base/wifi/java/android/net/wifi/WifiManager.java

b) tango_donut/frameworks/base/wifi/java/android/net/wifi/WifiNative.java

3、tango_donut/frameworks/base/core/jni/android_net_wifi_Wifi.cpp

4、tango_donut/frameworks/base/services/java/com/android/server(中間層)

a) tango_donut/frameworks/base/services/java/com/android/server/WifiService.java

b) tango_donut/frameworks/base/services/java/com/android/server/WifiWatchdogService.java

5、tango_donut/hardware/libhardware_legacy/wifi/wifi.c(調用底層驅動)

6、tango_kernel/drivers/mmc(sdio驅動實現)

a) tango_kernel/drivers/mmc/host/jademmc.c


六、Ethnet

1、tango_donut/packages/apps/Settings(打開等設置)

a) tango_donut/packages/apps/Settings/src/com/android/settings/EthipSettings.java

b) tango_donut/packages/apps/Settings/ethiplib


七、Gps

1、tango_donut/hardware/gps_x900(數據收發,解析,上報等)

a) tango_donut/hardware/gps_x900/ gps_gp3s.c


八、Tvout(高清)

1、tango_donut/packages/apps/Settings(打開等設置)

a) tango_donut/packages/apps/Settings/src/com/android/settings/TvoutSettings.java

2、tango_donut/frameworks/base/core/java/android/util/X900Tvout.java(中間層)

3、tango_donut/frameworks/base/core/jni/android_X900Tvout.cpp(中間層)

4、tango_donut/hardware/tvout_x900(功能實現)

a) tango_donut/hardware/tvout_x900/ch7026.cpp


九、Gsensor

1、tango_donut/packages/apps/Settings(打開等設置)

a) tango_donut/packages/apps/Settings/src/com/android/settings/SoundAndDisplaySettings.java

2、tango_donut/hardware/sensor


十、Audio (9713,aac)

1、tango_donut/frameworks/base/libs/audioflinger(中間層)

a) tango_donut/frameworks/base/libs/audioflinger/AudioHardwareInterface.cpp

b) tango_donut/frameworks/base/libs/audioflinger/AudioFlinger.cpp

2、tango_donut/hardware/alsa_sound(中間層)

a) tango_donut/ hardware/alsa_sound/AudioHardwareALSA.cpp

3、tango_kernel/sound/soc/x900(底層驅動實現)

a) tango_kernel/ sound/soc/x900/x900-ac97.c

b) tango_kernel/sound/soc/x900/x900-pcm.c

c) tango_kernel/sound/soc/x900/x900-wm9713.c

4、tango_kernel/drivers/input/touchscreen/x900-wm97xx.c(底層驅動實現)


十一、Tp(電容,電阻)

1、tango_kernel/drivers/input/touchscreen(底層驅動)

a) tango_kernel$ im drivers/input/touchscreen/x900-i2c.c


十二、Keyboard(全鍵盤)

1、tango_kernel/drivers/input/keyboard(底層驅動)

a) tango_kernel/drivers/input/keyboard/x900.c

十三、Trackball(軌跡球)

1、tango_kernel/drivers/input/keyboard(底層驅動)

a) tango_kernel/drivers/input/keyboard/x900.c

BB 發表在 痞客邦 PIXNET 留言(0) 人氣()