Merge changes I2f7052b6,Ifbfaf97c

* changes:
  Test Cleanup
  Report error OEMCrypto_ERROR_ENTRY_IN_USE
This commit is contained in:
Fred Gylys-Colwell
2017-03-08 20:44:36 +00:00
committed by Android (Google) Code Review
4 changed files with 12 additions and 14 deletions

View File

@@ -701,7 +701,6 @@ bool DeviceFiles::RetrieveUsageInfo(const std::string& usage_info_file_name,
bool DeviceFiles::RetrieveUsageInfo(const std::string& usage_info_file_name,
const std::string& provider_session_token,
CdmUsageData* usage_data) {
if (!initialized_) {
LOGW("DeviceFiles::RetrieveUsageInfo: not initialized");
return false;

View File

@@ -30,6 +30,8 @@ namespace wvcdm {
class WvGenericOperationsTest : public testing::Test {
public:
WvGenericOperationsTest() : crypto_session_(NULL) {}
virtual void SetUp() {
::testing::Test::SetUp();