Home
last modified time | relevance | path

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

/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkerWrapper.java65 Worker mWorker; field in WorkerWrapper
81 mWorker = builder.mWorker; in WorkerWrapper()
138 if (mWorker == null) { in run()
139 mWorker = workerFromWorkSpec(mAppContext, mWorkSpec, extras); in run()
142 if (mWorker == null) { in run()
157 result = mWorker.doWork(); in run()
194 if (mWorker != null) { in interrupt()
195 mWorker.stop(cancelled); in interrupt()
294 if (mWorker != null) { in setFailedAndNotify()
296 Data output = mWorker.getOutputData(); in setFailedAndNotify()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java106 private final W mWorker; field in VolumeDialogControllerImpl
141 mWorker = new W(mWorkerThread.getLooper()); in VolumeDialogControllerImpl()
146 mObserver = new SettingObserver(mWorker); in VolumeDialogControllerImpl()
264 mWorker.sendEmptyMessage(W.GET_STATE); in getState()
269 mWorker.obtainMessage(W.NOTIFY_VISIBLE, visible ? 1 : 0, 0).sendToTarget(); in notifyVisible()
274 mWorker.removeMessages(W.USER_ACTIVITY); in userActivity()
275 mWorker.sendEmptyMessage(W.USER_ACTIVITY); in userActivity()
280 mWorker.obtainMessage(W.SET_RINGER_MODE, value, external ? 1 : 0).sendToTarget(); in setRingerMode()
285 mWorker.obtainMessage(W.SET_ZEN_MODE, value, 0).sendToTarget(); in setZenMode()
290 mWorker.obtainMessage(W.SET_EXIT_CONDITION, condition).sendToTarget(); in setExitCondition()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DEventConditionProvider.java69 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()
321 mWorker.removeCallbacks(mEvaluateSubscriptionsW);
322 mWorker.postDelayed(mEvaluateSubscriptionsW, CHANGE_DELAY);
/frameworks/support/loader/src/main/java/androidx/loader/content/
DModernAsyncTask.java85 private final WorkerRunnable<Params, Result> mWorker; field in ModernAsyncTask
131 mWorker = new WorkerRunnable<Params, Result>() { in ModernAsyncTask()
151 mFuture = new FutureTask<Result>(mWorker) { in ModernAsyncTask()
449 mWorker.mParams = params; in executeOnExecutor()
/frameworks/base/core/java/android/os/
DAsyncTask.java227 private final WorkerRunnable<Params, Result> mWorker; field in AsyncTask
326 mWorker = new WorkerRunnable<Params, Result>() { in AsyncTask()
345 mFuture = new FutureTask<Result>(mWorker) { in AsyncTask()
650 mWorker.mParams = params; in executeOnExecutor()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java93 private final BatteryExternalStatsWorker mWorker; field in BatteryStatsService
178 mWorker = new BatteryExternalStatsWorker(context, mStats); in BatteryStatsService()
179 mStats.setExternalStatsSyncLocked(mWorker); in BatteryStatsService()
226 awaitUninterruptibly(mWorker.scheduleSync(reason, flags)); in syncStats()
254 mWorker.shutdown(); in shutdown()
292 mWorker.scheduleWrite(); in scheduleWriteToDisk()
680 mWorker.scheduleSync("modem-data", BatteryExternalStatsWorker.UPDATE_RADIO); in noteMobileRadioPowerState()
855 mWorker.scheduleSync("wifi-data: " + type, BatteryExternalStatsWorker.UPDATE_WIFI); in noteWifiRadioPowerState()
1001 mWorker.scheduleSync("network-stats-enabled", in noteNetworkStatsEnabled()
1108 mWorker.scheduleRunnable(() -> { in setBatteryState()
[all …]
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkerWrapperTest.java375 Data input = workerWrapper.mWorker.getInputData(); in testDependencies_passesMergedOutputs()
817 assertThat(workerWrapper.mWorker.getRunAttemptCount(), is(10)); in testWorker_getsRunAttemptCount()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt3831 Landroid/os/AsyncTask;->mWorker:Landroid/os/AsyncTask$WorkerRunnable;