Home
last modified time | relevance | path

Searched refs:ServiceHandler (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/printservice/
DPrintService.java246 mHandler = new ServiceHandler(base.getMainLooper()); in attachBaseContext()
351 mHandler.sendEmptyMessage(ServiceHandler.MSG_CREATE_PRINTER_DISCOVERY_SESSION); in onBind()
356 mHandler.sendEmptyMessage(ServiceHandler.MSG_DESTROY_PRINTER_DISCOVERY_SESSION); in onBind()
360 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_DISCOVERY, in onBind()
366 mHandler.sendEmptyMessage(ServiceHandler.MSG_STOP_PRINTER_DISCOVERY); in onBind()
371 mHandler.obtainMessage(ServiceHandler.MSG_VALIDATE_PRINTERS, in onBind()
377 mHandler.obtainMessage(ServiceHandler.MSG_START_PRINTER_STATE_TRACKING, in onBind()
383 mHandler.obtainMessage(ServiceHandler.MSG_STOP_PRINTER_STATE_TRACKING, in onBind()
389 mHandler.obtainMessage(ServiceHandler.MSG_SET_CLEINT, client) in onBind()
395 mHandler.obtainMessage(ServiceHandler.MSG_ON_REQUEST_CANCEL_PRINTJOB, in onBind()
[all …]
/frameworks/base/core/java/android/app/
DIntentService.java54 private volatile ServiceHandler mServiceHandler;
58 private final class ServiceHandler extends Handler { class in IntentService
59 public ServiceHandler(Looper looper) { in ServiceHandler() method in IntentService.ServiceHandler
111 mServiceHandler = new ServiceHandler(mServiceLooper); in onCreate()
/frameworks/base/media/java/android/media/tv/
DTvInputService.java96 private final Handler mServiceHandler = new ServiceHandler();
132 … mServiceHandler.obtainMessage(ServiceHandler.DO_CREATE_SESSION, args).sendToTarget(); in onBind()
137 mServiceHandler.obtainMessage(ServiceHandler.DO_ADD_HARDWARE_TV_INPUT, in onBind()
143 mServiceHandler.obtainMessage(ServiceHandler.DO_REMOVE_HARDWARE_TV_INPUT, in onBind()
149 mServiceHandler.obtainMessage(ServiceHandler.DO_ADD_HDMI_TV_INPUT, in onBind()
155 mServiceHandler.obtainMessage(ServiceHandler.DO_REMOVE_HDMI_TV_INPUT, in onBind()
1229 mServiceHandler.obtainMessage(ServiceHandler.DO_NOTIFY_SESSION_CREATED, args)
1302 private final class ServiceHandler extends Handler {
1399 mServiceHandler.obtainMessage(ServiceHandler.DO_NOTIFY_SESSION_CREATED,
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DDisplaySourceService.java48 private final ServiceHandler mHandler;
61 mHandler = new ServiceHandler(); in DisplaySourceService()
155 private final class ServiceHandler extends Handler { class in DisplaySourceService
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java221 private ServiceHandler mHandler;
296 private class ServiceHandler extends Handler { class in NsdManager
297 ServiceHandler(Looper looper) { in ServiceHandler() method in NsdManager.ServiceHandler
442 mHandler = new ServiceHandler(t.getLooper()); in init()
/frameworks/base/wifi/java/android/net/wifi/
DRttManager.java371 Handler handler = new ServiceHandler(sHandlerThread.getLooper()); in init()
437 private static class ServiceHandler extends Handler { class in RttManager
438 ServiceHandler(Looper looper) { in ServiceHandler() method in RttManager.ServiceHandler
DWifiScanner.java650 Handler handler = new ServiceHandler(sHandlerThread.getLooper()); in init()
752 private static class ServiceHandler extends Handler { class in WifiScanner
753 ServiceHandler(Looper looper) { in ServiceHandler() method in WifiScanner.ServiceHandler
DWifiManager.java1731 private static class ServiceHandler extends Handler { class in WifiManager
1732 ServiceHandler(Looper looper) { in ServiceHandler() method in WifiManager.ServiceHandler
1865 Handler handler = new ServiceHandler(sHandlerThread.getLooper()); in init()
/frameworks/base/docs/html/guide/components/
Dservices.jd397 private ServiceHandler mServiceHandler;
400 private final class ServiceHandler extends Handler {
401 public ServiceHandler(Looper looper) {
435 mServiceHandler = new ServiceHandler(mServiceLooper);
/frameworks/base/
Dpreloaded-classes364 android.app.IntentService$ServiceHandler