Home
last modified time | relevance | path

Searched refs:mServiceHandler (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java30 private ServiceHandler mServiceHandler; field in CrashingService
48 mServiceHandler = new ServiceHandler(Looper.getMainLooper()); in onCreate()
51 Message msg = mServiceHandler.obtainMessage(); in onCreate()
52 mServiceHandler.sendMessageDelayed(msg, CRASH_DELAY); in onCreate()
/frameworks/base/core/java/android/app/
DIntentService.java66 private volatile ServiceHandler mServiceHandler; field in IntentService
123 mServiceHandler = new ServiceHandler(mServiceLooper); in onCreate()
128 Message msg = mServiceHandler.obtainMessage(); in onStart()
131 mServiceHandler.sendMessage(msg); in onStart()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/
DCpuMonitorServiceTest.java106 private Handler mServiceHandler; field in CpuMonitorServiceTest
152 syncWithHandler(mServiceHandler, /* delayMillis= */ 0); in testAddRemoveCpuAvailabilityCallbackOnDebugBuild()
185 syncWithHandler(mServiceHandler, /* delayMillis= */ 0); in testAddRemoveCpuAvailabilityCallbackOnUserBuild()
460 syncWithHandler(mServiceHandler, /* delayMillis= */ 0); in testReceiveCpuAvailabilityCallbacksOnExecutorThread()
544 mServiceHandler = mServiceHandlerThread.getThreadHandler(); in startService()
546 assertWithMessage("Service thread handler").that(mServiceHandler).isNotNull(); in startService()
577 return addCpuAvailabilityCallback(mServiceHandler, /* executor= */ null, config); in addCpuAvailabilityCallback()
599 injectCpuInfosAndWait(mServiceHandler, cpuInfos); in injectCpuInfosAndWait()
/frameworks/base/core/java/android/widget/
DRemoteViewsAdapter.java124 private final RemoteServiceHandler mServiceHandler; field in RemoteViewsAdapter
849 mServiceHandler = new RemoteServiceHandler(mWorkerThread.getLooper(), this, in RemoteViewsAdapter()
888 mServiceHandler.unbindNow(); in finalize()
1133 mServiceHandler.sendEmptyMessage(MSG_LOAD_NEXT_ITEM); in getView()
1144 mServiceHandler.sendEmptyMessage(MSG_LOAD_NEXT_ITEM); in getView()
1203 mServiceHandler.removeMessages(MSG_UNBIND_SERVICE); in notifyDataSetChanged()
1204 mServiceHandler.sendEmptyMessage(MSG_NOTIFY_DATA_SET_CHANGED); in notifyDataSetChanged()
1243 mServiceHandler.removeMessages(MSG_UNBIND_SERVICE); in requestBindService()
1244 Message.obtain(mServiceHandler, MSG_REQUEST_BIND, mAppWidgetId, 0, mIntent).sendToTarget(); in requestBindService()
/frameworks/base/media/java/android/media/tv/
DTvInputService.java157 private final Handler mServiceHandler = new ServiceHandler(); field in TvInputService
195 mServiceHandler.obtainMessage(ServiceHandler.DO_CREATE_SESSION, in onBind()
209 mServiceHandler.obtainMessage(ServiceHandler.DO_CREATE_RECORDING_SESSION, args) in onBind()
230 mServiceHandler.obtainMessage(ServiceHandler.DO_ADD_HARDWARE_INPUT, in onBind()
236 mServiceHandler.obtainMessage(ServiceHandler.DO_REMOVE_HARDWARE_INPUT, in onBind()
242 mServiceHandler.obtainMessage(ServiceHandler.DO_ADD_HDMI_INPUT, in onBind()
248 mServiceHandler.obtainMessage(ServiceHandler.DO_REMOVE_HDMI_INPUT, in onBind()
254 mServiceHandler.obtainMessage(ServiceHandler.DO_UPDATE_HDMI_INPUT, in onBind()
2747 private Handler mServiceHandler; field in TvInputService.HardwareSession
2779 mServiceHandler.obtainMessage(ServiceHandler.DO_NOTIFY_SESSION_CREATED,
[all …]
/frameworks/base/core/java/com/android/internal/infra/
DAbstractRemoteService.java721 private final Handler mServiceHandler; field in AbstractRemoteService.PendingRequest
725 mServiceHandler = service.mHandler; in PendingRequest()
745 mServiceHandler.postAtTime(mTimeoutTrigger, in PendingRequest()
751 mServiceHandler.removeCallbacks(mTimeoutTrigger); in onFinished()
756 mServiceHandler.removeCallbacks(mTimeoutTrigger); in onCancel()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageInstallerService.java128 private ServiceHandler mServiceHandler; field in WearPackageInstallerService
144 mServiceHandler = new ServiceHandler(thread.getLooper()); in onCreate()
193 msg = mServiceHandler.obtainMessage(START_INSTALL); in onStartCommand()
196 msg = mServiceHandler.obtainMessage(START_UNINSTALL); in onStartCommand()
206 mServiceHandler.sendMessage(msg); in onStartCommand()
/frameworks/base/media/java/android/media/tv/ad/
DTvAdService.java91 private final Handler mServiceHandler = new ServiceHandler(); field in TvAdService
123 mServiceHandler.obtainMessage(ServiceHandler.DO_CREATE_SESSION, args) in onBind()
968 mServiceHandler.obtainMessage( in handleMessage()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java248 private ServiceHandler mServiceHandler; field in BugreportProgressService
285 mServiceHandler = new ServiceHandler("BugreportProgressServiceMainThread"); in onCreate()
320 final Message msg = mServiceHandler.obtainMessage(); in onStartCommand()
323 mServiceHandler.sendMessage(msg); in onStartCommand()
338 mServiceHandler.getLooper().quit(); in onDestroy()
1014 final Message msg = mServiceHandler.obtainMessage(); in takeScreenshot()
1018 mServiceHandler.sendMessageDelayed(msg, DateUtils.SECOND_IN_MILLIS); in takeScreenshot()
1060 Message.obtain(mServiceHandler, MSG_SCREENSHOT_RESPONSE, requestMsg.arg1, taken ? 1 : 0, in handleScreenshotRequest()
/frameworks/base/media/java/android/media/tv/interactive/
DTvInteractiveAppService.java306 private final Handler mServiceHandler = new ServiceHandler(); field in TvInteractiveAppService
339 mServiceHandler.obtainMessage(ServiceHandler.DO_CREATE_SESSION, args) in onBind()
413 mServiceHandler in notifyStateChanged()
2422 mServiceHandler.obtainMessage(ServiceHandler.DO_NOTIFY_SESSION_CREATED, in handleMessage()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt31582 Landroid/media/tv/TvInputService$HardwareSession;->mServiceHandler:Landroid/os/Handler;
31654 Landroid/media/tv/TvInputService;->mServiceHandler:Landroid/os/Handler;
68662 Landroid/widget/RemoteViewsAdapter;->mServiceHandler:Landroid/widget/RemoteViewsAdapter$RemoteServi…