Home
last modified time | relevance | path

Searched refs:mWorker (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DImageWallpaper.java55 private HandlerThread mWorker; field in ImageWallpaper
60 mWorker = new HandlerThread(TAG); in onCreate()
61 mWorker.start(); in onCreate()
72 mWorker.quitSafely(); in onDestroy()
73 mWorker = null; in onDestroy()
153 if (mWorker == null) return; in onOffsetsChanged()
154 mWorker.getThreadHandler().post(() -> mRenderer.updateOffsets(xOffset, yOffset)); in onOffsetsChanged()
159 if (mWorker == null || !mNeedTransition) return; in onAmbientModeChanged()
166 mWorker.getThreadHandler().post( in onAmbientModeChanged()
198 mWorker.getThreadHandler().post(() -> {
[all …]
/frameworks/base/services/core/java/com/android/server/incident/
DRequestQueue.java81 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/
DVolumeDialogControllerImpl.java113 private final W mWorker; field in VolumeDialogControllerImpl
149 mWorker = new W(mWorkerThread.getLooper()); in VolumeDialogControllerImpl()
154 mObserver = new SettingObserver(mWorker); in VolumeDialogControllerImpl()
272 mWorker.sendEmptyMessage(W.GET_STATE); in getState()
294 mWorker.obtainMessage(W.GET_CAPTIONS_COMPONENT_STATE, fromTooltip).sendToTarget(); in getCaptionsComponentState()
299 mWorker.obtainMessage(W.NOTIFY_VISIBLE, visible ? 1 : 0, 0).sendToTarget(); in notifyVisible()
304 mWorker.removeMessages(W.USER_ACTIVITY); in userActivity()
305 mWorker.sendEmptyMessage(W.USER_ACTIVITY); in userActivity()
310 mWorker.obtainMessage(W.SET_RINGER_MODE, value, external ? 1 : 0).sendToTarget(); in setRingerMode()
315 mWorker.obtainMessage(W.SET_ZEN_MODE, value, 0).sendToTarget(); in setZenMode()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java68 private final Handler mWorker; field in EventConditionProvider
80 mWorker = new Handler(mThread.getLooper()); in EventConditionProvider()
196 if (!mWorker.hasCallbacks(mEvaluateSubscriptionsW)) { in evaluateSubscriptions()
197 mWorker.post(mEvaluateSubscriptionsW); in evaluateSubscriptions()
320 mWorker.removeCallbacks(mEvaluateSubscriptionsW);
321 mWorker.postDelayed(mEvaluateSubscriptionsW, CHANGE_DELAY);
/frameworks/base/core/java/android/os/
DAsyncTask.java284 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/services/core/java/com/android/server/am/
DBatteryStatsService.java98 private final BatteryExternalStatsWorker mWorker; field in BatteryStatsService
195 mWorker = new BatteryExternalStatsWorker(context, mStats); in BatteryStatsService()
196 mStats.setExternalStatsSyncLocked(mWorker); in BatteryStatsService()
243 awaitUninterruptibly(mWorker.scheduleSync(reason, flags)); in syncStats()
271 mWorker.shutdown(); in shutdown()
309 mWorker.scheduleWrite(); in scheduleWriteToDisk()
700 mWorker.scheduleSync("modem-data", BatteryExternalStatsWorker.UPDATE_RADIO); in noteMobileRadioPowerState()
879 mWorker.scheduleSync("wifi-data: " + type, BatteryExternalStatsWorker.UPDATE_WIFI); in noteWifiRadioPowerState()
1034 mWorker.scheduleSync("network-stats-enabled", in noteNetworkStatsEnabled()
1141 mWorker.scheduleRunnable(() -> { in setBatteryState()
[all …]
/frameworks/ml/nn/common/include/
DExecutionBurstServer.h332 std::thread mWorker; variable
/frameworks/ml/nn/common/
DExecutionBurstServer.cpp546 mWorker = std::thread([this] { task(); }); in ExecutionBurstServer()
555 mWorker.join(); in ~ExecutionBurstServer()