Searched refs:keyChainConnection (Results 1 – 6 of 6) sorted by relevance
616 try (KeyChainConnection keyChainConnection = KeyChain.bind(context)) { in isCredentialManagementApp() argument617 isCredentialManagementApp = keyChainConnection.getService() in isCredentialManagementApp()642 try (KeyChainConnection keyChainConnection = KeyChain.bind(context)) { in getCredentialManagementAppPolicy() argument643 policy = keyChainConnection.getService().getCredentialManagementAppPolicy(); in getCredentialManagementAppPolicy()673 try (KeyChainConnection keyChainConnection = KeyChain.bind(context)) { in setCredentialManagementApp() argument674 keyChainConnection.getService() in setCredentialManagementApp()701 try (KeyChainConnection keyChainConnection = KeyChain.bind(context)) { in removeCredentialManagementApp() argument702 keyChainConnection.getService().removeCredentialManagementApp(); in removeCredentialManagementApp()795 try (KeyChainConnection keyChainConnection = bind(context.getApplicationContext())) { in getKeyPair() argument796 keyId = keyChainConnection.getService().requestPrivateKey(alias); in getKeyPair()[all …]
88 try (KeyChainConnection keyChainConnection = mInjector.keyChainBindAsUser(userHandle)) { in installCaCert() argument89 return keyChainConnection.getService().installCaCertificate(pemCert); in installCaCert()100 try (KeyChainConnection keyChainConnection = mInjector.keyChainBindAsUser(userHandle)) { in uninstallCaCerts() argument102 keyChainConnection.getService().deleteCaCertificate(aliases[i]); in uninstallCaCerts()
6495 try (KeyChainConnection keyChainConnection =6497 IKeyChainService keyChain = keyChainConnection.getService();6562 try (KeyChainConnection keyChainConnection =6564 IKeyChainService keyChain = keyChainConnection.getService();6598 try (KeyChainConnection keyChainConnection =6600 return keyChainConnection.getService().containsKeyPair(alias);6652 try (KeyChainConnection keyChainConnection =6655 final int[] granteeUids = keyChainConnection.getService().getGrants(alias);6706 try (KeyChainConnection keyChainConnection =6708 IKeyChainService keyChain = keyChainConnection.getService();[all …]
422 return services.keyChainConnection; in keyChainBind()427 return services.keyChainConnection; in keyChainBindAsUser()
136 public final KeyChain.KeyChainConnection keyChainConnection; field in MockSystemServices194 keyChainConnection = mock(KeyChain.KeyChainConnection.class, RETURNS_DEEP_STUBS); in MockSystemServices()
1766 when(getServices().keyChainConnection.getService().getUserCaAliases()).thenReturn(oneCert); in testCertificateDisclosure()1774 when(getServices().keyChainConnection.getService().getUserCaAliases()) in testCertificateDisclosure()1802 when(getServices().keyChainConnection.getService().hasCredentialManagementApp()) in testRemoveCredentialManagementApp()1804 when(getServices().keyChainConnection.getService().getCredentialManagementAppPackageName()) in testRemoveCredentialManagementApp()1810 verify(getServices().keyChainConnection.getService()).hasCredentialManagementApp(); in testRemoveCredentialManagementApp()1811 verify(getServices().keyChainConnection.getService()).removeCredentialManagementApp(); in testRemoveCredentialManagementApp()6472 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCanGetOwnerInstalledCaCerts()6475 when(getServices().keyChainConnection.getService().getUserCaAliases()) in verifyCanGetOwnerInstalledCaCerts()6505 reset(getServices().keyChainConnection.getService()); in verifyCanGetOwnerInstalledCaCerts()6545 when(getServices().keyChainConnection.getService().installCaCertificate(caCert)) in verifyCantGetOwnerInstalledCaCertsProfileOwnerRemoval()[all …]