/frameworks/av/include/media/ |
H A D | AudioTimestamp.h | 27 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 D | UnixCalendar.java | 30 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 D | DataConnectionRealTimeInfo.java | 29 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 D | WaveTriggerFilter.java | 33 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 D | CountdownConditionProvider.java | 54 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 D | NetworkTimeUpdateService.java | 69 private TrustedTime mTime; field in class:NetworkTimeUpdateService 94 mTime = NtpTrustedTime.getInstance(context); 167 if (mTime.getCacheAge() >= mPollingIntervalMs) { 168 mTime.forceRefresh(); 172 if (mTime.getCacheAge() < mPollingIntervalMs) { 173 final long ntp = mTime.currentTimeMillis();
|
/frameworks/base/core/java/android/widget/ |
H A D | DateTimeView.java | 57 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 D | TextClock.java | 135 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 D | Location.java | 82 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 D | DozeTestDream.java | 64 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 D | DrmSessionManager.h | 70 int64_t mTime; member in struct:android::DrmSessionManager
|
H A D | DrmSessionManager.cpp | 60 mTime(0) {} 64 mTime(0) {} 178 return mTime++;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarHeaderView.java | 70 private TextView mTime; field in class:StatusBarHeaderView 142 mTime = (TextView) findViewById(R.id.time_view); 175 mTime.setPivotX(rtl ? mTime.getWidth() : 0); 176 mTime.setPivotY(mTime.getBaseline()); 390 mTime.setTextSize(TypedValue.COMPLEX_UNIT_PX, mExpanded 393 mTime.setScaleX(1f); 394 mTime.setScaleY(1f); 400 mAmPm.setTranslationX((rtl ? 1 : -1) * mTime [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioTrack.cpp | 186 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 D | AudioStreamOutSink.cpp | 88 int ok = mStream->get_presentation_position(mStream, &position64, ×tamp.mTime);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 119 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 D | NetworkStatsServiceTest.java | 114 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 D | NetworkStatsService.java | 159 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 D | AudioPolicyService.cpp | 435 if (mAudioCommands[0]->mTime <= curTime) { 581 waitTime = mAudioCommands[0]->mTime - curTime; 842 command->mTime = systemTime() + milliseconds(delayMs); 853 if (command2->mTime <= command->mTime) break; 896 command->mTime = command2->mTime; 910 command->mTime = command2->mTime; 955 command->mTime [all...] |
/frameworks/base/core/java/android/app/ |
H A D | AppOpsManager.java | 1111 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 D | FastMixer.cpp | 355 perTrackTimestamp.mTime = mTimestamp.mTime;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | StateMachine.java | 451 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 D | RecurrenceProcessor.java | 420 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 D | VCardParserImpl_V21.java | 49 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 D | MediaSync.cpp | 490 ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; 496 // thus the mTime estimate may become stale. Assuming that the
|