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

/frameworks/rs/scriptc/
H A Drs_time.rsh63 * 1970). If @p timer is non-NULL, the result is also stored in the memory
66 * @param timer Location to also store the returned calendar time.
71 rsTime(rs_time_t *timer);
74 * Converts the time specified by @p timer into broken-down time and stores it
79 * @param timer Input time as calendar time.
84 rsLocaltime(rs_tm *local, const rs_time_t *timer);
/frameworks/support/renderscript/v8/rs_support/scriptc/
H A Drs_time.rsh63 * 1970). If @p timer is non-NULL, the result is also stored in the memory
66 * @param timer Location to also store the returned calendar time.
71 rsTime(rs_time_t *timer);
74 * Converts the time specified by @p timer into broken-down time and stores it
79 * @param timer Input time as calendar time.
84 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.cpp82 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { argument
83 return time(timer);
86 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { argument
94 tm *tmp = localtime(timer);
H A DrsRuntime.h111 time_t rsrTime(Context *, Script *, time_t *timer);
112 tm* rsrLocalTime(Context *, Script *, tm *local, time_t *timer);
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptC_Lib.cpp82 time_t rsrTime(Context *rsc, Script *sc, time_t *timer) { argument
83 return time(timer);
86 tm* rsrLocalTime(Context *rsc, Script *sc, tm *local, time_t *timer) { argument
94 tm *tmp = localtime(timer);
H A DrsRuntime.h53 time_t rsrTime(Context *, Script *, time_t *timer);
54 tm* rsrLocalTime(Context *, Script *, tm *local, time_t *timer);
/frameworks/base/core/java/android/os/
H A DBatteryStats.java46 * A constant indicating a partial wake lock timer.
51 * A constant indicating a full wake lock timer.
56 * A constant indicating a window wake lock timer.
61 * A constant indicating a sensor timer.
66 * A constant indicating a a wifi running timer
71 * A constant indicating a full wifi lock timer
81 * A constant indicating a wifi multicast timer
86 * A constant indicating an audio turn on timer
91 * A constant indicating a video turn on timer
1102 private static long computeWakeLock(Timer timer, lon argument
1122 printWakeLock(StringBuilder sb, Timer timer, long batteryRealtime, String name, int which, String linePrefix) argument
1156 printWakeLockCheckin(StringBuilder sb, Timer timer, long now, String name, int which, String linePrefix) argument
1452 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/support/renderscript/v8/rs_support/driver/
H A DrsdRuntimeStubs.cpp194 time_t SC_Time(time_t *timer) { argument
196 return rsrTime(rsc, sc, timer);
199 tm* SC_LocalTime(tm *local, time_t *timer) { argument
201 return rsrLocalTime(rsc, sc, local, timer);
/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.cpp483 time_t SC_Time(time_t *timer) { argument
485 return rsrTime(rsc, sc, timer);
488 tm* SC_LocalTime(tm *local, time_t *timer) { argument
490 return rsrLocalTime(rsc, sc, local, timer);
/frameworks/base/services/java/com/android/server/
H A DSystemServer.java1020 static Timer timer; field in class:SystemServer
1047 timer = new Timer();
1048 timer.schedule(new TimerTask() {
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp1665 DurationTimer timer; local
1666 timer.start();
1672 timer.stop();
1674 timer.durationUsecs() / 1000.0);
/frameworks/base/voip/java/com/android/server/sip/
H A DSipSessionGroup.java139 SipWakeupTimer timer, SipWakeLock wakeLock) throws SipException {
142 mWakeupTimer = timer;
149 void setWakeupTimer(SipWakeupTimer timer) { argument
150 mWakeupTimer = timer;
548 // lightweight timer
576 Log.e(TAG, "session timer interrupted!");
138 SipSessionGroup(SipProfile profile, String password, SipWakeupTimer timer, SipWakeLock wakeLock) argument
H A DSipService.java476 void setWakeupTimer(SipWakeupTimer timer) { argument
477 mSipGroup.setWakeupTimer(timer);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java151 // A set of pools of currently active timers. When a timer is queried, we will divide the
152 // elapsed time by the number of active timers to arrive at that timer's share of the time.
153 // In order to do this, we must refresh each timer whenever the number of active timers
565 * Clear state of this timer. Returns true if the timer is inactive
622 * @param timer a Timer, or null.
624 public static void writeTimerToParcel(Parcel out, Timer timer, argument
626 if (timer == null) {
632 timer.writeToParcel(out, batteryRealtime);
861 * The last time at which we updated the timer
[all...]

Completed in 367 milliseconds