Searched refs:SecurityLevel (Results 1 – 16 of 16) sorted by relevance
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | DrmFactory.cpp | 37 using ::android::hardware::drm::V1_1::SecurityLevel; 47 SecurityLevel level) { in isCryptoSchemeSupported_1_2() 49 level == SecurityLevel::SW_SECURE_CRYPTO; in isCryptoSchemeSupported_1_2()
|
D | DrmPlugin.cpp | 127 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/drm/libmediadrm/ |
D | DrmHal.cpp | 51 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 …]
|
D | IDrm.cpp | 87 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/libmediadrm/include/mediadrm/ |
D | DrmHal.h | 42 using drm::V1_1::SecurityLevel; 91 DrmPlugin::SecurityLevel level, 99 virtual status_t openSession(DrmPlugin::SecurityLevel level, 146 DrmPlugin::SecurityLevel *level) const; 257 DrmPlugin::SecurityLevel level,
|
D | IDrm.h | 39 DrmPlugin::SecurityLevel securityLevel, 47 virtual status_t openSession(DrmPlugin::SecurityLevel securityLevel, 95 DrmPlugin::SecurityLevel *level) const = 0;
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/include/ |
D | DrmPlugin.h | 52 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;
|
D | DrmFactory.h | 44 SecurityLevel level) override;
|
D | ClearKeyTypes.h | 31 using ::android::hardware::drm::V1_1::SecurityLevel;
|
/frameworks/base/media/jni/ |
D | android_media_MediaDrm.h | 39 DrmPlugin::SecurityLevel level,
|
D | android_media_MediaDrm.cpp | 550 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/base/media/java/android/media/ |
D | MediaDrm.java | 201 @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/av/drm/mediadrm/plugins/clearkey/default/include/ |
D | DrmPlugin.h | 152 SecurityLevel *level) const { in getSecurityLevel() 159 const SecurityLevel& level) { in setSecurityLevel()
|
/frameworks/native/headers/media_plugin/media/drm/ |
D | DrmAPI.h | 152 enum SecurityLevel { enum
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 25031 method @android.media.MediaDrm.SecurityLevel public int getSecurityLevel(@NonNull byte[]); 25034 …hemeSupported(@NonNull java.util.UUID, @NonNull String, @android.media.MediaDrm.SecurityLevel int); 25036 …method @NonNull public byte[] openSession(@android.media.MediaDrm.SecurityLevel int) throws androi… 25186 …tion(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface MediaDrm.SecurityLevel {
|
/frameworks/base/api/ |
D | current.txt | 25055 method @android.media.MediaDrm.SecurityLevel public int getSecurityLevel(@NonNull byte[]); 25058 …hemeSupported(@NonNull java.util.UUID, @NonNull String, @android.media.MediaDrm.SecurityLevel int); 25060 …method @NonNull public byte[] openSession(@android.media.MediaDrm.SecurityLevel int) throws androi… 25210 …tion(java.lang.annotation.RetentionPolicy.SOURCE) public static @interface MediaDrm.SecurityLevel {
|