Home
last modified time | relevance | path

Searched refs:isRationaleIntentDeclared (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt148 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>()
183 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(false) in <lambda>()
280 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>()
345 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>()
558 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in <lambda>()
578 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(false) in <lambda>()
600 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(false) in shouldNavigateToFragment_whenPackageNotSupported_andNoPermissionsGranted_returnsFalse()
621 verify(healthPermissionReader).isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME) in isPackageSupported_callsCorrectMethod()
625 whenever(healthPermissionReader.isRationaleIntentDeclared(any())).thenReturn(true) in setupDeclaredAndGrantedPermissions()
DConnectedAppFragmentTest.kt412 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>()
438 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>()
472 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>()
502 whenever(healthPermissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DHealthPermissionReaderTest.kt126 assertThat(permissionReader.isRationaleIntentDeclared(TEST_APP_PACKAGE_NAME)).isTrue() in isRationalIntentDeclared_withIntent_returnsTrue()
131 assertThat(permissionReader.isRationaleIntentDeclared(UNSUPPORTED_TEST_APP_PACKAGE_NAME)) in isRationalIntentDeclared_noIntent_returnsTrue()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/shared/
DHealthPermissionReader.kt166 fun isRationaleIntentDeclared(packageName: String): Boolean { in <lambda>() method
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/request/
DPermissionsActivity.kt111 healthPermissionReader.isRationaleIntentDeclared(getPackageNameExtra()) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt365 return healthPermissionReader.isRationaleIntentDeclared(packageName) in <lambda>()
DSettingsManageAppPermissionsFragment.kt344 if (healthPermissionReader.isRationaleIntentDeclared(packageName)) { in <lambda>()
DConnectedAppFragment.kt388 if (healthPermissionReader.isRationaleIntentDeclared(packageName)) { in <lambda>()