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.java56 private long mTime; field in class:CountdownConditionProvider
65 pw.print(" mTime="); pw.println(mTime);
93 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId);
101 if (mTime > 0) {
104 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS);
105 if (mTime <= now) {
107 notifyCondition(newCondition(mTime, Condition.STATE_FALSE));
110 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent);
114 (mTime <
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DFirstFrameAnimatorHelper.java68 private long mTime = System.currentTimeMillis();
73 Log.d("FirstFrameAnimatorHelper", "TICK " + (newTime - mTime));
74 mTime = newTime;
/frameworks/base/services/core/java/com/android/server/
H A DNetworkTimeUpdateService.java70 private TrustedTime mTime; field in class:NetworkTimeUpdateService
95 mTime = NtpTrustedTime.getInstance(context);
168 if (mTime.getCacheAge() >= mPollingIntervalMs) {
169 mTime.forceRefresh();
173 if (mTime.getCacheAge() < mPollingIntervalMs) {
174 final long ntp = mTime.currentTimeMillis();
/frameworks/base/core/java/android/widget/
H A DDateTimeView.java59 Date mTime; field in class:DateTimeView
96 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0);
101 if (mTime == null) {
108 Date time = mTime;
161 String text = format.format(mTime);
H A DTextClock.java127 private Calendar mTime; field in class:TextClock
243 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone));
245 mTime = Calendar.getInstance();
516 mTime.setTimeInMillis(System.currentTimeMillis());
517 setText(DateFormat.format(mFormat, 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;
504 return mTime;
514 mTime = time;
779 if (mTime == 0) return false;
800 if (mTime == 0) mTime = System.currentTimeMillis();
838 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarHeaderView.java64 private TextView mTime; field in class:StatusBarHeaderView
135 mTime = (TextView) findViewById(R.id.time_view);
167 mTime.setPivotX(rtl ? mTime.getWidth() : 0);
168 mTime.setPivotY(mTime.getBaseline());
383 mTime.setTextSize(TypedValue.COMPLEX_UNIT_PX, mExpanded
386 mTime.setScaleX(1f);
387 mTime.setScaleY(1f);
393 mAmPm.setTranslationX((rtl ? 1 : -1) * mTime
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyService.cpp390 if (mAudioCommands[0]->mTime <= curTime) {
522 waitTime = mAudioCommands[0]->mTime - curTime;
765 command->mTime = systemTime() + milliseconds(delayMs);
776 if (command2->mTime <= command->mTime) break;
819 command->mTime = command2->mTime;
833 command->mTime = command2->mTime;
877 command->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();
1035 mNetworkManager, mTime, mConnManage
[all...]
H A DNetworkStatsServiceTest.java113 private TrustedTime mTime; field in class:NetworkStatsServiceTest
133 mTime = createMock(TrustedTime.class);
138 mServiceContext, mNetManager, mAlarmManager, mTime, mStatsDir, mSettings);
173 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.java156 private final TrustedTime mTime; field in class:NetworkStatsService
264 mTime = checkNotNull(time, "missing TrustedTime");
375 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
677 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
942 final long currentTime = mTime.hasCache() ? mTime.currentTimeMillis()
966 if (mTime.getCacheAge() > mSettings.getTimeCacheMaxAge()) {
967 mTime
[all...]
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/
H A DJankTestBase.java98 int mTime = DEFAULT_TRACE_TIME; field in class:JankTestBase.SystraceTracker
114 mTime = traceTime;
123 String command = String.format(ATRACE_COMMAND, mTime);
/frameworks/base/core/java/android/app/
H A DAppOpsManager.java847 private final long mTime; field in class:AppOpsManager.OpEntry
854 mTime = time;
868 return mTime;
880 return mDuration == -1 ? (int)(System.currentTimeMillis()-mTime) : mDuration;
892 dest.writeLong(mTime);
900 mTime = source.readLong();
/frameworks/webview/chromium/tests/prebuilts/
H A Dandroid-janktesthelper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/uiautomator/ com/android/uiautomator/janktesthelper/ ...
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java449 private long mTime; field in class:StateMachine.LogRec
480 mTime = System.currentTimeMillis();
492 return mTime;
535 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/services/audioflinger/
H A DTracks.cpp918 struct timespec time = playbackThread->mLatchQ.mTimestamp.mTime;
920 if (time.tv_sec < mPreviousTimestamp.mTime.tv_sec ||
921 (time.tv_sec == mPreviousTimestamp.mTime.tv_sec &&
922 time.tv_nsec < mPreviousTimestamp.mTime.tv_nsec)) {
930 time = mPreviousTimestamp.mTime;
934 timestamp.mTime = time;

Completed in 716 milliseconds

12