Home
last modified time | relevance | path

Searched refs:grant (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java141 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local
146 getWho(), mFakePrivKey, new Certificate[] {mFakeCert}, grant, true)) in testCanInstallWithAutomaticAccess()
150 assertGranted(grant, true); in testCanInstallWithAutomaticAccess()
153 assertThat(KeyChain.getPrivateKey(mActivity, grant).getAlgorithm()).isEqualTo("RSA"); in testCanInstallWithAutomaticAccess()
156 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), grant)).isTrue(); in testCanInstallWithAutomaticAccess()
159 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java767 final UiSelector grant = new UiSelector().textMatches("(?i)Allow"); in startIntentWithGrant() local
768 final boolean grantExists = new UiObject(grant).waitForExists(5000); in startIntentWithGrant()
770 device.findObject(grant).click(); in startIntentWithGrant()
/cts/hostsidetests/appsecurity/test-apps/tinyapp/
DAndroid.bp120 // grant access to the previous key in the lineage to join the sharedUid.
219 // grant access to the previous key in the lineage to join the sharedUid.
328 // grant access to the previous key in the lineage to join the sharedUid.
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java1107 boolean grant) throws Exception { in updatePermissions() argument
1108 final String verb = grant ? "grant" : "revoke"; in updatePermissions()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1121 final UiSelector grant = new UiSelector().textMatches("(?i)Allow"); in doEscalation() local
1123 scrollIntoView(grant); in doEscalation()
1125 final boolean grantExists = new UiObject(grant).waitForExists(timeout); in doEscalation()
1132 device.findObject(grant).click(); in doEscalation()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1083 u64 grant(u64 avc, u32 ssid, u32 tsid, u16 class) { in grant() function
1148 u64 avcnode = grant(avc, get_sid(), 2, 1); in disable_selinux()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt8296 field public static final String DELEGATION_PERMISSION_GRANT = "delegation-permission-grant";
57736 method public abstract void grant(String[]);