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

123

/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/base/core/java/android/webkit/
H A DDateSorter.java78 * @param time time since the Epoch in milliseconds, such as that
83 public int getIndex(long time) { argument
86 if (time > mBins[i]) return i;
/frameworks/base/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/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.java190 public static void snapToCycleDay(Time time, int cycleDay) { argument
191 if (cycleDay > time.getActualMaximum(MONTH_DAY)) {
193 time.month += 1;
194 time.monthDay = 1;
195 time.second = -1;
197 time.monthDay = cycleDay;
199 time.normalize(true);
/frameworks/base/core/java/android/os/
H A DLocalPowerManager.java33 void goToSleep(long time); argument
42 void userActivity(long time, boolean noChangeLights, int eventType); argument
/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.java113 // The time zone may have changed while the receiver wasn't registered, so update the Time
116 // Make sure we update to the current time
240 String tz = intent.getStringExtra("time-zone");
250 private void updateContentDescription(Time time) { argument
253 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/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/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/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DReliabilityTest.java185 private void writeLoadTime(String s, long time) { argument
190 bos.write((s + '|' + time + '\n').getBytes());
/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.java72 /** Record time (ns). */
73 final long time; field in class:Record
109 time = Long.parseLong(parts[6]);
/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/base/core/java/android/util/
H A DTimeUtils.java34 * A class containing utility methods related to time zones.
41 * Tries to return a time zone that would have had the specified offset
78 // If the current time zone is from the right country
91 // haven't encountered the current time zone yet.)
105 Log.e(TAG, "Got exception while getting preferred time zone.", e);
107 Log.e(TAG, "Got exception while getting preferred time zone.", e);
116 * Returns a String indicating the version of the time zone database currently
117 * in use. The format of the string is dependent on the underlying time zone
123 * when computing the UTC time for a future event, applications should be aware that
124 * the results may differ following a time zon
276 formatDuration(long time, long now, PrintWriter pw) argument
[all...]
/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/media/libdrm/mobile1/include/parser/
H A Dparser_rel.h43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\
45 time = hour * 10000 + min * 100 + sec;\
55 int32_t time; /**< hour * 10000 + min *100 + sec */ member in struct:_T_DRM_DATETIME
62 T_DRM_DATETIME StartTime; /**< The starting time */
63 T_DRM_DATETIME EndTime; /**< The ending time */
64 T_DRM_DATETIME Interval; /**< The interval time */
92 * Check whether the date and time is valid.
96 * \param hour hour of the time
97 * \param min minute of the time
98 * \param sec second of the time
[all...]
/frameworks/base/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/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java640 n.contentView.setChronometer(R.id.time, mChronometerBase, "Yay! (%s)", true);
656 n.contentView.setChronometer(R.id.time, mChronometerBase, null, false);
866 void timeNotification(int n, String label, long time) { argument
869 time, label, "" + new java.util.Date(time), null));
/frameworks/media/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:__anon1357
78 /** Year of the absolute time (1900, 1970 or 2000)*/

Completed in 400 milliseconds

123