Searched refs:timer (Results 1 - 14 of 14) sorted by relevance

/frameworks/rs/scriptc/
H A Drs_time.rsh67 * 1970). If @p timer is non-NULL, the result is also stored in the memory
70 * @param timer Location to also store the returned calendar time.
75 rsTime(rs_time_t *timer);
78 * Converts the time specified by @p timer into broken-down time and stores it
83 * @param timer Input time as calendar time.
88 rsLocaltime(rs_tm *local, const rs_time_t *timer);
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLFrame.java145 StopWatchMap timer = GLFrameTimer.get();
146 if (timer.LOG_MFF_RUNNING_TIMES) {
147 timer.start("glFinish " + message);
149 timer.stop("glFinish " + message);
/frameworks/rs/
H A DrsScriptC_Lib.cpp84 time_t rsrTime(Context *rsc, time_t *timer) { argument
85 return time(timer);
88 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { argument
96 tm *tmp = localtime(timer);
H A DrsRuntime.h122 time_t rsrTime(Context *, time_t *timer);
123 tm* rsrLocalTime(Context *, tm *local, time_t *timer);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java54 * A constant indicating a partial wake lock timer.
59 * A constant indicating a full wake lock timer.
64 * A constant indicating a window wake lock timer.
69 * A constant indicating a sensor timer.
74 * A constant indicating a a wifi running timer
79 * A constant indicating a full wifi lock timer
89 * A constant indicating a wifi multicast timer
94 * A constant indicating a video turn on timer
99 * A constant indicating a vibrator on timer
104 * A constant indicating a foreground activity timer
1779 computeWakeLock(Timer timer, long elapsedRealtimeUs, int which) argument
1799 printWakeLock(StringBuilder sb, Timer timer, long elapsedRealtimeUs, String name, int which, String linePrefix) argument
1833 printWakeLockCheckin(StringBuilder sb, Timer timer, long elapsedRealtimeUs, String name, int which, String linePrefix) argument
2345 TimerEntry(String name, int id, BatteryStats.Timer timer, long time) argument
[all...]
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py117 self.timer = self.fig.canvas.new_timer(interval=100)
118 self.timer.add_callback(lambda: self.update())
119 self.timer.start()
/frameworks/base/tools/orientationplot/
H A Dorientationplot.py182 self.timer = self.fig.canvas.new_timer(interval=100)
183 self.timer.add_callback(lambda: self.update())
184 self.timer.start()
189 # Handle a click event to pause or restart the timer.
193 self.timer.stop()
196 self.timer.start()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationBasedCountryDetectorTest.java354 Timer timer = detector.getTimer();
355 assertTrue(timer == null);
/frameworks/rs/driver/
H A DrsdRuntimeStubs.cpp669 time_t SC_Time(time_t *timer) { argument
671 return rsrTime(rsc, timer);
674 static int SC_Time(int *timer) { argument
676 return rsrTime(rsc, (long*)timer);
680 tm* SC_LocalTime(tm *local, time_t *timer) { argument
682 return rsrLocalTime(rsc, local, timer);
1563 int rsTime(int *timer) { argument
1564 return SC_Time(timer);
1567 rs_tm* rsLocaltime(rs_tm* local, const int *timer) { argument
1568 return (rs_tm*)(SC_LocalTime((tm*)local, (long*)timer));
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java478 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL);
479 if (timer != null) {
480 wakelockTime += timer.getTotalTimeLocked(mRawRealtime, which);
556 BatteryStats.Timer timer = sensor.getSensorTime();
557 long sensorTime = timer.getTotalTimeLocked(mRawRealtime, which) / 1000;
H A DBatteryStatsImpl.java162 // A set of pools of currently active timers. When a timer is queried, we will divide the
163 // elapsed time by the number of active timers to arrive at that timer's share of the time.
164 // In order to do this, we must refresh each timer whenever the number of active timers
937 * Clear state of this timer. Returns true if the timer is inactive
996 * @param timer a Timer, or null.
998 public static void writeTimerToParcel(Parcel out, Timer timer, long elapsedRealtimeUs) { argument
999 if (timer == null) {
1005 timer.writeToParcel(out, elapsedRealtimeUs);
1221 * A timer tha
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1730 DurationTimer timer; local
1731 timer.start();
1737 timer.stop();
1739 timer.durationUsecs() / 1000.0);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java132 SipWakeupTimer timer, SipWakeLock wakeLock) throws SipException {
135 mWakeupTimer = timer;
142 void setWakeupTimer(SipWakeupTimer timer) { argument
143 mWakeupTimer = timer;
558 // lightweight timer
587 loge("session timer interrupted!", e);
131 SipSessionGroup(SipProfile profile, String password, SipWakeupTimer timer, SipWakeLock wakeLock) argument
H A DSipService.java486 void setWakeupTimer(SipWakeupTimer timer) { argument
487 mSipGroup.setWakeupTimer(timer);

Completed in 288 milliseconds