Home
last modified time | relevance | path

Searched refs:DEFAULT_WAIT_MS (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DPrefetchControllerTest.java87 private static final long DEFAULT_WAIT_MS = 3000; field in PrefetchControllerTest
282 inOrder.verify(mAlarmManager, timeout(DEFAULT_WAIT_MS).times(1)) in testConstantsUpdating_ThresholdChangesAlarms()
288 inOrder.verify(mAlarmManager, timeout(DEFAULT_WAIT_MS).times(1)) in testConstantsUpdating_ThresholdChangesAlarms()
304 verify(mUsageStatsManagerInternal, timeout(DEFAULT_WAIT_MS)) in testConstraintNotSatisfiedWhenLaunchLate()
319 verify(mUsageStatsManagerInternal, timeout(DEFAULT_WAIT_MS)) in testConstraintSatisfiedWhenLaunchSoon()
321 verify(mJobSchedulerService, timeout(DEFAULT_WAIT_MS)).onControllerStateChanged(any()); in testConstraintSatisfiedWhenLaunchSoon()
341 verify(mUsageStatsManagerInternal, timeout(DEFAULT_WAIT_MS)) in testConstraintSatisfiedWhenTop()
343 inOrder.verify(mJobSchedulerService, timeout(DEFAULT_WAIT_MS)) in testConstraintSatisfiedWhenTop()
351 inOrder.verify(mJobSchedulerService, timeout(DEFAULT_WAIT_MS)) in testConstraintSatisfiedWhenTop()
359 inOrder.verify(mJobSchedulerService, timeout(DEFAULT_WAIT_MS)) in testConstraintSatisfiedWhenTop()
[all …]
/frameworks/native/services/sensorservice/
DSensorDeviceUtils.cpp149 constexpr int DEFAULT_WAIT_MS = 100; in wait() local
153 ALOGW("Cannot register service notification, use default wait(%d ms)", DEFAULT_WAIT_MS); in wait()
154 std::this_thread::sleep_for(std::chrono::milliseconds(DEFAULT_WAIT_MS)); in wait()