/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/base/core/java/android/os/ |
D | BatteryStats.java | 514 public static abstract class Timer { class in BatteryStats 582 public Timer getSubTimer() { in getSubTimer() 644 public abstract Timer getMulticastWakelockStats(); in getMulticastWakelockStats() 651 public abstract ArrayMap<String, ? extends Timer> getSyncStats(); in getSyncStats() 658 public abstract ArrayMap<String, ? extends Timer> getJobStats(); in getJobStats() 672 public abstract Timer getWakeTime(int type); in getWakeTime() 680 public abstract Timer getAggregatedPartialWakelockTimer(); in getAggregatedPartialWakelockTimer() 743 public abstract Timer getWifiScanTimer(); in getWifiScanTimer() 750 public abstract Timer getWifiScanBackgroundTimer(); in getWifiScanBackgroundTimer() 757 public abstract Timer getAudioTurnedOnTimer(); in getAudioTurnedOnTimer() [all …]
|
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/ |
D | RSoVTestCore.java | 26 import java.util.Timer; 48 private Timer mTimer; 91 mTimer = new Timer(); in init()
|
/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/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 | 32 import java.util.Timer; 54 new Timer().schedule(new TimerTask() { in starveUiThread()
|
/frameworks/opt/gamesdk/src/swappy/ |
D | ChoreographerFilter.cpp | 38 class Timer { class 40 Timer(std::chrono::nanoseconds refreshPeriod, std::chrono::nanoseconds appToSfDelay) in Timer() function in __anone1a860ef0111::Timer 166 Timer timer(mRefreshPeriod, mAppToSfDelay); in threadMain()
|
/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/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_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/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/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()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 263 android::base::Timer t; in nativeSetInteractive() 275 android::base::Timer t; in nativeSetAutoSuspend() 281 android::base::Timer t; in nativeSetAutoSuspend()
|