Home
last modified time | relevance | path

Searched refs:mExecutorService (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DBackgroundExecutor.java31 private final ExecutorService mExecutorService = Executors.newFixedThreadPool(2); field in BackgroundExecutor
44 return mExecutorService.submit(callable); in submit()
51 return mExecutorService.submit(runnable); in submit()
59 return mExecutorService.submit(runnable, result); in submit()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java74 private final ScheduledExecutorService mExecutorService = field in BatteryExternalStatsWorker
168 if (!mExecutorService.isShutdown()) { in scheduleReadProcStateCpuTimes()
169 return mExecutorService.schedule(PooledLambda.obtainRunnable( in scheduleReadProcStateCpuTimes()
187 if (!mExecutorService.isShutdown()) { in scheduleCopyFromAllUidsCpuTimes()
188 return mExecutorService.submit(PooledLambda.obtainRunnable( in scheduleCopyFromAllUidsCpuTimes()
263 if (mExecutorService.isShutdown()) { in scheduleDelayedSyncLocked()
277 return mExecutorService.schedule(syncRunnable, delayMillis, TimeUnit.MILLISECONDS); in scheduleDelayedSyncLocked()
281 if (mExecutorService.isShutdown()) { in scheduleWrite()
288 return mExecutorService.submit(mWriteTask); in scheduleWrite()
296 if (!mExecutorService.isShutdown()) { in scheduleRunnable()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DUiOffloadThread.java33 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in UiOffloadThread
40 return mExecutorService.submit(runnable); in submit()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManager.java97 private final ExecutorService mExecutorService; field in RecoverableKeyStoreManager
164 mExecutorService = executorService; in RecoverableKeyStoreManager()
917 mExecutorService.execute(KeySyncTask.newInstance( in lockScreenSecretAvailable()
949 mExecutorService.execute(KeySyncTask.newInstance( in lockScreenSecretChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java160 @Mock private ExecutorService mExecutorService; field in RecoverableKeyStoreManagerTest
193 mExecutorService, in setUp()
1256 verify(mExecutorService).execute(any()); in lockScreenSecretAvailable_syncsKeysForUser()
1266 verify(mExecutorService).execute(any()); in lockScreenSecretChanged_syncsKeysForUser()