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

12

/frameworks/av/include/media/
H A DAudioTimestamp.h27 mTime.tv_sec = 0;
28 mTime.tv_nsec = 0;
32 struct timespec mTime; // corresponding CLOCK_MONOTONIC when frame is expected to present member in class:android::AudioTimestamp
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUnixCalendar.java30 private long mTime; field in class:UnixCalendar
33 mTime = time;
37 mTime -= mTime % DAY_IN_MILLIS;
41 mTime -= mTime % WEEK_IN_MILLIS;
45 mTime -= mTime % MONTH_IN_MILLIS;
49 mTime -= mTime
[all...]
/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/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/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);
117 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId);
125 if (mTime > 0) {
128 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS);
129 if (mTime <= now) {
131 notifyCondition(newCondition(mTime, Condition.STATE_FALSE));
134 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
138 (mTime <
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java70 private TrustedTime mTime; field in class:NetworkTimeUpdateService
96 mTime = NtpTrustedTime.getInstance(context);
180 if (mTime.getCacheAge() >= mPollingIntervalMs) {
181 mTime.forceRefresh();
185 if (mTime.getCacheAge() < mPollingIntervalMs) {
186 final long ntp = mTime.currentTimeMillis();
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java57 Date mTime; field in class:DateTimeView
100 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0);
105 if (mTime == null) {
112 Date time = mTime;
165 String text = format.format(mTime);
H A DTextClock.java135 private Calendar mTime; field in class:TextClock
253 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone));
255 mTime = Calendar.getInstance();
576 mTime.setTimeInMillis(System.currentTimeMillis());
577 setText(DateFormat.format(mFormat, mTime));
578 setContentDescription(DateFormat.format(mDescFormat, mTime));
/frameworks/base/location/java/android/location/
H A DLocation.java82 private long mTime = 0; field in class:Location
132 mTime = l.mTime;
153 mTime = 0;
509 return mTime;
519 mTime = time;
784 if (mTime == 0) return false;
805 if (mTime == 0) mTime = System.currentTimeMillis();
843 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/av/media/libmediaplayerservice/
H A DDrmSessionManager.h70 int64_t mTime; member in struct:android::DrmSessionManager
H A DDrmSessionManager.cpp60 mTime(0) {}
64 mTime(0) {}
178 return mTime++;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeaderView.java71 private TextView mTime; field in class:StatusBarHeaderView
143 mTime = (TextView) findViewById(R.id.time_view);
176 mTime.setPivotX(rtl ? mTime.getWidth() : 0);
177 mTime.setPivotY(mTime.getBaseline());
397 mTime.setTextSize(TypedValue.COMPLEX_UNIT_PX, mExpanded
400 mTime.setScaleX(1f);
401 mTime.setScaleY(1f);
407 mAmPm.setTranslationX((rtl ? 1 : -1) * mTime
[all...]
/frameworks/av/media/libmedia/
H A DIAudioTrack.cpp186 timestamp.mTime.tv_sec = reply.readInt32();
187 timestamp.mTime.tv_nsec = reply.readInt32();
280 reply->writeInt32(timestamp.mTime.tv_sec);
281 reply->writeInt32(timestamp.mTime.tv_nsec);
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp88 int ok = mStream->get_presentation_position(mStream, &position64, &timestamp.mTime);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkPolicyManagerServiceTest.java119 private TrustedTime mTime; field in class:NetworkPolicyManagerServiceTest
192 mTime = createMock(TrustedTime.class);
197 mStatsService, mNetworkManager, mTime, mPolicyDir, true);
245 mTime = null;
845 expect(mTime.forceRefresh()).andReturn(false).anyTimes();
846 expect(mTime.hasCache()).andReturn(true).anyTimes();
847 expect(mTime.currentTimeMillis()).andReturn(currentTimeMillis()).anyTimes();
848 expect(mTime.getCacheAge()).andReturn(0L).anyTimes();
849 expect(mTime.getCacheCertainty()).andReturn(0L).anyTimes();
1033 mNetworkManager, mTime, mConnManage
[all...]
H A DNetworkStatsServiceTest.java114 private TrustedTime mTime; field in class:NetworkStatsServiceTest
134 mTime = createMock(TrustedTime.class);
139 mServiceContext, mNetManager, mAlarmManager, mTime, mStatsDir, mSettings);
174 mTime = null;
951 expect(mTime.forceRefresh()).andReturn(false).anyTimes();
952 expect(mTime.hasCache()).andReturn(true).anyTimes();
953 expect(mTime.currentTimeMillis()).andReturn(currentTimeMillis()).anyTimes();
954 expect(mTime.getCacheAge()).andReturn(0L).anyTimes();
955 expect(mTime.getCacheCertainty()).andReturn(0L).anyTimes();
1051 EasyMock.replay(mNetManager, mAlarmManager, mTime, mSetting
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java159 private final TrustedTime mTime; field in class:NetworkStatsService
264 mTime = checkNotNull(time, "missing TrustedTime");
359 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
751 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
987 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
1001 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) {
1002 mTime
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyService.cpp435 if (mAudioCommands[0]->mTime <= curTime) {
587 waitTime = mAudioCommands[0]->mTime - curTime;
848 command->mTime = systemTime() + milliseconds(delayMs);
859 if (command2->mTime <= command->mTime) break;
902 command->mTime = command2->mTime;
916 command->mTime = command2->mTime;
961 command->mTime
[all...]
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java1111 private final long mTime; field in class:AppOpsManager.OpEntry
1121 mTime = time;
1137 return mTime;
1149 return mDuration == -1 ? (int)(System.currentTimeMillis()-mTime) : mDuration;
1169 dest.writeLong(mTime);
1179 mTime = source.readLong();
/frameworks/av/services/audioflinger/
H A DFastMixer.cpp355 perTrackTimestamp.mTime = mTimestamp.mTime;
/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 3922 milliseconds

12