/frameworks/av/libvideoeditor/osal/inc/ |
H A D | M4OSA_Time.h | 21 * @note This file defines time type and associated macros which must 22 * be used to manipulate time. 38 /** This macro sets the unknown time value */ 42 /** This macro converts a time with a time scale to millisecond. 44 #define M4OSA_TIME_TO_MS(result, time, timescale)\ 45 { result = (1000*(M4OSA_Double)time)/((M4OSA_Double)timescale); }
|
/frameworks/opt/telephony/src/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 | IPowerManager.aidl | 34 void userActivity(long time, int event, int flags); 35 void wakeUp(long time); 36 void goToSleep(long time, int reason); 37 void nap(long time);
|
H A D | PowerManager.java | 439 * @param when The time of the user activity, in the {@link SystemClock#uptimeMillis()} 440 * time base. This timestamp is used to correctly order the user activity request with 469 * @param time The time when the request to go to sleep was issued, in the 470 * {@link SystemClock#uptimeMillis()} time base. This timestamp is used to correctly 477 public void goToSleep(long time) { argument 479 mService.goToSleep(time, GO_TO_SLEEP_REASON_USER); 493 * @param time The time when the request to wake up was issued, in the 494 * {@link SystemClock#uptimeMillis()} time bas 501 wakeUp(long time) argument 529 nap(long time) argument [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Random.c | 29 #include <time.h> 40 * need the stdlib and time libraries 51 srand(time(NULL));
|
H A D | M4PSW_MemoryInterface.c | 27 #include <time.h>
|
H A D | M4OSA_Clock.c | 26 #include <sys/time.h> 27 #include <time.h> 39 * @brief This function gets an absolute time to an unknown reference with 41 * @note It means it can only be used to get a relative time by computing 43 * It is to the caller to allocate time. Time is expressed in 47 * @param time: (IN/OUT) time 48 * @param timescale: (IN) The timescale (time unit per second)
|
/frameworks/compile/linkloader/tests/images/ |
H A D | simple-test.c | 19 #include <time.h> 22 srand(time(NULL));
|
/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/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/opt/telephony/src/java/android/telephony/ |
H A D | SmsCbEtwsInfo.java | 155 Time time = new Time(Time.TIMEZONE_UTC); 158 time.year = year + 2000; 159 time.month = month - 1; 160 time.monthDay = day; 161 time.hour = hour; 162 time.minute = minute; 163 time.second = second; 166 return time.toMillis(true) - (long) (timezoneOffset * 15 * 60 * 1000);
|
/frameworks/opt/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/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_time.c | 28 return time(NULL); 43 time(&t);
|
/frameworks/av/media/libstagefright/ |
H A D | TimeSource.cpp | 18 #include <sys/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/av/media/mtp/ |
H A D | MtpObjectInfo.cpp | 60 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/view/ |
H A D | VelocityTracker.java | 266 * The last recorded position of the pointer is at time zero seconds. 300 * Gets an estimate of the X position of the pointer at the specified time point. 301 * @param time The time point in seconds, 0 is the last recorded time. 304 public float estimateX(float time) { argument 305 return estimate(time, xCoeff); 309 * Gets an estimate of the Y position of the pointer at the specified time point. 310 * @param time The time poin 313 estimateY(float time) argument 335 estimate(float time, float[] c) argument [all...] |
/frameworks/support/volley/src/com/android/volley/ |
H A D | VolleyLog.java | 92 public final long time; field in class:VolleyLog.MarkerLog.Marker 94 public Marker(String name, long thread, long time) { argument 97 this.time = time; 114 * Closes the log, dumping it to logcat if the time difference between 126 long prevTime = mMarkers.get(0).time; 129 long thisTime = marker.time; 145 /** Returns the time difference between the first and last events in this log. */ 151 long first = mMarkers.get(0).time; 152 long last = mMarkers.get(mMarkers.size() - 1).time; [all...] |
/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/ex/variablespeed/jni/ |
H A D | profile_timer.h | 21 #include <time.h>
|
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.h | 20 #include <time.h>
|
/frameworks/native/include/utils/ |
H A D | misc.h | 23 #include <sys/time.h>
|
/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...] |