/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | DrmFactory.cpp | 38 using ::android::hardware::drm::V1_1::SecurityLevel; 50 SecurityLevel level) { in isCryptoSchemeSupported_1_2() 52 level == SecurityLevel::SW_SECURE_CRYPTO; in isCryptoSchemeSupported_1_2()
|
D | DrmPlugin.cpp | 130 Status status = setSecurityLevel(sessionId, SecurityLevel::SW_SECURE_CRYPTO); in openSession() 136 Return<void> DrmPlugin::openSession_1_1(SecurityLevel securityLevel, in openSession_1_1() 616 _hidl_cb(Status::BAD_VALUE, SecurityLevel::UNKNOWN); in getSecurityLevel() 623 _hidl_cb(Status::ERROR_DRM_SESSION_NOT_OPENED, SecurityLevel::UNKNOWN); in getSecurityLevel() 627 std::map<std::vector<uint8_t>, SecurityLevel>::iterator itr = in getSecurityLevel() 631 _hidl_cb(Status::ERROR_DRM_INVALID_STATE, SecurityLevel::UNKNOWN); in getSecurityLevel() 655 const hidl_string& mime, SecurityLevel level) { in requiresSecureDecoder() 682 SecurityLevel level) { in setSecurityLevel() 688 if (level > SecurityLevel::SW_SECURE_CRYPTO) { in setSecurityLevel() 699 std::map<std::vector<uint8_t>, SecurityLevel>::iterator itr = in setSecurityLevel() [all …]
|
/frameworks/av/drm/libmediadrm/include/mediadrm/ |
D | DrmHal.h | 44 using drm::V1_1::SecurityLevel; 75 DrmPlugin::SecurityLevel level, 83 virtual status_t openSession(DrmPlugin::SecurityLevel level, 130 DrmPlugin::SecurityLevel *level) const; 184 virtual status_t requiresSecureDecoder(const char *mime, DrmPlugin::SecurityLevel securityLevel, 251 DrmPlugin::SecurityLevel level,
|
D | IDrm.h | 47 DrmPlugin::SecurityLevel securityLevel, 55 virtual status_t openSession(DrmPlugin::SecurityLevel securityLevel, 103 DrmPlugin::SecurityLevel *level) const = 0; 159 virtual status_t requiresSecureDecoder(const char *mime, DrmPlugin::SecurityLevel securityLevel,
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | DrmFactory.h | 31 using ::android::hardware::drm::V1_1::SecurityLevel; 46 SecurityLevel level) override;
|
D | DrmPlugin.h | 52 using drm::V1_1::SecurityLevel; 78 Return<void> openSession_1_1(SecurityLevel securityLevel, 213 const hidl_string& mime, SecurityLevel level) override; 395 SecurityLevel level); 417 std::map<std::vector<uint8_t>, SecurityLevel> mSecurityLevel;
|
D | ClearKeyTypes.h | 31 using ::android::hardware::drm::V1_1::SecurityLevel;
|
/frameworks/av/drm/libmediadrm/ |
D | DrmHal.cpp | 53 using drm::V1_1::SecurityLevel; 122 static DrmPlugin::SecurityLevel toSecurityLevel(SecurityLevel level) { in toSecurityLevel() 124 case SecurityLevel::SW_SECURE_CRYPTO: in toSecurityLevel() 126 case SecurityLevel::SW_SECURE_DECODE: in toSecurityLevel() 128 case SecurityLevel::HW_SECURE_CRYPTO: in toSecurityLevel() 130 case SecurityLevel::HW_SECURE_DECODE: in toSecurityLevel() 132 case SecurityLevel::HW_SECURE_ALL: in toSecurityLevel() 139 static SecurityLevel toHidlSecurityLevel(DrmPlugin::SecurityLevel level) { in toHidlSecurityLevel() 142 return SecurityLevel::SW_SECURE_CRYPTO; in toHidlSecurityLevel() 144 return SecurityLevel::SW_SECURE_DECODE; in toHidlSecurityLevel() [all …]
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | KeyStore2ParameterUtils.java | 23 import android.hardware.security.keymint.SecurityLevel; 196 static boolean isSecureHardware(@SecurityLevel int securityLevel) { in isSecureHardware() 197 return securityLevel == SecurityLevel.TRUSTED_ENVIRONMENT in isSecureHardware() 198 || securityLevel == SecurityLevel.STRONGBOX; in isSecureHardware()
|
D | AndroidKeyStoreKeyGeneratorSpi.java | 20 import android.hardware.security.keymint.SecurityLevel; 378 @SecurityLevel int securityLevel = SecurityLevel.TRUSTED_ENVIRONMENT; in engineGenerateKey() 380 securityLevel = SecurityLevel.STRONGBOX; in engineGenerateKey()
|
D | AndroidKeyStoreSpi.java | 23 import android.hardware.security.keymint.SecurityLevel; 331 @SecurityLevel int securitylevel = SecurityLevel.TRUSTED_ENVIRONMENT; in setPrivateKeyEntry() 352 securitylevel = SecurityLevel.STRONGBOX; in setPrivateKeyEntry() 604 @SecurityLevel int securityLevel = params.isStrongBoxBacked() ? SecurityLevel.STRONGBOX : in setSecretKeyEntry() 605 SecurityLevel.TRUSTED_ENVIRONMENT; in setSecretKeyEntry()
|
D | AndroidKeyStoreKeyPairGeneratorSpi.java | 26 import android.hardware.security.keymint.SecurityLevel; 360 boolean attestKeyInStrongBox = key.metadata.keySecurityLevel == SecurityLevel.STRONGBOX; in checkAttestKeySecurityLevel() 560 final @SecurityLevel int securityLevel = in generateKeyPairHelper() 562 ? SecurityLevel.STRONGBOX in generateKeyPairHelper() 563 : SecurityLevel.TRUSTED_ENVIRONMENT; in generateKeyPairHelper()
|
/frameworks/base/core/java/android/security/keymaster/ |
D | KeymasterDefs.java | 28 import android.hardware.security.keymint.SecurityLevel; 199 public static final int KM_SECURITY_LEVEL_SOFTWARE = SecurityLevel.SOFTWARE; 201 SecurityLevel.TRUSTED_ENVIRONMENT; 202 public static final int KM_SECURITY_LEVEL_STRONGBOX = SecurityLevel.STRONGBOX;
|
/frameworks/av/drm/libmediadrm/fuzzer/ |
D | mediadrm_fuzzer.cpp | 54 const DrmPlugin::SecurityLevel kSecurityLevel[] = { 162 DrmPlugin::SecurityLevel securityLevel; in invokeDrmOpenSession() 166 static_cast<DrmPlugin::SecurityLevel>(mFuzzedDataProvider->ConsumeIntegral<size_t>()); in invokeDrmOpenSession() 206 DrmPlugin::SecurityLevel securityLevel; in invokeDrmDecryptEncryptAPI()
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | DrmPlugin.h | 152 SecurityLevel *level) const { in getSecurityLevel() 159 const SecurityLevel& level) { in setSecurityLevel()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.h | 92 DrmPlugin::SecurityLevel level,
|
D | android_media_MediaDrm.cpp | 584 DrmPlugin::SecurityLevel securityLevel, bool *isSupported) { in IsCryptoSchemeSupported() 984 DrmPlugin::SecurityLevel jintToSecurityLevel(jint jlevel) { in jintToSecurityLevel() 985 DrmPlugin::SecurityLevel level; in jintToSecurityLevel() 1048 DrmPlugin::SecurityLevel securityLevel = jintToSecurityLevel(jSecurityLevel); in android_media_MediaDrm_isCryptoSchemeSupportedNative() 1069 DrmPlugin::SecurityLevel level = jintToSecurityLevel(jlevel); in android_media_MediaDrm_openSession() 1574 DrmPlugin::SecurityLevel level = DrmPlugin::kSecurityLevelUnknown; in android_media_MediaDrm_getSecurityLevel() 1999 DrmPlugin::SecurityLevel securityLevel = jintToSecurityLevel(jSecurityLevel); in android_media_MediaDrm_requiresSecureDecoder()
|
/frameworks/base/media/java/android/media/ |
D | MediaDrm.java | 214 @NonNull UUID uuid, @NonNull String mimeType, @SecurityLevel int securityLevel) { in isCryptoSchemeSupported() 265 @NonNull byte[] uuid, @Nullable String mimeType, @SecurityLevel int securityLevel); in isCryptoSchemeSupportedNative() 1380 public byte[] openSession(@SecurityLevel int level) throws 2047 public @interface SecurityLevel {} 2110 @SecurityLevel 2523 public native boolean requiresSecureDecoder(@NonNull String mime, @SecurityLevel int level);
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProperties.java | 855 public abstract static class SecurityLevel { class in KeyProperties 856 private SecurityLevel() {} in SecurityLevel() method in KeyProperties.SecurityLevel
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 152 enum SecurityLevel { enum
|
/frameworks/base/core/api/ |
D | current.txt | 22168 method @android.media.MediaDrm.SecurityLevel public int getSecurityLevel(@NonNull byte[]); 22172 …hemeSupported(@NonNull java.util.UUID, @NonNull String, @android.media.MediaDrm.SecurityLevel int); 22174 …method @NonNull public byte[] openSession(@android.media.MediaDrm.SecurityLevel int) throws androi… 22186 …d public boolean requiresSecureDecoder(@NonNull String, @android.media.MediaDrm.SecurityLevel int); 22376 …tion(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface MediaDrm.SecurityLevel {
|