/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreRSAPublicKey.java | 40 @NonNull KeyStoreSecurityLevel securityLevel, @NonNull BigInteger modulus, in AndroidKeyStoreRSAPublicKey() argument 43 securityLevel); in AndroidKeyStoreRSAPublicKey() 50 @NonNull KeyStoreSecurityLevel securityLevel, @NonNull RSAPublicKey info) { in AndroidKeyStoreRSAPublicKey() argument 51 this(descriptor, metadata, info.getEncoded(), securityLevel, info.getModulus(), in AndroidKeyStoreRSAPublicKey()
|
D | AndroidKeyStoreSecretKeyFactorySpi.java | 72 @KeyProperties.SecurityLevelEnum int securityLevel = in getKeyInfo() local 102 KeyStore2ParameterUtils.isSecureHardware(a.securityLevel); in getKeyInfo() 103 securityLevel = a.securityLevel; in getKeyInfo() 151 if (KeyStore2ParameterUtils.isSecureHardware(a.securityLevel)) { in getKeyInfo() 190 KeyStore2ParameterUtils.isSecureHardware(a.securityLevel); in getKeyInfo() 194 KeyStore2ParameterUtils.isSecureHardware(a.securityLevel); in getKeyInfo() 198 KeyStore2ParameterUtils.isSecureHardware(a.securityLevel); in getKeyInfo() 265 securityLevel, in getKeyInfo()
|
D | AndroidKeyStoreECPublicKey.java | 44 @NonNull KeyStoreSecurityLevel securityLevel, in AndroidKeyStoreECPublicKey() argument 46 super(descriptor, metadata, x509EncodedForm, KeyProperties.KEY_ALGORITHM_EC, securityLevel); in AndroidKeyStoreECPublicKey() 53 @NonNull KeyStoreSecurityLevel securityLevel, @NonNull ECPublicKey info) { in AndroidKeyStoreECPublicKey() argument 54 this(descriptor, metadata, info.getEncoded(), securityLevel, info.getParams(), info.getW()); in AndroidKeyStoreECPublicKey()
|
D | AndroidKeyStorePrivateKey.java | 35 @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePrivateKey() argument 36 super(descriptor, keyId, authorizations, algorithm, securityLevel); in AndroidKeyStorePrivateKey()
|
D | AndroidKeyStoreSecretKey.java | 35 @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStoreSecretKey() argument 36 super(descriptor, metadata.key.nspace, metadata.authorizations, algorithm, securityLevel); in AndroidKeyStoreSecretKey()
|
D | AndroidKeyStoreEdECPrivateKey.java | 38 @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStoreEdECPrivateKey() argument 39 super(descriptor, keyId, authorizations, algorithm, securityLevel); in AndroidKeyStoreEdECPrivateKey()
|
D | AndroidKeyStoreRSAPrivateKey.java | 42 @NonNull KeyStoreSecurityLevel securityLevel, @NonNull BigInteger modulus) { in AndroidKeyStoreRSAPrivateKey() argument 43 super(descriptor, keyId, authorizations, KeyProperties.KEY_ALGORITHM_RSA, securityLevel); in AndroidKeyStoreRSAPrivateKey()
|
D | AndroidKeyStoreXDHPrivateKey.java | 41 @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStoreXDHPrivateKey() argument 42 super(descriptor, keyId, authorizations, algorithm, securityLevel); in AndroidKeyStoreXDHPrivateKey()
|
D | AndroidKeyStoreECPrivateKey.java | 40 @NonNull KeyStoreSecurityLevel securityLevel, in AndroidKeyStoreECPrivateKey() argument 42 super(descriptor, keyId, authorizations, KeyProperties.KEY_ALGORITHM_EC, securityLevel); in AndroidKeyStoreECPrivateKey()
|
D | AndroidKeyStorePublicKey.java | 40 @NonNull String algorithm, @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStorePublicKey() argument 41 super(descriptor, metadata.key.nspace, metadata.authorizations, algorithm, securityLevel); in AndroidKeyStorePublicKey()
|
D | AndroidKeyStoreKey.java | 59 @NonNull KeyStoreSecurityLevel securityLevel) { in AndroidKeyStoreKey() argument 64 mSecurityLevel = securityLevel; in AndroidKeyStoreKey()
|
D | KeyStore2ParameterUtils.java | 97 kp.value = KeyParameterValue.securityLevel(v); in makeEnum() 197 static boolean isSecureHardware(@SecurityLevel int securityLevel) { in isSecureHardware() argument 198 return securityLevel == SecurityLevel.TRUSTED_ENVIRONMENT in isSecureHardware() 199 || securityLevel == SecurityLevel.STRONGBOX; in isSecureHardware()
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 380 @SecurityLevel int securityLevel = SecurityLevel.TRUSTED_ENVIRONMENT; in engineGenerateKey() local 382 securityLevel = SecurityLevel.STRONGBOX; in engineGenerateKey() 401 iSecurityLevel = mKeyStore.getSecurityLevel(securityLevel); in engineGenerateKey()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmHal.cpp | 43 DrmPlugin::SecurityLevel securityLevel, bool* result) { in isCryptoSchemeSupported() argument 45 mDrmHalAidl->isCryptoSchemeSupported(uuid, mimeType, securityLevel, result); in isCryptoSchemeSupported() 47 return mDrmHalHidl->isCryptoSchemeSupported(uuid, mimeType, securityLevel, result); in isCryptoSchemeSupported() 63 DrmStatus DrmHal::openSession(DrmPlugin::SecurityLevel securityLevel, Vector<uint8_t>& sessionId) { in openSession() argument 64 if (mDrmHalAidl->initCheck() == OK) return mDrmHalAidl->openSession(securityLevel, sessionId); in openSession() 65 return mDrmHalHidl->openSession(securityLevel, sessionId); in openSession() 273 DrmStatus DrmHal::requiresSecureDecoder(const char* mime, DrmPlugin::SecurityLevel securityLevel, in requiresSecureDecoder() argument 276 return mDrmHalAidl->requiresSecureDecoder(mime, securityLevel, required); in requiresSecureDecoder() 277 return mDrmHalHidl->requiresSecureDecoder(mime, securityLevel, required); in requiresSecureDecoder()
|
D | DrmMetricsLogger.cpp | 99 int DrmPluginSecurityLevelToJavaSecurityLevel(DrmPlugin::SecurityLevel securityLevel) { in DrmPluginSecurityLevelToJavaSecurityLevel() argument 104 switch (securityLevel) { in DrmPluginSecurityLevelToJavaSecurityLevel() 114 return static_cast<int>(securityLevel); in DrmPluginSecurityLevelToJavaSecurityLevel() 128 DrmPlugin::SecurityLevel securityLevel, in isCryptoSchemeSupported() argument 130 DrmStatus status = mImpl->isCryptoSchemeSupported(uuid, mimeType, securityLevel, result); in isCryptoSchemeSupported() 171 DrmStatus DrmMetricsLogger::openSession(DrmPlugin::SecurityLevel securityLevel, in openSession() argument 177 DrmStatus status = mImpl->openSession(securityLevel, sessionId); in openSession() 180 ctx.mTargetSecurityLevel = securityLevel; in openSession() 509 DrmPlugin::SecurityLevel securityLevel, in requiresSecureDecoder() argument 511 DrmStatus status = mImpl->requiresSecureDecoder(mime, securityLevel, required); in requiresSecureDecoder()
|
/frameworks/av/drm/libmediadrm/fuzzer/ |
D | mediadrm_fuzzer.cpp | 166 DrmPlugin::SecurityLevel securityLevel; in invokeDrmOpenSession() local 169 securityLevel = in invokeDrmOpenSession() 172 securityLevel = kSecurityLevel[mFuzzedDataProvider->ConsumeIntegralInRange<size_t>( in invokeDrmOpenSession() 175 mDrm->openSession(securityLevel, mSessionId); in invokeDrmOpenSession() 210 DrmPlugin::SecurityLevel securityLevel; in invokeDrmDecryptEncryptAPI() local 211 mDrm->getSecurityLevel(mSessionId, &securityLevel); in invokeDrmDecryptEncryptAPI() 217 mDrm->isCryptoSchemeSupported(kClearKeyUUID, mimeType, securityLevel, &isSupported); in invokeDrmDecryptEncryptAPI()
|
D | README.md | 12 1. Security Level (parameter name: `securityLevel`) 19 | `securityLevel` | 0.`DrmPlugin::kSecurityLevelUnknown` 1.`DrmPlugin::kSecurityLevelMax` 2.`DrmPlu…
|
/frameworks/base/keystore/java/android/security/ |
D | KeyStoreSecurityLevel.java | 49 public KeyStoreSecurityLevel(IKeystoreSecurityLevel securityLevel) { in KeyStoreSecurityLevel() argument 50 Binder.allowBlocking(securityLevel.asBinder()); in KeyStoreSecurityLevel() 51 this.mSecurityLevel = securityLevel; in KeyStoreSecurityLevel()
|
D | KeyStore2.java | 297 public KeyStoreSecurityLevel getSecurityLevel(int securityLevel) in getSecurityLevel() argument 301 service.getSecurityLevel(securityLevel) in getSecurityLevel()
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmHal.h | 30 DrmPlugin::SecurityLevel securityLevel, bool* result); 34 virtual DrmStatus openSession(DrmPlugin::SecurityLevel securityLevel, 114 DrmPlugin::SecurityLevel securityLevel,
|
D | IDrm.h | 56 DrmPlugin::SecurityLevel securityLevel, 64 virtual DrmStatus openSession(DrmPlugin::SecurityLevel securityLevel, 169 DrmPlugin::SecurityLevel securityLevel,
|
D | DrmHalAidl.h | 44 DrmPlugin::SecurityLevel securityLevel, bool* result); 47 virtual DrmStatus openSession(DrmPlugin::SecurityLevel securityLevel, 109 DrmPlugin::SecurityLevel securityLevel,
|
D | DrmMetricsLogger.h | 100 DrmPlugin::SecurityLevel securityLevel, 108 virtual DrmStatus openSession(DrmPlugin::SecurityLevel securityLevel, 194 DrmPlugin::SecurityLevel securityLevel,
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProperties.java | 890 public static int toKeymaster(int securityLevel) { in toKeymaster() argument 891 switch (securityLevel) { in toKeymaster() 900 + securityLevel); in toKeymaster() 908 public static int fromKeymaster(int securityLevel) { in fromKeymaster() argument 909 switch (securityLevel) { in fromKeymaster() 918 + securityLevel); in fromKeymaster()
|
D | KeyInfo.java | 116 @KeyProperties.SecurityLevelEnum int securityLevel, in KeyInfo() argument 142 mSecurityLevel = securityLevel; in KeyInfo()
|