Searched refs:grant (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 137 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local 142 getWho(), mFakePrivKey, new Certificate[] {mFakeCert}, grant, true)) in testCanInstallWithAutomaticAccess() 146 assertGranted(grant, true); in testCanInstallWithAutomaticAccess() 149 assertThat(KeyChain.getPrivateKey(mActivity, grant).getAlgorithm()).isEqualTo("RSA"); in testCanInstallWithAutomaticAccess() 152 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), grant)).isTrue(); in testCanInstallWithAutomaticAccess() 155 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 750 final UiSelector grant = new UiSelector().textMatches("(?i)Allow"); in doEscalation() local 754 uiScrollable.scrollIntoView(grant); in doEscalation() 759 final boolean grantExists = new UiObject(grant).waitForExists(timeout); in doEscalation() 766 device.findObject(grant).click(); in doEscalation()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExternalStorageHostTest.java | 958 boolean grant) throws Exception { in updatePermissions() argument 959 final String verb = grant ? "grant" : "revoke"; in updatePermissions()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_cve_2019_2213_Test.c | 1082 u64 grant(u64 avc, u32 ssid, u32 tsid, u16 class) { in grant() function 1147 u64 avcnode = grant(avc, get_sid(), 2, 1); in disable_selinux()
|