Home
last modified time | relevance | path

Searched refs:SecurityLevel (Results 1 – 17 of 17) sorted by relevance

/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
DDrmFactory.cpp37 using ::android::hardware::drm::V1_1::SecurityLevel;
47 SecurityLevel level) { in isCryptoSchemeSupported_1_2()
49 level == SecurityLevel::SW_SECURE_CRYPTO; in isCryptoSchemeSupported_1_2()
DDrmPlugin.cpp127 Status status = setSecurityLevel(sessionId, SecurityLevel::SW_SECURE_CRYPTO); in openSession()
133 Return<void> DrmPlugin::openSession_1_1(SecurityLevel securityLevel, in openSession_1_1()
595 _hidl_cb(Status::BAD_VALUE, SecurityLevel::UNKNOWN); in getSecurityLevel()
602 _hidl_cb(Status::ERROR_DRM_SESSION_NOT_OPENED, SecurityLevel::UNKNOWN); in getSecurityLevel()
606 std::map<std::vector<uint8_t>, SecurityLevel>::iterator itr = in getSecurityLevel()
610 _hidl_cb(Status::ERROR_DRM_INVALID_STATE, SecurityLevel::UNKNOWN); in getSecurityLevel()
619 SecurityLevel level) { in setSecurityLevel()
625 if (level > SecurityLevel::SW_SECURE_CRYPTO) { in setSecurityLevel()
636 std::map<std::vector<uint8_t>, SecurityLevel>::iterator itr = in setSecurityLevel()
642 std::pair<std::vector<uint8_t>, SecurityLevel>(sid, level)).second) { in setSecurityLevel()
/frameworks/av/include/mediadrm/
DDrmHal.h40 using drm::V1_1::SecurityLevel;
69 DrmPlugin::SecurityLevel level,
77 virtual status_t openSession(DrmPlugin::SecurityLevel level,
124 DrmPlugin::SecurityLevel *level) const;
237 DrmPlugin::SecurityLevel level,
DIDrm.h39 DrmPlugin::SecurityLevel securityLevel,
47 virtual status_t openSession(DrmPlugin::SecurityLevel securityLevel,
95 DrmPlugin::SecurityLevel *level) const = 0;
/frameworks/av/media/libmedia/include/media/
DDrmHal.h40 using drm::V1_1::SecurityLevel;
69 DrmPlugin::SecurityLevel level,
77 virtual status_t openSession(DrmPlugin::SecurityLevel level,
124 DrmPlugin::SecurityLevel *level) const;
237 DrmPlugin::SecurityLevel level,
DIDrm.h39 DrmPlugin::SecurityLevel securityLevel,
47 virtual status_t openSession(DrmPlugin::SecurityLevel securityLevel,
95 DrmPlugin::SecurityLevel *level) const = 0;
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp51 using drm::V1_1::SecurityLevel;
131 static DrmPlugin::SecurityLevel toSecurityLevel(SecurityLevel level) { in toSecurityLevel()
133 case SecurityLevel::SW_SECURE_CRYPTO: in toSecurityLevel()
135 case SecurityLevel::SW_SECURE_DECODE: in toSecurityLevel()
137 case SecurityLevel::HW_SECURE_CRYPTO: in toSecurityLevel()
139 case SecurityLevel::HW_SECURE_DECODE: in toSecurityLevel()
141 case SecurityLevel::HW_SECURE_ALL: in toSecurityLevel()
148 static SecurityLevel toHidlSecurityLevel(DrmPlugin::SecurityLevel level) { in toHidlSecurityLevel()
151 return SecurityLevel::SW_SECURE_CRYPTO; in toHidlSecurityLevel()
153 return SecurityLevel::SW_SECURE_DECODE; in toHidlSecurityLevel()
[all …]
DIDrm.cpp87 DrmPlugin::SecurityLevel level, bool *isSupported) { in isCryptoSchemeSupported()
130 virtual status_t openSession(DrmPlugin::SecurityLevel level, in openSession()
486 DrmPlugin::SecurityLevel *level) const { in getSecurityLevel()
501 *level = static_cast<DrmPlugin::SecurityLevel>(reply.readInt32()); in getSecurityLevel()
775 DrmPlugin::SecurityLevel level = in onTransact()
776 static_cast<DrmPlugin::SecurityLevel>(data.readInt32()); in onTransact()
804 DrmPlugin::SecurityLevel level = in onTransact()
805 static_cast<DrmPlugin::SecurityLevel>(data.readInt32()); in onTransact()
1034 DrmPlugin::SecurityLevel level = DrmPlugin::kSecurityLevelUnknown; in onTransact()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/
DDrmFactory.h44 SecurityLevel level) override;
DClearKeyTypes.h31 using ::android::hardware::drm::V1_1::SecurityLevel;
DDrmPlugin.h52 using drm::V1_1::SecurityLevel;
75 Return<void> openSession_1_1(SecurityLevel securityLevel,
380 SecurityLevel level);
401 std::map<std::vector<uint8_t>, SecurityLevel> mSecurityLevel;
/frameworks/base/media/jni/
Dandroid_media_MediaDrm.h42 DrmPlugin::SecurityLevel level,
Dandroid_media_MediaDrm.cpp550 DrmPlugin::SecurityLevel securityLevel, bool *isSupported) { in IsCryptoSchemeSupported()
940 DrmPlugin::SecurityLevel jintToSecurityLevel(jint jlevel) { in jintToSecurityLevel()
941 DrmPlugin::SecurityLevel level; in jintToSecurityLevel()
984 DrmPlugin::SecurityLevel securityLevel = jintToSecurityLevel(jSecurityLevel); in android_media_MediaDrm_isCryptoSchemeSupportedNative()
1005 DrmPlugin::SecurityLevel level = jintToSecurityLevel(jlevel); in android_media_MediaDrm_openSession()
1510 DrmPlugin::SecurityLevel level = DrmPlugin::kSecurityLevelUnknown; in android_media_MediaDrm_getSecurityLevel()
/frameworks/av/drm/mediadrm/plugins/clearkey/default/include/
DDrmPlugin.h152 SecurityLevel *level) const { in getSecurityLevel()
159 const SecurityLevel& level) { in setSecurityLevel()
/frameworks/base/media/java/android/media/
DMediaDrm.java201 @NonNull UUID uuid, @NonNull String mimeType, @SecurityLevel int securityLevel) { in isCryptoSchemeSupported()
220 @NonNull byte[] uuid, @Nullable String mimeType, @SecurityLevel int securityLevel); in isCryptoSchemeSupportedNative()
913 public native byte[] openSession(@SecurityLevel int level) throws
1498 public @interface SecurityLevel {}
1561 @SecurityLevel
/frameworks/native/headers/media_plugin/media/drm/
DDrmAPI.h152 enum SecurityLevel { enum
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...