/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 27 #include <time.h>
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 37 * (both UTC time and elapsed real-time since boot), all other 109 * <p>By default time, latitude and longitude are 0, and the location 483 * Return the UTC time of this fix, in milliseconds since January 1, 1970. 485 * <p>Note that the UTC time on a device is not monotonic: it 487 * {@link #getElapsedRealtimeNanos} when calculating time deltas. 490 * a human readable time to the user, or for carefully comparing 494 * are guaranteed to have a valid UTC time, however remember that 495 * the system time may have changed since the location was generated. 497 * @return time o 509 setTime(long time) argument 537 setElapsedRealtimeNanos(long time) argument [all...] |
/frameworks/base/tests/DumpRenderTree/assets/ |
H A D | run_page_cycler.py | 17 import time namespace 131 option_parser.add_option("-t", "--time-out-ms", 146 help="log draw time for each page rendered.")
|
H A D | run_layout_tests.py | 26 --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.")
|
/frameworks/native/libs/cpustats/ |
H A D | ThreadCpuUsage.cpp | 22 #include <time.h> 46 // record wall clock time at first enable 84 // was disabled, but add sample for accumulated time while enabled 90 // first time called 144 ALOGW("Can't compute elapsed time because measurements have never been enabled");
|
/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 | 134 * representing each date/time in the recurrence. 140 // TODO: use "local" time as the default. will need to handle times 141 // that end in "z" (UTC time) explicitly at that point. 148 Time time = new Time(tz); 153 // The timezone is updated to UTC if the time string specified 'Z'. 155 time.parse(rawDates[i]); 158 "TimeFormatException thrown when parsing time " + rawDates[i] 162 dates[i] = time.toMillis(false /* use isDst */); 163 time.timezone = tz; 187 // NOTE: the timezone may be null, if this is a floating time [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipSessionGroup.java | 899 int time = -1; 902 time = contact.getExpires(); 905 if (expires != null && (time < 0 || time > expires.getExpires())) { 906 time = expires.getExpires(); 908 if (time <= 0) { 909 time = EXPIRY_TIME; 912 if (expires != null && time < expires.getExpires()) { 913 time = expires.getExpires(); 916 Log.v(TAG, "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/widget/ |
H A D | EdgeEffect.java | 380 final long time = AnimationUtils.currentAnimationTimeMillis(); 381 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
|
/frameworks/base/libs/androidfw/ |
H A D | Android.mk | 17 # libandroidfw is partially built for the host (used by build time keymap validation tool)
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GeofenceManager.java | 184 long time = SystemClock.elapsedRealtime(); 188 if (state.mExpireAt < time) {
|
H A D | GpsLocationProvider.java | 206 // time for last status update 220 // how often to request NTP time, in milliseconds 243 // set to true if the GPS engine does not do on-demand NTP time requests 264 // for calculating time to first fix 266 // time to first fix for most recent session 268 // time we received our last fix 609 // only update when NTP time is fresh 611 long time = mNtpTime.getCachedNtpTime(); 617 + time + " (" + new Date(time) 1625 native_inject_time(long time, long timeReference, int uncertainty) argument [all...] |
/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/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 569 GLuint minIndex, GLuint maxIndex, nsecs_t time) { 591 minIndex, maxIndex, time); 606 nsecs_t time = glmsg->start_time() - 1; local 608 trace_VertexAttribPointerData(context, 0, count, time); 644 nsecs_t time = glmsg->start_time() - 1; local 646 trace_VertexAttribPointerData(context, minIndex, maxIndex + 1, time); 697 // set start time and duration 568 trace_VertexAttribPointerData(GLTraceContext *context, GLuint minIndex, GLuint maxIndex, nsecs_t time) argument
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 1220 // Apply the decay time to the Reverb. 1224 // time decay to be applied 1228 void ReverbSetDecayTime(ReverbContext *pContext, uint32_t time){ argument 1229 //ALOGV("\tReverbSetDecayTime start (%d)", time); 1240 if (time <= LVREV_MAX_T60) { 1241 ActiveParams.T60 = (LVM_UINT16)time; 1254 pContext->SavedDecayTime = (int16_t)time; 1263 // Get the decay time applied to the Revervb. 1283 // This will fail if the decay time is set to more than 7000 1400 // Get the decay time applie 1780 uint32_t time; local [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | DropBoxManagerService.java | 244 long time = createEntry(temp, tag, flags); 249 dropboxIntent.putExtra(DropBoxManager.EXTRA_TIME, time); 346 Time time = new Time(); 349 time.set(entry.timestampMillis); 350 String date = time.format("%Y-%m-%d %H:%M:%S");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 807 private static long parseTime(String time) { argument 809 result.parse3339(time); 972 final Time time = new Time(Time.TIMEZONE_UTC); 973 time.set(millis); 974 return time.format3339(false); 987 fail("found duplicate time " + value + " in series " + seen.toString());
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | NotificationTestList.java | 649 n.contentView.setChronometer(R.id.time, mChronometerBase, "Yay! (%s)", true); 665 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/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | GsmServiceStateTracker.java | 118 * Sometimes we get the NITZ time before we know what country we 119 * are in. Keep the time zone information from the NITZ string so 120 * we can fix the time zone once know the country. 147 /** Wake lock used while setting time of day. */ 186 Log.i("GsmServiceStateTracker", "Auto time state changed"); 194 Log.i("GsmServiceStateTracker", "Auto time zone state changed"); 840 // clean slate for next time 871 newSS.setStateOutOfService(); // clean slate for next time 957 log("pollStateDone: fix time zone zoneName='" + zoneName + 966 // it is in GMT+0 w/ DST time zon 1545 saveNitzTime(long time) argument 1577 setAndBroadcastNetworkSetTime(long time) argument [all...] |
/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);
|