/external/chromium_org/content/public/renderer/ |
key_system_info.cc | 9 KeySystemInfo::KeySystemInfo(const std::string& key_system) 10 : key_system(key_system),
|
key_system_info.h | 36 explicit KeySystemInfo(const std::string& key_system); 39 std::string key_system; member in struct:content::KeySystemInfo 41 // Specifies codecs supported by |key_system|. 44 // A hierarchical parent for |key_system|. This value can be used to check
|
/external/chromium_org/media/cdm/ |
key_system_names.cc | 15 const std::string& key_system) { 17 return key_system.substr(0, prefix.size()) == prefix; 20 bool IsExternalClearKey(const std::string& key_system) { 21 return key_system == kExternalClearKey || 22 IsParentKeySystemOf(kExternalClearKey, key_system);
|
key_system_names.h | 22 // Returns true if |key_system| is Clear Key, false otherwise. 23 MEDIA_EXPORT inline bool IsClearKey(const std::string& key_system) { 24 return key_system == kClearKey; 27 // Returns true if |key_system| is External Clear Key, false otherwise. 28 MEDIA_EXPORT bool IsExternalClearKey(const std::string& key_system);
|
/external/chromium_org/content/renderer/media/crypto/ |
key_systems_support_uma.h | 29 // Adds a |key_system| for which query/support statistics are reported. 32 void AddKeySystemToReport(const std::string& key_system); 34 // Reports that the |key_system| is queried. When |has_type|, also reports 35 // that the |key_system| with a MIME type is queried. 36 void ReportKeySystemQuery(const std::string& key_system, bool has_type); 38 // Reports that the queried |key_system| is supported. When |has_type| (a 40 // |key_system| is supported with that MIME type. 41 void ReportKeySystemSupport(const std::string& key_system, bool has_type); 46 // Returns the Reporter for |key_system|. Returns NULL if |key_system| was no [all...] |
key_systems_support_uma.cc | 21 OneTimeReporter(const std::string& key_system, 33 OneTimeReporter::OneTimeReporter(const std::string& key_system, 37 action_ = kKeySystemSupportActionPrefix + KeySystemNameForUMA(key_system); 56 explicit Reporter(const std::string& key_system); 70 KeySystemsSupportUMA::Reporter::Reporter(const std::string& key_system) 71 : key_system_(key_system), 72 call_reporter_(key_system, false, "Queried"), 73 call_with_type_reporter_(key_system, true, "Queried"), 74 support_reporter_(key_system, false, "Supported"), 75 support_with_type_reporter_(key_system, true, "Supported") { [all...] |
key_systems.h | 21 // Gets the unprefixed key system name for |key_system|. 22 std::string GetUnprefixedKeySystemName(const std::string& key_system); 24 // Gets the prefixed key system name for |key_system|. 25 std::string GetPrefixedKeySystemName(const std::string& key_system); 27 // Returns whether |key_system| is a real supported key system that can be 29 // Abstract parent |key_system| strings will return false. 31 // |key_system| supports a specific type of media or to check parent key 33 CONTENT_EXPORT bool IsConcreteSupportedKeySystem(const std::string& key_system); 39 const std::string& key_system); 41 // Returns a name for |key_system| suitable to UMA logging [all...] |
content_decryption_module_factory.cc | 22 const std::string& key_system, 43 if (CanUseAesDecryptor(key_system)) { 49 PpapiDecryptor::Create(key_system, 58 ProxyMediaKeys::Create(key_system,
|
key_systems.cc | 94 bool IsConcreteSupportedKeySystem(const std::string& key_system); 99 const std::string& key_system); 117 const std::string& key_system, 260 AddConcreteSupportedKeySystem(key_system_info.key_system, 306 bool KeySystems::IsConcreteSupportedKeySystem(const std::string& key_system) { 308 return concrete_key_system_map_.find(key_system) != 374 const std::string& key_system) { 377 // If |key_system| is a parent key_system, use its concrete child. 378 // Otherwise, use |key_system| [all...] |
content_decryption_module_factory.h | 30 const std::string& key_system,
|
proxy_decryptor.cc | 77 bool ProxyDecryptor::InitializeCDM(const std::string& key_system, 79 DVLOG(1) << "InitializeCDM: key_system = " << key_system; 82 media_keys_ = CreateMediaKeys(key_system, security_origin); 87 media::IsClearKey(key_system) || media::IsExternalClearKey(key_system); 208 const std::string& key_system, 211 key_system,
|
/external/chromium_org/media/base/android/ |
browser_cdm_factory_android.cc | 16 const std::string& key_system, 22 if (!MediaDrmBridge::IsKeySystemSupported(key_system)) { 23 NOTREACHED() << "Unsupported key system: " << key_system; 27 scoped_ptr<MediaDrmBridge> cdm(MediaDrmBridge::Create(key_system, 34 NOTREACHED() << "MediaDrmBridge cannot be created for " << key_system;
|
media_drm_bridge_unittest.cc | 36 static bool IsKeySystemSupported(const std::string& key_system) { 37 return MediaDrmBridge::IsKeySystemSupported(key_system); 41 const std::string& key_system, 43 return MediaDrmBridge::IsKeySystemSupportedWithType(key_system, 48 const std::string& key_system, 50 return MediaDrmBridge::IsSecurityLevelSupported(key_system, security_level);
|
media_drm_bridge.h | 45 static bool IsSecurityLevelSupported(const std::string& key_system, 48 // Checks whether |key_system| is supported. 49 static bool IsKeySystemSupported(const std::string& key_system); 55 // Checks whether |key_system| is supported with |container_mime_type|. 58 const std::string& key_system, 65 // Returns a MediaDrmBridge instance if |key_system| is supported, or a NULL 68 const std::string& key_system, 75 // Returns a MediaDrmBridge instance if |key_system| is supported, or a NULL 79 const std::string& key_system);
|
media_drm_bridge.cc | 75 UUID GetUUID(const std::string& key_system); 76 void AddMapping(const std::string& key_system, const UUID& uuid); 93 UUID KeySystemUuidManager::GetUUID(const std::string& key_system) { 94 KeySystemUuidMap::iterator it = key_system_uuid_map_.find(key_system); 100 void KeySystemUuidManager::AddMapping(const std::string& key_system, 102 KeySystemUuidMap::iterator it = key_system_uuid_map_.find(key_system); 107 key_system_uuid_map_[key_system] = uuid; 231 // Checks whether |key_system| is supported with |container_mime_type|. Only 232 // checks |key_system| support if |container_mime_type| is empty. 237 const std::string& key_system, 283 std::string key_system = ConvertJavaStringToUTF8(env, j_key_system); local [all...] |
/external/chromium_org/chrome/browser/media/ |
encrypted_media_browsertest.cc | 97 const std::string& key_system) { 99 return key_system.substr(0, prefix.size()) == prefix; 107 bool IsExternalClearKey(const std::string& key_system) { 108 return key_system == kExternalClearKeyKeySystem || 109 IsParentKeySystemOf(kExternalClearKeyKeySystem, key_system); 113 bool IsWidevine(const std::string& key_system) { 114 return key_system == kWidevineKeySystem; 119 const std::string& key_system, 122 StartLicenseServerIfNeeded(key_system, query_params); 126 // Tests |html_page| using |media_file| (with |media_type|) and |key_system| [all...] |
/external/chromium_org/components/cdm/browser/ |
cdm_message_filter_android.cc | 49 const std::string& key_system = request.key_system; local 60 key_system, info.container_mime_type) && 101 if (request.key_system.size() > kMaxKeySystemLength) { 102 NOTREACHED() << "Invalid key system: " << request.key_system; 106 if (!MediaDrmBridge::IsKeySystemSupported(request.key_system)) 110 response->key_system = request.key_system;
|
/external/chromium_org/components/cdm/common/ |
cdm_messages_android.h | 16 IPC_STRUCT_MEMBER(std::string, key_system) 21 IPC_STRUCT_MEMBER(std::string, key_system)
|
/external/chromium_org/content/renderer/media/ |
webcontentdecryptionmodule_impl.cc | 36 const base::string16& key_system) { 43 DCHECK(!key_system.empty()); 47 if (!base::IsStringASCII(key_system)) { 52 std::string key_system_ascii = base::UTF16ToASCII(key_system);
|
/external/chromium_org/media/base/ |
browser_cdm_factory.h | 16 // Creates a BrowserCdm for |key_system|. Returns NULL if the CDM cannot be 20 CreateBrowserCdm(const std::string& key_system,
|
/external/chromium_org/components/cdm/renderer/ |
android_key_systems.cc | 23 const std::string& key_system) { 27 request.key_system = key_system;
|
/external/chromium_org/content/browser/media/ |
encrypted_media_browsertest.cc | 90 const char* key_system, 101 query_params.push_back(std::make_pair("keysystem", key_system)); 109 const char* key_system, 112 media_type, key_system, src_type, kEnded);
|
/external/chromium_org/mojo/examples/html_viewer/ |
webmimeregistry_impl.h | 29 const blink::WebString& key_system); 34 const blink::WebString& key_system,
|
/external/chromium_org/content/renderer/media/android/ |
webmediaplayer_android.h | 207 const blink::WebString& key_system, 211 const blink::WebString& key_system, 218 const blink::WebString& key_system, 269 bool IsKeySystemSupported(const std::string& key_system); 273 MediaKeyException GenerateKeyRequestInternal(const std::string& key_system, 276 MediaKeyException AddKeyInternal(const std::string& key_system, 282 MediaKeyException CancelKeyRequestInternal(const std::string& key_system,
|
/external/chromium_org/chrome/renderer/media/ |
chrome_key_systems.cc | 86 info.key_system = kExternalClearKeyDecryptOnlyKeySystem; 90 info.key_system = kExternalClearKeyFileIOTestKeySystem; 96 info.key_system = kExternalClearKeyInitializeFailKeySystem; 100 info.key_system = kExternalClearKeyCrashKeySystem;
|