/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 487 * Return the UTC time of this fix, in milliseconds since January 1, 1970. 489 * <p>Note that the UTC time on a device is not monotonic: it 491 * {@link #getElapsedRealtimeNanos} when calculating time deltas. 494 * a human readable time to the user, or for carefully comparing 498 * are guaranteed to have a valid UTC time, however remember that 499 * the system time may have changed since the location was generated. 501 * @return time o 513 setTime(long time) argument 541 setElapsedRealtimeNanos(long time) argument [all...] |
/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/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 | 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/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/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcController.java | 357 long time = SystemClock.elapsedRealtimeNanos(); 372 new DataConnectionRealTimeInfo(time , dcPowerState);
|
/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/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 163 // elapsed time by the number of active timers to arrive at that timer's share of the time. 327 * These provide time bases that discount the time the device is plugged 560 long time = mPastUptime; 562 time += curTime - mUptimeStart; 564 return time; 568 long time = mPastRealtime; 570 time += curTime - mRealtimeStart; 572 return time; [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 485 public static Condition toTimeCondition(Context context, long time, int minutes, long now, argument 501 final CharSequence formattedTime = DateFormat.format(pattern, time); 506 final Uri id = toCountdownConditionId(time); 517 public static Uri toCountdownConditionId(long time) { argument 521 .appendPath(Long.toString(time))
|
/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 | 236 // The elapsed real time when the screen on was blocked. 515 // Initialize things the first time the power state is changed. 919 // Clear the proximity sensor state for next time. 930 private void handleProximitySensorEvent(long time, boolean positive) { argument 946 time + PROXIMITY_SENSOR_POSITIVE_DEBOUNCE_DELAY); // acquire wake lock 950 time + PROXIMITY_SENSOR_NEGATIVE_DEBOUNCE_DELAY); // acquire wake lock 1181 final long time = SystemClock.uptimeMillis(); 1184 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/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/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 26 #include <sys/time.h> 1151 // Right now, the only valid time to set a retransmit endpoint is before 1544 // slightly prematurely to allow time for the gapless track switch 2201 int32_t time = systemTime() / 1000000L; local 2226 mBatteryAudio.lastTime[i] += time; 2230 mBatteryAudio.lastTime[i] = 0 - time; 2242 // record the start time only if currently no other audio 2247 mBatteryAudio.lastTime[i] -= time; 2261 // record the stop time only if currently this is the only 2266 mBatteryAudio.lastTime[i] += time; 2341 int32_t time = systemTime() / 1000000L; //in ms local [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecLocalDevice.java | 116 // Active routing path. Physical address of the active source but not all the time, such as 483 static void injectKeyEvent(long time, int action, int keycode, int repeat) { argument 484 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
|
/frameworks/av/media/libstagefright/webm/ |
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/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)));
|