/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 87 private final KeyStore mKeyStore = KeyStore.getInstance(); field in KeyChainService 96 mGrantsDb = new GrantsDatabase(this, new KeyStoreAliasesProvider(mKeyStore)); in onCreate() 107 private final KeyStore mKeyStore; field in KeyChainService.KeyStoreAliasesProvider 110 mKeyStore = keyStore; in KeyStoreAliasesProvider() 116 String[] keyStoreAliases = mKeyStore.list(Credentials.USER_PRIVATE_KEY); in getExistingKeyAliases() 146 return mKeyStore.grant(keystoreAlias, uid); 153 return mKeyStore.get(Credentials.USER_CERTIFICATE + alias); 160 return mKeyStore.get(Credentials.CA_CERTIFICATE + alias); 263 final int errorCode = mKeyStore.attestKey(keystoreAlias, attestArgs, attestationChain); 280 if (!mKeyStore.put(Credentials.USER_CERTIFICATE + alias, userCertificate, [all …]
|
D | KeyChainActivity.java | 78 private KeyStore mKeyStore = KeyStore.getInstance(); field in KeyChainActivity 153 final AliasLoader loader = new AliasLoader(mKeyStore, this, keyInfoProvider, in chooseCertificate() 154 new CertificateParametersFilter(mKeyStore, keyTypes, issuers)); in chooseCertificate() 221 private final KeyStore mKeyStore; field in KeyChainActivity.CertificateParametersFilter 227 mKeyStore = keyStore; in CertificateParametersFilter() 242 X509Certificate cert = loadCertificate(mKeyStore, alias); in shouldPresentCertificate() 248 List<X509Certificate> certChain = new ArrayList(loadCertificateChain(mKeyStore, alias)); in shouldPresentCertificate() 295 private final KeyStore mKeyStore; field in KeyChainActivity.AliasLoader 302 mKeyStore = keyStore; in AliasLoader() 309 String[] aliasArray = mKeyStore.list(Credentials.USER_PRIVATE_KEY); in doInBackground() [all …]
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | KeyChainServiceTestSupport.java | 33 private final KeyStore mKeyStore = KeyStore.getInstance(); field in KeyChainServiceTestSupport 39 for (String key : mKeyStore.list("")) { 40 if (!mKeyStore.delete(key, KeyStore.UID_SELF)) { 48 return mKeyStore.onUserPasswordChanged(password); 52 return mKeyStore.put(key, value, KeyStore.UID_SELF, KeyStore.FLAG_NONE); 56 return mKeyStore.importKey(key, value, KeyStore.UID_SELF, KeyStore.FLAG_NONE);
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/ |
D | CredentialStoragePreferenceController.java | 31 private final KeyStore mKeyStore; field in CredentialStoragePreferenceController 35 mKeyStore = KeyStore.getInstance(); in CredentialStoragePreferenceController() 45 preference.setSummary(mKeyStore.isHardwareBacked() in updateState()
|
D | ResetCredentialsPreferenceController.java | 35 private final KeyStore mKeyStore; field in ResetCredentialsPreferenceController 41 mKeyStore = KeyStore.getInstance(); in ResetCredentialsPreferenceController() 61 mPreference.setEnabled(!mKeyStore.isEmpty()); in onResume()
|
D | CredentialStorage.java | 65 private final KeyStore mKeyStore = KeyStore.getInstance(); field in CredentialStorage
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | ResetCredentialsPreferenceController.java | 35 private final KeyStore mKeyStore; field in ResetCredentialsPreferenceController 41 mKeyStore = KeyStore.getInstance(); in ResetCredentialsPreferenceController() 61 mPreference.setEnabled(!mKeyStore.isEmpty()); in onResume()
|
D | CredentialStorage.java | 66 private final KeyStore mKeyStore = KeyStore.getInstance(); field in CredentialStorage
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigControllerTest.java | 69 private KeyStore mKeyStore; field in WifiConfigControllerTest 258 when(mKeyStore.list(anyString())) in loadCertificates_keyStoreListFail_shouldNotCrash() 272 when(mKeyStore.list(anyString())).thenReturn(WifiConfigController.UNDESIRED_CERTIFICATES); in loadCertificates_undesiredCertificates_shouldNotLoadUndesiredCertificates() 406 KeyStore getKeyStore() { return mKeyStore; } in getKeyStore()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 100 private final KeyStore mKeyStore = KeyStore.getInstance(); field in VpnSettings 227 final List<VpnProfile> vpnProfiles = loadVpnProfiles(mKeyStore); in handleMessage()
|
D | ConfigDialog.java | 61 private final KeyStore mKeyStore = KeyStore.getInstance(); field in ConfigDialog 517 String[] certificates = mKeyStore.list(prefix); in loadCertificates()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | VpnSettings.java | 99 private final KeyStore mKeyStore = KeyStore.getInstance(); field in VpnSettings 228 final List<VpnProfile> vpnProfiles = loadVpnProfiles(mKeyStore); in handleMessage()
|
D | ConfigDialog.java | 55 private final KeyStore mKeyStore = KeyStore.getInstance(); field in ConfigDialog 449 String[] certificates = mKeyStore.list(prefix); in loadCertificates()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialStorageActivity.java | 63 private final KeyStore mKeyStore = KeyStore.getInstance(); field in CredentialStorageActivity
|