I'm working on an app to block GtalkService. I want just use iptables for this, but I cant find GtalkSerivce. I tried:
ps
and top
to list all processes but GtalkService wasn´t therelogcat -v long *:V
to see the log, but I also nothing find thereI just wanted to find PID of the running GTalkService.
GTalkService is run in the process with the name com.google.process.gapps
. You can check this if you install Google Apps on a emulator.
And I guess it will be difficult to kill it because the system restarts it. For instance, here the DDMS log. I've killed this process and the system has restarted it:
03-24 19:11:27.239: D/dalvikvm(167): Calling exit(1)
03-24 19:11:27.287: D/Zygote(33): Process 167 exited cleanly (1)
03-24 19:11:27.297: I/ActivityManager(61): Process com.google.process.gapps (pid 167) has died.
03-24 19:11:27.297: W/ActivityManager(61): Scheduling restart of crashed service com.google.android.gsf/.gtalkservice.service.GTalkService in 5000ms
03-24 19:11:32.047: D/dalvikvm(262): GC_EXPLICIT freed 1060K, 57% free 2816K/6535K, external 1625K/2137K, paused 89ms
03-24 19:11:32.327: I/ActivityManager(61): Start proc com.google.process.gapps for service com.google.android.gsf/.gtalkservice.service.GTalkService: pid=419 uid=10004 gids={3003, 1015, 2001, 1007}
03-24 19:11:32.637: I/ActivityThread(419): Pub com.google.settings: com.google.android.gsf.settings.GoogleSettingsProvider
03-24 19:11:32.647: I/ActivityThread(419): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
03-24 19:11:32.657: I/GservicesProvider(419): Gservices pushing to system: true; secure: true
03-24 19:11:32.657: I/ActivityThread(419): Pub subscribedfeeds: com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider
03-24 19:11:32.756: I/ActivityThread(419): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
03-24 19:11:33.027: D/GTalkService(419): [RawStanzaProvidersMgr] ##### searchProvidersFromIntent
03-24 19:11:33.038: D/GTalkService(419): [RawStanzaProvidersMgr] no intent receivers found
03-24 19:11:33.117: D/GTalkService(419): ##### Network broadcast (connected=true) type=mobile, state=CONNECTED