/frameworks/base/core/java/android/util/ |
H A D | TimingsTraceLog.java | 88 public void logDuration(String name, long timeMs) { argument 89 Slog.d(mTag, name + " took to complete: " + timeMs + "ms");
|
/frameworks/base/services/tests/servicestests/src/com/android/server/testutils/ |
H A D | OffsettableClock.java | 52 public void fastForward(long timeMs) { argument 53 mOffset += timeMs; 55 public void rewind(long timeMs) { argument 56 fastForward(-timeMs);
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | UDPPusher.cpp | 63 uint32_t timeMs; local 64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs)); 65 mFirstTimeMs = fromlel(timeMs); 94 uint32_t timeMs; local 95 if (fread(&timeMs, 1, sizeof(timeMs), mFile) < sizeof(timeMs)) { 100 timeMs [all...] |
/frameworks/base/core/java/android/net/metrics/ |
H A D | DefaultNetworkEvent.java | 53 public DefaultNetworkEvent(long timeMs) { argument 54 creationTimeMs = timeMs; 58 public void updateDuration(long timeMs) { argument 59 durationMs = timeMs - creationTimeMs;
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 28 uint32_t flags, int timeMs, Parcel *parcel) { 35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel); 39 return extractSRTLocalDescriptions(data, size, timeMs, parcel); 50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) { 53 parcel->writeInt32(timeMs); 72 int timeMs, Parcel *parcel) { 78 parcel->writeInt32(timeMs); 26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument 49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument 70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | RpmStats.java | 32 * updates its timeMs and count, and returns it. 36 String name, long timeMs, int count) { 43 e.mTimeMs = timeMs; 65 private PowerStateElement(long timeMs, int count) { argument 66 this.mTimeMs = timeMs; 78 * Updates (creating if necessary) the voter with the given name, with the given timeMs and 82 public void putVoter(String name, long timeMs, int count) { argument 85 mVoters.put(name, new PowerStateElement(timeMs, count)); 87 e.mTimeMs = timeMs; 99 * timeMs an 35 getAndUpdatePlatformState( String name, long timeMs, int count) argument 102 putState(String name, long timeMs, int count) argument [all...] |
H A D | BatteryStatsHelper.java | 898 final long timeMs = getProcessForegroundTimeMs(uid, 900 activityTimeArray.put(uid.getUid(), timeMs); 901 totalActivityTimeMs += timeMs; 973 public long convertMsToUs(long timeMs) { argument 974 return timeMs * 1000;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
H A D | PowerUtil.java | 168 public static long convertMsToUs(long timeMs) { argument 169 return timeMs * 1000;
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
H A D | TransportStats.java | 33 void registerConnectionTime(ComponentName transportComponent, long timeMs) { argument 40 stats.register(timeMs);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | DefaultNetworkMetrics.java | 70 long timeMs = SystemClock.elapsedRealtime(); 74 mCurrentDefaultNetwork.updateDuration(timeMs); 78 updateValidationTime(timeMs); 79 mLastValidationTimeMs = timeMs; 97 public synchronized void logDefaultNetworkValidity(long timeMs, boolean isValid) { argument 101 updateValidationTime(timeMs); 107 mLastValidationTimeMs = timeMs; 111 private void updateValidationTime(long timeMs) { argument 112 mCurrentDefaultNetwork.validatedMs += timeMs - mLastValidationTimeMs; 116 long timeMs, NetworkAgentInf 115 logDefaultNetworkEvent( long timeMs, NetworkAgentInfo newNai, NetworkAgentInfo oldNai) argument 121 logCurrentDefaultNetwork(long timeMs, NetworkAgentInfo oldNai) argument 145 newDefaultNetwork(long timeMs, NetworkAgentInfo newNai) argument [all...] |
H A D | NetdEventListenerService.java | 165 private static long projectSnapshotTime(long timeMs) { argument 166 return (timeMs / METRICS_SNAPSHOT_SPAN_MS) * METRICS_SNAPSHOT_SPAN_MS; 169 private NetworkMetrics getMetricsForNetwork(long timeMs, int netId) { argument 170 collectPendingMetricsSnapshot(timeMs); 185 private void collectPendingMetricsSnapshot(long timeMs) { argument 188 if (Math.abs(timeMs - mLastSnapshot) <= METRICS_SNAPSHOT_SPAN_MS) { 191 mLastSnapshot = projectSnapshotTime(timeMs); 380 public long timeMs; field in class:NetdEventListenerService.NetworkMetricsSnapshot 383 static NetworkMetricsSnapshot collect(long timeMs, SparseArray<NetworkMetrics> networkMetrics) { argument 385 snapshot.timeMs [all...] |
/frameworks/av/media/extractors/midi/ |
H A D | MidiExtractor.cpp | 239 EAS_I32 timeMs; local 240 EAS_GetLocation(mEasData, mEasHandle, &timeMs); 241 int64_t timeUs = 1000ll * timeMs;
|
/frameworks/base/core/java/android/os/ |
H A D | PowerManagerInternal.java | 131 public abstract void setMaximumScreenOffTimeoutFromDeviceAdmin(int userId, long timeMs); argument
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
H A D | SessionManager.java | 90 * @param timeMs The time it took to complete in ms. 92 void sessionComplete(String sessionName, long timeMs); argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
H A D | WifiAwareMetricsTest.java | 591 private void setTime(long timeMs) { argument 592 when(mClock.getElapsedSinceBootMillis()).thenReturn(timeMs);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/ |
H A D | RttMetricsTest.java | 503 private void setTime(long timeMs) { argument 504 when(mClock.getElapsedSinceBootMillis()).thenReturn(timeMs);
|
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/ |
H A D | SubtitleTrack.java | 118 protected synchronized void updateActiveCues(boolean rebuild, long timeMs) { argument 121 if (rebuild || mLastUpdateTimeMs > timeMs) { 126 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) { 142 cue.onTime(timeMs); 147 cue.onTime(timeMs); 153 mRunsByEndTime.keyAt(0) <= timeMs) { 156 mLastUpdateTimeMs = timeMs; 189 private synchronized void takeTime(long timeMs) { argument 190 mLastTimeMs = timeMs; 215 long timeMs 373 addEvent(Cue cue, long timeMs) argument 387 removeEvent(Cue cue, long timeMs) argument 429 entriesBetween( final long lastTimeMs, final long timeMs) argument 445 nextTimeAfter(long timeMs) argument 559 onTime(long timeMs) argument 573 setRunDiscardTimeMs(long runID, long timeMs) argument [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | SelectionEvent.java | 460 SelectionEvent setEventTime(long timeMs) { argument 461 mEventTime = timeMs;
|
/frameworks/base/core/java/android/widget/ |
H A D | MediaController.java | 419 private String stringForTime(int timeMs) { argument 420 int totalSeconds = timeMs / 1000;
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteController.java | 266 * @param timeMs a 0 or positive value for the new playback position, expressed in ms. 270 public boolean seekTo(long timeMs) throws IllegalArgumentException { argument 275 if (timeMs < 0) { 280 mCurrentSession.getTransportControls().seekTo(timeMs);
|
H A D | SubtitleTrack.java | 128 protected synchronized void updateActiveCues(boolean rebuild, long timeMs) { argument 131 if (rebuild || mLastUpdateTimeMs > timeMs) { 136 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) { 152 cue.onTime(timeMs); 157 cue.onTime(timeMs); 163 mRunsByEndTime.keyAt(0) <= timeMs) { 166 mLastUpdateTimeMs = timeMs; 199 private synchronized void takeTime(long timeMs) { argument 200 mLastTimeMs = timeMs; 230 long timeMs 400 addEvent(Cue cue, long timeMs) argument 414 removeEvent(Cue cue, long timeMs) argument 456 entriesBetween( final long lastTimeMs, final long timeMs) argument 472 nextTimeAfter(long timeMs) argument 588 onTime(long timeMs) argument 602 setRunDiscardTimeMs(long runID, long timeMs) argument [all...] |
H A D | RemoteControlClient.java | 954 private void onSeekTo(int generationId, long timeMs) { argument 957 mPositionUpdateListener.onPlaybackPositionUpdate(timeMs);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSessionWrapper.java | 338 public void timeShiftSeekTo(long timeMs) { argument 339 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_TIME_SHIFT_SEEK_TO, timeMs));
|
H A D | TvView.java | 515 * Seeks to a specified time position. {@code timeMs} must be equal to or greater than the start 519 * @param timeMs The time position to seek to, in milliseconds since the epoch. 521 public void timeShiftSeekTo(long timeMs) { argument 523 mSession.timeShiftSeekTo(timeMs); 877 * @param timeMs The start position for time shifting, in milliseconds since the epoch. 879 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { argument 889 * <p>Note that {@code timeMs} is wall-clock time. 892 * @param timeMs The current position for time shifting, in milliseconds since the epoch. 894 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { argument 1303 public void onTimeShiftStartPositionChanged(Session session, long timeMs) { argument 1317 onTimeShiftCurrentPositionChanged(Session session, long timeMs) argument [all...] |
/frameworks/support/media/src/main/java/androidx/media/subtitle/ |
H A D | SubtitleTrack.java | 130 protected synchronized void updateActiveCues(boolean rebuild, long timeMs) { argument 133 if (rebuild || mLastUpdateTimeMs > timeMs) { 138 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) { 154 cue.onTime(timeMs); 159 cue.onTime(timeMs); 164 while (mRunsByEndTime.size() > 0 && mRunsByEndTime.keyAt(0) <= timeMs) { 167 mLastUpdateTimeMs = timeMs; 200 private synchronized void takeTime(long timeMs) { argument 201 mLastTimeMs = timeMs; 224 long timeMs 390 addEvent(Cue cue, long timeMs) argument 404 removeEvent(Cue cue, long timeMs) argument 445 entriesBetween( final long lastTimeMs, final long timeMs) argument 461 nextTimeAfter(long timeMs) argument 578 onTime(long timeMs) argument 592 setRunDiscardTimeMs(long runID, long timeMs) argument [all...] |