Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java136 final String grant = "com.android.test.autogrant-key-1"; in testCanInstallWithAutomaticAccess() local
144 getWho(), privKey, new Certificate[] {cert}, grant, true)) in testCanInstallWithAutomaticAccess()
152 assertGranted(grant, true); in testCanInstallWithAutomaticAccess()
156 assertThat(KeyChain.getPrivateKey(mActivity, grant).getAlgorithm()).isEqualTo("RSA"); in testCanInstallWithAutomaticAccess()
159 assertThat(mDevicePolicyManager.removeKeyPair(getWho(), grant)).isTrue(); in testCanInstallWithAutomaticAccess()
163 assertGranted(grant, false); in testCanInstallWithAutomaticAccess()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DExternalStorageHostTest.java679 boolean grant) throws Exception { in updatePermissions() argument
680 final String verb = grant ? "grant" : "revoke"; in updatePermissions()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c1082 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()