Searched refs:mTime (Results 1 - 25 of 34) sorted by relevance

12

/frameworks/base/services/usage/java/com/android/server/usage/
H A DUnixCalendar.java28 private long mTime; field in class:UnixCalendar
31 mTime = time;
35 mTime += val * DAY_IN_MILLIS;
39 mTime += val * WEEK_IN_MILLIS;
43 mTime += val * MONTH_IN_MILLIS;
47 mTime += val * YEAR_IN_MILLIS;
51 mTime = time;
55 return mTime;
/frameworks/base/core/java/android/os/health/
H A DTimerStat.java32 private long mTime; field in class:TimerStat
62 mTime = time;
71 mTime = in.readLong();
86 out.writeLong(mTime);
107 mTime = time;
114 return mTime;
/frameworks/base/telephony/java/android/telephony/
H A DDataConnectionRealTimeInfo.java29 private long mTime; // Time the info was collected since boot in nanos; field in class:DataConnectionRealTimeInfo
48 mTime = time;
58 mTime = Long.MAX_VALUE;
66 mTime = in.readLong();
74 return mTime;
91 out.writeLong(mTime);
113 result = (prime * result) + mTime;
130 return (mTime == other.mTime)
138 sb.append("mTime
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
H A DWaveTriggerFilter.java33 private float mTime = 0f; field in class:WaveTriggerFilter
64 mTime = 0.5f;
70 value = -Math.abs(mTime - 1f) + 1f;
71 mTime += 0.2f;
72 if (mTime >= 2f) {
/frameworks/av/include/media/
H A DAudioTimestamp.h29 mTime.tv_sec = 0;
30 mTime.tv_nsec = 0;
34 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present member in class:android::AudioTimestamp
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
/frameworks/av/media/libaudioclient/include/media/
H A DAudioTimestamp.h29 mTime.tv_sec = 0;
30 mTime.tv_nsec = 0;
34 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present member in class:android::AudioTimestamp
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
/frameworks/base/telecomm/java/android/telecom/
H A DTelecomAnalytics.java80 private long mTime; field in class:TelecomAnalytics.SessionTiming
84 this.mTime = time;
89 mTime = in.readLong();
99 return mTime;
110 out.writeLong(mTime);
H A DParcelableCallAnalytics.java216 private long mTime; field in class:ParcelableCallAnalytics.EventTiming
220 this.mTime = time;
225 mTime = in.readLong();
233 return mTime;
244 out.writeLong(mTime);
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java54 private long mTime; field in class:CountdownConditionProvider
90 pw.print(" mTime="); pw.println(mTime);
113 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId);
123 if (mTime > 0) {
126 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS);
127 if (mTime <= now) {
129 notifyCondition(newCondition(mTime, mIsAlarm, Condition.STATE_FALSE));
132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
136 (mTime <
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java77 private final NtpTrustedTime mTime; field in class:NetworkTimeUpdateService
103 mTime = NtpTrustedTime.getInstance(context);
168 if (mTime.getCacheAge() >= mPollingIntervalMs) {
170 mTime.forceRefresh();
173 if (mTime.getCacheAge() < mPollingIntervalMs) {
213 final long skew = Math.abs(mTime.currentTimeMillis() - System.currentTimeMillis());
220 SystemClock.setCurrentTimeMillis(mTime.currentTimeMillis());
325 pw.println("NTP cache age: " + mTime.getCacheAge());
326 pw.println("NTP cache certainty: " + mTime.getCacheCertainty());
/frameworks/base/location/java/android/location/
H A DLocation.java126 private long mTime = 0; field in class:Location
167 mTime = l.mTime;
187 mTime = 0;
542 return mTime;
552 mTime = time;
988 if (mTime == 0) return false;
1009 if (mTime == 0) mTime = System.currentTimeMillis();
1047 if (mTime
[all...]
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
H A DDozeTestDream.java64 private final Date mTime = new Date(); field in class:DozeTestDream
147 mTime.setTime(now);
148 mAlarmClock.setText(mTimeFormat.format(mTime));
/frameworks/base/core/java/android/widget/
H A DTextClock.java139 private Calendar mTime; field in class:TextClock
271 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone));
273 mTime = Calendar.getInstance();
629 mTime.setTimeInMillis(System.currentTimeMillis());
630 setText(DateFormat.format(mFormat, mTime));
631 setContentDescription(DateFormat.format(mDescFormat, mTime));
H A DDateTimeView.java64 Date mTime; field in class:DateTimeView
131 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0);
153 if (mTime == null || getVisibility() == GONE) {
162 Date time = mTime;
215 String text = format.format(mTime);
/frameworks/av/include/mediadrm/
H A DDrmSessionManager.h70 int64_t mTime; member in struct:android::DrmSessionManager
/frameworks/av/media/libmedia/include/media/
H A DDrmSessionManager.h70 int64_t mTime; member in struct:android::DrmSessionManager
/frameworks/av/media/libaudioclient/
H A DIAudioTrack.cpp138 timestamp.mTime.tv_sec = reply.readInt32();
139 timestamp.mTime.tv_nsec = reply.readInt32();
249 reply->writeInt32(timestamp.mTime.tv_sec);
250 reply->writeInt32(timestamp.mTime.tv_nsec);
H A DAudioTrack.cpp2559 const int64_t at = audio_utils_ns_from_timespec(&timestamp.mTime);
2571 timestamp.mTime = convertNsToTimespec(limit);
2602 clock_gettime(CLOCK_MONOTONIC, &timestamp.mTime);
2621 const int64_t timestampTimeUs = convertTimespecToUs(timestamp.mTime);
2692 audio_utils_ns_from_timespec(&mPreviousTimestamp.mTime);
2693 int64_t currentTimeNanos = audio_utils_ns_from_timespec(&timestamp.mTime);
2706 timestamp.mTime = convertNsToTimespec(limitNs);
2714 timestamp.mTime = mPreviousTimestamp.mTime;
2741 audio_utils_ns_from_timespec(&timestamp.mTime)
[all...]
/frameworks/av/drm/libmediadrm/
H A DDrmSessionManager.cpp59 mTime(0) {}
63 mTime(0) {}
177 return mTime++;
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/
H A DBatterySavingStatsTest.java51 private long mTime = 1_000_000; // Some random starting time. field in class:BatterySavingStatsTest.BatterySavingStatsTestable
61 return mTime;
80 mTime += 60_000 * minutes;
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp671 if (mAudioCommands[0]->mTime <= curTime) {
836 waitTime = mAudioCommands[0]->mTime - curTime;
1120 command->mTime = systemTime() + milliseconds(delayMs);
1131 if (command2->mTime <= command->mTime) break;
1174 command->mTime = command2->mTime;
1188 command->mTime = command2->mTime;
1200 command->mTime
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecController.java687 private final long mTime; field in class:HdmiCecController.MessageHistoryRecord
692 mTime = System.currentTimeMillis();
700 pw.print(sdf.format(new Date(mTime)));
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java453 private long mTime; field in class:StateMachine.LogRec
484 mTime = System.currentTimeMillis();
496 return mTime;
539 c.setTimeInMillis(mTime);
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DRecurrenceProcessor.java420 mTime = new Time(Time.TIMEZONE_UTC);
445 t = mTime;
465 t = mTime;
614 private Time mTime; field in class:RecurrenceProcessor.DaySet
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java49 private long mTime; field in class:VCardParserImpl_V21.CustomBufferedReader
73 mTime += end - start;
85 mTime += end - start;
95 return mTime;

Completed in 3833 milliseconds

12