/frameworks/base/services/core/java/com/android/server/incident/ |
D | RequestQueue.java | 81 private final Runnable mWorker = new Runnable() { field in RequestQueue 116 mHandler.post(mWorker); in start() 150 mHandler.post(mWorker); in enqueue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 127 private final W mWorker; field in VolumeDialogControllerImpl 199 mWorker = new W(mWorkerLooper); in VolumeDialogControllerImpl() 205 mObserver = new SettingObserver(mWorker); in VolumeDialogControllerImpl() 220 mUserTracker.addCallback(mUserChangedCallback, new HandlerExecutor(mWorker)); in VolumeDialogControllerImpl() 324 mWorker.sendEmptyMessage(W.GET_STATE); in getState() 347 mWorker.obtainMessage(W.GET_CAPTIONS_ENABLED_STATE, checkForSwitchState).sendToTarget(); in getCaptionsEnabledState() 351 mWorker.obtainMessage(W.SET_CAPTIONS_ENABLED_STATE, enabled).sendToTarget(); in setCaptionsEnabledState() 355 mWorker.obtainMessage(W.GET_CAPTIONS_COMPONENT_STATE, fromTooltip).sendToTarget(); in getCaptionsComponentState() 359 mWorker.obtainMessage(W.NOTIFY_VISIBLE, visible ? 1 : 0, 0).sendToTarget(); in notifyVisible() 363 mWorker.removeMessages(W.USER_ACTIVITY); in userActivity() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/jank/ |
D | InteractionJankMonitorTest.java | 69 private HandlerThread mWorker; field in InteractionJankMonitorTest 86 mWorker = mock(HandlerThread.class); in setup() 87 doReturn(mHandler).when(mWorker).getThreadHandler(); in setup() 107 InteractionJankMonitor monitor = new InteractionJankMonitor(mWorker); in testDisabledThroughDeviceConfig() 121 InteractionJankMonitor monitor = new InteractionJankMonitor(mWorker); in testCheckInitState() 171 InteractionJankMonitor monitor = spy(new InteractionJankMonitor(mWorker)); in createMockedInteractionJankMonitor()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | EventConditionProvider.java | 69 private final Handler mWorker; field in EventConditionProvider 81 mWorker = new Handler(mThread.getLooper()); in EventConditionProvider() 197 if (!mWorker.hasCallbacks(mEvaluateSubscriptionsW)) { in evaluateSubscriptions() 198 mWorker.post(mEvaluateSubscriptionsW); in evaluateSubscriptions() 328 mWorker.removeCallbacks(mEvaluateSubscriptionsW); 329 mWorker.postDelayed(mEvaluateSubscriptionsW, CHANGE_DELAY);
|
/frameworks/base/core/java/android/os/ |
D | AsyncTask.java | 284 private final WorkerRunnable<Params, Result> mWorker; field in AsyncTask 387 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask() 406 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask() 726 mWorker.mParams = params; in executeOnExecutor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallpapers/ |
D | ImageWallpaper.java | 76 private HandlerThread mWorker; field in ImageWallpaper 98 return mWorker != null ? mWorker.getLooper() : super.onProvideEngineLooper(); in onProvideEngineLooper() 104 mWorker = new HandlerThread(TAG); in onCreate() 105 mWorker.start(); in onCreate()
|
/frameworks/base/core/java/com/android/internal/jank/ |
D | InteractionJankMonitor.java | 186 private final Handler mWorker; field in InteractionJankMonitor 216 mWorker = worker.getThreadHandler(); in InteractionJankMonitor() 217 mDisplayResolutionTracker = new DisplayResolutionTracker(mWorker); in InteractionJankMonitor() 230 mWorker.post(() -> { in InteractionJankMonitor() 234 new HandlerExecutor(mWorker), this::updateProperties); in InteractionJankMonitor() 270 mWorker.post(() -> PerfettoTrigger.trigger(config.getPerfettoTrigger())); in createFrameTracker() 608 mWorker.post(() -> logFunction.invoke(unixNanos, elapsedNanos, realtimeNanos)); in postEventLogToWorkerThread()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 196 private final BatteryExternalStatsWorker mWorker; field in BatteryStatsService 431 mWorker = new BatteryExternalStatsWorker(context, mStats); in BatteryStatsService() 432 mStats.setExternalStatsSyncLocked(mWorker); in BatteryStatsService() 642 mWorker.systemServicesReady(); in systemServicesReady() 811 awaitUninterruptibly(mWorker.scheduleSync(reason, flags)); in syncStats() 853 mWorker.shutdown(); in shutdown() 904 mWorker.scheduleWrite(); in scheduleWriteToDisk() 1042 mWorker.getLastCollectionTimeStamp())) { in getBatteryUsageStats() 2110 mWorker.scheduleSync("wifi-data: " + type, in noteWifiRadioPowerState() 2457 mWorker.scheduleSync("network-stats-enabled", in noteNetworkStatsEnabled() [all …]
|