OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:FakeClock
(Results
1 - 19
of
19
) sorted by null
/packages/apps/TV/tests/common/src/com/android/tv/testing/
FakeClock.java
29
public class
FakeClock
implements Clock {
33
public static
FakeClock
createWithCurrentTime() {
35
return new
FakeClock
(now, now - 100_000);
41
public static
FakeClock
createWithTimeOne() {
42
return new
FakeClock
(1L, 0L);
50
private
FakeClock
(long currentTimeMillis, long bootTimeMillis) {
/system/update_engine/common/
fake_clock.h
25
class
FakeClock
: public ClockInterface {
27
FakeClock
() {}
58
DISALLOW_COPY_AND_ASSIGN(
FakeClock
);
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
BaseDvrDataManagerTest.java
24
import com.android.tv.testing.
FakeClock
;
38
private
FakeClock
mFakeClock;
43
mFakeClock =
FakeClock
.createWithCurrentTime();
DvrRecordingServiceTest.java
31
import com.android.tv.testing.
FakeClock
;
49
private
FakeClock
mFakeClock =
FakeClock
.createWithCurrentTime();
ScheduledProgramReaperTest.java
21
import com.android.tv.testing.
FakeClock
;
36
private
FakeClock
mFakeClock;
44
mFakeClock =
FakeClock
.createWithTimeOne();
SchedulerTest.java
34
import com.android.tv.testing.
FakeClock
;
50
private
FakeClock
mFakeClock;
63
mFakeClock =
FakeClock
.createWithCurrentTime();
RecordingTaskTest.java
41
import com.android.tv.testing.
FakeClock
;
62
private
FakeClock
mFakeClock;
76
mFakeClock =
FakeClock
.createWithCurrentTime();
/system/update_engine/update_manager/
real_time_provider_unittest.cc
29
using chromeos_update_engine::
FakeClock
;
57
FakeClock
fake_clock_;
update_manager_unittest.cc
50
using chromeos_update_engine::
FakeClock
;
93
FakeClock
fake_clock_;
evaluation_context_unittest.cc
40
using chromeos_update_engine::
FakeClock
;
125
FakeClock
fake_clock_;
real_shill_provider_unittest.cc
38
using chromeos_update_engine::
FakeClock
;
204
FakeClock
fake_clock_;
real_updater_provider_unittest.cc
35
using chromeos_update_engine::
FakeClock
;
104
FakeClock
* fake_clock_; // Short for fake_sys_state_.fake_clock()
chromeos_policy_unittest.cc
36
using chromeos_update_engine::
FakeClock
;
199
FakeClock
fake_clock_;
[
all
...]
/system/update_engine/
fake_system_state.h
179
inline
FakeClock
* fake_clock() {
237
FakeClock
fake_clock_;
metrics_utils_unittest.cc
82
FakeClock
fake_clock;
155
FakeClock
fake_clock;
payload_state_unittest.cc
[
all
...]
p2p_manager_unittest.cc
99
FakeClock
fake_clock_;
update_attempter_unittest.cc
[
all
...]
/packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramDataManagerTest.java
35
import com.android.tv.testing.
FakeClock
;
63
private
FakeClock
mClock;
73
mClock =
FakeClock
.createWithCurrentTime();
Completed in 1038 milliseconds