Сообщение от prtigger
Не потоке а в отдельном процессе,
Сообщение от dubok79
1. Читай документацию public final boolean stopSelfResult (int startId)
Added in API level 1 Stop the service if the most recent time it was started was startId.
This is the same as calling stopService(Intent) for this particular service but allows you to safely avoid stopping if there is a start request from a client that you haven't yet seen in onStart(Intent, int). Be careful about ordering of your calls to this function.. If you call this function with the most-recently received ID before you have called it for previously received IDs, the service will be immediately stopped anyway. If you may end up processing IDs out of order (such as by dispatching them on separate threads), then you are responsible for stopping them in the same order you received them.
startId The most recent start identifier received in onStart(Intent, int).
Returns true if the startId matches the last start request and the service will be stopped, else false.
2. Думаю использование public boolean stopService (Intent name)
даст результат в эмуляторе аналогичный того что на телефоне.