Loading drm/mediadrm/plugins/clearkey/hidl/DrmPlugin.cpp +10 −10 Original line number Diff line number Diff line Loading @@ -210,16 +210,16 @@ Return<void> DrmPlugin::getPropertyString( std::string name(propertyName.c_str()); std::string value; if (name == "vendor") { value = "Google"; } else if (name == "version") { value = "1.1"; } else if (name == "description") { value = "ClearKey CDM"; } else if (name == "algorithms") { value = ""; } else if (name == "listenerTestSupport") { value = mStringProperties[name]; if (name == kVendorKey) { value = mStringProperties[kVendorKey]; } else if (name == kVersionKey) { value = mStringProperties[kVersionKey]; } else if (name == kPluginDescriptionKey) { value = mStringProperties[kPluginDescriptionKey]; } else if (name == kAlgorithmsKey) { value = mStringProperties[kAlgorithmsKey]; } else if (name == kListenerTestSupportKey) { value = mStringProperties[kListenerTestSupportKey]; } else { ALOGE("App requested unknown string property %s", name.c_str()); _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, ""); Loading drm/mediadrm/plugins/clearkey/hidl/include/ClearKeyDrmProperties.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ namespace clearkey { static const std::string kVendorKey("vendor"); static const std::string kVendorValue("Google"); static const std::string kVersionKey("version"); static const std::string kVersionValue("1.0"); static const std::string kVersionValue("1.1"); static const std::string kPluginDescriptionKey("description"); static const std::string kPluginDescriptionValue("ClearKey CDM"); static const std::string kAlgorithmsKey("algorithms"); Loading Loading
drm/mediadrm/plugins/clearkey/hidl/DrmPlugin.cpp +10 −10 Original line number Diff line number Diff line Loading @@ -210,16 +210,16 @@ Return<void> DrmPlugin::getPropertyString( std::string name(propertyName.c_str()); std::string value; if (name == "vendor") { value = "Google"; } else if (name == "version") { value = "1.1"; } else if (name == "description") { value = "ClearKey CDM"; } else if (name == "algorithms") { value = ""; } else if (name == "listenerTestSupport") { value = mStringProperties[name]; if (name == kVendorKey) { value = mStringProperties[kVendorKey]; } else if (name == kVersionKey) { value = mStringProperties[kVersionKey]; } else if (name == kPluginDescriptionKey) { value = mStringProperties[kPluginDescriptionKey]; } else if (name == kAlgorithmsKey) { value = mStringProperties[kAlgorithmsKey]; } else if (name == kListenerTestSupportKey) { value = mStringProperties[kListenerTestSupportKey]; } else { ALOGE("App requested unknown string property %s", name.c_str()); _hidl_cb(Status::ERROR_DRM_CANNOT_HANDLE, ""); Loading
drm/mediadrm/plugins/clearkey/hidl/include/ClearKeyDrmProperties.h +1 −1 Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ namespace clearkey { static const std::string kVendorKey("vendor"); static const std::string kVendorValue("Google"); static const std::string kVersionKey("version"); static const std::string kVersionValue("1.0"); static const std::string kVersionValue("1.1"); static const std::string kPluginDescriptionKey("description"); static const std::string kPluginDescriptionValue("ClearKey CDM"); static const std::string kAlgorithmsKey("algorithms"); Loading