/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UnixCalendar.java | 28 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/core/java/android/telephony/ |
D | DataConnectionRealTimeInfo.java | 29 private long mTime; // Time the info was collected since boot in nanos; field in DataConnectionRealTimeInfo 48 mTime = time; in DataConnectionRealTimeInfo() 58 mTime = Long.MAX_VALUE; in DataConnectionRealTimeInfo() 66 mTime = in.readLong(); in DataConnectionRealTimeInfo() 74 return mTime; in getTime() 91 out.writeLong(mTime); in writeToParcel() 113 result = (prime * result) + mTime; in hashCode() 130 return (mTime == other.mTime) in equals() 138 sb.append("mTime=").append(mTime); in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | ImageClock.java | 40 private final Calendar mTime = Calendar.getInstance(TimeZone.getDefault()); field in ImageClock 61 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged() 62 final float hourAngle = mTime.get(Calendar.HOUR) * 30f + mTime.get(Calendar.MINUTE) * 0.5f; in onTimeChanged() 64 final float minuteAngle = mTime.get(Calendar.MINUTE) * 6f; in onTimeChanged() 66 setContentDescription(DateFormat.format(mDescFormat, mTime)); in onTimeChanged() 77 mTime.setTimeZone(timeZone); in onTimeZoneChanged() 100 mTime.setTimeZone(mTimeZone != null ? mTimeZone : TimeZone.getDefault()); in onAttachedToWindow()
|
/frameworks/base/core/java/android/os/health/ |
D | TimerStat.java | 32 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/ |
D | CountdownConditionProvider.java | 54 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/base/tests/GamePerformance/src/android/gameperformance/ |
D | GraphicBufferMetrics.java | 104 public final long mTime; field in GraphicBufferMetrics.RawEvent 114 mTime = time; in RawEvent() 145 System.err.println(mTime + "[" + mDuration + "] " + mName); in dump() 157 public final long mTime; field in GraphicBufferMetrics.BufferEvent 163 mTime = time; in BufferEvent() 170 return "Type: " + mType + ". Time: " + mTime + in toString() 303 current.mDuration = timeStampMcs - current.mTime; in buildEventModel() 389 new BufferEvent(EVENT_POST_BUFFER, event.mTime, event.mDuration, null)); in processGraphicBufferResult() 400 if (o1.mTime < o2.mTime) { in processGraphicBufferResult() 402 } if (o1.mTime > o2.mTime) { in processGraphicBufferResult() [all …]
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | WaveTriggerFilter.java | 33 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/av/media/libaudioclient/include/media/ |
D | AudioTimestamp.h | 29 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/base/location/java/android/location/ |
D | LocationTime.java | 29 private final long mTime; field in LocationTime 33 mTime = time; in LocationTime() 40 return mTime; in getTime() 52 out.writeLong(mTime); in writeToParcel()
|
D | Location.java | 134 private long mTime = 0; field in Location 182 mTime = l.mTime; in set() 203 mTime = 0; in reset() 559 return mTime; in getTime() 569 mTime = time; in setTime() 1044 if (mTime == 0) return false; in isComplete() 1066 if (mTime == 0) mTime = System.currentTimeMillis(); in makeComplete() 1107 if (mTime == 0) { in toString() 1148 l.mTime = in.readLong(); 1179 parcel.writeLong(mTime); in writeToParcel()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | TelecomAnalytics.java | 80 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()
|
D | ParcelableCallAnalytics.java | 218 private long mTime; field in ParcelableCallAnalytics.EventTiming 222 this.mTime = time; in EventTiming() 227 mTime = in.readLong(); in EventTiming() 235 return mTime; in getTime() 246 out.writeLong(mTime); in writeToParcel()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkTimeUpdateService.java | 75 private final NtpTrustedTime mTime; field in NetworkTimeUpdateService 100 mTime = NtpTrustedTime.getInstance(context); in NetworkTimeUpdateService() 157 NtpTrustedTime.TimeResult cachedNtpResult = mTime.getCachedTimeResult(); in onPollNetworkTimeUnderWakeLock() 160 mTime.forceRefresh(); in onPollNetworkTimeUnderWakeLock() 161 cachedNtpResult = mTime.getCachedTimeResult(); in onPollNetworkTimeUnderWakeLock() 281 NtpTrustedTime.TimeResult ntpResult = mTime.getCachedTimeResult(); in dump()
|
/frameworks/base/core/java/android/widget/ |
D | TextClock.java | 140 private Calendar mTime; field in TextClock 274 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime() 276 mTime = Calendar.getInstance(); in createTime() 648 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged() 649 setText(DateFormat.format(mFormat, mTime)); in onTimeChanged() 650 setContentDescription(DateFormat.format(mDescFormat, mTime)); in onTimeChanged()
|
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/ |
D | DozeTestDream.java | 64 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/media/libaudioclient/ |
D | IAudioTrack.cpp | 152 timestamp.mTime.tv_sec = reply.readInt32(); in getTimestamp() 153 timestamp.mTime.tv_nsec = reply.readInt32(); in getTimestamp() 268 reply->writeInt32(timestamp.mTime.tv_sec); in onTransact() 269 reply->writeInt32(timestamp.mTime.tv_nsec); in onTransact()
|
D | AudioTrack.cpp | 2645 timestamp.mTime = convertNsToTimespec(nowNs); in getTimestamp_l() 2654 const int64_t at = audio_utils_ns_from_timespec(×tamp.mTime); in getTimestamp_l() 2666 timestamp.mTime = convertNsToTimespec(limit); in getTimestamp_l() 2698 clock_gettime(CLOCK_MONOTONIC, ×tamp.mTime); in getTimestamp_l() 2717 const int64_t timestampTimeUs = convertTimespecToUs(timestamp.mTime); in getTimestamp_l() 2796 int64_t currentTimeNanos = audio_utils_ns_from_timespec(×tamp.mTime); in getTimestamp_l() 2807 timestamp.mTime = convertNsToTimespec(limitNs); in getTimestamp_l() 2816 audio_utils_ns_from_timespec(&mPreviousTimestamp.mTime); in getTimestamp_l() 2826 timestamp.mTime = mPreviousTimestamp.mTime; in getTimestamp_l() 2855 audio_utils_ns_from_timespec(×tamp.mTime) - previousTimeNanos; in getTimestamp_l()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySavingStatsTest.java | 50 private long mTime = 1_000_000; // Some random starting time. field in BatterySavingStatsTest.BatterySavingStatsTestable 60 return mTime; in injectCurrentTime() 79 mTime += 60_000 * minutes; in advanceClock()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1119 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop() 1310 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop() 1610 command->mTime = systemTime() + milliseconds(delayMs); in insertCommand_l() 1621 if (command2->mTime <= command->mTime) break; in insertCommand_l() 1664 command->mTime = command2->mTime; in insertCommand_l() 1678 command->mTime = command2->mTime; in insertCommand_l() 1690 command->mTime = command2->mTime; in insertCommand_l() 1736 command->mTime = command2->mTime; in insertCommand_l() 1798 (int)ns2s(mTime), in dump() 1799 (int)ns2ms(mTime)%1000, in dump()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 54 mTime = -1; in FakeInputDispatcherPolicy() 64 ASSERT_EQ(mTime, args->eventTime) in assertFilterInputEventWasCalledWithExpectedArgs() 78 ASSERT_EQ(mTime, args->eventTime) in assertFilterInputEventWasCalledWithExpectedArgs() 101 nsecs_t mTime; member in android::inputdispatcher::FakeInputDispatcherPolicy 129 mTime = keyEvent->getEventTime(); in filterInputEvent() 137 mTime = motionEvent->getEventTime(); in filterInputEvent() 180 mTime = -1; in reset()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V21.java | 49 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/ |
D | RecurrenceProcessor.java | 420 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
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecController.java | 908 private final long mTime; field in HdmiCecController.MessageHistoryRecord 913 mTime = System.currentTimeMillis(); in MessageHistoryRecord() 921 pw.print(sdf.format(new Date(mTime))); in dump()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StateMachine.java | 453 private long mTime; field in StateMachine.LogRec 484 mTime = System.currentTimeMillis(); in update() 496 return mTime; in getTime() 539 c.setTimeInMillis(mTime); in toString()
|
/frameworks/av/media/libstagefright/ |
D | MediaSync.cpp | 491 numFramesPlayedAtUs = ts.mTime.tv_sec * 1000000LL + ts.mTime.tv_nsec / 1000; in getPlayedOutAudioDurationMedia_l()
|