/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/ |
D | MigrationStateChangeJobTest.java | 94 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in MigrationStateChangeJobTest 132 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 133 when(mHealthConnectDeviceConfigManager.getExecutionTimeBuffer()) in setUp() 135 when(mHealthConnectDeviceConfigManager.getIdleStateTimeoutPeriod()) in setUp() 137 when(mHealthConnectDeviceConfigManager.getNonIdleStateTimeoutPeriod()) in setUp() 139 when(mHealthConnectDeviceConfigManager.getInProgressStateTimeoutPeriod()) in setUp() 141 when(mHealthConnectDeviceConfigManager.isPauseStateChangeJobEnabled()) in setUp() 143 when(mHealthConnectDeviceConfigManager.isCompleteStateChangeJobEnabled()) in setUp() 145 when(mHealthConnectDeviceConfigManager.getMigrationCompletionJobRunInterval()) in setUp() 147 when(mHealthConnectDeviceConfigManager.getMigrationPauseJobRunInterval()) in setUp() [all …]
|
D | MigrationBroadcastSchedulingTest.java | 79 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in MigrationBroadcastSchedulingTest 103 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 104 when(mHealthConnectDeviceConfigManager.getMigrationStateAllowedCount()) in setUp() 106 when(mHealthConnectDeviceConfigManager.getMigrationStateInProgressCount()) in setUp() 108 when(mHealthConnectDeviceConfigManager.getNonIdleStateTimeoutPeriod()) in setUp()
|
D | MigrationStateManagerTest.java | 119 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in MigrationStateManagerTest 142 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 143 when(mHealthConnectDeviceConfigManager.getExecutionTimeBuffer()) in setUp() 145 when(mHealthConnectDeviceConfigManager.getNonIdleStateTimeoutPeriod()) in setUp() 147 when(mHealthConnectDeviceConfigManager.getMaxStartMigrationCalls()) in setUp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | MigrationBroadcastScheduler.java | 55 private final HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager = field in MigrationBroadcastScheduler 155 return mHealthConnectDeviceConfigManager.getMigrationStateInProgressCount(); in getRequiredCount() 157 return mHealthConnectDeviceConfigManager.getMigrationStateAllowedCount(); in getRequiredCount() 169 mHealthConnectDeviceConfigManager.getInProgressStateTimeoutPeriod(), in getRequiredInterval() 173 mHealthConnectDeviceConfigManager.getNonIdleStateTimeoutPeriod(), in getRequiredInterval()
|
D | MigrationStateManager.java | 88 private final HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager = field in MigrationStateManager 263 >= mHealthConnectDeviceConfigManager.getMaxStartMigrationCalls()) { in updateMigrationStateGuarded() 625 mHealthConnectDeviceConfigManager in getAllowedStateTimeout()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | HealthDataCategoryPriorityHelperTest.java | 108 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in HealthDataCategoryPriorityHelperTest 146 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 161 clearInvocations(mHealthConnectDeviceConfigManager); in tearDown() 271 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testNewMaybeRemoveAppFromPriorityList_ifDataForApp_doesNotRemoveApp() 297 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testNewMaybeRemoveAppFromPriorityList_ifNoDataForApp_removesApp() 326 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testOldMaybeRemoveAppFromPriorityList_ifNoWritePermissionsForApp_removesApp() 395 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testNewUpdateHealthDataPriority_ifDataForApp_doesNotRemoveApp() 423 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testNewUpdateHealthDataPriority_ifNoDataForApp_removesApp() 456 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testOldUpdateHealthDataPriority_ifNoWritePermissionsForApp_removesApp() 479 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testOldMaybeRemoveAppWithoutWritePermissionsFromPriorityList_removesApp() [all …]
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/ |
D | PermissionPackageChangesOrchestratorTest.java | 69 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in PermissionPackageChangesOrchestratorTest 80 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 121 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in testPackageRemoved_removesFromPriorityList_whenNewAggregationOff()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/ |
D | SessionPriorityAggregationTest.java | 57 @Mock HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in SessionPriorityAggregationTest 76 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 77 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in setUp()
|
D | ValuePriorityAggregationTest.java | 45 @Mock HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager; field in ValuePriorityAggregationTest 76 .thenReturn(mHealthConnectDeviceConfigManager); in setUp() 77 when(mHealthConnectDeviceConfigManager.isAggregationSourceControlsEnabled()) in setUp()
|