Home
last modified time | relevance | path

Searched refs:isBackgroundReadFeatureEnabled (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DDataPermissionEnforcerTest.java278 when(mDeviceConfigManager.isBackgroundReadFeatureEnabled()).thenReturn(true); in testEnforceBackgroundReadRestrictions_permissionGranted_doesNotThrow()
288 when(mDeviceConfigManager.isBackgroundReadFeatureEnabled()).thenReturn(true); in testEnforceBackgroundReadRestrictions_permissionDenied_throwsSecurityException()
298 when(mDeviceConfigManager.isBackgroundReadFeatureEnabled()).thenReturn(false); in testEnforceBackgroundReadRestrictions_featureDisabled_throwsSecurityException()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/
DDataPermissionEnforcer.java182 if (mDeviceConfigManager.isBackgroundReadFeatureEnabled()) { in enforceBackgroundReadRestrictions()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDeviceConfigManager.java472 public boolean isBackgroundReadFeatureEnabled() { in isBackgroundReadFeatureEnabled() method in HealthConnectDeviceConfigManager
DHealthConnectServiceImpl.java2517 return !mDeviceConfigManager.isBackgroundReadFeatureEnabled() in isOnlySelfReadInBackgroundAllowed()