Migration from jb-mr2 to master for Widevine CDM
Android development of the widevine CDM has been done on the jb-mr2 branch of the cdm code base. This CL contains a merge of that jb-mr2 work to CDM master, and also reflects the evolution of the common Modular DRM code base since jb-mr2 branched. Change-Id: I1d7e1a12d092c00044a4298261146cb97808d4ef
This commit is contained in:
@@ -30,21 +30,23 @@ class Properties {
|
||||
static inline bool oem_crypto_use_secure_buffers() {
|
||||
return oem_crypto_use_secure_buffers_;
|
||||
}
|
||||
static inline bool oem_crypto_use_fifo() {
|
||||
return oem_crypto_use_fifo_;
|
||||
}
|
||||
static inline bool oem_crypto_use_fifo() { return oem_crypto_use_fifo_; }
|
||||
static inline bool oem_crypto_use_userspace_buffers() {
|
||||
return oem_crypto_use_userspace_buffers_;
|
||||
}
|
||||
static inline bool use_certificates_as_identification() {
|
||||
return use_certificates_as_identification_;
|
||||
}
|
||||
static bool GetCompanyName(std::string& company_name);
|
||||
static bool GetModelName(std::string& model_name);
|
||||
static bool GetArchitectureName(std::string& arch_name);
|
||||
static bool GetDeviceName(std::string& device_name);
|
||||
static bool GetProductName(std::string& product_name);
|
||||
static bool GetBuildInfo(std::string& build_info);
|
||||
static inline bool extract_pssh_data() {
|
||||
return extract_pssh_data_;
|
||||
}
|
||||
static bool GetCompanyName(std::string* company_name);
|
||||
static bool GetModelName(std::string* model_name);
|
||||
static bool GetArchitectureName(std::string* arch_name);
|
||||
static bool GetDeviceName(std::string* device_name);
|
||||
static bool GetProductName(std::string* product_name);
|
||||
static bool GetBuildInfo(std::string* build_info);
|
||||
static bool GetDeviceFilesBasePath(std::string* base_path);
|
||||
|
||||
private:
|
||||
static void set_begin_license_usage_when_received(bool flag) {
|
||||
@@ -65,6 +67,9 @@ class Properties {
|
||||
static void set_use_certificates_as_identification(bool flag) {
|
||||
use_certificates_as_identification_ = flag;
|
||||
}
|
||||
static void set_extract_pssh_data(bool flag) {
|
||||
extract_pssh_data_ = flag;
|
||||
}
|
||||
|
||||
static bool begin_license_usage_when_received_;
|
||||
static bool require_explicit_renew_request_;
|
||||
@@ -72,6 +77,7 @@ class Properties {
|
||||
static bool oem_crypto_use_fifo_;
|
||||
static bool oem_crypto_use_userspace_buffers_;
|
||||
static bool use_certificates_as_identification_;
|
||||
static bool extract_pssh_data_;
|
||||
|
||||
CORE_DISALLOW_COPY_AND_ASSIGN(Properties);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user