/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
D | IKeyChainServiceTestSupport.aidl | 34 void revokeAppPermission(int uid, String alias); in revokeAppPermission() 35 void grantAppPermission(int uid, String alias); in grantAppPermission() 36 …oolean installKeyPair(in byte[] privateKey, in byte[] userCert, in byte[] certChain, String alias); in installKeyPair() 37 boolean removeKeyPair(String alias); in removeKeyPair() 38 void setUserSelectable(String alias, boolean isUserSelectable); in setUserSelectable() 40 boolean setKeyPairCertificate(String alias, in byte[] userCert, in byte[] certChain); in setKeyPairCertificate()
|
/packages/apps/KeyChain/src/com/android/keychain/internal/ |
D | GrantsDatabase.java | 126 private void markKeyAsSelectable(final SQLiteDatabase db, final String alias) { in markKeyAsSelectable() 133 private boolean hasEntryInUserSelectableTable(final SQLiteDatabase db, final String alias) { in hasEntryInUserSelectableTable() 167 boolean hasGrantInternal(final SQLiteDatabase db, final int uid, final String alias) { in hasGrantInternal() 176 public boolean hasGrant(final int uid, final String alias) { in hasGrant() 181 public void setGrant(final int uid, final String alias, final boolean value) { in setGrant() 198 public int[] getGrants(String alias) { in getGrants() 205 new String[] {alias}, in getGrants() 217 public void removeAliasInformation(String alias) { in removeAliasInformation() 255 public void setIsUserSelectable(final String alias, final boolean userSelectable) { in setIsUserSelectable() 264 public boolean isUserSelectable(final String alias) { in isUserSelectable() [all …]
|
D | KeyInfoProvider.java | 13 public boolean isUserSelectable(String alias); in isUserSelectable()
|
/packages/apps/KeyChain/robotests/src/com/android/keychain/ |
D | ShadowTrustedCertificateStore.java | 48 public Certificate getCertificate(String alias) { in getCertificate() 53 public void deleteCertificateEntry(String alias) throws IOException, CertificateException { in deleteCertificateEntry()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 263 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in chooseCertificate() local 368 public boolean shouldPresentCertificate(String alias) { in shouldPresentCertificate() 440 final String alias = aliases.nextElement(); in doInBackground() local 473 String alias = getIntent().getStringExtra(KeyChain.EXTRA_ALIAS); in displayCertChooserDialog() local 603 String alias = mAliases.get(adapterPosition); in getView() local 636 String alias = mAliases.get(mAdapterPosition); in doInBackground() local 659 private void finish(String alias) { in finish() 663 private void finishWithAliasFromPolicy(String alias) { in finishWithAliasFromPolicy() 667 private void finish(String alias, boolean isAliasFromPolicy) { in finish() 691 private ResponseSender(IKeyChainAliasCallback keyChainAliasResponse, String alias, in ResponseSender() [all …]
|
D | KeyChainService.java | 190 final String alias = aliases.nextElement(); in getExistingKeyAliases() local 206 private KeyDescriptor makeKeyDescriptor(String alias) { in makeKeyDescriptor() 1014 private void broadcastPermissionChange(int uid, String alias, boolean access) { in broadcastPermissionChange()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiKeyStore.java | 103 String existingAlias, String alias) { in installKeys() 169 public boolean putCaCertInKeyStore(String alias, Certificate cert) { in putCaCertInKeyStore() 187 public boolean putUserPrivKeyAndCertsInKeyStore(String alias, Key key, Certificate[] certs) { in putUserPrivKeyAndCertsInKeyStore() 203 public boolean removeEntryFromKeyStore(String alias) { in removeEntryFromKeyStore() 442 public boolean validateKeyChainAlias(String alias, int uid) { in validateKeyChainAlias()
|
D | MacAddressUtil.java | 88 private Mac obtainMacRandHashFunctionInternal(int uid, String alias) { in obtainMacRandHashFunctionInternal() 133 private SecretKey generateAndPersistNewMacRandomizationSecret(int uid, String alias) { in generateAndPersistNewMacRandomizationSecret()
|
D | FrameworkFacade.java | 348 public boolean hasWifiKeyGrantAsUser(Context context, UserHandle user, String alias) { in hasWifiKeyGrantAsUser() 355 public String getWifiKeyGrantAsUser(Context context, UserHandle user, String alias) { in getWifiKeyGrantAsUser()
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainTestActivity.java | 228 String alias; in chooseClientAlias() local 246 @Override public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() 274 @Override public PrivateKey getPrivateKey(String alias) { in getPrivateKey() 291 @Override public void alias(String alias) { in alias() argument
|
D | BasicKeyChainServiceTest.java | 346 void generateRsaKey(String alias) throws RemoteException { in generateRsaKey() 353 void removeKeyPair(String alias) throws RemoteException { in removeKeyPair() 461 private KeyGenParameterSpec buildRsaKeySpec(String alias) { in buildRsaKeySpec()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialStorageActivity.java | 193 String alias = installBundle.getString(Credentials.EXTRA_USER_KEY_ALIAS, null); in installIfAvailable() local 277 InstallKeyInKeyChain(String alias, byte[] keyData, byte[] certData, byte[] caListData, in InstallKeyInKeyChain() 311 private void onKeyInstalled(String alias, int uid, boolean result) { in onKeyInstalled() 339 MarkKeyAsUserSelectable(CredentialStorageActivity credentialStorage, String alias) { in MarkKeyAsUserSelectable()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/ |
D | UserCredentialsTest.java | 39 final String alias = "credential-test-alias"; in testCredentialIsParcelable() local
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | CredentialStorage.java | 148 String alias = bundle.getString(Credentials.EXTRA_USER_KEY_ALIAS, null); in installIfAvailable() local 262 InstallKeyInKeyChain(String alias, byte[] keyData, byte[] certData, byte[] caListData, in InstallKeyInKeyChain() 303 private void onKeyInstalled(String alias, int uid, boolean result) { in onKeyInstalled()
|
/packages/apps/Settings/src/com/android/settings/ |
D | UserCredentialsSettings.java | 103 protected void announceRemoval(String alias) { in announceRemoval() 303 String alias = aliases.nextElement(); in getCredentialsForUid() local 457 public String alias; field in UserCredentialsSettings.AliasEntry 478 final String alias; field in UserCredentialsSettings.Credential 496 Credential(final String alias, final int uid) { in Credential()
|
/packages/apps/Settings/src/com/android/settings/utils/ |
D | AndroidKeystoreAliasLoader.java | 78 final String alias = aliases.nextElement(); in AndroidKeystoreAliasLoader() local
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
D | CredentialHelper.java | 351 String alias = trustedCertificateStore.getCertificateAlias(caCert); in installVpnAndAppsTrustAnchors() local 363 private void maybeApproveCaCert(Context context, String alias) { in maybeApproveCaCert() 404 String alias = aliases.nextElement(); in extractPkcs12Internal() local
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 143 final String alias = "alias"; in testSetGetClientKeyPairAlias() local 174 final String alias = "single_alias 0"; in testSaveSingleCaCertificateAlias() local 176 assertEquals(getCaCertField(), CA_CERT_PREFIX + alias); in testSaveSingleCaCertificateAlias() local 181 final String alias = "single_alias 1"; in testLoadSingleCaCertificateAlias() local
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 669 public static String encodeCaCertificateAlias(String alias) { in encodeCaCertificateAlias() 682 public static String decodeCaCertificateAlias(String alias) { in decodeCaCertificateAlias() 705 public void setCaCertificateAlias(String alias) { in setCaCertificateAlias() 921 public void setClientCertificateAlias(@NonNull String alias) { in setClientCertificateAlias() 1030 public void setClientKeyPairAlias(@NonNull String alias) { in setClientKeyPairAlias()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/ |
D | IkeCertPayload.java | 143 String alias = in validateCertificates() local
|
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/ |
D | ServerToSystemTest.java | 77 private static Certificate[] generateKeyStoreKey(String alias) throws Exception { in generateKeyStoreKey()
|
D | SystemInterfaceTest.java | 136 private static Certificate[] generateKeyStoreKey(String alias) throws Exception { in generateKeyStoreKey()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | ConfigParser.java | 466 String alias = ks.aliases().nextElement(); in parsePkcs12() local
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/ |
D | TlsSession.java | 162 String alias = in initTrustManagers() local
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 195 String alias = findAliasFromKeystore(keyStore); in maybeUpdateClientKeyForEAPConfiguration() local
|