/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | BatteryStatsSamplingTimerTest.java | 34 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, in testSettingStalePreservesData() local 63 final BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, in testEndSampleAndContinueWhenTimeOrCountDecreases() local 107 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); in testFirstUpdateIsAbsorbed() local 150 BatteryStatsImpl.SamplingTimer timer = new BatteryStatsImpl.SamplingTimer(clocks, timeBase); in testSampleTimerSummaryParceling() local
|
H A D | BatteryStatsDurationTimerTest.java | 41 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testStartStop() local 113 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testReset() local 149 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testResetAndDetach() local 176 final BatteryStatsImpl.DurationTimer timer = new BatteryStatsImpl.DurationTimer(clocks, in testParceling() local
|
H A D | BatteryStatsTimerTest.java | 96 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testRunning() local 162 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testResetNoDetach() local 185 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testResetDetach() local 255 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testGetTotalTimeLocked() local 280 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testGetCountLocked() local 301 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testGetTimeSinceMarked() local 318 TestTimer timer = new TestTimer(clocks, 0, timeBase); in testLogState() local
|
/aosp12/bionic/libc/bionic/ |
H A D | posix_timers.cpp | 69 static __kernel_timer_t to_kernel_timer_id(timer_t timer) { in to_kernel_timer_id() 74 PosixTimer* timer = reinterpret_cast<PosixTimer*>(arg); in __timer_thread_start() local 100 static void __timer_thread_stop(PosixTimer* timer) { in __timer_thread_stop() 107 PosixTimer* timer = reinterpret_cast<PosixTimer*>(malloc(sizeof(PosixTimer))); in timer_create() local 191 PosixTimer* timer = reinterpret_cast<PosixTimer*>(id); in timer_delete() local 214 PosixTimer* timer= reinterpret_cast<PosixTimer*>(id); in timer_settime() local
|
/aosp12/hardware/samsung/nfc/halimpl/osi/ |
H A D | osi_timer.cc | 73 int OSI_timer_start(tOSI_TIMER_HANDLER timer, uint32_t timeout, in OSI_timer_start() 129 void OSI_timer_stop(tOSI_TIMER_HANDLER timer) { in OSI_timer_stop() 148 void OSI_timer_free(tOSI_TIMER_HANDLER timer) { in OSI_timer_free() 164 tOSI_TIMER_HANDLER timer = NULL; in OSI_timer_get_handler() local
|
/aosp12/system/bt/gd/rust/common/src/ |
H A D | time.rs | 16 let timer = TimerFd::new(get_clock(), TimerFlags::empty()).unwrap(); in new() localVariable 51 let timer = TimerFd::new(get_clock(), TimerFlags::empty()).unwrap(); in interval() localVariable 92 let timer = Instant::now(); in alarm_simple_case() localVariable 107 let timer = Instant::now(); in alarm_clear_ready_after_expired() localVariable 134 let timer = Instant::now(); in interval_simple_case() localVariable
|
/aosp12/system/vold/ |
H A D | Benchmark.cpp | 125 android::base::Timer timer; in benchmarkInternal() local 139 android::base::Timer timer; in benchmarkInternal() local 152 android::base::Timer timer; in benchmarkInternal() local 166 android::base::Timer timer; in benchmarkInternal() local
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/security/ |
H A D | ConfirmLockLockoutHelperTest.java | 103 CountDownTimer timer = mConfirmLockLockoutHelper.getCountDownTimer(); in onCheckCompletedWithTimeout_timeoutIsPositive_timerTickUpdatesErrorText() local 114 CountDownTimer timer = mConfirmLockLockoutHelper.getCountDownTimer(); in onCheckCompletedWithTimeout_timeoutIsPositive_onFinishUpdatesErrorText() local 125 CountDownTimer timer = mConfirmLockLockoutHelper.getCountDownTimer(); in onCheckCompletedWithTimeout_timeoutIsPositive_onFinishUpdatesUINotLocked() local
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/soundtrigger_middleware/ |
H A D | UptimeTimerTest.java | 36 UptimeTimer timer = new UptimeTimer("TestTimer"); in testBasic() local 49 UptimeTimer timer = new UptimeTimer("TestTimer"); in testCancel() local
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
H A D | TimerItemFragment.kt | 48 val timer = timer ?: return null regex 65 val timer = timer!! regex 78 val timer = timer!! regex
|
/aosp12/packages/modules/StatsD/statsd/tests/condition/ |
H A D | ConditionTimer_test.cpp | 30 ConditionTimer timer(false, time_base); in TEST() local 47 ConditionTimer timer(true, time_base); in TEST() local
|
/aosp12/bionic/libc/kernel/uapi/linux/netfilter/ |
H A D | xt_IDLETIMER.h | 27 struct idletimer_tg * timer __attribute__((aligned(8))); member 34 struct idletimer_tg * timer __attribute__((aligned(8))); member
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | HealthStatsBatteryStatsWriter.java | 52 BatteryStats.Timer timer; in writeUid() local 458 private void addTimer(HealthStatsWriter writer, int key, BatteryStats.Timer timer) { in addTimer() 469 BatteryStats.Timer timer) { in addTimers()
|
/aosp12/hardware/qcom/gps/msm8909/utils/ |
H A D | LocTimer.cpp | 311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 385 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 507 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 568 LocTimerDelegate* timer = mTimer; in stop() local 667 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 697 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/gps/msm8909w_3100/utils/ |
H A D | LocTimer.cpp | 311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 385 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 509 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 580 LocTimerDelegate* timer = mTimer; in stop() local 679 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 709 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/gps/msm8996/utils/ |
H A D | LocTimer.cpp | 311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 384 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 506 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 567 LocTimerDelegate* timer = mTimer; in stop() local 666 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 696 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/gps/msm8998/utils/ |
H A D | LocTimer.cpp | 311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 384 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 508 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 579 LocTimerDelegate* timer = mTimer; in stop() local 678 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 708 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/sdm845/gps/msm8909/utils/ |
H A D | LocTimer.cpp | 311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 385 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 509 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 575 LocTimerDelegate* timer = mTimer; in stop() local 674 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 704 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/sdm845/gps/msm8998/utils/ |
H A D | LocTimer.cpp | 311 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 329 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 368 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 384 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 508 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 579 LocTimerDelegate* timer = mTimer; in stop() local 678 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 708 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/sm8150p/gps/utils/ |
H A D | LocTimer.cpp | 313 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 331 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 370 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 387 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 511 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 582 LocTimerDelegate* timer = mTimer; in stop() local 681 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 711 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/sdm845/gps/sdm845/utils/ |
H A D | LocTimer.cpp | 313 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 331 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 370 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 387 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 511 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 582 LocTimerDelegate* timer = mTimer; in stop() local 681 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 711 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/sm7150/gps/utils/ |
H A D | LocTimer.cpp | 313 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 331 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 370 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 387 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 511 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 582 LocTimerDelegate* timer = mTimer; in stop() local 681 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 711 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/qcom/sdm845/gps/msm8996/utils/ |
H A D | LocTimer.cpp | 310 void LocTimerContainer::add(LocTimerDelegate& timer) { in add() 328 void LocTimerContainer::remove(LocTimerDelegate& timer) { in remove() 367 for (LocTimerDelegate* timer = (LocTimerDelegate*)mTimerContainer->pop(); in expire() local 383 LocTimerDelegate* LocTimerContainer::popIfOutRanks(LocTimerDelegate& timer) { in popIfOutRanks() 507 LocTimerDelegate* timer = (LocTimerDelegate*)(&rankable); in ranks() local 573 LocTimerDelegate* timer = mTimer; in stop() local 672 LocTimerTest* timer = dynamic_cast<LocTimerTest*>(&rankable); in ranks() local 702 LocTimerTest* timer = new LocTimerTest(r); in main() local
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
H A D | RecurrentTimer_test.cpp | 36 RecurrentTimer timer([&counterRef](const std::vector<int32_t>& cookies) { in TEST() local 52 RecurrentTimer timer( in TEST() local
|
/aosp12/art/odrefresh/ |
H A D | odr_metrics_test.cc | 155 ScopedOdrCompilationTimer timer(metrics); in TEST_F() local 169 ScopedOdrCompilationTimer timer(metrics); in TEST_F() local 183 ScopedOdrCompilationTimer timer(metrics); in TEST_F() local
|