Home
last modified time | relevance | path

Searched refs:HealthConnectThreadScheduler (Results 1 – 13 of 13) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/
DHealthConnectThreadSchedulerTest.java58 HealthConnectThreadScheduler.resetThreadPools(); in setUp()
60 mInternalTaskScheduler = HealthConnectThreadScheduler.sInternalBackgroundExecutor; in setUp()
62 mControllerTaskScheduler = HealthConnectThreadScheduler.sControllerExecutor; in setUp()
64 mForegroundTaskScheduler = HealthConnectThreadScheduler.sForegroundExecutor; in setUp()
66 mBackgroundTaskScheduler = HealthConnectThreadScheduler.sBackgroundThreadExecutor; in setUp()
73 HealthConnectThreadScheduler.scheduleInternalTask(() -> {}); in testHealthConnectSchedulerScheduleInternal()
81 HealthConnectThreadScheduler.scheduleControllerTask(() -> {}); in testHealthConnectSchedulerScheduleInternal()
89 HealthConnectThreadScheduler.schedule(mContext, () -> {}, Process.myUid(), false); in testHealthConnectSchedulerScheduleInternal()
106 HealthConnectThreadScheduler.schedule(mMockContext, () -> {}, Process.myUid(), false); in testHealthConnectSchedulerScheduleInternal()
121 HealthConnectThreadScheduler.scheduleInternalTask(() -> {}); in testHealthConnectScheduler_runningAppProcessNull()
[all …]
DTestUtils.java62 (HealthConnectThreadScheduler.sInternalBackgroundExecutor.getTaskCount() in waitForAllScheduledTasksToComplete()
63 == HealthConnectThreadScheduler.sInternalBackgroundExecutor in waitForAllScheduledTasksToComplete()
65 || (HealthConnectThreadScheduler.sControllerExecutor.getTaskCount() in waitForAllScheduledTasksToComplete()
66 == HealthConnectThreadScheduler.sControllerExecutor in waitForAllScheduledTasksToComplete()
68 || (HealthConnectThreadScheduler.sBackgroundThreadExecutor in waitForAllScheduledTasksToComplete()
70 == HealthConnectThreadScheduler.sBackgroundThreadExecutor in waitForAllScheduledTasksToComplete()
72 || (HealthConnectThreadScheduler.sForegroundExecutor.getTaskCount() in waitForAllScheduledTasksToComplete()
73 == HealthConnectThreadScheduler.sForegroundExecutor in waitForAllScheduledTasksToComplete()
79 return HealthConnectThreadScheduler.sInternalBackgroundExecutor.getTaskCount(); in getInternalBackgroundExecutorTaskCount()
DHealthConnectServiceImplTest.java218 mInternalTaskScheduler = HealthConnectThreadScheduler.sInternalBackgroundExecutor; in setUp()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectManagerService.java140 HealthConnectThreadScheduler.shutdownThreadPools(); in onUserSwitching()
144 HealthConnectThreadScheduler.resetThreadPools(); in onUserSwitching()
193 HealthConnectThreadScheduler.scheduleInternalTask( in switchToSetupForUser()
203 HealthConnectThreadScheduler.scheduleInternalTask( in switchToSetupForUser()
212 HealthConnectThreadScheduler.scheduleInternalTask( in switchToSetupForUser()
221 HealthConnectThreadScheduler.scheduleInternalTask( in switchToSetupForUser()
230 HealthConnectThreadScheduler.scheduleInternalTask( in switchToSetupForUser()
DHealthConnectDailyService.java77 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
84 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
92 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
100 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
DHealthConnectServiceImpl.java259 HealthConnectThreadScheduler.scheduleInternalTask( in onUserSwitching()
365 HealthConnectThreadScheduler.schedule( in insertRecords()
403 HealthConnectThreadScheduler.scheduleInternalTask( in insertRecords()
472 HealthConnectThreadScheduler.schedule( in aggregateRecords()
593 HealthConnectThreadScheduler.schedule( in readRecords()
813 HealthConnectThreadScheduler.schedule( in updateRecords()
854 HealthConnectThreadScheduler.scheduleInternalTask( in updateRecords()
913 HealthConnectThreadScheduler.schedule( in getChangeLogToken()
991 HealthConnectThreadScheduler.schedule( in getChangeLogs()
1126 HealthConnectThreadScheduler.schedule( in deleteUsingFiltersForSelf()
[all …]
DHealthConnectThreadScheduler.java38 public final class HealthConnectThreadScheduler { class
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationBroadcastJobService.java28 import com.android.server.healthconnect.HealthConnectThreadScheduler;
48 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
DMigrationStateManager.java60 import com.android.server.healthconnect.HealthConnectThreadScheduler;
476 HealthConnectThreadScheduler.scheduleInternalTask( in updateMigrationStatePreference()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DPermissionPackageChangesOrchestrator.java32 import com.android.server.healthconnect.HealthConnectThreadScheduler;
107 HealthConnectThreadScheduler.scheduleInternalTask( in onReceive()
DFirstGrantTimeManager.java36 import com.android.server.healthconnect.HealthConnectThreadScheduler;
188 HealthConnectThreadScheduler.scheduleInternalTask( in updateFirstGrantTimesFromPermissionState()
226 HealthConnectThreadScheduler.scheduleInternalTask( in updateFirstGrantTimesFromPermissionState()
245 HealthConnectThreadScheduler.scheduleInternalTask( in updateFirstGrantTimesFromPermissionState()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationBroadcastSchedulingTest.java45 import com.android.server.healthconnect.HealthConnectThreadScheduler;
70 .mockStatic(HealthConnectThreadScheduler.class)
127 .when(() -> HealthConnectThreadScheduler.scheduleInternalTask(any())); in testPrescheduleNewJobs_updateMigrationState_newJobsScheduled()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/
DBackupRestore.java66 import com.android.server.healthconnect.HealthConnectThreadScheduler;
207 HealthConnectThreadScheduler.scheduleInternalTask(this::scheduleAllJobs); in setupForUser()
922 HealthConnectThreadScheduler.scheduleInternalTask( in triggerMergingIfApplicable()
1030 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()