/frameworks/base/services/core/java/com/android/server/apphibernation/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | UiOffloadThread.java | 34 private final ExecutorService mExecutorService = Executors.newSingleThreadExecutor(); field in UiOffloadThread 41 return mExecutorService.submit(runnable); in execute()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ParallelPackageParser.java | 56 private final ExecutorService mExecutorService; field in ParallelPackageParser 60 mExecutorService = executorService; in ParallelPackageParser() 103 mExecutorService.submit(() -> { in submit()
|
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() 262 mScanFlags | SCAN_REQUIRE_KNOWN, packageParser, mExecutorService, null); in initNonSystemApps() local 264 List<Runnable> unfinishedTasks = mExecutorService.shutdownNow(); in initNonSystemApps()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | EditUserPhotoController.java | 74 private final ListeningExecutorService mExecutorService; field in EditUserPhotoController 99 mExecutorService = ThreadUtils.getBackgroundExecutor(); in EditUserPhotoController() 145 ListenableFuture<Bitmap> future = mExecutorService.submit(() -> { in onDefaultIconSelected() 165 ListenableFuture<Bitmap> future = mExecutorService.submit(() -> { in onPhotoCropped() 200 var unused = mExecutorService.submit(() -> { in onPhotoProcessed()
|
/frameworks/base/services/core/java/com/android/server/wearable/ |
D | WearableSensingSecureChannel.java | 330 private final ExecutorService mExecutorService; field in WearableSensingSecureChannel.SoftShutdownExecutor 333 mExecutorService = executorService; in SoftShutdownExecutor() 339 mExecutorService.execute(runnable); in execute() 347 mExecutorService.shutdown(); in shutdown()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | BatteryExternalStatsWorker.java | 88 private final ScheduledExecutorService mExecutorService = field in BatteryExternalStatsWorker 341 mExecutorService.schedule(() -> { in scheduleCleanupDueToRemovedUser() 349 return mExecutorService.schedule(() -> { in scheduleCleanupDueToRemovedUser() 373 if (mExecutorService.isShutdown()) { 388 return mExecutorService.schedule(syncRunnable, delayMillis, TimeUnit.MILLISECONDS); 395 if (mExecutorService.isShutdown()) { 403 return mExecutorService.submit(mWriteTask); 415 mExecutorService.submit(runnable); 422 mExecutorService.shutdownNow(); 427 if (mExecutorService.isShutdown()) { [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
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()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | HotwordAudioStreamCopier.java | 77 private final ExecutorService mExecutorService = Executors.newCachedThreadPool(); field in HotwordAudioStreamCopier 169 mExecutorService.execute( in startCopyingAudioStreams() 197 private final ExecutorService mExecutorService = Executors.newCachedThreadPool(); field in HotwordAudioStreamCopier.HotwordDetectedResultCopyTask 251 mExecutorService.invokeAll(tasks); in run()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 111 protected ExecutorService mExecutorService; field in IntentForwarderActivity 116 mExecutorService.shutdown(); in onDestroy() 123 mExecutorService = Executors.newSingleThreadExecutor(); in onCreate() 200 }, mExecutorService) in buildAndExecute()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/ |
D | TelephonyAnalytics.java | 78 private ExecutorService mExecutorService; field in TelephonyAnalytics 122 mExecutorService = Executors.newSingleThreadExecutor(); in TelephonyAnalytics() 293 mExecutorService.execute(() -> { in sendDataToProvider() 658 mExecutorService.execute(() -> { in onServiceStateChanged() 988 mExecutorService.execute(() -> { in sendDataToProvider()
|
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
D | MusicRecognitionManagerService.java | 59 final ExecutorService mExecutorService = Executors.newCachedThreadPool(); field in MusicRecognitionManagerService
|
D | MusicRecognitionManagerPerUserService.java | 194 }, mMaster.mExecutorService); in beginRecognitionLocked()
|
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/ |
D | RecoverableKeyStoreManager.java | 113 private final ScheduledExecutorService mExecutorService; field in RecoverableKeyStoreManager 192 mExecutorService = executorService; in RecoverableKeyStoreManager() 952 mExecutorService.schedule(KeySyncTask.newInstance( in lockScreenSecretAvailable() 987 mExecutorService.schedule(KeySyncTask.newInstance( in lockScreenSecretChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 180 private ScheduledExecutorService mExecutorService; field in DataManagerTest 241 mExecutorService = new MockScheduledExecutorService(); in setUp() 1944 return mExecutorService; in createScheduledExecutor()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 718 mExecutorService.awaitTermination(/* timeout= */ 30, TimeUnit.SECONDS); in onCreate()
|