Searched refs:time (Results 126 - 150 of 253) sorted by relevance

1234567891011

/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
H A Daccessorychat.c27 #include <time.h>
/frameworks/base/location/java/android/location/
H A DLocation.java37 * (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 Drun_page_cycler.py17 import time namespace
131 option_parser.add_option("-t", "--time-out-ms",
146 help="log draw time for each page rendered.")
H A Drun_layout_tests.py26 --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 DThreadCpuUsage.cpp22 #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 Dapp-linux.cpp50 #include <sys/time.h>
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceSet.java134 * 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 DSipSessionGroup.java899 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 DTime.java29 * 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 DEdgeEffect.java380 final long time = AnimationUtils.currentAnimationTimeMillis();
381 final float t = Math.min((time - mStartTime) / mDuration, 1.f);
/frameworks/base/libs/androidfw/
H A DAndroid.mk17 # libandroidfw is partially built for the host (used by build time keymap validation tool)
/frameworks/base/services/java/com/android/server/location/
H A DGeofenceManager.java184 long time = SystemClock.elapsedRealtime();
188 if (state.mExpireAt < time) {
H A DGpsLocationProvider.java206 // 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 DMediaPlayerMetadataParserTest.java403 private void writeDateRecord(int metadataId, long time, String tz) { argument
408 mParcel.writeLong(time);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_fixup.cpp569 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 DEffectReverb.cpp1220 // 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 DDropBoxManagerService.java244 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 DNetworkPolicyManagerServiceTest.java807 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 DNotificationTestList.java649 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 DM4AMRR_CoreReader.c579 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 DM4PCMR_CoreReader.c461 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 DRecurrenceProcessorTest.java37 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 DGsmServiceStateTracker.java118 * 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 Dsupport.cpp134 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 DBluetoothStressTest.java35 /** The amount of time to sleep between issuing start/stop SCO in ms. */
395 private void sleep(long time) { argument
397 Thread.sleep(time);

Completed in 598 milliseconds

1234567891011