/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DefaultNetworkMetrics.java | 70 long timeMs = SystemClock.elapsedRealtime(); in listEvents() local 74 mCurrentDefaultNetwork.updateDuration(timeMs); in listEvents() 78 updateValidationTime(timeMs); in listEvents() 79 mLastValidationTimeMs = timeMs; in listEvents() 97 public synchronized void logDefaultNetworkValidity(long timeMs, boolean isValid) { in logDefaultNetworkValidity() argument 101 updateValidationTime(timeMs); in logDefaultNetworkValidity() 107 mLastValidationTimeMs = timeMs; in logDefaultNetworkValidity() 111 private void updateValidationTime(long timeMs) { in updateValidationTime() argument 112 mCurrentDefaultNetwork.validatedMs += timeMs - mLastValidationTimeMs; in updateValidationTime() 116 long timeMs, NetworkAgentInfo newNai, NetworkAgentInfo oldNai) { in logDefaultNetworkEvent() argument [all …]
|
D | NetdEventListenerService.java | 163 private static long projectSnapshotTime(long timeMs) { in projectSnapshotTime() argument 164 return (timeMs / METRICS_SNAPSHOT_SPAN_MS) * METRICS_SNAPSHOT_SPAN_MS; in projectSnapshotTime() 167 private NetworkMetrics getMetricsForNetwork(long timeMs, int netId) { in getMetricsForNetwork() argument 168 collectPendingMetricsSnapshot(timeMs); in getMetricsForNetwork() 183 private void collectPendingMetricsSnapshot(long timeMs) { in collectPendingMetricsSnapshot() argument 186 if (Math.abs(timeMs - mLastSnapshot) <= METRICS_SNAPSHOT_SPAN_MS) { in collectPendingMetricsSnapshot() 189 mLastSnapshot = projectSnapshotTime(timeMs); in collectPendingMetricsSnapshot() 402 public long timeMs; field in NetdEventListenerService.NetworkMetricsSnapshot 405 … static NetworkMetricsSnapshot collect(long timeMs, SparseArray<NetworkMetrics> networkMetrics) { in collect() argument 407 snapshot.timeMs = timeMs; in collect() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | UDPPusher.cpp | 63 uint32_t timeMs; in start() local 64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs)); in start() 65 mFirstTimeMs = fromlel(timeMs); in start() 94 uint32_t timeMs; in onPush() local 95 if (fread(&timeMs, 1, sizeof(timeMs), mFile) < sizeof(timeMs)) { in onPush() 100 timeMs = fromlel(timeMs); in onPush() 101 CHECK_GE(timeMs, mFirstTimeMs); in onPush() 103 timeMs -= mFirstTimeMs; in onPush() 104 int64_t whenUs = mFirstTimeUs + timeMs * 1000ll; in onPush()
|
/frameworks/base/media/java/android/media/ |
D | SubtitleTrack.java | 129 protected synchronized void updateActiveCues(boolean rebuild, long timeMs) { in updateActiveCues() argument 132 if (rebuild || mLastUpdateTimeMs > timeMs) { in updateActiveCues() 137 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) { in updateActiveCues() 153 cue.onTime(timeMs); in updateActiveCues() 158 cue.onTime(timeMs); in updateActiveCues() 164 mRunsByEndTime.keyAt(0) <= timeMs) { in updateActiveCues() 167 mLastUpdateTimeMs = timeMs; in updateActiveCues() 200 private synchronized void takeTime(long timeMs) { in takeTime() argument 201 mLastTimeMs = timeMs; in takeTime() 231 long timeMs = timeUs / 1000; in onTimedEvent() local [all …]
|
D | RemoteController.java | 270 public boolean seekTo(long timeMs) throws IllegalArgumentException { in seekTo() argument 275 if (timeMs < 0) { in seekTo() 280 mCurrentSession.getTransportControls().seekTo(timeMs); in seekTo()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | RpmStats.java | 36 String name, long timeMs, int count) { in getAndUpdatePlatformState() argument 43 e.mTimeMs = timeMs; in getAndUpdatePlatformState() 65 private PowerStateElement(long timeMs, int count) { in PowerStateElement() argument 66 this.mTimeMs = timeMs; in PowerStateElement() 82 public void putVoter(String name, long timeMs, int count) { in putVoter() argument 85 mVoters.put(name, new PowerStateElement(timeMs, count)); in putVoter() 87 e.mTimeMs = timeMs; in putVoter() 102 public void putState(String name, long timeMs, int count) { in putState() argument 105 mStates.put(name, new PowerStateElement(timeMs, count)); in putState() 107 e.mTimeMs = timeMs; in putState()
|
D | MemoryPowerCalculator.java | 36 long timeMs = timers.valueAt(i).getTotalTimeLocked(rawRealtimeUs, statsType); in calculateRemaining() local 37 double mAm = (mAatRail * timeMs) / (1000*60); in calculateRemaining() 45 totalTimeMs += timeMs; in calculateRemaining()
|
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/ |
D | OffsettableClock.java | 52 public void fastForward(long timeMs) { in fastForward() argument 53 mOffset += timeMs; in fastForward() 55 public void rewind(long timeMs) { in rewind() argument 56 fastForward(-timeMs); in rewind()
|
/frameworks/base/core/java/android/net/metrics/ |
D | DefaultNetworkEvent.java | 53 public DefaultNetworkEvent(long timeMs) { in DefaultNetworkEvent() argument 54 creationTimeMs = timeMs; in DefaultNetworkEvent() 58 public void updateDuration(long timeMs) { in updateDuration() argument 59 durationMs = timeMs - creationTimeMs; in updateDuration()
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TextDescriptions.h | 38 uint32_t flags, int timeMs, Parcel *parcel); 72 int timeMs, Parcel *parcel); 78 int timeMs, Parcel *parcel);
|
D | TextDescriptions.cpp | 28 uint32_t flags, int timeMs, Parcel *parcel) { in getParcelOfDescriptions() argument 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel); in getParcelOfDescriptions() 39 return extractSRTLocalDescriptions(data, size, timeMs, parcel); in getParcelOfDescriptions() 50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) { in extractSRTLocalDescriptions() argument 53 parcel->writeInt32(timeMs); in extractSRTLocalDescriptions() 72 int timeMs, Parcel *parcel) { in extract3GPPLocalDescriptions() argument 78 parcel->writeInt32(timeMs); in extract3GPPLocalDescriptions()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | DppMetricsTest.java | 393 int timeMs; in testUpdateHistogramDppOperationTime() local 396 timeMs = DPP_OPERATION_TIME[i] - 1; in testUpdateHistogramDppOperationTime() 398 timeMs = DPP_OPERATION_TIME[i - 1]; in testUpdateHistogramDppOperationTime() 402 timeMs *= 1000; in testUpdateHistogramDppOperationTime() 406 mDppMetrics.updateDppOperationTime(timeMs); in testUpdateHistogramDppOperationTime()
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvInputSessionCallback.aidl | 41 void onTimeShiftStartPositionChanged(long timeMs); in onTimeShiftStartPositionChanged() argument 42 void onTimeShiftCurrentPositionChanged(long timeMs); in onTimeShiftCurrentPositionChanged() argument
|
D | ITvInputClient.aidl | 44 void onTimeShiftStartPositionChanged(long timeMs, int seq); in onTimeShiftStartPositionChanged() argument 45 void onTimeShiftCurrentPositionChanged(long timeMs, int seq); in onTimeShiftCurrentPositionChanged() argument
|
D | TvView.java | 521 public void timeShiftSeekTo(long timeMs) { in timeShiftSeekTo() argument 523 mSession.timeShiftSeekTo(timeMs); in timeShiftSeekTo() 879 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument 894 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 1303 public void onTimeShiftStartPositionChanged(Session session, long timeMs) { in onTimeShiftStartPositionChanged() argument 1312 mTimeShiftPositionCallback.onTimeShiftStartPositionChanged(mInputId, timeMs); in onTimeShiftStartPositionChanged() 1317 public void onTimeShiftCurrentPositionChanged(Session session, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 1326 mTimeShiftPositionCallback.onTimeShiftCurrentPositionChanged(mInputId, timeMs); in onTimeShiftCurrentPositionChanged()
|
D | TvInputManager.java | 518 public void onTimeShiftStartPositionChanged(Session session, long timeMs) { in onTimeShiftStartPositionChanged() argument 527 public void onTimeShiftCurrentPositionChanged(Session session, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 692 void postTimeShiftStartPositionChanged(final long timeMs) { in postTimeShiftStartPositionChanged() argument 696 mSessionCallback.onTimeShiftStartPositionChanged(mSession, timeMs); in postTimeShiftStartPositionChanged() 701 void postTimeShiftCurrentPositionChanged(final long timeMs) { in postTimeShiftCurrentPositionChanged() argument 705 mSessionCallback.onTimeShiftCurrentPositionChanged(mSession, timeMs); in postTimeShiftCurrentPositionChanged() 1059 public void onTimeShiftStartPositionChanged(long timeMs, int seq) { in TvInputManager() 1066 record.postTimeShiftStartPositionChanged(timeMs); in TvInputManager() 1071 public void onTimeShiftCurrentPositionChanged(long timeMs, int seq) { in TvInputManager() 1078 record.postTimeShiftCurrentPositionChanged(timeMs); in TvInputManager() [all …]
|
D | ITvInputSession.aidl | 54 void timeShiftSeekTo(long timeMs); in timeShiftSeekTo() argument
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 145 long timeMs = mService.mDefaultNetworkMetrics.creationTimeMs; in testDefaultNetworkEvents() local 148 timeMs += durationMs; in testDefaultNetworkEvents() 150 mService.mDefaultNetworkMetrics.logDefaultNetworkEvent(timeMs, pair[1], pair[0]); in testDefaultNetworkEvents() 329 long timeMs = mService.mDefaultNetworkMetrics.creationTimeMs; in testEndToEndLogging() local 334 mService.mDefaultNetworkMetrics.logDefaultNetworkEvent(timeMs + 200, cellNai, null); in testEndToEndLogging() 335 mService.mDefaultNetworkMetrics.logDefaultNetworkEvent(timeMs + 300, wifiNai, cellNai); in testEndToEndLogging()
|
/frameworks/base/core/java/android/util/ |
D | TimingsTraceLog.java | 88 public void logDuration(String name, long timeMs) { in logDuration() argument 89 Slog.d(mTag, name + " took to complete: " + timeMs + "ms"); in logDuration()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 126 static std::string getDateFormatFromMs(int64_t timeMs) { in getDateFormatFromMs() argument 127 auto [days, dayRemainderMs] = std::div(timeMs, MS_PER_DAY); in getDateFormatFromMs()
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportStats.java | 33 void registerConnectionTime(ComponentName transportComponent, long timeMs) { in registerConnectionTime() argument 40 stats.register(timeMs); in registerConnectionTime()
|
/frameworks/av/media/extractors/midi/ |
D | MidiExtractor.cpp | 249 EAS_I32 timeMs; in readBuffer() local 250 EAS_GetLocation(mEasData, mEasHandle, &timeMs); in readBuffer() 251 int64_t timeUs = 1000ll * timeMs; in readBuffer()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | DppMetrics.java | 182 public void updateDppOperationTime(int timeMs) { in updateDppOperationTime() argument 184 mHistogramDppOperationTime.increment(timeMs / 1000); in updateDppOperationTime()
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 131 public abstract void setMaximumScreenOffTimeoutFromDeviceAdmin(int userId, long timeMs); in setMaximumScreenOffTimeoutFromDeviceAdmin() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | PowerUtil.java | 245 public static long convertMsToUs(long timeMs) { in convertMsToUs() argument 246 return timeMs * 1000; in convertMsToUs()
|