It's not a daemon, it's just a process, and it's behaving as the
documentation describes Android manages processes:
http://developer.android.com/guide/topics/fundamentals.html#proclife

On Fri, Jan 7, 2011 at 12:19 AM, Peter Teoh <[email protected]> wrote:

> First, start avd, and then "adb shell" in a terminal, and "ps" to see
> the following processes:
>
> # ps
> USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
> root      1     0     296    204   c009a694 0000c93c S /init
> root      2     0     0      0     c004dea0 00000000 S kthreadd
> root      3     2     0      0     c003f778 00000000 S ksoftirqd/0
> root      4     2     0      0     c004aaf4 00000000 S events/0
> root      5     2     0      0     c004aaf4 00000000 S khelper
> root      6     2     0      0     c004aaf4 00000000 S suspend
> root      7     2     0      0     c004aaf4 00000000 S kblockd/0
> root      8     2     0      0     c004aaf4 00000000 S cqueue
> root      9     2     0      0     c017bb3c 00000000 S kseriod
> root      10    2     0      0     c004aaf4 00000000 S kmmcd
> root      11    2     0      0     c006ecac 00000000 S pdflush
> root      12    2     0      0     c006ecac 00000000 S pdflush
> root      13    2     0      0     c007349c 00000000 S kswapd0
> root      14    2     0      0     c004aaf4 00000000 S aio/0
> root      21    2     0      0     c017933c 00000000 S mtdblockd
> root      22    2     0      0     c004aaf4 00000000 S hid_compat
> root      23    2     0      0     c004aaf4 00000000 S rpciod/0
> root      24    2     0      0     c018e530 00000000 S mmcqd
> root      25    1     728    248   c01537e8 afe0c7dc S /system/bin/sh
> system    26    1     796    260   c019a854 afe0ca7c S /system/bin/
> servicemanager
> root      27    1     832    372   c009a694 afe0cba4 S /system/bin/
> vold
> radio     29    1     5420   548   ffffffff afe0d0ec S /system/bin/
> rild
> root      30    1     81928  15588 c009a694 afe0cba4 S zygote
> media     31    1     19928  1172  ffffffff afe0ca7c S /system/bin/
> mediaserver
> root      32    1     784    316   c02094ac afe0c7dc S /system/bin/
> installd
> keystore  33    1     1616   268   c01a65e8 afe0d40c S /system/bin/
> keystore
> root      34    1     728    248   c003d444 afe0d6ac S /system/bin/sh
> root      35    1     824    332   c00b7dd0 afe0d7fc S /system/bin/
> qemud
> root      37    1     3376   184   ffffffff 0000eca4 S /sbin/adbd
> root      44    34    780    304   c02094ac afe0c7dc S /system/bin/
> qemu-props
> system    64    30    146608 25012 ffffffff afe0ca7c S system_server
> root      91    37    736    328   c003d444 afe0d6ac S /system/bin/sh
> app_7     117   30    113904 18624 ffffffff afe0da04 S
> com.android.inputmethod.pinyin
> radio     119   30    117944 16796 ffffffff afe0da04 S
> com.android.phone
> app_7     145   30    123644 19560 ffffffff afe0da04 S
> android.process.acore
> app_3     174   30    103636 15664 ffffffff afe0da04 S
> android.process.media
> app_14    199   30    111504 19152 ffffffff afe0da04 S com.android.mms
> app_17    214   30    102824 15304 ffffffff afe0da04 S
> com.android.alarmclock
> app_23    223   30    105972 16548 ffffffff afe0da04 S
> com.android.email
> root      261   1     656    248   c01a65e8 afe0d40c S /system/bin/
> debuggerd
> root      300   91    868    332   00000000 afe0c7dc R ps
>
> So u can see the default softkeyboard is "pinyin".
>
> Next, go to setting change the default keyboard to "Android Keyboard"
> and close all other keyboard.
>
> And come back open a new message box or something:
>
> # ps
> USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
> root      1     0     296    204   c009a694 0000c93c S /init
> root      2     0     0      0     c004dea0 00000000 S kthreadd
> root      3     2     0      0     c003f778 00000000 S ksoftirqd/0
> root      4     2     0      0     c004aaf4 00000000 S events/0
> root      5     2     0      0     c004aaf4 00000000 S khelper
> root      6     2     0      0     c004aaf4 00000000 S suspend
> root      7     2     0      0     c004aaf4 00000000 S kblockd/0
> root      8     2     0      0     c004aaf4 00000000 S cqueue
> root      9     2     0      0     c017bb3c 00000000 S kseriod
> root      10    2     0      0     c004aaf4 00000000 S kmmcd
> root      11    2     0      0     c006ecac 00000000 S pdflush
> root      12    2     0      0     c006ecac 00000000 S pdflush
> root      13    2     0      0     c007349c 00000000 S kswapd0
> root      14    2     0      0     c004aaf4 00000000 S aio/0
> root      21    2     0      0     c017933c 00000000 S mtdblockd
> root      22    2     0      0     c004aaf4 00000000 S hid_compat
> root      23    2     0      0     c004aaf4 00000000 S rpciod/0
> root      24    2     0      0     c018e530 00000000 S mmcqd
> root      25    1     728    248   c01537e8 afe0c7dc S /system/bin/sh
> system    26    1     796    260   c019a854 afe0ca7c S /system/bin/
> servicemanager
> root      27    1     832    372   c009a694 afe0cba4 S /system/bin/
> vold
> radio     29    1     5420   548   ffffffff afe0d0ec S /system/bin/
> rild
> root      30    1     81928  15472 c009a694 afe0cba4 S zygote
> media     31    1     19928  1172  ffffffff afe0ca7c S /system/bin/
> mediaserver
> root      32    1     784    316   c02094ac afe0c7dc S /system/bin/
> installd
> keystore  33    1     1616   268   c01a65e8 afe0d40c S /system/bin/
> keystore
> root      34    1     728    248   c003d444 afe0d6ac S /system/bin/sh
> root      35    1     824    332   c00b7dd0 afe0d7fc S /system/bin/
> qemud
> root      37    1     3376   184   ffffffff 0000eca4 S /sbin/adbd
> root      44    34    780    304   c02094ac afe0c7dc S /system/bin/
> qemu-props
> system    64    30    161652 26384 ffffffff afe0ca7c S system_server
> root      91    37    736    328   c003d444 afe0d6ac S /system/bin/sh
> app_7     117   30    109492 17196 ffffffff afe0da04 S
> com.android.inputmethod.pinyin
> radio     119   30    117944 16736 ffffffff afe0da04 S
> com.android.phone
> app_7     145   30    149636 20636 ffffffff afe0da04 S
> android.process.acore
> app_3     174   30    103636 15532 ffffffff afe0da04 S
> android.process.media
> app_14    199   30    112528 19088 ffffffff afe0da04 S com.android.mms
> app_17    214   30    102824 15224 ffffffff afe0da04 S
> com.android.alarmclock
> app_23    223   30    105972 16476 ffffffff afe0da04 S
> com.android.email
> root      261   1     656    248   c01a65e8 afe0d40c S /system/bin/
> debuggerd
> system    301   30    114840 20068 ffffffff afe0da04 S
> com.android.settings
> app_7     309   30    107584 17844 ffffffff afe0da04 S
> com.android.inputmethod.latin
> app_1     320   30    114252 18660 ffffffff afe0da04 S
> com.google.process.gapps
> app_0     336   30    107884 16000 ffffffff afe0da04 S
> com.android.browser
> root      353   91    868    332   00000000 afe0c7dc R ps
>
> Even though there is no pinyin keyboard now....the process still run.
>
> Now do a "adb reboot" which will shutdown the AVD, and the manually
> restart the AVD again (reboot does not restart???!!!), and then "adb
> shell" and "ps" inside the shell again:
>
> # ps
> USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
> root      1     0     296    204   c009a694 0000c93c S /init
> root      2     0     0      0     c004dea0 00000000 S kthreadd
> root      3     2     0      0     c003f778 00000000 S ksoftirqd/0
> root      4     2     0      0     c004aaf4 00000000 S events/0
> root      5     2     0      0     c004aaf4 00000000 S khelper
> root      6     2     0      0     c004aaf4 00000000 S suspend
> root      7     2     0      0     c004aaf4 00000000 S kblockd/0
> root      8     2     0      0     c004aaf4 00000000 S cqueue
> root      9     2     0      0     c017bb3c 00000000 S kseriod
> root      10    2     0      0     c004aaf4 00000000 S kmmcd
> root      11    2     0      0     c006ecac 00000000 S pdflush
> root      12    2     0      0     c006ecac 00000000 S pdflush
> root      13    2     0      0     c007349c 00000000 S kswapd0
> root      14    2     0      0     c004aaf4 00000000 S aio/0
> root      21    2     0      0     c017933c 00000000 S mtdblockd
> root      22    2     0      0     c004aaf4 00000000 S hid_compat
> root      23    2     0      0     c004aaf4 00000000 S rpciod/0
> root      24    2     0      0     c018e530 00000000 S mmcqd
> root      25    1     728    180   c01537e8 afe0c7dc S /system/bin/sh
> system    26    1     796    192   c019a854 afe0ca7c S /system/bin/
> servicemanager
> root      27    1     832    300   c009a694 afe0cba4 S /system/bin/
> vold
> root      28    1     656    164   c01a65e8 afe0d40c S /system/bin/
> debuggerd
> radio     29    1     5420   464   ffffffff afe0d0ec S /system/bin/
> rild
> root      30    1     82016  15588 c009a694 afe0cba4 S zygote
> media     31    1     20948  968   ffffffff afe0ca7c S /system/bin/
> mediaserver
> root      32    1     784    196   c02094ac afe0c7dc S /system/bin/
> installd
> keystore  33    1     1616   188   c01a65e8 afe0d40c S /system/bin/
> keystore
> root      34    1     728    184   c003d444 afe0d6ac S /system/bin/sh
> root      35    1     824    256   c00b7dd0 afe0d7fc S /system/bin/
> qemud
> root      37    1     3372   184   ffffffff 0000eca4 S /sbin/adbd
> root      44    34    780    228   c02094ac afe0c7dc S /system/bin/
> qemu-props
> system    52    30    152156 25108 ffffffff afe0ca7c S system_server
> app_7     99    30    108072 14964 ffffffff afe0da04 S
> com.android.inputmethod.latin
> radio     101   30    123084 16456 ffffffff afe0da04 S
> com.android.phone
> app_7     105   30    130808 20688 ffffffff afe0da04 S
> android.process.acore
> app_14    165   30    112536 15684 ffffffff afe0da04 S com.android.mms
> app_23    187   30    106016 16240 ffffffff afe0da04 S
> com.android.email
> app_3     198   30    103648 15836 ffffffff afe0da04 S
> android.process.media
> root      209   37    728    324   c003d444 afe0d6ac S /system/bin/sh
> root      212   209   868    332   00000000 afe0c7dc R ps
>
> Ok,  viola!   no more pinyin method.     BUGS!!!!!????
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to