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/telephony/java/android/telephony/
H A DDataConnectionRealTimeInfo.java29 private long mTime; // Time the info was collected since boot in nanos; field in class:DataConnectionRealTimeInfo
44 mTime = time;
54 mTime = Long.MAX_VALUE;
62 mTime = in.readLong();
70 return mTime;
87 out.writeLong(mTime);
109 result = (prime * result) + mTime;
126 return (mTime == other.mTime)
134 sb.append("mTime
[all...]
/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/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;
H A DDrmSessionManager.h70 int64_t mTime; member in struct:android::DrmSessionManager
/frameworks/base/services/core/java/com/android/server/notification/
H A DCountdownConditionProvider.java54 private long mTime; field in class:CountdownConditionProvider
89 pw.print(" mTime="); pw.println(mTime);
112 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId);
120 if (mTime > 0) {
123 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS);
124 if (mTime <= now) {
126 notifyCondition(newCondition(mTime, Condition.STATE_FALSE));
129 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
133 (mTime <
[all...]
/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/location/java/android/location/
H A DLocation.java114 private long mTime = 0; field in class:Location
151 mTime = l.mTime;
168 mTime = 0;
520 return mTime;
530 mTime = time;
795 if (mTime == 0) return false;
816 if (mTime == 0) mTime = System.currentTimeMillis();
854 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.java135 private Calendar mTime; field in class:TextClock
259 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone));
261 mTime = Calendar.getInstance();
597 mTime.setTimeInMillis(System.currentTimeMillis());
598 setText(DateFormat.format(mFormat, mTime));
599 setContentDescription(DateFormat.format(mDescFormat, mTime));
H A DDateTimeView.java64 Date mTime; field in class:DateTimeView
123 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0);
145 if (mTime == null || getVisibility() == GONE) {
154 Date time = mTime;
207 String text = format.format(mTime);
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java78 private TrustedTime mTime; field in class:NetworkTimeUpdateService
104 mTime = NtpTrustedTime.getInstance(context);
188 if (mTime.getCacheAge() >= mPollingIntervalMs) {
189 mTime.forceRefresh();
193 if (mTime.getCacheAge() < mPollingIntervalMs) {
194 final long ntp = mTime.currentTimeMillis();
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp134 timestamp.mTime.tv_sec = reply.readInt32();
135 timestamp.mTime.tv_nsec = reply.readInt32();
199 reply->writeInt32(timestamp.mTime.tv_sec);
200 reply->writeInt32(timestamp.mTime.tv_nsec);
/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/
H A DNetworkPolicyManagerServiceTest.java120 private TrustedTime mTime; field in class:NetworkPolicyManagerServiceTest
191 mTime = createMock(TrustedTime.class);
196 mStatsService, mNetworkManager, mTime, mPolicyDir, true);
240 mTime = null;
817 expect(mTime.forceRefresh()).andReturn(false).anyTimes();
818 expect(mTime.hasCache()).andReturn(true).anyTimes();
819 expect(mTime.currentTimeMillis()).andReturn(currentTimeMillis()).anyTimes();
820 expect(mTime.getCacheAge()).andReturn(0L).anyTimes();
821 expect(mTime.getCacheCertainty()).andReturn(0L).anyTimes();
1004 EasyMock.replay(mActivityManager, mStatsService, mPolicyListener, mNetworkManager, mTime,
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp466 if (mAudioCommands[0]->mTime <= curTime) {
631 waitTime = mAudioCommands[0]->mTime - curTime;
916 command->mTime = systemTime() + milliseconds(delayMs);
927 if (command2->mTime <= command->mTime) break;
970 command->mTime = command2->mTime;
984 command->mTime = command2->mTime;
996 command->mTime
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java158 private final TrustedTime mTime; field in class:NetworkStatsService
294 mTime = checkNotNull(time, "missing TrustedTime");
386 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
756 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
1060 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
1074 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) {
1075 mTime
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DNetworkStatsServiceTest.java141 private TrustedTime mTime; field in class:NetworkStatsServiceTest
166 mTime = createMock(TrustedTime.class);
176 mServiceContext, mNetManager, alarmManager, wakeLock, mTime,
216 mTime = null;
1131 expect(mTime.forceRefresh()).andReturn(false).anyTimes();
1132 expect(mTime.hasCache()).andReturn(true).anyTimes();
1133 expect(mTime.currentTimeMillis()).andReturn(currentTimeMillis()).anyTimes();
1134 expect(mTime.getCacheAge()).andReturn(0L).anyTimes();
1135 expect(mTime.getCacheCertainty()).andReturn(0L).anyTimes();
1253 EasyMock.replay(mNetManager, mTime, mSetting
[all...]
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java1160 private final long mTime; field in class:AppOpsManager.OpEntry
1170 mTime = time;
1186 return mTime;
1198 return mDuration == -1 ? (int)(System.currentTimeMillis()-mTime) : mDuration;
1218 dest.writeLong(mTime);
1228 mTime = source.readLong();
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java451 private long mTime; field in class:StateMachine.LogRec
482 mTime = System.currentTimeMillis();
494 return mTime;
537 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;
/frameworks/av/media/libstagefright/
H A DMediaSync.cpp490 ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000;
496 // thus the mTime estimate may become stale. Assuming that the

Completed in 3471 milliseconds

12