Home
last modified time | relevance | path

Searched refs:shouldHidePermission (Results 1 – 3 of 3) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DHealthPermissionReaderTest.kt181 assertThat(permissionReader.shouldHidePermission(READ_SKIN_TEMPERATURE)).isTrue() in <lambda>()
182 assertThat(permissionReader.shouldHidePermission(WRITE_SKIN_TEMPERATURE)).isTrue() in <lambda>()
184 assertThat(permissionReader.shouldHidePermission(READ_PLANNED_EXERCISE)).isTrue() in <lambda>()
185 assertThat(permissionReader.shouldHidePermission(WRITE_PLANNED_EXERCISE)).isTrue() in <lambda>()
192 assertThat(permissionReader.shouldHidePermission(READ_SKIN_TEMPERATURE)).isFalse() in <lambda>()
193 assertThat(permissionReader.shouldHidePermission(WRITE_SKIN_TEMPERATURE)).isFalse() in <lambda>()
195 assertThat(permissionReader.shouldHidePermission(READ_PLANNED_EXERCISE)).isFalse() in <lambda>()
196 assertThat(permissionReader.shouldHidePermission(WRITE_PLANNED_EXERCISE)).isFalse() in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionReader.kt162 isAdditionalPermission(perm) && !shouldHidePermission(perm) in <lambda>()
198 return permissions.filterNot { permission -> shouldHidePermission(permission) } in <lambda>()
213 fun shouldHidePermission(permission: String): Boolean { in <lambda>() method in com.android.healthconnect.controller.shared.HealthPermissionReader
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DRequestPermissionViewModel.kt346 .filterNot { permission -> healthPermissionReader.shouldHidePermission(permission) } in <lambda>()