R40eUbuntu-Sempron26Debian
ubuntu 在 R40e 上 還有 Debian 在 Sempron 2600 上
2018年3月12日 星期一
2017年11月12日 星期日
2015年12月31日 星期四
system service feature enable/disable in android 5
ethernet service:
這個 file 是被copy ...
./services/java/com/android/server/SystemServer.java:674: if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_ETHERNET)) {
private void startOtherServices() { ... ... if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_ETHERNET)) { mSystemServiceManager.startService(ETHERNET_SERVICE_CLASS); }茶一下 FEATURE_ETHERNET...
./core/java/android/content/pm/PackageManager.java:1570: public static final String FEATURE_ETHERNET = "android.hardware.ethernet";這個: android.hardware.ethernet 是在:
frameworks/native/data/etc/android.hardware.ethernet.xml: <permissions> <feature name="android.hardware.ethernet" /> </permissions>
這個 file 是被copy ...
device/fsl/imx6/sabreauto_6q.mk: PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.audio.output.xml:system/etc/permissions/android.hardware.audio.output.xml \ frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ .... ... frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \把這行刪掉以後,ethernet service 就不會起來了。
標籤
- 3g (19)
- 工作的備worklog (93)
- 自言自語 (36)
- 草稿 (1)
- 亂亂寫 (8)
- 翻譯 (3)
- administration (76)
- alsa (7)
- android (299)
- apple (5)
- application (42)
- archlinux (1)
- audio (3)
- avr (6)
- backup_restore (2)
- bluetooth (5)
- bookmark (38)
- bootloader (21)
- browser (5)
- cellphone (28)
- command (8)
- Configuration (27)
- debug (7)
- django (1)
- driver (15)
- earphone (1)
- editor (1)
- EFL (1)
- ffmpeg (18)
- Filesystem (4)
- GCC (8)
- Gentoo (1)
- google (1)
- Graphic (3)
- hardware (40)
- hero (7)
- hibernation (9)
- iMX51 (38)
- Info (3)
- Install (30)
- java (4)
- Kernel (102)
- language (2)
- life (2)
- make (11)
- MantainLog (38)
- MCU_P (9)
- memo (8)
- microcontroller (3)
- MINGW (7)
- network (19)
- OpenCL (1)
- OS (11)
- package (3)
- pad (1)
- ProblemAndSolve (15)
- programming (8)
- Python (7)
- raspberry_pi (23)
- SDL (2)
- sensation (13)
- setup (3)
- software_package (36)
- SQL (1)
- suspend (2)
- ToDo (5)
- tool (3)
- ubuntu (1)
- VersionControl (45)
- Virtualization (15)
- VLC (5)
- wheezy (1)
- wifi (3)
- Windows (16)
- xiaomi (1)
- xperia (1)