Revert "Merge latest oemcrypto-v17 change"
This reverts commit 642965c678.
Reason for revert: Droidfood Blocking Bug: 217145027
Change-Id: I669b72fcd91c62e28883b5f55eb36af274d85806
(cherry picked from commit 8dbea15e5da05b371572297041454569dc166c90)
Merged-In:I669b72fcd91c62e28883b5f55eb36af274d85806
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
1397b61f87
commit
d69b488be1
@@ -5,13 +5,12 @@
|
||||
#ifndef CDM_TEST_MOCK_CLOCK_H_
|
||||
#define CDM_TEST_MOCK_CLOCK_H_
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include "clock.h"
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
namespace wvcdm {
|
||||
|
||||
class MockClock : public wvutil::Clock {
|
||||
class MockClock : public Clock {
|
||||
public:
|
||||
MOCK_METHOD(int64_t, GetCurrentTime, (), (override));
|
||||
};
|
||||
@@ -19,7 +18,7 @@ class MockClock : public wvutil::Clock {
|
||||
// Frozen clock will always return the same value for the current time.
|
||||
// Intended to be used for testing where using the actual time would
|
||||
// cause flaky tests.
|
||||
class FrozenClock : public wvutil::Clock {
|
||||
class FrozenClock : public Clock {
|
||||
int64_t always_time_;
|
||||
|
||||
public:
|
||||
@@ -28,6 +27,6 @@ class FrozenClock : public wvutil::Clock {
|
||||
void SetTime(int64_t new_time) { always_time_ = new_time; }
|
||||
};
|
||||
|
||||
} // namespace wvcdm
|
||||
} // wvcdm
|
||||
|
||||
#endif // CDM_TEST_MOCK_CLOCK_H_
|
||||
|
||||
Reference in New Issue
Block a user