Home
last modified time | relevance | path

Searched refs:revokeAllPermissions (Results 1 – 10 of 10) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/nopermission/
DHealthConnectManagerNotAllPermissionsAreGrantedTest.java32 import static android.healthconnect.cts.utils.PermissionHelper.revokeAllPermissions;
137 revokeAllPermissions(packageName, /* reason= */ "for test"); in testGetChangeLogs_somePermissionsAreNotGranted_expectError()
DHealthConnectManagerNoPermissionsGrantedTest.java41 import static android.healthconnect.cts.utils.PermissionHelper.revokeAllPermissions;
185 revokeAllPermissions(packageName, /* reason= */ "for test"); in testGetChangeLogs_noPermissions_expectError()
202 revokeAllPermissions(packageName, /* reason= */ "for test"); in testGetChangeLogs_noPermissions_expectError()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DPermissionHelper.java143 public static void revokeAllPermissions(String packageName, @Nullable String reason) { in revokeAllPermissions() method in PermissionHelper
159 revokeAllPermissions(packageName, reason); in revokeAllPermissionsWithDelay()
/packages/modules/HealthFitness/tests/integrationtests/src/android/healthconnect/tests/backuprestore/
DBackupRestoreE2ETest.java21 import static android.healthconnect.cts.utils.PermissionHelper.revokeAllPermissions;
242 revokeAllPermissions(TEST_APP_1_PACKAGE_NAME, ""); in testPermissionRestoredBeforeHCRestore_expectGrantTimeIsRestoredCorrectly()
295 revokeAllPermissions(TEST_APP_1_PACKAGE_NAME, ""); in testPermissionsRestoredAfterHCRestore_expectGrantTimeIsRestoredCorrectly()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java276 public void revokeAllPermissions() { in revokeAllPermissions() method in TestContext
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/app/
DAppPermissionViewModel.kt308 fun revokeAllPermissions(packageName: String): Boolean { in <lambda>() method in com.android.healthconnect.controller.permissions.app.AppPermissionViewModel
DSettingsManageAppPermissionsFragment.kt198 if (!viewModel.revokeAllPermissions(packageName)) { in <lambda>()
DConnectedAppFragment.kt196 val permissionsUpdated = appPermissionViewModel.revokeAllPermissions(packageName) in <lambda>()
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java168 mContext.revokeAllPermissions(); in tearDown()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DAppPermissionViewModelTest.kt540 val result = appPermissionViewModel.revokeAllPermissions(TEST_APP_PACKAGE_NAME) in <lambda>()