Searched refs:HealthConnectThreadScheduler (Results 1 – 13 of 13) sorted by relevance
58 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 …]
62 (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()
218 mInternalTaskScheduler = HealthConnectThreadScheduler.sInternalBackgroundExecutor; in setUp()
140 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()
77 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()84 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()92 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()100 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
259 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 …]
38 public final class HealthConnectThreadScheduler { class
28 import com.android.server.healthconnect.HealthConnectThreadScheduler;48 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()
60 import com.android.server.healthconnect.HealthConnectThreadScheduler;476 HealthConnectThreadScheduler.scheduleInternalTask( in updateMigrationStatePreference()
32 import com.android.server.healthconnect.HealthConnectThreadScheduler;107 HealthConnectThreadScheduler.scheduleInternalTask( in onReceive()
36 import com.android.server.healthconnect.HealthConnectThreadScheduler;188 HealthConnectThreadScheduler.scheduleInternalTask( in updateFirstGrantTimesFromPermissionState()226 HealthConnectThreadScheduler.scheduleInternalTask( in updateFirstGrantTimesFromPermissionState()245 HealthConnectThreadScheduler.scheduleInternalTask( in updateFirstGrantTimesFromPermissionState()
45 import com.android.server.healthconnect.HealthConnectThreadScheduler;70 .mockStatic(HealthConnectThreadScheduler.class)127 .when(() -> HealthConnectThreadScheduler.scheduleInternalTask(any())); in testPrescheduleNewJobs_updateMigrationState_newJobsScheduled()
66 import com.android.server.healthconnect.HealthConnectThreadScheduler;207 HealthConnectThreadScheduler.scheduleInternalTask(this::scheduleAllJobs); in setupForUser()922 HealthConnectThreadScheduler.scheduleInternalTask( in triggerMergingIfApplicable()1030 HealthConnectThreadScheduler.scheduleInternalTask( in onStartJob()