/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/webkit/ |
H A D | DateSorter.java | 86 * @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/tools/layoutlib/bridge/src/android/text/format/ |
H A D | Time_Delegate.java | 56 private static Calendar timeToCalendar(Time time, Calendar calendar) { argument 57 calendar.set(time.year, time.month, time.monthDay, time.hour, time.minute, time.second);
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 30 * 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 D | NetworkPolicyManager.java | 221 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 D | DateTimeView.java | 42 // - 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) 237 // all of the time conversion [all...] |
H A D | AnalogClock.java | 117 // 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 D | PkgUsageStats.java | 53 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 D | BluetoothStressTest.java | 35 /** 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 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/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
|
H A D | Record.java | 100 /** Record time (ns). */ 101 final long time; field in class:Record 137 time = Long.parseLong(parts[6]);
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationCluster.java | 56 // use time field to store duation of this location 94 // centers. Note that if the cluster is consolidated for the first time, 136 private void updateTemporalHistogram(long time, long duration) { argument 137 HashMap<String, String> timeFeatures = TimeStatsAggregator.getAllTimeFeatures(time);
|
/frameworks/native/opengl/tests/swapinterval/ |
H A D | swapinterval.cpp | 102 int time = 10; local 103 printf("screen should flash red/green quickly for %d s...\n", time); 117 } while (int(ns2s(t))<=time);
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
H A D | CircleView.java | 17 package com.android.datetimepicker.time;
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | TimeUtils.java | 28 /** @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 D | M4OSA_FileCommon.h | 40 * both to read and write at the same time. 76 /** Date expressed in the time scale*/ 77 M4OSA_Time time; member in struct:__anon86 78 /** Year of the absolute time (1900, 1970 or 2000)*/
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | M4OSA_Thread.c | 27 #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 D | M4PCMR_CoreReader.c | 461 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 D | vop.cpp | 49 // 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 D | VelocityTest.java | 148 * 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 D | MemoryUsageTest.java | 213 private void sleep(int time) { argument 215 Thread.sleep(time);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 646 n.contentView.setChronometer(R.id.time, mChronometerBase, "Yay! (%s)", true); 662 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 D | BridgePowerManager.java | 125 public void userActivity(long time, int event, int flags) throws RemoteException { argument 130 public void wakeUp(long time) throws RemoteException { argument
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | ProgramCache.cpp | 204 nsecs_t time = -systemTime(); local 207 time += systemTime(); 209 //ALOGD(">>> generated new program: needs=%08X, time=%u ms (%d programs)", 210 // needs.mNeeds, uint32_t(ns2ms(time)), mCache.size());
|