Searched refs:timer1 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsTimerTest.java | 118 TestTimer timer1 = new TestTimer(clocks, 0, timeBase); in testParceling() local 119 timer1.setCount(1); in testParceling() 120 timer1.setTotalTime(9223372036854775807L); in testParceling() 121 timer1.setTimeBeforeMark(9223372036854775803L); in testParceling() 122 timer1.nextComputeRunTime = 201; in testParceling() 123 timer1.nextComputeCurrentCount = 2; in testParceling() 126 Timer.writeTimerToParcel(parcel, timer1, 77); in testParceling() 213 TestTimer timer1 = new TestTimer(clocks, 0, timeBase); in testSummaryParceling() local 214 timer1.setCount(1); in testSummaryParceling() 215 timer1.setTotalTime(9223372036854775807L); in testSummaryParceling() [all …]
|
D | BatteryStatsSensorTest.java | 334 BatteryStats.Timer timer1 = bi.getUidStats().get(UID).getSensorStats() in testPooledBackgroundUsage() local 357 timer1.getTotalTimeLocked(curr, BatteryStats.STATS_SINCE_CHARGED)); in testPooledBackgroundUsage() 360 timer1.getTotalDurationMsLocked(clocks.realtime) * 1000 ); in testPooledBackgroundUsage() 368 assertEquals(2, timer1.getCountLocked(BatteryStats.STATS_SINCE_CHARGED)); in testPooledBackgroundUsage()
|
/frameworks/native/services/inputflinger/tests/ |
D | TimerProvider_test.cpp | 200 GesturesTimer* timer1 = mProvider.createTimer(); in TEST_F() local 209 mProvider.setDeadline(timer1, 500'000'000, &pushTimeOntoVector, &callTimes1); in TEST_F() 210 mProvider.setDeadline(timer1, 1'250'000'000, &pushTimeOntoVector, &callTimes1); in TEST_F() 211 mProvider.setDeadline(timer1, 1'500'000'000, &pushTimeOntoVector, &callTimes1); in TEST_F() 247 GesturesTimer* timer1 = mProvider.createTimer(); in TEST_F() local 255 mProvider.setDeadline(timer1, 500'000'000, &incrementInt, &numCalls1); in TEST_F() 258 mProvider.cancelTimer(timer1); in TEST_F() 270 GesturesTimer* timer1 = mProvider.createTimer(); in TEST_F() local 276 mProvider.setDeadline(timer1, 500'000'000, callback, nullptr); in TEST_F() 280 mProvider.cancelTimer(timer1); in TEST_F()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractorTest.kt | 445 val timer1 = smartspaceTimer("timer1", timestamp = 1L) in <lambda>() constant 446 smartspaceRepository.setCommunalSmartspaceTargets(listOf(timer1)) in <lambda>() 453 smartspaceRepository.setCommunalSmartspaceTargets(listOf(timer1, timer2)) in <lambda>() 457 smartspaceRepository.setCommunalSmartspaceTargets(listOf(timer1, timer2, timer3)) in <lambda>()
|