/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Timer.cpp | 38 Timer::Timer() { in Timer() function in android::scheduler::Timer 43 Timer::~Timer() { in ~Timer() 49 void Timer::reset() { in reset() 60 void Timer::cleanup() { in cleanup() 82 void Timer::endDispatch() { in endDispatch() 87 nsecs_t Timer::now() const { in now() 91 void Timer::alarmIn(std::function<void()> const& cb, nsecs_t fireIn) { in alarmIn() 111 void Timer::alarmCancel() { in alarmCancel() 128 void Timer::threadMain() { in threadMain() 134 bool Timer::dispatch() { in dispatch() [all …]
|
D | Timer.h | 27 class Timer : public TimeKeeper { 29 Timer(); 30 ~Timer();
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | PowerCalculatorTest.java | 56 BatteryStats.Timer audioTimer = mock(BatteryStats.Timer.class); in testMediaPowerCalculator() 59 BatteryStats.Timer videoTimer = mock(BatteryStats.Timer.class); in testMediaPowerCalculator()
|
D | BatteryStatsSensorTest.java | 58 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop() 60 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop() 89 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery() 124 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOnBattery() 172 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOnToOff() 205 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOffToOn() 322 BatteryStats.Timer timer1 = bi.getUidStats().get(UID).getSensorStats() in testPooledBackgroundUsage() 324 BatteryStats.Timer bgTimer1 = bi.getUidStats().get(UID).getSensorStats() in testPooledBackgroundUsage() 327 BatteryStats.Timer timer2 = bi.getUidStats().get(UID_2).getSensorStats() in testPooledBackgroundUsage() 329 BatteryStats.Timer bgTimer2 = bi.getUidStats().get(UID_2).getSensorStats() in testPooledBackgroundUsage() [all …]
|
D | BatteryStatsBackgroundStatsTest.java | 255 BatteryStats.Timer timer = bi.getUidStats().get(UID).getBluetoothScanTimer(); in doTestAppBluetoothScanInternal() 256 BatteryStats.Timer bgTimer = bi.getUidStats().get(UID).getBluetoothScanBackgroundTimer(); in doTestAppBluetoothScanInternal() 257 BatteryStats.Timer badTimer = bi.getUidStats().get(UID).getBluetoothUnoptimizedScanTimer(); in doTestAppBluetoothScanInternal() 258 BatteryStats.Timer badBgTimer = bi.getUidStats().get(UID) in doTestAppBluetoothScanInternal() 316 final ArrayMap<String, ? extends BatteryStats.Timer> jobs = in testJob() 319 BatteryStats.Timer timer = jobs.valueAt(0); in testJob() 320 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testJob() 377 final ArrayMap<String, ? extends BatteryStats.Timer> syncs = in testSyncs() 380 BatteryStats.Timer timer = syncs.valueAt(0); in testSyncs() 381 BatteryStats.Timer bgTimer = timer.getSubTimer(); in testSyncs()
|
D | BatteryStatsTimerTest.java | 27 import com.android.internal.os.BatteryStatsImpl.Timer; 38 class TestTimer extends Timer { 125 Timer.writeTimerToParcel(parcel, timer1, 77); in testParceling() 145 Timer.writeTimerToParcel(parcel, null, 88); in testParcelingNull()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | InstallerTest.java | 46 private final Timer mManual = new Timer("Manual"); 47 private final Timer mQuota = new Timer("Quota"); 49 private static class Timer { class in InstallerTest 54 public Timer(String title) { in Timer() method in InstallerTest.Timer
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaClock.h | 83 struct Timer { struct 84 Timer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, int64_t adjustRealUs); 113 std::list<Timer> mTimers;
|
/frameworks/rs/tests/lldb/tests/harness/ |
D | util_timer.py | 22 class Timer(object): class 67 self._timer = threading.Timer(self._interval, self._callback)
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 539 public static abstract class Timer { class in BatteryStats 542 public Timer() {} in Timer() method in BatteryStats.Timer 610 public Timer getSubTimer() { in getSubTimer() 676 public abstract Timer getMulticastWakelockStats(); in getMulticastWakelockStats() 683 public abstract ArrayMap<String, ? extends Timer> getSyncStats(); in getSyncStats() 690 public abstract ArrayMap<String, ? extends Timer> getJobStats(); in getJobStats() 707 public abstract Timer getWakeTime(int type); in getWakeTime() 715 public abstract Timer getAggregatedPartialWakelockTimer(); in getAggregatedPartialWakelockTimer() 778 public abstract Timer getWifiScanTimer(); in getWifiScanTimer() 785 public abstract Timer getWifiScanBackgroundTimer(); in getWifiScanBackgroundTimer() [all …]
|
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/ |
D | MainActivity.java | 27 import java.util.Timer; 77 Timer t = new Timer(); in onCreate()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | MediaPowerCalculator.java | 40 final BatteryStats.Timer audioTimer = u.getAudioTurnedOnTimer(); in calculateApp() 51 final BatteryStats.Timer videoTimer = u.getVideoTurnedOnTimer(); in calculateApp()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 36 import java.util.Timer; 49 private Timer mTimer; 64 mTimer = new Timer(); in onPermissionOK()
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | SeamlessRotationActivity.java | 31 import java.util.Timer; 53 new Timer().schedule(new TimerTask() { in starveUiThread()
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTestCore.java | 25 import java.util.Timer; 53 private Timer mTimer; 113 mTimer = new Timer(); in init()
|
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
D | MainActivity.java | 28 import java.util.Timer; 43 private Timer mTimer; 77 mTimer = new Timer(); in onCreate()
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | RSTestCore.java | 25 import java.util.Timer; 53 private Timer mTimer; 117 mTimer = new Timer(); in init()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationBasedCountryDetector.java | 33 import java.util.Timer; 56 protected Timer mTimer; 199 mTimer = new Timer(); in detectCountry()
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | RSTestCore.java | 25 import java.util.Timer; 53 private Timer mTimer; 117 mTimer = new Timer(); in init()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | RSTestCore.java | 25 import java.util.Timer; 50 private Timer mTimer; 133 mTimer = new Timer(); in init()
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
D | RgbPlayerActivity.java | 31 import java.util.Timer; 88 private Timer mTimer; 151 mTimer = new Timer(); in RgbView()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 156 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() 185 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() 203 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AmbientBrightnessStatsTracker.java | 62 private final Timer mTimer; 76 mTimer = new Timer(() -> mInjector.elapsedRealtimeMillis()); in AmbientBrightnessStatsTracker() 312 static class Timer { class in AmbientBrightnessStatsTracker 318 public Timer(Clock clock) { in Timer() method in AmbientBrightnessStatsTracker.Timer
|
/frameworks/av/media/libstagefright/ |
D | MediaClock.cpp | 33 MediaClock::Timer::Timer(const sp<AMessage> ¬ify, int64_t mediaTimeUs, int64_t adjustRealUs) in Timer() function in android::MediaClock::Timer 265 std::multimap<int64_t, Timer> notifyList; in processTimers_l()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | HealthStatsBatteryStatsWriter.java | 52 BatteryStats.Timer timer; in writeUid() 108 for (final Map.Entry<String,? extends BatteryStats.Timer> entry: in writeUid() 114 for (final Map.Entry<String,? extends BatteryStats.Timer> entry: in writeUid() 458 private void addTimer(HealthStatsWriter writer, int key, BatteryStats.Timer timer) { in addTimer() 469 BatteryStats.Timer timer) { in addTimers()
|