Home
last modified time | relevance | path

Searched refs:startTimeMs (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/core/java/android/app/ondeviceintelligence/
DInferenceInfo.java38 private final long startTimeMs; field in InferenceInfo
58 public InferenceInfo(int uid, long startTimeMs, long endTimeMs, in InferenceInfo() argument
61 this.startTimeMs = startTimeMs; in InferenceInfo()
73 startTimeMs = in.readLong(); in InferenceInfo()
88 dest.writeLong(startTimeMs); in writeToParcel()
108 return startTimeMs; in getStartTimeMs()
153 private long startTimeMs; field in InferenceInfo.Builder
174 public Builder setStartTimeMs(long startTimeMs) { in setStartTimeMs() argument
175 this.startTimeMs = startTimeMs; in setStartTimeMs()
207 return new InferenceInfo(uid, startTimeMs, endTimeMs, in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModelTest.kt75 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 345, intent = null)) in chip_inCall_isShown()
88 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_inCall_startTimeConvertedToElapsedRealtime()
94 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(398_000) in chip_inCall_startTimeConvertedToElapsedRealtime()
102 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_inCall_iconIsPhone()
116 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_resetsCorrectly()
118 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(398_000) in chip_resetsCorrectly()
129 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 102_000, intent = null)) in chip_resetsCorrectly()
131 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(499_000) in chip_resetsCorrectly()
139 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = null)) in chip_inCall_nullIntent_clickListenerDoesNothing()
153 repo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 1000, intent = intent)) in chip_inCall_validIntent_clickListenerLaunchesIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/binder/
DChipChronometerBinder.kt29 fun bind(startTimeMs: Long, view: ChipChronometer) { in bind()
30 view.base = startTimeMs in bind()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsAggregator.java67 public void aggregatePowerStats(long startTimeMs, long endTimeMs, in aggregatePowerStats() argument
74 start(mStats, startTimeMs); in aggregatePowerStats()
77 long baseTime = startTimeMs > 0 ? startTimeMs : UNINITIALIZED; in aggregatePowerStats()
81 try (BatteryStatsHistoryIterator iterator = mHistory.iterate(startTimeMs, endTimeMs)) { in aggregatePowerStats()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSmartActions.java89 long startTimeMs = SystemClock.uptimeMillis(); in getSmartActionsFuture() local
100 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActionsFuture()
117 long startTimeMs = SystemClock.uptimeMillis(); in getSmartActions() local
126 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions()
137 long waitTimeMs = SystemClock.uptimeMillis() - startTimeMs; in getSmartActions()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/ui/viewmodel/
DOngoingActivityChipsViewModelTest.kt87 callRepo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 34, intent = null)) in chip_screenRecordShowAndCallShow_screenRecordShown()
113 callRepo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 34, intent = null)) in chip_shareToAppShowAndCallShow_shareToAppShown()
127 callRepo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 34, intent = null)) in chip_screenRecordAndShareToAppAndCastToOtherHideAndCallShown_callShown()
138 callRepo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 34, intent = null)) in chip_higherPriorityChipAdded_lowerPriorityChipReplaced()
171 callRepo.setOngoingCallState(OngoingCallModel.InCall(startTimeMs = 34, intent = null)) in chip_highestPriorityChipRemoved_showsNextPriorityChip()
/frameworks/base/media/java/android/media/
DTimedText.java279 public final int startTimeMs; field in TimedText.Karaoke
306 public Karaoke(int startTimeMs, int endTimeMs, int startChar, int endChar) { in Karaoke() argument
307 this.startTimeMs = startTimeMs; in Karaoke()
647 int startTimeMs = parcel.readInt(); in readKaraoke() local
651 Karaoke kara = new Karaoke(startTimeMs, endTimeMs, in readKaraoke()
DTtmlRenderer.java283 public TtmlCue(long startTimeMs, long endTimeMs, String text, String ttmlFragment) { in TtmlCue() argument
284 this.mStartTimeMs = startTimeMs; in TtmlCue()
306 public TtmlNode(String name, String attributes, String text, long startTimeMs, long endTimeMs, in TtmlNode() argument
311 this.mStartTimeMs = startTimeMs; in TtmlNode()
325 public boolean isActive(long startTimeMs, long endTimeMs) { in isActive() argument
326 return this.mEndTimeMs > startTimeMs && this.mStartTimeMs < endTimeMs; in isActive()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppTimeLimitController.java291 void noteUsageStart(long startTimeMs) { in noteUsageStart() argument
292 noteUsageStart(startTimeMs, startTimeMs); in noteUsageStart()
296 void noteUsageStart(long startTimeMs, long currentTimeMs) { in noteUsageStart() argument
303 startTimeMs = mLastUsageEndTimeMs > startTimeMs ? mLastUsageEndTimeMs : startTimeMs; in noteUsageStart()
304 mLastKnownUsageTimeMs = startTimeMs; in noteUsageStart()
306 mTimeLimitMs - mUsageTimeMs - currentTimeMs + startTimeMs; in noteUsageStart()
469 public void noteUsageStart(long startTimeMs, long currentTimeMs) { in noteUsageStart() argument
471 if (startTimeMs - mLastUsageEndTimeMs > mNewSessionThresholdMs) { in noteUsageStart()
477 super.noteUsageStart(startTimeMs, currentTimeMs); in noteUsageStart()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewActivity.java75 long startTimeMs = SystemClock.elapsedRealtime(); in waitForSurfaceSizeChanged() local
90 waitTimeMs -= (SystemClock.elapsedRealtime() - startTimeMs); in waitForSurfaceSizeChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/call/ui/viewmodel/
DCallChipViewModel.kt60 state.startTimeMs - systemClock.currentTimeMillis() + in <lambda>()
68 startTimeMs = startTimeInElapsedRealtime, in <lambda>()
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
DBugreportManagerTest.java730 long startTimeMs = now(); in waitTillDumpstateExitedOrTimeout() local
733 if (now() - startTimeMs >= DUMPSTATE_TEARDOWN_TIMEOUT_MS) { in waitTillDumpstateExitedOrTimeout()
736 Log.d(TAG, "Waited " + (now() - startTimeMs) + "ms for dumpstate to exit"); in waitTillDumpstateExitedOrTimeout()
741 long startTimeMs = now(); in waitTillDumpstateRunningOrTimeout() local
744 if (now() - startTimeMs >= DUMPSTATE_STARTUP_TIMEOUT_MS) { in waitTillDumpstateRunningOrTimeout()
747 Log.d(TAG, "Waited " + (now() - startTimeMs) + "ms for dumpstate to start"); in waitTillDumpstateRunningOrTimeout()
752 long startTimeMs = now(); in waitTillDoneOrTimeout() local
755 if (now() - startTimeMs >= BUGREPORT_TIMEOUT_MS) { in waitTillDoneOrTimeout()
758 Log.d(TAG, "Waited " + (now() - startTimeMs) + "ms for bugreport to finish"); in waitTillDoneOrTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/shared/model/
DOngoingCallModel.kt35 data class InCall(val startTimeMs: Long, val intent: PendingIntent?) : OngoingCallModel constant in com.android.systemui.statusbar.phone.ongoingcall.shared.model.OngoingCallModel.InCall
/frameworks/base/telecomm/java/android/telecom/Logging/
DSession.java154 public Session(String sessionId, String shortMethodName, long startTimeMs, in Session() argument
158 mExecutionStartTimeMs = startTimeMs; in Session()
211 public void setExecutionStartTimeMs(long startTimeMs) { in setExecutionStartTimeMs() argument
212 mExecutionStartTimeMs = startTimeMs; in setExecutionStartTimeMs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/chips/ui/model/
DOngoingActivityChipModel.kt40 val startTimeMs: Long, constant in com.android.systemui.statusbar.chips.ui.model.OngoingActivityChipModel.Shown
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/
DAudioPolicyDeathTestActivity.java126 long startTimeMs = System.currentTimeMillis(); in run() local
131 elapsedTimeMs = System.currentTimeMillis() - startTimeMs; in run()
DAudioPolicyDeathTest.java84 long startTimeMs = System.currentTimeMillis(); in waitForBroadcast() local
95 elapsedTimeMs = System.currentTimeMillis() - startTimeMs; in waitForBroadcast()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/data/repository/
DOngoingCallRepositoryTest.kt31 val inCallModel = OngoingCallModel.InCall(startTimeMs = 654, intent = null) in hasOngoingCall_matchesSet()
/frameworks/base/core/java/android/app/people/
DConversationStatus.java299 public @NonNull Builder setStartTimeMillis(long startTimeMs) { in setStartTimeMillis() argument
300 mStartTimeMs = startTimeMs; in setStartTimeMillis()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java158 long startTimeMs = System.currentTimeMillis(); in evaluate() local
162 timeStats.accept(stopTimeMs - startTimeMs); in evaluate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/call/domain/interactor/
DCallChipInteractorTest.kt42 val inCall = OngoingCallModel.InCall(startTimeMs = 1000, intent = null) in ongoingCallState_matchesRepo()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java371 BatteryHistoryFile getNextFile(BatteryHistoryFile current, long startTimeMs, in getNextFile() argument
389 if (file.monotonicTimeMs <= startTimeMs) { in getNextFile()
580 public void writeCommitSysConfigFile(long startTimeMs) { in writeCommitSysConfigFile() argument
582 "batterystats", SystemClock.uptimeMillis() - startTimeMs); in writeCommitSysConfigFile()
825 public BatteryStatsHistoryIterator iterate(long startTimeMs, long endTimeMs) { in iterate() argument
827 return copy().iterate(startTimeMs, endTimeMs); in iterate()
837 return new BatteryStatsHistoryIterator(this, startTimeMs, endTimeMs); in iterate()
859 public Parcel getNextParcel(long startTimeMs, long endTimeMs) { in getNextParcel() argument
878 BatteryHistoryFile nextFile = mHistoryDir.getNextFile(mCurrentFile, startTimeMs, in getNextParcel()
897 nextFile = mHistoryDir.getNextFile(nextFile, startTimeMs, endTimeMs); in getNextParcel()
[all …]
/frameworks/av/camera/aidl/android/hardware/camera2/
DICameraDeviceUser.aidl90 int[] endConfigure(int operatingMode, in CameraMetadataNative sessionParams, long startTimeMs); in endConfigure() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/chips/screenrecord/ui/viewmodel/
DScreenRecordChipViewModelTest.kt120 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(1234) in chip_timeResetsOnEachNewRecording()
129 assertThat((latest as OngoingActivityChipModel.Shown).startTimeMs).isEqualTo(5678) in chip_timeResetsOnEachNewRecording()
/frameworks/av/media/libstagefright/rtsp/
DAAVCAssembler.cpp131 const int64_t startTimeMs = source->mSysAnchorTime / 1000; in addNALUnit() local
138 int64_t playedTimeMs = nowTimeMs - startTimeMs; in addNALUnit()
180 printNowTimeMs(startTimeMs, nowTimeMs, playedTimeMs); in addNALUnit()
207 printNowTimeMs(startTimeMs, nowTimeMs, playedTimeMs); in addNALUnit()

12