/aosp14/frameworks/base/services/core/java/com/android/server/apphibernation/ |
H A D | HibernationStateDiskStore.java | 53 private final ScheduledExecutorService mExecutorService; field in HibernationStateDiskStore 77 mExecutorService = executorService; in HibernationStateDiskStore() 90 if (mExecutorService.isShutdown()) { in scheduleWriteHibernationStates() 101 mFuture = mExecutorService.schedule(this::writeHibernationStates, DISK_WRITE_DELAY, in scheduleWriteHibernationStates()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ParallelPackageParser.java | 55 private final ExecutorService mExecutorService; field in ParallelPackageParser 59 mExecutorService = executorService; in ParallelPackageParser() 102 mExecutorService.submit(() -> { in submit()
|
H A D | InitAppsHelper.java | 76 private final ExecutorService mExecutorService; field in InitAppsHelper 117 mExecutorService = ParallelPackageParser.makeExecutorService(); in InitAppsHelper() 160 mSystemParseFlags, mSystemScanFlags, packageParser, mExecutorService); in scanApexPackagesTraced() 178 scanSystemDirs(packageParser, mExecutorService); in initSystemApps() 260 mScanFlags | SCAN_REQUIRE_KNOWN, packageParser, mExecutorService, null); in initNonSystemApps() local 262 List<Runnable> unfinishedTasks = mExecutorService.shutdownNow(); in initNonSystemApps()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | UiOffloadThread.java | 34 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in UiOffloadThread 41 return mExecutorService.submit(runnable); in execute()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | BatteryExternalStatsWorker.java | 89 private final ScheduledExecutorService mExecutorService = field in BatteryExternalStatsWorker 345 mExecutorService.schedule(() -> { in scheduleCleanupDueToRemovedUser() 353 return mExecutorService.schedule(() -> { in scheduleCleanupDueToRemovedUser() 374 if (mExecutorService.isShutdown()) { 392 if (mExecutorService.isShutdown()) { 399 return mExecutorService.submit(mWriteTask); 407 if (!mExecutorService.isShutdown()) { 408 mExecutorService.submit(runnable); 413 mExecutorService.shutdownNow(); 418 if (mExecutorService.isShutdown()) { [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | ProcessRecordTests.java | 62 private ExecutorService mExecutorService; field in ProcessRecordTests 114 mExecutorService = mock(ExecutorService.class); in setUpProcess() 205 false /* aboveSystem */, timeoutRecord, mExecutorService, false /* onlyDumpSelf */, in appNotResponding()
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | HotwordAudioStreamCopier.java | 77 private final ExecutorService mExecutorService = Executors.newCachedThreadPool(); field in HotwordAudioStreamCopier 156 mExecutorService.execute( in startCopyingAudioStreams() 180 private final ExecutorService mExecutorService = Executors.newCachedThreadPool(); field in HotwordAudioStreamCopier.HotwordDetectedResultCopyTask 212 mExecutorService.invokeAll(tasks); in run()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | IntentForwarderActivity.java | 110 protected ExecutorService mExecutorService; field in IntentForwarderActivity 115 mExecutorService.shutdown(); in onDestroy() 122 mExecutorService = Executors.newSingleThreadExecutor(); in onCreate() 185 }, mExecutorService) in onCreate()
|
/aosp14/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
H A D | MusicRecognitionManagerService.java | 59 final ExecutorService mExecutorService = Executors.newCachedThreadPool(); field in MusicRecognitionManagerService
|
H A D | MusicRecognitionManagerPerUserService.java | 194 }, mMaster.mExecutorService); in beginRecognitionLocked()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
H A D | RecoverableKeyStoreManager.java | 111 private final ScheduledExecutorService mExecutorService; field in RecoverableKeyStoreManager 190 mExecutorService = executorService; in RecoverableKeyStoreManager() 943 mExecutorService.schedule(KeySyncTask.newInstance( in lockScreenSecretAvailable() 978 mExecutorService.schedule(KeySyncTask.newInstance( in lockScreenSecretChanged()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
H A D | RecoverableKeyStoreManagerTest.java | 174 @Mock private ScheduledExecutorService mExecutorService; field in RecoverableKeyStoreManagerTest 212 mExecutorService, in setUp() 1302 verify(mExecutorService).schedule(any(Runnable.class), anyLong(), any()); in lockScreenSecretAvailable_syncsKeysForUser() 1312 verify(mExecutorService).schedule(any(Runnable.class), anyLong(), any()); in lockScreenSecretChanged_syncsKeysForUser()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 180 private ScheduledExecutorService mExecutorService; field in DataManagerTest 241 mExecutorService = new MockScheduledExecutorService(); in setUp() 1944 return mExecutorService; in createScheduledExecutor()
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
H A D | IntentForwarderActivityTest.java | 664 mExecutorService.awaitTermination(/* timeout= */ 30, TimeUnit.SECONDS); in onCreate()
|