Home
last modified time | relevance | path

Searched refs:Timer (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DPowerCalculatorTest.java56 BatteryStats.Timer audioTimer = mock(BatteryStats.Timer.class); in testMediaPowerCalculator()
59 BatteryStats.Timer videoTimer = mock(BatteryStats.Timer.class); in testMediaPowerCalculator()
DBatteryStatsSensorTest.java58 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 …]
DBatteryStatsBackgroundStatsTest.java255 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()
DBatteryStatsTimerTest.java27 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/
DInstallerTest.java46 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/
DMediaClock.h83 struct Timer { struct
84 Timer(const sp<AMessage> &notify, int64_t mediaTimeUs, int64_t adjustRealUs);
113 std::list<Timer> mTimers;
/frameworks/base/core/java/android/os/
DBatteryStats.java514 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/
DRSoVTestCore.java26 import java.util.Timer;
48 private Timer mTimer;
91 mTimer = new Timer(); in init()
/frameworks/rs/tests/lldb/tests/harness/
Dutil_timer.py22 class Timer(object): class
67 self._timer = threading.Timer(self._interval, self._callback)
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
DMainActivity.java27 import java.util.Timer;
77 Timer t = new Timer(); in onCreate()
/frameworks/base/core/java/com/android/internal/os/
DMediaPowerCalculator.java40 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/
DMainActivity.java36 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/
DSeamlessRotationActivity.java32 import java.util.Timer;
54 new Timer().schedule(new TimerTask() { in starveUiThread()
/frameworks/opt/gamesdk/src/swappy/
DChoreographerFilter.cpp38 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/
DMainActivity.java28 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/
DRSTestCore.java25 import java.util.Timer;
53 private Timer mTimer;
113 mTimer = new Timer(); in init()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBasedCountryDetector.java33 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/
DRSTestCore.java25 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/
DRSTestCore.java25 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/
DRSTestCore.java25 import java.util.Timer;
50 private Timer mTimer;
133 mTimer = new Timer(); in init()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DRgbPlayerActivity.java31 import java.util.Timer;
88 private Timer mTimer;
151 mTimer = new Timer(); in RgbView()
/frameworks/base/services/core/java/com/android/server/display/
DAmbientBrightnessStatsTracker.java62 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/
DMediaClock.cpp33 MediaClock::Timer::Timer(const sp<AMessage> &notify, 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/
DHealthStatsBatteryStatsWriter.java52 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/
Dcom_android_server_power_PowerManagerService.cpp263 android::base::Timer t; in nativeSetInteractive()
275 android::base::Timer t; in nativeSetAutoSuspend()
281 android::base::Timer t; in nativeSetAutoSuspend()

123