Home
last modified time | relevance | path

Searched refs:mTime (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/usage/java/com/android/server/usage/
DUnixCalendar.java28 private long mTime; field in UnixCalendar
31 mTime = time; in UnixCalendar()
35 mTime += val * DAY_IN_MILLIS; in addDays()
39 mTime += val * WEEK_IN_MILLIS; in addWeeks()
43 mTime += val * MONTH_IN_MILLIS; in addMonths()
47 mTime += val * YEAR_IN_MILLIS; in addYears()
51 mTime = time; in setTimeInMillis()
55 return mTime; in getTimeInMillis()
/frameworks/base/telephony/java/android/telephony/
DDataConnectionRealTimeInfo.java29 private long mTime; // Time the info was collected since boot in nanos; field in DataConnectionRealTimeInfo
44 mTime = time; in DataConnectionRealTimeInfo()
54 mTime = Long.MAX_VALUE; in DataConnectionRealTimeInfo()
62 mTime = in.readLong(); in DataConnectionRealTimeInfo()
70 return mTime; in getTime()
87 out.writeLong(mTime); in writeToParcel()
109 result = (prime * result) + mTime; in hashCode()
126 return (mTime == other.mTime) in equals()
134 sb.append("mTime=").append(mTime); in toString()
/frameworks/base/core/java/android/os/health/
DTimerStat.java32 private long mTime; field in TimerStat
62 mTime = time; in TimerStat()
71 mTime = in.readLong(); in TimerStat()
86 out.writeLong(mTime); in writeToParcel()
107 mTime = time; in setTime()
114 return mTime; in getTime()
/frameworks/base/services/core/java/com/android/server/notification/
DCountdownConditionProvider.java54 private long mTime; field in CountdownConditionProvider
90 pw.print(" mTime="); pw.println(mTime); in dump()
113 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId); in onSubscribe()
123 if (mTime > 0) { in onSubscribe()
126 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS); in onSubscribe()
127 if (mTime <= now) { in onSubscribe()
129 notifyCondition(newCondition(mTime, mIsAlarm, Condition.STATE_FALSE)); in onSubscribe()
132 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); in onSubscribe()
136 (mTime <= now ? "Not scheduling" : "Scheduling"), in onSubscribe()
137 ACTION, ts(mTime), mTime - now, span, ts(now))); in onSubscribe()
/frameworks/av/media/libaudioclient/include/media/
DAudioTimestamp.h29 mTime.tv_sec = 0; in AudioTimestamp()
30 mTime.tv_nsec = 0; in AudioTimestamp()
34 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present variable
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
/frameworks/av/include/media/
DAudioTimestamp.h29 mTime.tv_sec = 0; in AudioTimestamp()
30 mTime.tv_nsec = 0; in AudioTimestamp()
34 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present variable
131 timestamp->mTime.tv_sec = time / 1000000000;
132 timestamp->mTime.tv_nsec = time - timestamp->mTime.tv_sec * 1000000000LL;
DDrmSessionManager.h70 int64_t mTime; member
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DWaveTriggerFilter.java33 private float mTime = 0f; field in WaveTriggerFilter
64 mTime = 0.5f; in onProcess()
70 value = -Math.abs(mTime - 1f) + 1f; in onProcess()
71 mTime += 0.2f; in onProcess()
72 if (mTime >= 2f) { in onProcess()
/frameworks/base/telecomm/java/android/telecom/
DTelecomAnalytics.java80 private long mTime; field in TelecomAnalytics.SessionTiming
84 this.mTime = time; in SessionTiming()
89 mTime = in.readLong(); in SessionTiming()
99 return mTime; in getTime()
110 out.writeLong(mTime); in writeToParcel()
DParcelableCallAnalytics.java216 private long mTime; field in ParcelableCallAnalytics.EventTiming
220 this.mTime = time; in EventTiming()
225 mTime = in.readLong(); in EventTiming()
233 return mTime; in getTime()
244 out.writeLong(mTime); in writeToParcel()
/frameworks/base/location/java/android/location/
DLocation.java126 private long mTime = 0; field in Location
167 mTime = l.mTime; in set()
187 mTime = 0; in reset()
542 return mTime; in getTime()
552 mTime = time; in setTime()
976 if (mTime == 0) return false; in isComplete()
997 if (mTime == 0) mTime = System.currentTimeMillis(); in makeComplete()
1035 if (mTime == 0) { in toString()
1072 l.mTime = in.readLong();
1102 parcel.writeLong(mTime); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/
DNetworkTimeUpdateService.java82 private TrustedTime mTime; field in NetworkTimeUpdateService
110 mTime = NtpTrustedTime.getInstance(context); in NetworkTimeUpdateService()
189 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
190 mTime.forceRefresh(); in onPollNetworkTimeUnderWakeLock()
194 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock()
195 final long ntp = mTime.currentTimeMillis(); in onPollNetworkTimeUnderWakeLock()
/frameworks/base/core/java/android/widget/
DTextClock.java138 private Calendar mTime; field in TextClock
261 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime()
263 mTime = Calendar.getInstance(); in createTime()
600 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged()
601 setText(DateFormat.format(mFormat, mTime)); in onTimeChanged()
602 setContentDescription(DateFormat.format(mDescFormat, mTime)); in onTimeChanged()
DDateTimeView.java64 Date mTime; field in DateTimeView
123 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); in setTime()
145 if (mTime == null || getVisibility() == GONE) { in update()
154 Date time = mTime; in update()
207 String text = format.format(mTime); in update()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java64 private final Date mTime = new Date(); field in DozeTestDream
147 mTime.setTime(now); in performTimeUpdate()
148 mAlarmClock.setText(mTimeFormat.format(mTime)); in performTimeUpdate()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.cpp405 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop()
570 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop()
854 command->mTime = systemTime() + milliseconds(delayMs); in insertCommand_l()
865 if (command2->mTime <= command->mTime) break; in insertCommand_l()
908 command->mTime = command2->mTime; in insertCommand_l()
922 command->mTime = command2->mTime; in insertCommand_l()
934 command->mTime = command2->mTime; in insertCommand_l()
979 command->mTime = command2->mTime; in insertCommand_l()
1043 (int)ns2s(mTime), in dump()
1044 (int)ns2ms(mTime)%1000, in dump()
/frameworks/av/media/libaudioclient/
DIAudioTrack.cpp136 timestamp.mTime.tv_sec = reply.readInt32(); in getTimestamp()
137 timestamp.mTime.tv_nsec = reply.readInt32(); in getTimestamp()
247 reply->writeInt32(timestamp.mTime.tv_sec); in onTransact()
248 reply->writeInt32(timestamp.mTime.tv_nsec); in onTransact()
/frameworks/av/drm/libmediadrm/
DDrmSessionManager.cpp59 mTime(0) {} in DrmSessionManager()
63 mTime(0) {} in DrmSessionManager()
177 return mTime++; in getTime_l()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java168 private final TrustedTime mTime; field in NetworkStatsService
310 mTime = checkNotNull(time, "missing TrustedTime"); in NetworkStatsService()
403 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() in shutdownLocked()
820 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() in advisePersistThreshold()
1129 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() in bootstrapStatsLocked()
1143 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) { in performPoll()
1144 mTime.forceRefresh(); in performPoll()
1173 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis() in performPollLocked()
1225 final long trustedTime = mTime.hasCache() ? mTime.currentTimeMillis() : -1; in performSampleLocked()
/frameworks/av/media/libmedia/include/media/
DDrmSessionManager.h70 int64_t mTime; member
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java148 private @Mock TrustedTime mTime; field in NetworkStatsServiceTest
177 mServiceContext, mNetManager, mAlarmManager, wakeLock, mTime, in setUp()
215 mTime = null; in tearDown()
1079 when(mTime.forceRefresh()).thenReturn(false); in expectCurrentTime()
1080 when(mTime.hasCache()).thenReturn(true); in expectCurrentTime()
1081 when(mTime.currentTimeMillis()).thenReturn(currentTimeMillis()); in expectCurrentTime()
1082 when(mTime.getCacheAge()).thenReturn(0L); in expectCurrentTime()
1083 when(mTime.getCacheCertainty()).thenReturn(0L); in expectCurrentTime()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1246 private final long mTime; field in AppOpsManager.OpEntry
1256 mTime = time; in OpEntry()
1272 return mTime; in getTime()
1284 return mDuration == -1 ? (int)(System.currentTimeMillis()-mTime) : mDuration; in getDuration()
1304 dest.writeLong(mTime); in writeToParcel()
1314 mTime = source.readLong(); in OpEntry()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java687 private final long mTime; field in HdmiCecController.MessageHistoryRecord
692 mTime = System.currentTimeMillis(); in MessageHistoryRecord()
700 pw.print(sdf.format(new Date(mTime))); in dump()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java49 private long mTime; field in VCardParserImpl_V21.CustomBufferedReader
73 mTime += end - start; in readLine()
85 mTime += end - start; in peekLine()
95 return mTime; in getTotalmillisecond()
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DRecurrenceProcessor.java420 mTime = new Time(Time.TIMEZONE_UTC); in DaySet()
445 t = mTime; in get()
465 t = mTime; in get()
614 private Time mTime; field in RecurrenceProcessor.DaySet

12