/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.h | 67 static sp<WebmElement> CuePointEntry(uint64_t time, int track, uint64_t off);
|
H A D | WebmElement.cpp | 258 sp<WebmElement> WebmElement::CuePointEntry(uint64_t time, int track, uint64_t off) { argument 265 cuePointEntryFields.push_back(new WebmUnsigned(kMkvCueTime, time));
|
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/ |
H A D | accessorychat.c | 27 #include <time.h>
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 28 #include <time.h>
|
/frameworks/base/location/java/android/location/ |
H A D | Location.java | 38 * (both UTC time and elapsed real-time since boot), all other 111 * <p>By default time, latitude and longitude are 0, and the location 492 * Return the UTC time of this fix, in milliseconds since January 1, 1970. 494 * <p>Note that the UTC time on a device is not monotonic: it 496 * {@link #getElapsedRealtimeNanos} when calculating time deltas. 499 * a human readable time to the user, or for carefully comparing 503 * are guaranteed to have a valid UTC time, however remember that 504 * the system time may have changed since the location was generated. 506 * @return time o 518 setTime(long time) argument 546 setElapsedRealtimeNanos(long time) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | TtmlRenderer.java | 114 * Parses the given time expression and returns a timestamp in millisecond. 116 * For the format of the time expression, please refer <a href= 119 * @param time A string which includes time expression. 127 public static long parseTimeExpression(String time, int frameRate, int subframeRate, argument 129 Matcher matcher = CLOCK_TIME.matcher(time); 147 matcher = OFFSET_TIME.matcher(time); 167 throw new NumberFormatException("Malformed time expression : " + time); 206 * Returns the timed text for the given time perio [all...] |
/frameworks/native/cmds/dumpstate/ |
H A D | dumpstate.c | 29 #include <sys/time.h> 65 time_t thirty_minutes_ago = time(NULL) - 60*30; 267 time_t now = time(NULL); 528 /* the full dumpsys is starting to take a long time, so we need 717 time_t now = time(NULL);
|
/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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 423 long time = System.nanoTime(); 424 addLine("vr(" + img_width + "," + img_height + "): " + (time - start) / 1E6f + " ms"); 433 long time = System.nanoTime(); 434 float ftime = (time - m_last_time) / 1E6f;
|
/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/view/ |
H A D | ScaleGestureDetector.java | 262 final long time = h < historySize ? ev.getHistoricalEventTime(h) 264 mTouchHistoryLastAcceptedTime = time; 643 * Return the time difference in milliseconds between the previous 653 * Return the event time of the current event being processed. 655 * @return Current event time in milliseconds.
|
/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/core/java/com/android/server/location/ |
H A D | GeofenceManager.java | 187 long time = SystemClock.elapsedRealtime(); 191 if (state.mExpireAt < time) {
|
/frameworks/native/libs/gui/ |
H A D | Android.mk | 23 LOCAL_CPPFLAGS += -Wno-exit-time-destructors
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 634 GLuint minIndex, GLuint maxIndex, nsecs_t time) { 656 minIndex, maxIndex, time); 671 nsecs_t time = glmsg->start_time() - 1; local 673 trace_VertexAttribPointerData(context, 0, count, time); 709 nsecs_t time = glmsg->start_time() - 1; local 711 trace_VertexAttribPointerData(context, minIndex, maxIndex + 1, time); 762 // set start time and duration 633 trace_VertexAttribPointerData(GLTraceContext *context, GLuint minIndex, GLuint maxIndex, nsecs_t time) argument
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 1199 // Apply the decay time to the Reverb. 1203 // time decay to be applied 1207 void ReverbSetDecayTime(ReverbContext *pContext, uint32_t time){ argument 1208 //ALOGV("\tReverbSetDecayTime start (%d)", time); 1219 if (time <= LVREV_MAX_T60) { 1220 ActiveParams.T60 = (LVM_UINT16)time; 1233 pContext->SavedDecayTime = (int16_t)time; 1242 // Get the decay time applied to the Revervb. 1262 // This will fail if the decay time is set to more than 7000 1379 // Get the decay time applie 1759 uint32_t time; local [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 659 public static Condition toTimeCondition(Context context, long time, int minutes, long now, argument 679 final CharSequence formattedTime = DateFormat.format(pattern, time); 684 final Uri id = toCountdownConditionId(time); 697 public static Uri toCountdownConditionId(long time) { argument 701 .appendPath(Long.toString(time)) 904 final long time = tryParseCountdownConditionId(id); 906 if (time > 0) { 908 final long span = time - now; 910 time, Math.round(span / (float) MINUTES_MS), now, userHandle, shortVersion);
|
/frameworks/base/services/core/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/core/java/com/android/server/display/ |
H A D | DisplayPowerController.java | 235 // The elapsed real time when the screen on was blocked. 526 // Initialize things the first time the power state is changed. 947 // Clear the proximity sensor state for next time. 958 private void handleProximitySensorEvent(long time, boolean positive) { argument 974 time + PROXIMITY_SENSOR_POSITIVE_DEBOUNCE_DELAY); // acquire wake lock 978 time + PROXIMITY_SENSOR_NEGATIVE_DEBOUNCE_DELAY); // acquire wake lock 1223 final long time = SystemClock.uptimeMillis(); 1226 handleProximitySensorEvent(time, positive);
|
/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); 990 final Time time = new Time(Time.TIMEZONE_UTC); 991 time.set(millis); 992 return time.format3339(false); 1005 fail("found duplicate time " + value + " in series " + seen.toString());
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 26 #include <time.h> 359 double time = now - startTime; local 360 float t = 4.0f * float(time / us2ns(16667)) / mAndroid[1].w; 594 // only play audio file the first time we animate the part
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDevice.java | 119 // Active routing path. Physical address of the active source but not all the time, such as 497 static void injectKeyEvent(long time, int action, int keycode, int repeat) { argument 498 KeyEvent keyEvent = KeyEvent.obtain(time, time, action, keycode,
|
/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
|