/frameworks/base/core/java/android/webkit/ |
H A D | PerfChecker.java | 35 * Logs given string if mResponseThreshold time passed between either 41 long time = upTime - mTime; 42 if (time > mResponseThreshold) { 43 Log.w("webkit", what + " used " + time + " ms");
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | Call.java | 122 long time = Long.MAX_VALUE; 138 if (t < time) { 140 time = t; 150 long time = Long.MAX_VALUE; 164 time = t < time ? t : time; 167 return time; 172 long time = Long.MAX_VALUE; 185 time [all...] |
/frameworks/base/core/java/android/os/ |
H A D | LocalPowerManager.java | 38 void goToSleep(long time); argument 47 void userActivity(long time, boolean noChangeLights, int eventType); argument
|
H A D | IPowerManager.aidl | 27 void goToSleep(long time); 28 void goToSleepWithReason(long time, int reason);
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
H A D | WebkitTest.java | 47 long time = c.getTimeInMillis(); 49 Log.i(LOGTAG, "now: " + dateSorter.getIndex(time)); 51 time -= 8 * 60 * 60 * 1000; // 8 hours 52 date.setTime(time); 54 index = dateSorter.getIndex(time); 55 Log.i(LOGTAG, "time: " + DateFormat.format("yyyy/MM/dd kk:mm:ss", c).toString() +
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_time.c | 28 return time(NULL); 43 time(&t);
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | TelephonyUtilsTest.java | 27 * isRetryNeeded should be false and the time 0 76 int time = rm.getRetryTimer(); 77 assertTrue((time >= 500) && (time < 600)); 78 if (time == 500) { 154 int time; 159 time = rm.getRetryTimer(); 160 assertTrue((time >= 1000) && (time < 1100)); 164 time [all...] |
/frameworks/ex/common/java/com/android/common/ |
H A D | OperationScheduler.java | 127 * Compute the time of the next operation. Does not modify any state 131 * @return the wall clock time ({@link System#currentTimeMillis()}) when the 133 * before the current time. 144 // clipped to the current time so we don't languish forever. 155 long time = triggerTimeMillis; 157 time = Math.min(time, lastSuccessTimeMillis + options.periodicIntervalMillis); 160 time = Math.max(time, moratoriumTimeMillis); 161 time [all...] |
/frameworks/base/cmds/dumpstate/ |
H A D | dumpstate.h | 20 #include <time.h>
|
/frameworks/base/media/libdrm/mobile1/include/objmng/ |
H A D | drm_inner.h | 26 #define INT_2_YMD_HMS(year, mon, day, date, hour, min, sec, time) do{\ 30 hour = time / 10000;\ 31 min = time % 10000 / 100;\ 32 sec = time % 100;\
|
H A D | drm_time.h | 22 * Basic support functions that are needed by time. 39 #include <time.h> 42 /** the time format */ 54 * Get the system time.it's up to UTC 55 * \return Return the time in elapsed seconds. 61 * \param ms suspended time by millisecond 66 * function: get current system time 67 * \param time_ptr[OUT] the system time got
|
/frameworks/base/media/libstagefright/ |
H A D | TimeSource.cpp | 18 #include <sys/time.h>
|
/frameworks/base/core/jni/ |
H A D | android_os_SystemClock.cpp | 28 #include <sys/time.h> 29 #include <time.h> 36 * Set the current time. This only works when running as root.
|
H A D | TimeUtils.h | 20 #include <time.h> 24 #include <sys/time.h>
|
/frameworks/base/services/java/com/android/server/ |
H A D | TwilightCalculator.java | 46 // 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/media/libdrm/mobile1/include/parser/ |
H A D | parser_rel.h | 43 #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/core/tests/coretests/src/android/text/format/ |
H A D | TimeTest.java | 401 // The time should be normalized to UTC 409 // The time should be normalized to UTC 525 Time time = new Time(); 528 // day for 12am and then check that if we change the time we get the 535 time.set(0, 0, 0, monthDay, 0, 2008); 536 time.timezone = mTimeZones[zoneIndex]; 537 long millis = time.normalize(true); 539 Log.i("TimeTest", time.format("%B %d, %Y")); 543 int julianDay = Time.getJulianDay(millis, time.gmtoff); 545 // Change the time durin [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | IdleCache.java | 76 long time = SystemClock.uptimeMillis(); 82 entry.mTimeout = time + TIMEOUT; 131 long time = SystemClock.uptimeMillis(); 134 if (entry.mHost != null && time > entry.mTimeout) {
|
/frameworks/base/include/utils/ |
H A D | misc.h | 23 #include <sys/time.h>
|
/frameworks/base/tools/preload/ |
H A D | Proc.java | 88 * @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
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | PkgUsageStats.java | 49 public PkgUsageStats(String pkgName, int count, long time) { argument 52 usageTime = time;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | SmsCbMessage.java | 432 Time time = new Time(Time.TIMEZONE_UTC); 435 time.year = year >= 90 ? year + 1900 : year + 2000; 436 time.month = month - 1; 437 time.monthDay = day; 438 time.hour = hour; 439 time.minute = minute; 440 time.second = second; 443 return time.toMillis(true) - (timezoneOffset * 15 * 60 * 1000);
|
/frameworks/base/core/java/android/widget/ |
H A D | OverScroller.java | 188 * @param extend Additional time to scroll in milliseconds. 248 long time = AnimationUtils.currentAnimationTimeMillis(); 249 // Any scroller can be used for time, since they were started 251 final long elapsedTime = time - mScrollerX.mStartTime; 456 * Returns the time elapsed since the beginning of the scrolling. 458 * @return The elapsed time in milliseconds. 463 final long time = AnimationUtils.currentAnimationTimeMillis(); 465 return (int) (time - startTime); 487 // Animation starting time, in system milliseconds 549 * Returns the time (i [all...] |
/frameworks/base/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 98 int time = 10; local 99 printf("screen should flash red/green quickly for %d s...\n", time); 113 } while (int(ns2s(t))<=time);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | TestPrinter.java | 68 TestRunner.IntermediateTime time = intermediates.get(i); 69 Log.i(mTag, " intermediate: " + time.name + " = " 70 + time.timeInNS + "ns");
|