Home
last modified time | relevance | path

Searched refs:HealthConnectDeviceConfigManager (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DServerSideMigrationConstantsTest.java19 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.COUNT_MIGRATION_STA…
20 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.COUNT_MIGRATION_STA…
21 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.ENABLE_PAUSE_STATE_…
22 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.EXECUTION_TIME_BUFF…
23 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.IDLE_STATE_TIMEOUT_…
24 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.IN_PROGRESS_STATE_T…
25 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.MAX_START_MIGRATION…
26 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.MIGRATION_COMPLETIO…
27 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.MIGRATION_PAUSE_JOB…
28 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.NON_IDLE_STATE_TIME…
[all …]
DMigrationStateChangeJobTest.java60 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
85 .mockStatic(HealthConnectDeviceConfigManager.class)
94 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
98 HealthConnectDeviceConfigManager
102 HealthConnectDeviceConfigManager.IDLE_STATE_TIMEOUT_DAYS_DEFAULT_FLAG_VALUE);
105 HealthConnectDeviceConfigManager
109 HealthConnectDeviceConfigManager
116 HealthConnectDeviceConfigManager
120 HealthConnectDeviceConfigManager
131 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
DMigrationBroadcastSchedulingTest.java22 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.MIGRATION_STATE_ALL…
23 import static com.android.server.healthconnect.HealthConnectDeviceConfigManager.MIGRATION_STATE_IN_…
44 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
71 .mockStatic(HealthConnectDeviceConfigManager.class)
79 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
90 HealthConnectDeviceConfigManager
102 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
DMigrationTestUtils.java28 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
50 return HealthConnectDeviceConfigManager.getInitialisedInstance().getExecutionTimeBuffer() in getTimeoutPeriodBuffer()
DMigrationStateManagerTest.java75 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
108 .mockStatic(HealthConnectDeviceConfigManager.class)
119 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
125 HealthConnectDeviceConfigManager
129 HealthConnectDeviceConfigManager
132 HealthConnectDeviceConfigManager.MAX_START_MIGRATION_CALLS_DEFAULT_FLAG_VALUE;
141 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateChangeJob.java39 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
56 HealthConnectDeviceConfigManager deviceConfigManager = in scheduleMigrationCompletionJob()
57 HealthConnectDeviceConfigManager.getInitialisedInstance(); in scheduleMigrationCompletionJob()
78 HealthConnectDeviceConfigManager deviceConfigManager = in scheduleMigrationPauseJob()
79 HealthConnectDeviceConfigManager.getInitialisedInstance(); in scheduleMigrationPauseJob()
100 HealthConnectDeviceConfigManager deviceConfigManager = in executeMigrationCompletionJob()
101 HealthConnectDeviceConfigManager.getInitialisedInstance(); in executeMigrationCompletionJob()
156 HealthConnectDeviceConfigManager deviceConfigManager = in executeMigrationPauseJob()
157 HealthConnectDeviceConfigManager.getInitialisedInstance(); in executeMigrationPauseJob()
DMigrationBroadcastScheduler.java36 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
55 private final HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager =
56 HealthConnectDeviceConfigManager.getInitialisedInstance();
DMigrationStateManager.java59 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
88 private final HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager =
89 HealthConnectDeviceConfigManager.getInitialisedInstance();
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/
DRateLimiterTest.java30 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
68 HealthConnectDeviceConfigManager.initializeInstance(mContext); in setUp()
69 HealthConnectDeviceConfigManager.getInitialisedInstance() in setUp()
80 HealthConnectDeviceConfigManager.initializeInstance(mContext); in tearDown()
81 HealthConnectDeviceConfigManager.getInitialisedInstance() in tearDown()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DPermissionPackageChangesOrchestratorTest.java38 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
56 .mockStatic(HealthConnectDeviceConfigManager.class)
69 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
79 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
DDataPermissionEnforcerTest.java47 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
63 @Mock private HealthConnectDeviceConfigManager mDeviceConfigManager;
72 HealthConnectDeviceConfigManager.initializeInstance(mContext); in setUp()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DSessionPriorityAggregationTest.java29 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
52 .mockStatic(HealthConnectDeviceConfigManager.class)
57 @Mock HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
75 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
DValuePriorityAggregationTest.java29 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
45 @Mock HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
55 .mockStatic(HealthConnectDeviceConfigManager.class)
75 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DDataPermissionEnforcer.java35 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
52 private final HealthConnectDeviceConfigManager mDeviceConfigManager;
57 @NonNull HealthConnectDeviceConfigManager deviceConfigManager) { in DataPermissionEnforcer()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDeviceConfigManager.java44 public class HealthConnectDeviceConfigManager implements DeviceConfig.OnPropertiesChangedListener { class
142 private static HealthConnectDeviceConfigManager sDeviceConfigManager;
264 sDeviceConfigManager = new HealthConnectDeviceConfigManager(); in initializeInstance()
273 public static HealthConnectDeviceConfigManager getInitialisedInstance() { in getInitialisedInstance()
DHealthConnectManagerService.java92 HealthConnectDeviceConfigManager.initializeInstance(context); in HealthConnectManagerService()
110 HealthConnectDeviceConfigManager.getInitialisedInstance(), in HealthConnectManagerService()
125 HealthConnectDeviceConfigManager.getInitialisedInstance().updateRateLimiterValues(); in onStart()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelper.java42 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
218 HealthConnectDeviceConfigManager.getInitialisedInstance() in getPriorityOrder()
246 HealthConnectDeviceConfigManager.getInitialisedInstance() in setPriorityOrder()
406 HealthConnectDeviceConfigManager.getInitialisedInstance() in reSyncHealthDataPriorityTable()
472 HealthConnectDeviceConfigManager.getInitialisedInstance() in maybeRemoveAppFromPriorityListInternal()
621 HealthConnectDeviceConfigManager.getInitialisedInstance() in shouldAddContributingApps()
DSleepSessionRecordHelper.java35 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
125 return HealthConnectDeviceConfigManager.getInitialisedInstance() in isRecordOperationsEnabled()
DExerciseSessionRecordHelper.java63 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
332 return HealthConnectDeviceConfigManager.getInitialisedInstance() in isRecordOperationsEnabled()
430 && HealthConnectDeviceConfigManager.getInitialisedInstance() in isExerciseRouteFeatureEnabled()
436 && HealthConnectDeviceConfigManager.getInitialisedInstance() in isReadExerciseRouteAllFeatureEnabled()
DMergeDataHelper.java32 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
186 if (HealthConnectDeviceConfigManager.getInitialisedInstance() in shouldAddDataPoint()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/notification/
DMigrationNotificationSender.java31 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
66 if (!HealthConnectDeviceConfigManager.getInitialisedInstance() in sendNotification()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/aggregation/
DPriorityRecordsAggregator.java37 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
187 if (HealthConnectDeviceConfigManager.getInitialisedInstance() in readNewDataAndMaybeAddToBuffer()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DImportManagerTest.java40 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
92 () -> HealthConnectDeviceConfigManager.initializeInstance(mContext), in setUp()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerExerciseRoutesTest.java37 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
81 HealthConnectDeviceConfigManager.initializeInstance(context); in setup()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DHealthDataCategoryPriorityHelperTest.java50 import com.android.server.healthconnect.HealthConnectDeviceConfigManager;
98 .mockStatic(HealthConnectDeviceConfigManager.class)
108 @Mock private HealthConnectDeviceConfigManager mHealthConnectDeviceConfigManager;
145 when(HealthConnectDeviceConfigManager.getInitialisedInstance()) in setUp()

12