Home
last modified time | relevance | path

Searched refs:featureUtils (Results 1 – 15 of 15) sorted by relevance

/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionReader.kt42 private val featureUtils: FeatureUtils in <lambda>() constant in com.android.healthconnect.controller.shared.HealthPermissionReader
226 !featureUtils.isSkinTemperatureEnabled() in <lambda>()
232 !featureUtils.isPlannedExerciseEnabled() in <lambda>()
241 return permission in sessionTypePermissions && !featureUtils.isSessionTypesEnabled() in <lambda>()
245 return permission in backgroundReadPermission && !featureUtils.isBackgroundReadEnabled() in <lambda>()
249 return permission in historyReadPermission && !featureUtils.isHistoryReadEnabled() in <lambda>()
253 return permission in medicalPermissions && !featureUtils.isPersonalHealthRecordEnabled() in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessViewModelTest.kt71 private val featureUtils: FeatureUtils = FakeFeatureUtils() constant in com.android.healthconnect.controller.tests.permissions.additionalaccess.AdditionalAccessViewModelTest
100 featureUtils, in setup()
112 (featureUtils as FakeFeatureUtils).setIsHistoryReadEnabled(true) in setup()
113 featureUtils.setIsBackgroundReadEnabled(true) in setup()
143 (featureUtils as FakeFeatureUtils).setIsHistoryReadEnabled(false) in tearDown()
144 featureUtils.setIsBackgroundReadEnabled(false) in tearDown()
195 (featureUtils as FakeFeatureUtils).setIsHistoryReadEnabled(false) in <lambda>()
234 (featureUtils as FakeFeatureUtils).setIsBackgroundReadEnabled(false) in loadAdditionalAccessPreferences_backgroundReadNotEnabled_doesNotReturnBackgroundRead()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/additionalaccess/
DAdditionalAccessViewModel.kt53 private val featureUtils: FeatureUtils, in <lambda>() constant in com.android.healthconnect.controller.permissions.additionalaccess.AdditionalAccessViewModel
95 if (featureUtils.isExerciseRouteReadAllEnabled()) { in <lambda>()
116 if (featureUtils.isBackgroundReadEnabled() && in <lambda>()
128 if (featureUtils.isHistoryReadEnabled() && in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/safetycenter/
DHealthConnectSafetySource.kt36 private val featureUtils: FeatureUtils, constant in com.android.healthconnect.controller.safetycenter.HealthConnectSafetySource
44 if (!featureUtils.isEntryPointsEnabled()) { in setSafetySourceData()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/
DDataManagementActivity.kt42 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.data.DataManagementActivity
53 if (savedInstanceState == null && featureUtils.isNewInformationArchitectureEnabled()) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/categories/
DHealthDataCategoriesFragment.kt71 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.categories.HealthDataCategoriesFragment
95 if (!featureUtils.isNewAppPriorityEnabled()) { in <lambda>()
170 if (!featureUtils.isNewAppPriorityEnabled()) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/managedata/
DManageDataFragment.kt38 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.managedata.ManageDataFragment
70 if (featureUtils.isNewAppPriorityEnabled()) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/home/
DHomeFragment.kt90 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.home.HomeFragment
136 if (featureUtils.isNewAppPriorityEnabled() || in <lambda>()
137 featureUtils.isNewInformationArchitectureEnabled()) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt66 private val featureUtils: FeatureUtils, in <lambda>() constant in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel
267 if (!featureUtils.isExerciseRouteReadAllEnabled() || in <lambda>()
DConnectedAppFragment.kt103 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.permissions.app.ConnectedAppFragment
222 if (featureUtils.isNewInformationArchitectureEnabled()) { in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/route/
DRouteRequestActivity.kt68 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.route.RouteRequestActivity
202 val shouldShowAllowAllRoutesButton = featureUtils.isExerciseRouteReadAllEnabled() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/
DHealthPermissionTypesFragment.kt81 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.permissiontypes.HealthPermissionTypesFragment
183 if (!featureUtils.isNewAppPriorityEnabled()) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt88 @Inject lateinit var featureUtils: FeatureUtils variable in com.android.healthconnect.controller.tests.permissions.connectedapps.AppPermissionViewModelTest
128 featureUtils, in setup()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DAdditionalPermissionsFragment.kt61 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.permissions.request.AdditionalPermissionsFragment
DPermissionsActivity.kt68 @Inject lateinit var featureUtils: FeatureUtils in <lambda>() variable in com.android.healthconnect.controller.permissions.request.PermissionsActivity