Searched refs:Timer (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_timer.py15 '''Timer utility'''
22 class Timer(object): class in inherits:object
23 '''A Timer utility to execute a callback after a certain interval.'''
26 '''Initialise the Timer without starting it.
59 self, the Timer instance
65 raise RuntimeError('Timer already running')
67 self._timer = threading.Timer(self._interval, self._callback)
69 return self # so that we can perform Timer(...).start()
75 self, the Timer instance
87 self, the Timer instanc
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DCameraPowerCalculator.java38 final BatteryStats.Timer timer = u.getCameraTurnedOnTimer();
H A DFlashlightPowerCalculator.java36 final BatteryStats.Timer timer = u.getFlashlightTurnedOnTimer();
H A DSensorPowerCalculator.java43 final BatteryStats.Timer timer = sensor.getSensorTime();
H A DMemoryPowerCalculator.java33 LongSparseArray<? extends BatteryStats.Timer> timers = stats.getKernelMemoryStats();
H A DWakelockPowerCalculator.java44 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL);
/frameworks/rs/rsov/tests/RSoVTest/src/com/android/rs/rsov/test/
H A DRSoVTestCore.java26 import java.util.Timer;
48 private Timer mTimer;
91 mTimer = new Timer();
/frameworks/rs/tests/lldb/java/InfiniteLoop/src/com/android/rs/infiniteloop/
H A DMainActivity.java27 import java.util.Timer;
77 Timer t = new Timer();
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DInstallerTest.java36 private final Timer mManual = new Timer("Manual");
37 private final Timer mQuota = new Timer("Quota");
39 private static class Timer { class in class:InstallerTest
44 public Timer(String title) { method in class:InstallerTest.Timer
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DBatteryStatsSensorTest.java56 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats()
58 BatteryStats.Timer sensorBgTimer = bi.getUidStats().get(UID).getSensorStats()
87 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats()
122 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats()
170 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats()
203 BatteryStats.Timer sensorTimer = bi.getUidStats().get(UID).getSensorStats()
320 BatteryStats.Timer timer1 = bi.getUidStats().get(UID).getSensorStats()
322 BatteryStats.Timer bgTimer1 = bi.getUidStats().get(UID).getSensorStats()
325 BatteryStats.Timer timer2 = bi.getUidStats().get(UID_2).getSensorStats()
327 BatteryStats.Timer bgTimer
[all...]
H A DBatteryStatsBackgroundStatsTest.java243 BatteryStats.Timer timer = bi.getUidStats().get(UID).getBluetoothScanTimer();
244 BatteryStats.Timer bgTimer = bi.getUidStats().get(UID).getBluetoothScanBackgroundTimer();
245 BatteryStats.Timer badTimer = bi.getUidStats().get(UID).getBluetoothUnoptimizedScanTimer();
246 BatteryStats.Timer badBgTimer = bi.getUidStats().get(UID)
304 final ArrayMap<String, ? extends BatteryStats.Timer> jobs =
307 BatteryStats.Timer timer = jobs.valueAt(0);
308 BatteryStats.Timer bgTimer = timer.getSubTimer();
365 final ArrayMap<String, ? extends BatteryStats.Timer> syncs =
368 BatteryStats.Timer timer = syncs.valueAt(0);
369 BatteryStats.Timer bgTime
[all...]
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationBasedCountryDetector.java33 import java.util.Timer;
56 protected Timer mTimer;
199 mTimer = new Timer();
H A DComprehensiveCountryDetector.java32 import java.util.Timer;
74 protected Timer mLocationRefreshTimer;
412 mLocationRefreshTimer = new Timer();
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
H A DMainActivity.java36 import java.util.Timer;
49 private Timer mTimer;
64 mTimer = new Timer();
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
H A DMainActivity.java28 import java.util.Timer;
43 private Timer mTimer;
77 mTimer = new Timer();
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
H A DRSTestCore.java25 import java.util.Timer;
53 private Timer mTimer;
113 mTimer = new Timer();
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
H A DRSTestCore.java25 import java.util.Timer;
53 private Timer mTimer;
117 mTimer = new Timer();
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
H A DRSTestCore.java25 import java.util.Timer;
53 private Timer mTimer;
117 mTimer = new Timer();
/frameworks/base/core/java/android/os/
H A DBatteryStats.java416 public static abstract class Timer { class in class:BatteryStats
419 * Returns the count associated with this Timer for the
427 * Returns the total time in microseconds associated with this Timer for the
437 * Returns the total time in microseconds associated with this Timer since the
447 * Not all Timer subclasses track the max, total, current durations.
456 * Not all Timer subclasses track the max, total, current durations.
468 * depending on the Timer, getTotalTimeLocked may represent the total 'blamed' or 'pooled'
471 * Not all Timer subclasses track the max, total, current durations.
478 * Returns the secondary Timer held by the Timer, i
[all...]
/frameworks/base/data/sounds/
H A DAudioPackage13.mk11 ALARM_FILES := Argon Carbon Helium Krypton Neon Oxygen Osmium Platinum Timer
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java31 import java.util.Timer;
88 private Timer mTimer;
151 mTimer = new Timer();
/frameworks/base/services/core/jni/
H A Dcom_android_server_power_PowerManagerService.cpp170 android::base::Timer t;
182 android::base::Timer t;
188 android::base::Timer t;
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
H A DRSTestCore.java25 import java.util.Timer;
50 private Timer mTimer;
133 mTimer = new Timer();
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationBasedCountryDetectorTest.java32 import java.util.Timer;
146 public Timer getTimer() {
354 Timer timer = detector.getTimer();
/frameworks/rs/tests/lldb/tests/
H A Drun_test.py36 from harness.util_timer import Timer namespace
168 The instance of the Timer class that was created.
181 timer = Timer(interval, on_timeout)
183 atexit.register(Timer.stop, timer)
193 timer: The current Timer instance.

Completed in 680 milliseconds

12