/frameworks/native/libs/input/tests/ |
H A D | InputChannel_test.cpp | 20 #include <time.h>
|
/frameworks/native/opengl/tests/angeles/ |
H A D | app-linux.cpp | 50 #include <sys/time.h>
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | RecurrenceSet.java | 145 * representing each date/time in the recurrence. 151 // TODO: use "local" time as the default. will need to handle times 152 // that end in "z" (UTC time) explicitly at that point. 159 Time time = new Time(tz); 164 // The timezone is updated to UTC if the time string specified 'Z'. 166 time.parse(rawDates[i]); 169 "TimeFormatException thrown when parsing time " + rawDates[i] 173 dates[i] = time.toMillis(false /* use isDst */); 174 time.timezone = tz; 198 // NOTE: the timezone may be null, if this is a floating time [all...] |
/frameworks/webview/chromium/plat_support/ |
H A D | draw_gl_functor.cpp | 29 #include <sys/time.h>
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 925 int time = -1; 928 time = contact.getExpires(); 931 if (expires != null && (time < 0 || time > expires.getExpires())) { 932 time = expires.getExpires(); 934 if (time <= 0) { 935 time = EXPIRY_TIME; 938 if (expires != null && time < expires.getExpires()) { 939 time = expires.getExpires(); 942 log("Expiry time [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Time.java | 29 * a moment in time, specified with second precision. It is modelled after 54 * all zero, and the date is displayed the same in all time zones. 99 * This time is in daylight savings time. One of: 161 * argument "timezone". The time is initialized to Jan 1, 1970. 178 * Construct a Time object in the default timezone. The time is initialized to 214 * Convert this time object so the time represented remains the same, but is 318 * @return a String containing the current time expressed in the current locale. 372 * Return the current time i 711 isEpoch(Time time) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ScaleGestureDetector.java | 254 final long time = h < historySize ? ev.getHistoricalEventTime(h) 256 mTouchHistoryLastAcceptedTime = time; 604 * Return the time difference in milliseconds between the previous 614 * Return the event time of the current event being processed. 616 * @return Current event time in milliseconds.
|
/frameworks/base/core/java/android/widget/ |
H A D | EdgeEffect.java | 382 final long time = AnimationUtils.currentAnimationTimeMillis(); 383 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaPlayerMetadataParserTest.java | 403 private void writeDateRecord(int metadataId, long time, String tz) { argument 408 mParcel.writeLong(time);
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceManager.java | 187 long time = SystemClock.elapsedRealtime(); 191 if (state.mExpireAt < time) {
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
H A D | AppLaunch.java | 45 * This test is intended to measure the time it takes for the apps to start. 47 * test starts each application, and reports the start up time in milliseconds. 225 // e.g. device must have a valid Google account sign in to measure a meaningful launch time 274 private void sleep(int time) { argument 276 Thread.sleep(time);
|
/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/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 567 GLuint minIndex, GLuint maxIndex, nsecs_t time) { 589 minIndex, maxIndex, time); 604 nsecs_t time = glmsg->start_time() - 1; local 606 trace_VertexAttribPointerData(context, 0, count, time); 642 nsecs_t time = glmsg->start_time() - 1; local 644 trace_VertexAttribPointerData(context, minIndex, maxIndex + 1, time); 695 // set start time and duration 566 trace_VertexAttribPointerData(GLTraceContext *context, GLuint minIndex, GLuint maxIndex, nsecs_t time) argument
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 1196 // Apply the decay time to the Reverb. 1200 // time decay to be applied 1204 void ReverbSetDecayTime(ReverbContext *pContext, uint32_t time){ argument 1205 //ALOGV("\tReverbSetDecayTime start (%d)", time); 1216 if (time <= LVREV_MAX_T60) { 1217 ActiveParams.T60 = (LVM_UINT16)time; 1230 pContext->SavedDecayTime = (int16_t)time; 1239 // Get the decay time applied to the Revervb. 1259 // This will fail if the decay time is set to more than 7000 1376 // Get the decay time applie 1756 uint32_t time; local [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 245 long time = createEntry(temp, tag, flags); 250 dropboxIntent.putExtra(DropBoxManager.EXTRA_TIME, time); 352 Time time = new Time(); 355 time.set(entry.timestampMillis); 356 String date = time.format("%Y-%m-%d %H:%M:%S");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 826 private static long parseTime(String time) { argument 828 result.parse3339(time); 992 final Time time = new Time(Time.TIMEZONE_UTC); 993 time.set(millis); 994 return time.format3339(false); 1007 fail("found duplicate time " + value + " in series " + seen.toString());
|
/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/av/libvideoeditor/vss/src/ |
H A D | M4AMRR_CoreReader.c | 579 M4OSA_ERR M4AMRR_seek(M4OSA_Context Context, M4SYS_StreamID* pStreamID, M4OSA_Time time, argument 594 /*Make explicit time cast, but take care that timescale is not used !!!*/ 595 M4OSA_TIME_TO_MS(time_double, time, 1000); 604 M4OSA_DEBUG_IF1((time_double < 0),M4ERR_PARAMETER,"negative time"); 606 /* Coming to seek for the first time, need to build the seekIndex Table */ 639 /*Make explicit time cast, but take care that timescale is not used !!!*/ 692 /* Use the seek table to seek the required time in the stream */ 725 required time form that position */ 742 *pObtainCTS = time; 750 /* Get the AU before the target time */ [all...] |
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/opt/calendar/tests/src/com/android/calendarcommon2/ |
H A D | RecurrenceProcessorTest.java | 37 private static String[] getFormattedDates(long[] dates, Time time) { argument 41 time.set(date); 42 out[i] = time.format2445(); 2242 * don't have time to fix the bug yet but we don't want to lose track of 2270 * don't have time to fix the bug yet but we don't want to lose track of 2293 * don't have time to fix the bug yet but we don't want to lose track of 2326 * don't have time to fix the bug yet but we don't want to lose track of 2479 // Also include the time to iterate through the expanded values
|
/frameworks/av/media/libstagefright/chromium_http/ |
H A D | support.cpp | 134 const base::TimeTicks &time, 140 "AddEntry time=%s type=%s source=%s phase=%s\n", 141 TickCountToString(time).c_str(), 132 AddEntry( EventType type, const base::TimeTicks &time, const Source &source, EventPhase phase, EventParameters *params) argument
|
/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/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
H A D | ExifTag.java | 523 * @param time the number of milliseconds since Jan. 1, 1970 GMT 526 public boolean setTimeValue(long time) { argument 529 return setValue(TIME_FORMAT.format(new Date(time)));
|
/frameworks/av/media/libstagefright/ |
H A D | TimedEventQueue.cpp | 30 #include <sys/time.h> 236 // while we were waiting for its scheduled time. 264 // 10 secs at a time. This will also avoid overflow 274 // We finally hit the time this event is supposed to 282 // waiting for its trigger-time, in that case
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 24 #include <time.h> 227 printf("Encoder time reach upper limit......");
|