Lines Matching refs:DrmPlugin
74 void notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj);
91 void DrmListener::notify(DrmPlugin::EventType eventType, int extra, const Parcel *obj) {
115 if (DrmPlugin::kDrmPluginEventExpirationUpdate == eventType) {
123 } else if (DrmPlugin::kDrmPluginEventKeysChange == eventType) {
160 // translates DrmPlugin event types into their NDK equivalents
163 case DrmPlugin::kDrmPluginEventProvisionRequired:
166 case DrmPlugin::kDrmPluginEventKeyNeeded:
169 case DrmPlugin::kDrmPluginEventKeyExpired:
172 case DrmPlugin::kDrmPluginEventVendorDefined:
175 case DrmPlugin::kDrmPluginEventSessionReclaimed:
179 ALOGE("Invalid event DrmPlugin::EventType %d, ignored", (int)eventType);
323 DrmPlugin::kSecurityLevelUnknown, &isSupported);
411 status_t status = mObj->mDrm->openSession(DrmPlugin::kSecurityLevelMax, session);
459 DrmPlugin::KeyType mdKeyType;
462 mdKeyType = DrmPlugin::kKeyType_Streaming;
465 mdKeyType = DrmPlugin::kKeyType_Offline;
468 mdKeyType = DrmPlugin::kKeyType_Release;
479 DrmPlugin::KeyRequestType keyRequestType;