/frameworks/native/services/surfaceflinger/Scheduler/src/ |
D | Timer.cpp | 42 Timer::Timer() { in Timer() function in android::scheduler::Timer 47 Timer::~Timer() { in ~Timer() 53 void Timer::reset() { in reset() 76 void Timer::cleanup() { in cleanup() 100 void Timer::endDispatch() { in endDispatch() 105 nsecs_t Timer::now() const { in now() 109 void Timer::alarmAt(std::function<void()> callback, nsecs_t time) { in alarmAt() 130 void Timer::alarmCancel() { in alarmCancel() 147 void Timer::threadMain() { in threadMain() 153 bool Timer::dispatch() { in dispatch() [all …]
|
/frameworks/native/services/surfaceflinger/Scheduler/include/scheduler/ |
D | Timer.h | 30 class Timer : public TimeKeeper { 32 Timer(); 33 ~Timer();
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/ |
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/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsSensorTest.java | 59 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop() 61 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats() in testSensorStartStop() 90 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOffBattery() 125 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testCountingWhileOnBattery() 173 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats() in testBatteryStatusOnToOff() 206 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 | 26 import com.android.internal.os.BatteryStatsImpl.Timer; 37 class TestTimer extends Timer { 125 Timer.writeTimerToParcel(parcel, timer1, 77); in testParceling() 145 Timer.writeTimerToParcel(parcel, null, 88); in testParcelingNull()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 554 public static abstract class Timer { class in BatteryStats 557 public Timer() {} in Timer() method in BatteryStats.Timer 625 public Timer getSubTimer() { in getSubTimer() 720 public abstract Timer getMulticastWakelockStats(); in getMulticastWakelockStats() 727 public abstract ArrayMap<String, ? extends Timer> getSyncStats(); in getSyncStats() 734 public abstract ArrayMap<String, ? extends Timer> getJobStats(); in getJobStats() 751 public abstract Timer getWakeTime(int type); in getWakeTime() 759 public abstract Timer getAggregatedPartialWakelockTimer(); in getAggregatedPartialWakelockTimer() 828 public abstract Timer getWifiScanTimer(); in getWifiScanTimer() 835 public abstract Timer getWifiScanBackgroundTimer(); in getWifiScanBackgroundTimer() [all …]
|
/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/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_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/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/countrydetector/ |
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/base/core/java/com/android/internal/os/ |
D | MemoryPowerCalculator.java | 42 LongSparseArray<? extends BatteryStats.Timer> timers = batteryStats.getKernelMemoryStats(); in calculateDuration() 52 LongSparseArray<? extends BatteryStats.Timer> timers = batteryStats.getKernelMemoryStats(); in calculatePower()
|
D | UsageBasedPowerEstimator.java | 42 public long calculateDuration(BatteryStats.Timer timer, long rawRealtimeUs, int statsType) { in calculateDuration()
|
D | SensorPowerCalculator.java | 88 final BatteryStats.Timer timer = sensor.getSensorTime(); in calculateDuration() 106 final BatteryStats.Timer timer = sensor.getSensorTime(); in calculatePowerMah()
|
/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 | 168 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() 197 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F() 215 VSyncDispatchTimerQueue dispatch(std::make_unique<Timer>(), tracker, mDispatchGroupThreshold, in TEST_F()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 99 android::base::Timer t; in setPowerMode() 225 android::base::Timer t; in nativeSetAutoSuspend() 231 android::base::Timer t; in nativeSetAutoSuspend()
|
/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() 316 static class Timer { class in AmbientBrightnessStatsTracker 322 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()
|