Home
last modified time | relevance | path

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

/cts/tests/tests/app/test-apps/TestComponentCallerApp/src/android/app/cts/testcomponentcaller/
DTestInitialCallerActivity.java101 int permissionResult = INVALID_PERMISSION_RESULT; in sendTestBroadcast() local
105 permissionResult = caller.checkContentUriPermission(uri, modeFlags); in sendTestBroadcast()
123 intent.putExtra(EXTRA_CHECK_CONTENT_URI_PERMISSION_RESULT, permissionResult); in sendTestBroadcast()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java1119 final int permissionResult = checkUriPermission(QUERIES_PACKAGE_PROVIDER, TARGET_NO_API); in queriesPackageHasProvider_checkUriPermission_canSeeNoApi() local
1120 assertThat(permissionResult, is(PackageManager.PERMISSION_GRANTED)); in queriesPackageHasProvider_checkUriPermission_canSeeNoApi()
1125 final int permissionResult = checkUriPermission(QUERIES_PACKAGE_PROVIDER, TARGET_FILTERS); in queriesPackageHasProvider_checkUriPermission_cannotSeeFilters() local
1126 assertThat(permissionResult, is(PackageManager.PERMISSION_DENIED)); in queriesPackageHasProvider_checkUriPermission_cannotSeeFilters()
1133 final int permissionResult = checkContentUriPermissionFull(QUERIES_PACKAGE_PROVIDER, in queriesPackageHasProvider_checkContentUriPermissionFull_canSeeNoApi() local
1135 assertThat(permissionResult, is(PackageManager.PERMISSION_GRANTED)); in queriesPackageHasProvider_checkContentUriPermissionFull_canSeeNoApi()
1142 final int permissionResult = checkContentUriPermissionFull(QUERIES_PACKAGE_PROVIDER, in queriesPackageHasProvider_checkContentUriPermissionFull_cannotSeeFilters() local
1144 assertThat(permissionResult, is(PackageManager.PERMISSION_DENIED)); in queriesPackageHasProvider_checkContentUriPermissionFull_cannotSeeFilters()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java993 final int permissionResult = checkUriPermission(uri, 0 /* pid */, targetUid, in sendCheckUriPermission() local
995 revokeReadFromUriAndSendPermissionResult(uri, permissionResult, remoteCallback); in sendCheckUriPermission()
1001 final int permissionResult = checkContentUriPermissionFull(uri, 0 /* pid */, targetUid, in sendCheckContentUriPermissionFull() local
1003 revokeReadFromUriAndSendPermissionResult(uri, permissionResult, remoteCallback); in sendCheckContentUriPermissionFull()
1012 private void revokeReadFromUriAndSendPermissionResult(Uri uri, int permissionResult, in revokeReadFromUriAndSendPermissionResult() argument
1016 result.putInt(EXTRA_RETURN_RESULT, permissionResult); in revokeReadFromUriAndSendPermissionResult()