Home
last modified time | relevance | path

Searched refs:timestampMs (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/car/services/tests/src/com/android/internal/car/
DUserMetricsTest.java164 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendStartingEvent() local
165 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_STARTING, timestampMs, /* fromUserId */ -1, in sendStartingEvent()
167 return timestampMs; in sendStartingEvent()
171 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendSwitchingEvent() local
172 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_SWITCHING, timestampMs, fromUserId, userId); in sendSwitchingEvent()
173 return timestampMs; in sendSwitchingEvent()
177 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendUnlockingEvent() local
178 mUserMetrics.onEvent(USER_LIFECYCLE_EVENT_TYPE_UNLOCKING, timestampMs, /* fromUserId */ -1, in sendUnlockingEvent()
180 return timestampMs; in sendUnlockingEvent()
184 long timestampMs = SystemClock.elapsedRealtimeNanos(); in sendUnlockedEvent() local
[all …]
/frameworks/opt/car/services/src/com/android/internal/car/
DUserMetrics.java85 public void onEvent(@UserLifecycleEventType int eventType, long timestampMs, in onEvent() argument
90 onUserStartingEventLocked(timestampMs, toUserId); in onEvent()
93 onUserSwitchingEventLocked(timestampMs, fromUserId, toUserId); in onEvent()
96 onUserUnlockingEventLocked(timestampMs, toUserId); in onEvent()
99 onUserUnlockedEventLocked(timestampMs, toUserId); in onEvent()
102 onUserStoppingEventLocked(timestampMs, toUserId); in onEvent()
105 onUserStoppedEventLocked(timestampMs, toUserId); in onEvent()
127 private void onUserStartingEventLocked(long timestampMs, @UserIdInt int userId) { in onUserStartingEventLocked() argument
138 mUserStartingMetrics.put(userId, new UserStartingMetric(userId, timestampMs)); in onUserStartingEventLocked()
141 private void onUserSwitchingEventLocked(long timestampMs, @UserIdInt int fromUserId, in onUserSwitchingEventLocked() argument
[all …]
/frameworks/base/core/java/android/net/metrics/
DWakeupEvent.java38 public long timestampMs; field in WakeupEvent
43 j.add(String.format("%tT.%tL", timestampMs, timestampMs)); in toString()
/frameworks/base/services/core/java/com/android/server/pm/
DSilentUpdatePolicy.java140 final Long timestampMs; in getTimestampMs() local
142 timestampMs = mSilentUpdateInfos.get(key); in getTimestampMs()
144 return timestampMs != null ? timestampMs : -1; in getTimestampMs()
/frameworks/base/services/core/java/com/android/server/notification/
DPulledStats.java125 public void addUndecoratedPackage(String packageName, long timestampMs) { in addUndecoratedPackage() argument
127 mTimePeriodEndMs = Math.max(mTimePeriodEndMs, timestampMs); in addUndecoratedPackage()
/frameworks/base/services/core/java/com/android/server/powerstats/
DProtoStreamUtils.java328 energyMeasurement[i].timestampMs += startWallTime; in adjustTimeSinceBootToEpoch()
345 pos.write(EnergyMeasurementProto.TIMESTAMP_MS, energyMeasurement[i].timestampMs); in packProtoMessage()
392 energyMeasurement.timestampMs = in unpackEnergyMeasurementProto()
426 + ", Timestamp (ms): " + energyMeasurement[i].timestampMs in print()
549 energyConsumerResult[i].timestampMs += startWallTime; in adjustTimeSinceBootToEpoch()
568 energyConsumerResult[i].timestampMs); in packProtoMessage()
665 energyConsumerResult.timestampMs = in unpackEnergyConsumerResultProto()
706 + ", Timestamp (ms): " + result.timestampMs in print()
DStatsPullAtomCallbackImpl.java95 if (energyMeasurement.durationMs == energyMeasurement.timestampMs) { in pullOnDevicePowerMeasurement()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java266 final long timestampMs; in onWakeupEvent() local
268 timestampMs = timestampNs / NANOS_PER_MS; in onWakeupEvent()
270 timestampMs = System.currentTimeMillis(); in onWakeupEvent()
275 event.timestampMs = timestampMs; in onWakeupEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DProximityClassifierTest.java152 private FalsingManager.ProximityEvent createSensorEvent(boolean covered, long timestampMs) { in createSensorEvent() argument
161 return timestampMs * NS_PER_MS; in createSensorEvent()
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java455 long timestampMs = 0; in parse() local
458 timestampMs = stat.st_atim.tv_sec * 1000 + stat.st_atim.tv_nsec / 1000000; in parse()
478 result.mTimestampMs = timestampMs; in parse()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java128 public void onTimeStamp(long timestampMs) { in onTimeStamp() argument
130 if (mLine.length() > 0 && timestampMs != mLastTimestamp) { in onTimeStamp()
135 mLastTimestamp = timestampMs; in onTimeStamp()
283 long timestampMs = WebVttParser.parseTimestampMs(mName); in yield_tag() local
284 mListener.onTimeStamp(timestampMs); in yield_tag()
336 void onTimeStamp(long timestampMs); in onTimeStamp() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/powerstats/
DPowerStatsServiceTest.java235 energyConsumedList[i].timestampMs = i; in getEnergyConsumed()
266 energyMeasurementList[i].timestampMs = i; in readEnergyMeter()
321 assertTrue(pssProto.energyMeasurement[i].timestampMs == in testWrittenMeterDataMatchesReadIncidentReportData()
363 assertTrue(pssProto.energyConsumerResult[i].timestampMs == in testWrittenModelDataMatchesReadIncidentReportData()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DBatteryExternalStatsWorkerTest.java274 result.timestampMs = mTimeSinceBoot; in addEnergyConsumer()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt36397 Landroid/net/metrics/WakeupEvent;->timestampMs:J