/packages/apps/Settings/src/com/android/settings/vpn2/ |
VpnUtils.java | 43 KeyStore.UID_SELF, /* flags */ 0);
|
ConfigDialogFragment.java | 111 KeyStore.UID_SELF, /* flags */ 0); 132 keyStore.delete(Credentials.VPN + profile.key, KeyStore.UID_SELF);
|
/frameworks/base/keystore/tests/src/android/security/ |
KeyStoreTest.java | 157 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, 164 assertFalse(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, 168 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, 196 assertFalse(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, 200 assertTrue(mKeyStore.put(TEST_I18N_KEY, TEST_I18N_VALUE, KeyStore.UID_SELF, 210 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, 247 assertTrue(mKeyStore.put(TEST_KEYNAME, TEST_KEYVALUE, KeyStore.UID_SELF, 280 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); 281 mKeyStore.put(TEST_KEYNAME2, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); 294 mKeyStore.put(TEST_KEYNAME1, TEST_KEYVALUE, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED) [all...] |
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
KeyChainServiceTestSupport.java | 44 return mKeyStore.put(key, value, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED); 48 return mKeyStore.importKey(key, value, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED);
|
/frameworks/base/keystore/tests/src/android/security/keystore/ |
AndroidKeyStoreTest.java | [all...] |
AndroidKeyPairGeneratorTest.java | 387 KeyStore.UID_SELF,
|
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 77 public static final int UID_SELF = -1; 168 return get(key, UID_SELF); 195 return delete(key, UID_SELF); 208 return contains(key, UID_SELF); 224 return list(prefix, UID_SELF); 371 return getmtime(key, UID_SELF); 431 return generateKey(alias, args, entropy, UID_SELF, flags, outCharacteristics); 446 return getKeyCharacteristics(alias, clientId, appId, UID_SELF, outCharacteristics); 462 return importKey(alias, args, format, keyData, UID_SELF, flags, outCharacteristics); 476 return exportKey(alias, format, clientId, appId, UID_SELF); [all...] |
Credentials.java | 225 return deleteAllTypesForAlias(keystore, alias, KeyStore.UID_SELF); 249 return deleteCertificateTypesForAlias(keystore, alias, KeyStore.UID_SELF); 271 return deletePrivateKeyTypeForAlias(keystore, alias, KeyStore.UID_SELF); 287 return deleteSecretKeyTypeForAlias(keystore, alias, KeyStore.UID_SELF);
|
KeyChain.java | 379 KeyStore.getInstance(), keyId, KeyStore.UID_SELF);
|
/system/security/keystore/ |
key_store_service.h | 123 static const int32_t UID_SELF = -1; 140 bool checkBinderPermission(perm_t permission, int32_t targetUid = UID_SELF);
|
key_store_service.cpp | 409 exportKey(name, KM_KEY_FORMAT_X509, NULL, NULL, UID_SELF, &result); [all...] |
/packages/apps/Settings/src/com/android/settings/ |
CredentialStorage.java | 237 final int uid = bundle.getInt(Credentials.EXTRA_INSTALL_AS_UID, KeyStore.UID_SELF); 239 if (uid != KeyStore.UID_SELF && !UserHandle.isSameUser(uid, Process.myUid())) {
|
/packages/apps/Settings/tests/app/src/com/android/settings/vpn2/ |
CertInstallerHelper.java | 63 private final int mUid = KeyStore.UID_SELF;
|
/packages/apps/CertInstaller/src/com/android/certinstaller/ |
CertInstaller.java | 307 if (!mKeyStore.put(PKEY_MAP_KEY, bytes, KeyStore.UID_SELF, KeyStore.FLAG_ENCRYPTED)) { 410 mCredentials.setInstallAsUid(KeyStore.UID_SELF);
|
CredentialHelper.java | 431 if (getInstallAsUid() != android.security.KeyStore.UID_SELF) { 432 // VPN and Apps trust anchors can only be installed under UID_SELF
|
/frameworks/base/keystore/java/android/security/keystore/ |
KeyGenParameterSpec.java | 634 private int mUid = KeyStore.UID_SELF; [all...] |
AndroidKeyStoreSpi.java | 87 private int mUid = KeyStore.UID_SELF; [all...] |
AndroidKeyStoreKeyPairGeneratorSpi.java | 367 mEntryUid = KeyStore.UID_SELF; [all...] |