/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 | 30 private long mTime; // Time the info was collected since boot in nanos; field in DataConnectionRealTimeInfo 49 mTime = time; in DataConnectionRealTimeInfo() 59 mTime = Long.MAX_VALUE; in DataConnectionRealTimeInfo() 67 mTime = in.readLong(); in DataConnectionRealTimeInfo() 75 return mTime; in getTime() 92 out.writeLong(mTime); in writeToParcel() 114 result = (prime * result) + mTime; in hashCode() 131 return (mTime == other.mTime) in equals() 139 sb.append("mTime=").append(mTime); in toString()
|
/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/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | FlattenerTest.cpp | 81 std::chrono::steady_clock::time_point mTime = kStartTime; member in android::compositionengine::__anonf6b2b29b0111::FlattenerTest 162 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in initializeFlattener() 168 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in initializeFlattener() 179 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in expectAllLayersFlattened() 189 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in expectAllLayersFlattened() 224 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in TEST_F() 265 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in TEST_F() 283 mTime += 200ms; in TEST_F() 306 mTime += 200ms; in TEST_F() 311 mFlattener->flattenLayers(layers, getNonBufferHash(layers), mTime)); in TEST_F() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | CountdownConditionProvider.java | 55 private long mTime; field in CountdownConditionProvider 91 pw.print(" mTime="); pw.println(mTime); in dump() 115 mTime = ZenModeConfig.tryParseCountdownConditionId(conditionId); in onSubscribe() 121 if (mTime > 0) { in onSubscribe() 124 DateUtils.getRelativeTimeSpanString(mTime, now, DateUtils.MINUTE_IN_MILLIS); in onSubscribe() 125 if (mTime <= now) { in onSubscribe() 127 notifyCondition(newCondition(mTime, mIsAlarm, Condition.STATE_FALSE)); in onSubscribe() 130 alarms.setExact(AlarmManager.RTC_WAKEUP, mTime, pendingIntent); in onSubscribe() 134 (mTime <= now ? "Not scheduling" : "Scheduling"), in onSubscribe() 135 ACTION, ts(mTime), mTime - now, span, ts(now))); in onSubscribe()
|
/frameworks/base/core/java/android/app/ |
D | AsyncNotedAppOp.java | 59 private final @CurrentTimeMillisLong long mTime; field in AsyncNotedAppOp 127 this.mTime = time; in AsyncNotedAppOp() 129 CurrentTimeMillisLong.class, null, mTime); in AsyncNotedAppOp() 163 return mTime; in getTime() 177 "time = " + mTime + in toString() 198 && mTime == that.mTime; in equals() 212 _hash = 31 * _hash + Long.hashCode(mTime); in hashCode() 229 dest.writeLong(mTime); in writeToParcel() 262 this.mTime = time; in AsyncNotedAppOp() 264 CurrentTimeMillisLong.class, null, mTime); in AsyncNotedAppOp()
|
/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/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/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 | 221 private long mTime; field in ParcelableCallAnalytics.EventTiming 225 this.mTime = time; in EventTiming() 230 mTime = in.readLong(); in EventTiming() 238 return mTime; in getTime() 249 out.writeLong(mTime); in writeToParcel()
|
/frameworks/base/tests/benchmarks/internal/src/com/android/internal/ |
D | LambdaPerfTest.java | 75 private long mTime; field in LambdaPerfTest 96 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mTaskId, mTime))); in test1ParamPredicate() 99 PooledLambda.__(Task.class), mTaskId, mTime); in test1ParamPredicate() 109 mTime = 54321; in test2PrimitiveParamsPredicate() 111 evaluate(LAMBDA_FORM_REGULAR, () -> handleTask(t -> t.doSomething(mTaskId, mTime))); in test2PrimitiveParamsPredicate() 114 PooledLambda.__(Task.class), mTaskId, mTime); in test2PrimitiveParamsPredicate() 138 final Message m = Message.obtain().setCallback(() -> mTask.doSomething(mTaskId, mTime)); in testMessage() 143 final Message m = PooledLambda.obtainMessage(Task::doSomething, mTask, mTaskId, mTime); in testMessage() 165 final Runnable regularAction = () -> handleTask(t -> t.doSomething(mTaskId, mTime)); in testMultiThread() 172 PooledLambda.__(Task.class), mTaskId, mTime); in testMultiThread()
|
/frameworks/base/services/core/java/com/android/server/input/debug/ |
D | RotaryInputGraphView.java | 105 && (eventTime - mGraphValues.getFirst().mTime) > MAX_SHOWN_TIME_INTERVAL) { in addValue() 191 final long mostRecentTime = mGraphValues.getLast().mTime; 198 final int age = (int) (mostRecentTime - value.mTime); 252 long mTime; 256 this.mTime = time; 308 oldValue.mTime = time;
|
/frameworks/base/core/java/android/widget/ |
D | TextClock.java | 147 private Calendar mTime; field in TextClock 199 Instant now = mTime.toInstant(); 200 ZoneId zone = mTime.getTimeZone().toZoneId(); 295 mTime = Calendar.getInstance(TimeZone.getTimeZone(timeZone)); in createTime() 297 mTime = Calendar.getInstance(); in createTime() 644 mTime.setTimeInMillis(System.currentTimeMillis()); in onTimeChanged() 645 setText(DateFormat.format(mFormat, mTime)); in onTimeChanged() 646 setContentDescription(DateFormat.format(mDescFormat, mTime)); in onTimeChanged()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/ |
D | BrightnessEvent.java | 53 private long mTime; field in BrightnessEvent 93 mTime = that.getTime(); in copyFrom() 122 mTime = SystemClock.uptimeMillis(); in reset() 196 return (includeTime ? FORMAT.format(new Date(mTime)) + " - " : "") in toString() 235 return mTime; in getTime() 239 this.mTime = time; in setTime()
|
/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/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | TouchState.java | 498 return mReceivedPointers[pointerId].mTime; in getReceivedPointerDownTime() 559 final long downPointerTime = mReceivedPointers[pointerId].mTime; in findPrimaryPointerId() 597 private long mTime; field in TouchState.PointerDownInfo 602 mTime = time; in set() 608 mTime = 0; in clear()
|
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/ |
D | RemoteComposeCanvas.java | 217 private long mTime = System.nanoTime(); field in RemoteComposeCanvas 232 if (System.nanoTime() - mTime > 1000000000L) { in onDraw() 235 mTime = System.nanoTime(); in onDraw()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySavingStatsTest.java | 52 private long mTime = 1_000_000; // Some random starting time. field in BatterySavingStatsTest.BatterySavingStatsTestable 62 return mTime; in injectCurrentTime() 81 mTime += 60_000 * minutes; in advanceClock()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 369 private final Calendar mTime = Calendar.getInstance(); field in ClockDrawableWrapper.ClockIconDrawable 399 mAnimInfo.applyTime(mTime, mFG); in ClockIconDrawable() 428 mAnimInfo.applyTime(mTime, mFG); in drawInternal() 460 if (mAnimInfo.applyTime(mTime, mFG)) { in run()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 1799 if (mAudioCommands[0]->mTime <= curTime) { in threadLoop() 2047 waitTime = mAudioCommands[0]->mTime - curTime; in threadLoop() 2386 command->mTime = systemTime() + milliseconds(delayMs); in insertCommand_l() 2397 if (command2->mTime <= command->mTime) break; in insertCommand_l() 2440 command->mTime = command2->mTime; in insertCommand_l() 2454 command->mTime = command2->mTime; in insertCommand_l() 2466 command->mTime = command2->mTime; in insertCommand_l() 2512 command->mTime = command2->mTime; in insertCommand_l() 2582 (int)ns2s(mTime), in dump() 2583 (int)ns2ms(mTime)%1000, in dump()
|
/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 | 418 mTime = new Time(Time.TIMEZONE_UTC); in DaySet() 443 t = mTime; in get() 463 t = mTime; in get() 612 private Time mTime; field in RecurrenceProcessor.DaySet
|
/frameworks/libs/modules-utils/java/com/android/internal/util/ |
D | StateMachine.java | 454 private long mTime; field in StateMachine.LogRec 485 mTime = System.currentTimeMillis(); in update() 497 return mTime; in getTime() 540 c.setTimeInMillis(mTime); in toString()
|
/frameworks/av/media/libaudioclient/ |
D | AidlConversion.cpp | 523 legacy.mTime.tv_sec = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.sec)); in aidl2legacy_AudioTimestampInternal_AudioTimestamp() 524 legacy.mTime.tv_nsec = VALUE_OR_RETURN(convertIntegral<uint32_t>(aidl.nsec)); in aidl2legacy_AudioTimestampInternal_AudioTimestamp() 532 aidl.sec = VALUE_OR_RETURN(convertIntegral<int64_t>(legacy.mTime.tv_sec)); in legacy2aidl_AudioTimestamp_AudioTimestampInternal() 533 aidl.nsec = VALUE_OR_RETURN(convertIntegral<int32_t>(legacy.mTime.tv_nsec)); in legacy2aidl_AudioTimestamp_AudioTimestampInternal()
|