Searched defs:time (Results 1 - 25 of 84) sorted by relevance

1234

/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_page_cycler.py17 import time namespace
131 option_parser.add_option("-t", "--time-out-ms",
146 help="log draw time for each page rendered.")
H A Drun_layout_tests.py26 --time-out-ms (default is 8000 millis) for each test
37 import time namespace
221 time.sleep(10)
296 option_parser.add_option("", "--time-out-ms",
304 help="re-generate test list, it may take some time.")
H A Drun_reliability_tests.py16 import time namespace
56 int(time.time()))
68 """Processes the raw page load time logged by test app."""
83 logging.info("Lins has non-numeric load time: " + line)
89 # rewrite the average time to file
208 time.sleep(10)
251 option_parser.add_option("-t", "--time-out-ms",
274 help="Logs page load time for each url to the file")
/frameworks/av/media/mtp/
H A DMtpObjectInfo.cpp60 time_t time; local
82 if (parseDateTime((const char*)string, time))
83 mDateCreated = time;
86 if (parseDateTime((const char*)string, time))
87 mDateModified = time;
/frameworks/base/core/java/android/webkit/
H A DDateSorter.java86 * @param time time since the Epoch in milliseconds, such as that
91 public int getIndex(long time) { argument
94 if (time > mBins[i]) return i;
/frameworks/base/tests/DumpRenderTree2/assets/
H A Drun_apache2.py30 import time namespace
118 time.sleep(0.5)
/frameworks/base/core/java/android/net/
H A DSntpClient.java30 * Simple SNTP client class for retrieving network time.
34 * if (client.requestTime("time.foo.com")) {
57 // system time computed from NTP server response
63 // round trip time in milliseconds
87 // get current time and write it to the request packet
118 // (response rather than request time)
123 if (false) Log.d(TAG, "request time failed: " + e);
135 * Returns the time computed from the NTP transaction.
137 * @return time value computed from NTP server response.
145 * corresponding to the NTP time
194 writeTimeStamp(byte[] buffer, int offset, long time) argument
[all...]
H A DNetworkPolicyManager.java221 public static void snapToCycleDay(Time time, int cycleDay) { argument
222 if (cycleDay > time.getActualMaximum(MONTH_DAY)) {
224 time.month += 1;
225 time.monthDay = 1;
226 time.second = -1;
228 time.monthDay = cycleDay;
230 time.normalize(true);
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java42 // - listen for the next threshold time to update the view.
48 * Displays a given time in a convenient human-readable foramt.
94 public void setTime(long time) { argument
96 t.set(time);
111 Date time = mTime;
169 // Currently showing the time, update at the later of twelve hours after or midnight.
174 // If the time is in the past, don't schedule an update
177 // If hte time is in the future, schedule one at the earlier of twelve hours
184 Log.d(TAG, "update needed for '" + time + "' at '" + new Date(mUpdateTimeMillis)
245 // all of the time conversion
[all...]
H A DAnalogClock.java117 // The time zone may have changed while the receiver wasn't registered, so update the Time
120 // Make sure we update to the current time
244 String tz = intent.getStringExtra("time-zone");
254 private void updateContentDescription(Time time) { argument
257 time.toMillis(false), flags);
/frameworks/base/core/java/com/android/internal/os/
H A DPkgUsageStats.java53 public PkgUsageStats(String pkgName, int count, long time, Map<String, Long> lastResumeTimes) { argument
56 usageTime = time;
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothStressTest.java35 /** The amount of time to sleep between issuing start/stop SCO in ms. */
395 private void sleep(long time) { argument
397 Thread.sleep(time);
/frameworks/base/services/java/com/android/server/
H A DTwilightCalculator.java46 // Java time on Jan 1, 2000 12:00 UTC.
65 * calculates the civil twilight bases on time and geo-coordinates.
67 * @param time time in milliseconds.
71 public void calculateTwilight(long time, double latiude, double longitude) { argument
72 final float daysSince2000 = (float) (time - UTC_2000) / DateUtils.DAY_IN_MILLIS;
116 if (mSunrise < time && mSunset > time) {
/frameworks/base/tools/preload/
H A DProc.java88 * @param time the operation started
90 void startOperation(int threadId, LoadedClass loadedClass, long time, argument
93 this, loadedClass, time, operationCount++, type);
114 * @param time the operation ended
117 LoadedClass loadedClass, long time) {
133 o.endTimeNanos = time;
116 endOperation(int threadId, String className, LoadedClass loadedClass, long time) argument
H A DRecord.java90 /** Record time (ns). */
91 final long time; field in class:Record
127 time = Long.parseLong(parts[6]);
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp102 int time = 10; local
103 printf("screen should flash red/green quickly for %d s...\n", time);
117 } while (int(ns2s(t))<=time);
/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java28 /** @hide Field length that can hold 999 days of time */
168 public static void formatDuration(long time, long now, PrintWriter pw) { argument
169 if (time == 0) {
173 formatDuration(time-now, pw, 0);
/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_FileCommon.h40 * both to read and write at the same time.
76 /** Date expressed in the time scale*/
77 M4OSA_Time time; member in struct:__anon73
78 /** Year of the absolute time (1900, 1970 or 2000)*/
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Thread.c27 #include <time.h>
106 * context. It's the OSAL real time responsibility for managing its
497 * @param time:(IN) Time to sleep in milliseconds
501 M4OSA_ERR M4OSA_threadSleep(M4OSA_UInt32 time) argument
506 M4OSA_TRACE1_1("M4OSA_threadSleep\t\tM4OSA_UInt32 %d", time);
508 rqtp.tv_sec = (time_t)time/1000;
509 rqtp.tv_nsec = (time%1000) * 1000000;
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c461 M4OSA_Time time, M4SYS_seekAccessMode seekAccessMode,
463 * @brief This function seeks into the PCM file at the provided time
466 * - Determines from provided time m_offset to seek in file
471 * @param time: (IN) Targeted time
478 * @return M4WAR_INVALID_TIME Specified time is not reachable
482 M4OSA_ERR M4PCMR_seek(M4OSA_Context context, M4SYS_StreamID* pStreamID, M4OSA_Time time, argument
506 /* Determine m_offset from time*/
508 (M4OSA_UInt32)(time * ((M4OSA_Double)(c->m_decoderConfig.AvgBytesPerSec) / 1000));
517 /* If m_offset is over file size -> Invalid time */
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp49 // UInt time=0;
129 Int time = 0; /* follows EncodeVop value */ local
147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
198 Int time = 0; /* follows EncodeVop value */ local
222 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java148 * Velocity is independent of the time when the events occurs,
253 long time = startime + (int) (i * dt);
254 addMotionEvent(vt, x, y, time, MotionEvent.ACTION_MOVE);
259 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
260 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
H A DMemoryUsageTest.java197 private void sleep(int time) { argument
199 Thread.sleep(time);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java649 n.contentView.setChronometer(R.id.time, mChronometerBase, "Yay! (%s)", true);
665 n.contentView.setChronometer(R.id.time, mChronometerBase, null, false);
934 void timeNotification(int n, String label, long time) { argument
937 time, label, "" + new java.util.Date(time), null));
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgePowerManager.java114 public void userActivity(long time, int event, int flags) throws RemoteException { argument
119 public void wakeUp(long time) throws RemoteException { argument

Completed in 354 milliseconds

1234