/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/ |
D | WorkerWrapper.java | 65 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/ |
D | VolumeDialogControllerImpl.java | 106 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/ |
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() 321 mWorker.removeCallbacks(mEvaluateSubscriptionsW); 322 mWorker.postDelayed(mEvaluateSubscriptionsW, CHANGE_DELAY);
|
/frameworks/support/loader/src/main/java/androidx/loader/content/ |
D | ModernAsyncTask.java | 85 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/ |
D | AsyncTask.java | 227 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/ |
D | BatteryStatsService.java | 93 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/ |
D | WorkerWrapperTest.java | 375 Data input = workerWrapper.mWorker.getInputData(); in testDependencies_passesMergedOutputs() 817 assertThat(workerWrapper.mWorker.getRunAttemptCount(), is(10)); in testWorker_getsRunAttemptCount()
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 3831 Landroid/os/AsyncTask;->mWorker:Landroid/os/AsyncTask$WorkerRunnable;
|