/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/telephony/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/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/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/av/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/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 179 mTime = l.mTime; in set() 200 mTime = 0; in reset() 556 return mTime; in getTime() 566 mTime = time; in setTime() 1041 if (mTime == 0) return false; in isComplete() 1063 if (mTime == 0) mTime = System.currentTimeMillis(); in makeComplete() 1104 if (mTime == 0) { in toString() 1145 l.mTime = in.readLong(); 1176 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 | OldNetworkTimeUpdateService.java | 77 private final NtpTrustedTime mTime; field in OldNetworkTimeUpdateService 103 mTime = NtpTrustedTime.getInstance(context); in OldNetworkTimeUpdateService() 168 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock() 170 mTime.forceRefresh(); in onPollNetworkTimeUnderWakeLock() 173 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock() 213 final long skew = Math.abs(mTime.currentTimeMillis() - System.currentTimeMillis()); in updateSystemClock() 220 SystemClock.setCurrentTimeMillis(mTime.currentTimeMillis()); in updateSystemClock() 325 pw.println("NTP cache age: " + mTime.getCacheAge()); in dump() 326 pw.println("NTP cache certainty: " + mTime.getCacheCertainty()); in dump()
|
D | NewNetworkTimeUpdateService.java | 77 private final NtpTrustedTime mTime; field in NewNetworkTimeUpdateService 103 mTime = NtpTrustedTime.getInstance(context); in NewNetworkTimeUpdateService() 168 if (mTime.getCacheAge() >= mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock() 170 mTime.forceRefresh(); in onPollNetworkTimeUnderWakeLock() 173 if (mTime.getCacheAge() < mPollingIntervalMs) { in onPollNetworkTimeUnderWakeLock() 213 final long skew = Math.abs(mTime.currentTimeMillis() - System.currentTimeMillis()); in updateSystemClock() 220 SystemClock.setCurrentTimeMillis(mTime.currentTimeMillis()); in updateSystemClock() 325 pw.println("NTP cache age: " + mTime.getCacheAge()); in dump() 326 pw.println("NTP cache certainty: " + mTime.getCacheCertainty()); in dump()
|
/frameworks/base/core/java/android/widget/ |
D | TextClock.java | 141 private Calendar mTime; field in TextClock 278 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime() 280 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()
|
D | DateTimeView.java | 66 Date mTime; field in DateTimeView 135 mTime = new Date(t.year-1900, t.month, t.monthDay, t.hour, t.minute, 0); in setTime() 168 if (mTime == null || getVisibility() == GONE) { in update() 177 Date time = mTime; in update() 230 String text = format.format(mTime); in update()
|
/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()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmSessionManager.cpp | 59 mTime(0) {} in DrmSessionManager() 63 mTime(0) {} in DrmSessionManager() 177 return mTime++; in getTime_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 | 1052 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop() 1233 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop() 1526 command->mTime = systemTime() + milliseconds(delayMs); in insertCommand_l() 1537 if (command2->mTime <= command->mTime) break; in insertCommand_l() 1580 command->mTime = command2->mTime; in insertCommand_l() 1594 command->mTime = command2->mTime; in insertCommand_l() 1606 command->mTime = command2->mTime; in insertCommand_l() 1652 command->mTime = command2->mTime; in insertCommand_l() 1714 (int)ns2s(mTime), in dump() 1715 (int)ns2ms(mTime)%1000, in dump()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 52 mTime = -1; in FakeInputDispatcherPolicy() 62 ASSERT_EQ(mTime, args->eventTime) in assertFilterInputEventWasCalledWithExpectedArgs() 76 ASSERT_EQ(mTime, args->eventTime) in assertFilterInputEventWasCalledWithExpectedArgs() 99 nsecs_t mTime; member in android::FakeInputDispatcherPolicy 127 mTime = keyEvent->getEventTime(); in filterInputEvent() 135 mTime = motionEvent->getEventTime(); in filterInputEvent() 178 mTime = -1; in reset()
|
/frameworks/av/media/libmedia/include/media/ |
D | DrmSessionManager.h | 70 int64_t mTime; member
|
/frameworks/av/include/mediadrm/ |
D | DrmSessionManager.h | 70 int64_t mTime; member
|