Searched refs:grant (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 136 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/ |
D | ExternalStorageHostTest.java | 679 boolean grant) throws Exception { in updatePermissions() argument 680 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()
|