Lines Matching refs:DrmPlugin
260 virtual void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj = NULL);
293 void JNIDrmListener::notify(DrmPlugin::EventType eventType, int extra, in notify()
301 case DrmPlugin::kDrmPluginEventProvisionRequired: in notify()
305 case DrmPlugin::kDrmPluginEventKeyNeeded: in notify()
309 case DrmPlugin::kDrmPluginEventKeyExpired: in notify()
313 case DrmPlugin::kDrmPluginEventVendorDefined: in notify()
317 case DrmPlugin::kDrmPluginEventSessionReclaimed: in notify()
321 case DrmPlugin::kDrmPluginEventExpirationUpdate: in notify()
324 case DrmPlugin::kDrmPluginEventKeysChange: in notify()
327 case DrmPlugin::kDrmPluginEventSessionLostState: in notify()
528 void JDrm::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) { in notify()
550 DrmPlugin::SecurityLevel securityLevel, bool *isSupported) { in IsCryptoSchemeSupported()
940 DrmPlugin::SecurityLevel jintToSecurityLevel(jint jlevel) { in jintToSecurityLevel()
941 DrmPlugin::SecurityLevel level; in jintToSecurityLevel()
944 level = DrmPlugin::kSecurityLevelMax; in jintToSecurityLevel()
946 level = DrmPlugin::kSecurityLevelSwSecureCrypto; in jintToSecurityLevel()
948 level = DrmPlugin::kSecurityLevelSwSecureDecode; in jintToSecurityLevel()
950 level = DrmPlugin::kSecurityLevelHwSecureCrypto; in jintToSecurityLevel()
952 level = DrmPlugin::kSecurityLevelHwSecureDecode; in jintToSecurityLevel()
954 level = DrmPlugin::kSecurityLevelHwSecureAll; in jintToSecurityLevel()
956 level = DrmPlugin::kSecurityLevelUnknown; in jintToSecurityLevel()
984 DrmPlugin::SecurityLevel securityLevel = jintToSecurityLevel(jSecurityLevel); in android_media_MediaDrm_isCryptoSchemeSupportedNative()
1005 DrmPlugin::SecurityLevel level = jintToSecurityLevel(jlevel); in android_media_MediaDrm_openSession()
1006 if (level == DrmPlugin::kSecurityLevelUnknown) { in android_media_MediaDrm_openSession()
1056 DrmPlugin::KeyType keyType; in android_media_MediaDrm_getKeyRequest()
1058 keyType = DrmPlugin::kKeyType_Streaming; in android_media_MediaDrm_getKeyRequest()
1060 keyType = DrmPlugin::kKeyType_Offline; in android_media_MediaDrm_getKeyRequest()
1062 keyType = DrmPlugin::kKeyType_Release; in android_media_MediaDrm_getKeyRequest()
1080 DrmPlugin::KeyRequestType keyRequestType; in android_media_MediaDrm_getKeyRequest()
1104 case DrmPlugin::kKeyRequestType_Initial: in android_media_MediaDrm_getKeyRequest()
1108 case DrmPlugin::kKeyRequestType_Renewal: in android_media_MediaDrm_getKeyRequest()
1112 case DrmPlugin::kKeyRequestType_Release: in android_media_MediaDrm_getKeyRequest()
1116 case DrmPlugin::kKeyRequestType_None: in android_media_MediaDrm_getKeyRequest()
1120 case DrmPlugin::kKeyRequestType_Update: in android_media_MediaDrm_getKeyRequest()
1406 static jint HdcpLevelTojint(DrmPlugin::HdcpLevel level) { in HdcpLevelTojint()
1408 case DrmPlugin::kHdcpLevelUnknown: in HdcpLevelTojint()
1410 case DrmPlugin::kHdcpNone: in HdcpLevelTojint()
1412 case DrmPlugin::kHdcpV1: in HdcpLevelTojint()
1414 case DrmPlugin::kHdcpV2: in HdcpLevelTojint()
1416 case DrmPlugin::kHdcpV2_1: in HdcpLevelTojint()
1418 case DrmPlugin::kHdcpV2_2: in HdcpLevelTojint()
1420 case DrmPlugin::kHdcpV2_3: in HdcpLevelTojint()
1422 case DrmPlugin::kHdcpNoOutput: in HdcpLevelTojint()
1436 DrmPlugin::HdcpLevel connected = DrmPlugin::kHdcpNone; in android_media_MediaDrm_getConnectedHdcpLevel()
1437 DrmPlugin::HdcpLevel max = DrmPlugin::kHdcpNone; in android_media_MediaDrm_getConnectedHdcpLevel()
1455 DrmPlugin::HdcpLevel connected = DrmPlugin::kHdcpLevelUnknown; in android_media_MediaDrm_getMaxHdcpLevel()
1456 DrmPlugin::HdcpLevel max = DrmPlugin::kHdcpLevelUnknown; in android_media_MediaDrm_getMaxHdcpLevel()
1510 DrmPlugin::SecurityLevel level = DrmPlugin::kSecurityLevelUnknown; in android_media_MediaDrm_getSecurityLevel()
1519 case DrmPlugin::kSecurityLevelSwSecureCrypto: in android_media_MediaDrm_getSecurityLevel()
1521 case DrmPlugin::kSecurityLevelSwSecureDecode: in android_media_MediaDrm_getSecurityLevel()
1523 case DrmPlugin::kSecurityLevelHwSecureCrypto: in android_media_MediaDrm_getSecurityLevel()
1525 case DrmPlugin::kSecurityLevelHwSecureDecode: in android_media_MediaDrm_getSecurityLevel()
1527 case DrmPlugin::kSecurityLevelHwSecureAll: in android_media_MediaDrm_getSecurityLevel()
1576 DrmPlugin::OfflineLicenseState state = DrmPlugin::kOfflineLicenseStateUnknown; in android_media_MediaDrm_getOfflineLicenseState()
1585 case DrmPlugin::kOfflineLicenseStateUsable: in android_media_MediaDrm_getOfflineLicenseState()
1587 case DrmPlugin::kOfflineLicenseStateReleased: in android_media_MediaDrm_getOfflineLicenseState()