Home
last modified time | relevance | path

Searched refs:assertPermissionRequestResult (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp29/src/com/android/cts/usepermission/
DUsePermissionTest29.java66 private static void assertPermissionRequestResult(BasePermissionActivity.Result result,
68 BasePermissionsTest.assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS,
84 assertPermissionRequestResult(result, permissions, true);
95 assertPermissionRequestResult(result, permissions, false);
107 assertPermissionRequestResult(result, permissions, true, true);
120 assertPermissionRequestResult(result, permissions, true);
129 assertPermissionRequestResult(result, permissions, true);
141 assertPermissionRequestResult(result, permissions, true, false);
148 assertPermissionRequestResult(result, permissions, true, true);
161 assertPermissionRequestResult(result, permissions, false, false);
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
DUsePermissionTest23.java163 assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS, in testRuntimeGroupGrantSpecificity()
197 assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS, in testRuntimeGroupGrantExpansion()
227 assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS, in testCancelledPermissionRequest()
252 assertPermissionRequestResult(firstResult, REQUEST_CODE_PERMISSIONS, in testRequestGrantedPermission()
261 assertPermissionRequestResult(secondResult, REQUEST_CODE_PERMISSIONS + 1, in testRequestGrantedPermission()
286 assertPermissionRequestResult(firstResult, REQUEST_CODE_PERMISSIONS, in testDenialWithPrejudice()
302 assertPermissionRequestResult(secondResult, REQUEST_CODE_PERMISSIONS + 1, in testDenialWithPrejudice()
311 assertPermissionRequestResult(thirdResult, REQUEST_CODE_PERMISSIONS + 2, in testDenialWithPrejudice()
362 assertPermissionRequestResult(firstResult, REQUEST_CODE_PERMISSIONS, in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
378 assertPermissionRequestResult(secondResult, REQUEST_CODE_PERMISSIONS + 1, in testGrantPreviouslyRevokedWithPrejudiceShowsPrompt_part1()
[all …]
DBasePermissionsTest.java85 protected static void assertPermissionRequestResult(BasePermissionActivity.Result result, in assertPermissionRequestResult() method in BasePermissionsTest
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/
DUsePermissionTest26.java58 assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS, in testRuntimeGroupGrantNoExpansion()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp28/src/com/android/cts/usepermission/
DUsePermissionTest28.java60 assertPermissionRequestResult(result, REQUEST_CODE_PERMISSIONS, permissions, in testLocationPermissionWasSplit()