/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/ |
D | CredentialStorage.java | 254 final String mAlias; field in CredentialStorage.InstallKeyInKeyChain 262 mAlias = alias; in InstallKeyInKeyChain() 273 .installKeyPair(mKeyData, mCertData, mCaListData, mAlias, mUid); in doInBackground() 275 Log.w(TAG, String.format("Failed to install key %s to uid %d", mAlias, mUid), e); in doInBackground() 278 Log.w(TAG, String.format("Interrupted while installing key %s", mAlias), e); in doInBackground() 287 mAlias, result)); in onPostExecute() 288 CredentialStorage.this.onKeyInstalled(mAlias, mUid, result); in onPostExecute() 316 final String mAlias; field in CredentialStorage.MarkKeyAsUserSelectable 319 mAlias = alias; in MarkKeyAsUserSelectable() 325 keyChainConnection.getService().setUserSelectable(mAlias, true); in doInBackground() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | CredentialStorageActivity.java | 275 final String mAlias; field in CredentialStorageActivity.InstallKeyInKeyChain 283 mAlias = alias; in InstallKeyInKeyChain() 295 .installKeyPair(mKeyData, mCertData, mCaListData, mAlias, mUid); in doInBackground() 297 LOG.w(String.format("Failed to install key %s to uid %d", mAlias, mUid), e); in doInBackground() 300 LOG.w(String.format("Interrupted while installing key %s", mAlias), e); in doInBackground() 309 mAlias, result)); in onPostExecute() 310 CredentialStorageActivity.this.onKeyInstalled(mAlias, mUid, result); in onPostExecute() 340 private final String mAlias; field in CredentialStorageActivity.MarkKeyAsUserSelectable 344 mAlias = alias; in MarkKeyAsUserSelectable() 356 keyChainConnection.getService().setUserSelectable(mAlias, true); in doInBackground() [all …]
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | CredentialStorage.java | 255 final String mAlias; field in CredentialStorage.InstallKeyInKeyChain 263 mAlias = alias; in InstallKeyInKeyChain() 274 if (!service.installKeyPair(mKeyData, mCertData, mCaListData, mAlias, mUid)) { in doInBackground() 275 Log.w(TAG, String.format("Failed installing key %s", mAlias)); in doInBackground() 282 service.setUserSelectable(mAlias, true); in doInBackground() 287 Log.w(TAG, String.format("Failed to install key %s to uid %d", mAlias, mUid), e); in doInBackground() 290 Log.w(TAG, String.format("Interrupted while installing key %s", mAlias), e); in doInBackground() 298 CredentialStorage.this.onKeyInstalled(mAlias, mUid, result); in onPostExecute()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | TrustedCredentialsSettings.java | 802 if (cert != null && !dpm.isCaCertApproved(cert.mAlias, mTrustAllCaUserId)) { in showTrustAllCaDialogIfNeeded() 830 private final String mAlias; field in TrustedCredentialsSettings.CertHolder 848 mAlias = alias; in CertHolder() 877 mDeleted = mTab.deleted(mService, mAlias); in CertHolder() 879 Log.e(TAG, "Remote exception while checking if alias " + mAlias + " is deleted.", in CertHolder() 896 return mAlias.equals(other.mAlias); in equals() 899 return mAlias.hashCode(); in hashCode() 907 return mAlias; in getAlias() 954 List<String> chain = service.getCaCertificateChainAliases(certHolder.mAlias, true); in getX509CertsFromCertHolder() 965 + certHolder.mAlias, ex); in getX509CertsFromCertHolder() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | TrustedCredentialsSettings.java | 802 if (cert != null && !dpm.isCaCertApproved(cert.mAlias, mTrustAllCaUserId)) { in showTrustAllCaDialogIfNeeded() 830 private final String mAlias; field in TrustedCredentialsSettings.CertHolder 848 mAlias = alias; in CertHolder() 877 mDeleted = mTab.deleted(mService, mAlias); in CertHolder() 879 Log.e(TAG, "Remote exception while checking if alias " + mAlias + " is deleted.", in CertHolder() 896 return mAlias.equals(other.mAlias); in equals() 899 return mAlias.hashCode(); in hashCode() 907 return mAlias; in getAlias() 954 List<String> chain = service.getCaCertificateChainAliases(certHolder.mAlias, true); in getX509CertsFromCertHolder() 965 + certHolder.mAlias, ex); in getX509CertsFromCertHolder() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | RemoteDevices.java | 213 private String mAlias; field in RemoteDevices.DeviceProperties 292 return mAlias; in getAlias() 299 void setAlias(BluetoothDevice device, String mAlias) { in setAlias() argument 301 this.mAlias = mAlias; in setAlias() 303 AbstractionLayer.BT_PROPERTY_REMOTE_FRIENDLY_NAME, mAlias.getBytes()); in setAlias() 306 intent.putExtra(BluetoothDevice.EXTRA_NAME, mAlias); in setAlias() 324 mAlias = null; in setBondState() 530 device.mAlias = new String(val); in devicePropertyChangedCallback() 531 debugLog("Remote device alias is: " + device.mAlias); in devicePropertyChangedCallback()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainActivity.java | 559 private String mAlias; field in KeyChainActivity.ResponseSender 565 mAlias = alias; in ResponseSender() 570 if (mAlias != null) { in doInBackground() 578 if (!mFromPolicy && (!connection.getService().isUserSelectable(mAlias))) { in doInBackground() 579 Log.w(TAG, String.format("Alias %s not user-selectable.", mAlias)); in doInBackground() 583 connection.getService().setGrant(mSenderUid, mAlias, true); in doInBackground() 588 mKeyChainAliasResponse.alias(mAlias); in doInBackground()
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
D | KeyChainTestActivity.java | 64 private String mAlias; field in KeyChainTestActivity 230 while (mAlias == null) { in chooseClientAlias() 236 alias = mAlias; in chooseClientAlias() 301 mAlias = alias; in alias()
|