/frameworks/base/media/java/android/media/ |
D | SubtitleTrack.java | 128 protected synchronized void updateActiveCues(boolean rebuild, long timeMs) { in updateActiveCues() argument 131 if (rebuild || mLastUpdateTimeMs > timeMs) { in updateActiveCues() 136 mCues.entriesBetween(mLastUpdateTimeMs, timeMs).iterator(); it.hasNext(); ) { in updateActiveCues() 152 cue.onTime(timeMs); in updateActiveCues() 157 cue.onTime(timeMs); in updateActiveCues() 163 mRunsByEndTime.keyAt(0) <= timeMs) { in updateActiveCues() 166 mLastUpdateTimeMs = timeMs; in updateActiveCues() 199 private synchronized void takeTime(long timeMs) { in takeTime() argument 200 mLastTimeMs = timeMs; in takeTime() 230 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()
|
D | RemoteControlClient.java | 954 private void onSeekTo(int generationId, long timeMs) { in onSeekTo() argument 957 mPositionUpdateListener.onPlaybackPositionUpdate(timeMs); in onSeekTo()
|
D | WebVttRenderer.java | 554 public void onTime(long timeMs) { in onTime() argument 557 span.mEnabled = timeMs >= span.mTimestampMs; in onTime() 640 public static String timeToString(long timeMs) { in timeToString() argument 642 timeMs / 3600000, (timeMs / 60000) % 60, in timeToString() 643 (timeMs / 1000) % 60, timeMs % 1000); in timeToString()
|
/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/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/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 | 518 public void timeShiftSeekTo(long timeMs) { in timeShiftSeekTo() argument 520 mSession.timeShiftSeekTo(timeMs); in timeShiftSeekTo() 867 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { in onTimeShiftStartPositionChanged() argument 882 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 1290 public void onTimeShiftStartPositionChanged(Session session, long timeMs) { in onTimeShiftStartPositionChanged() argument 1299 mTimeShiftPositionCallback.onTimeShiftStartPositionChanged(mInputId, timeMs); in onTimeShiftStartPositionChanged() 1304 public void onTimeShiftCurrentPositionChanged(Session session, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 1313 mTimeShiftPositionCallback.onTimeShiftCurrentPositionChanged(mInputId, timeMs); in onTimeShiftCurrentPositionChanged()
|
D | TvInputManager.java | 496 public void onTimeShiftStartPositionChanged(Session session, long timeMs) { in onTimeShiftStartPositionChanged() argument 505 public void onTimeShiftCurrentPositionChanged(Session session, long timeMs) { in onTimeShiftCurrentPositionChanged() argument 670 void postTimeShiftStartPositionChanged(final long timeMs) { in postTimeShiftStartPositionChanged() argument 674 mSessionCallback.onTimeShiftStartPositionChanged(mSession, timeMs); in postTimeShiftStartPositionChanged() 679 void postTimeShiftCurrentPositionChanged(final long timeMs) { in postTimeShiftCurrentPositionChanged() argument 683 mSessionCallback.onTimeShiftCurrentPositionChanged(mSession, timeMs); in postTimeShiftCurrentPositionChanged() 1035 public void onTimeShiftStartPositionChanged(long timeMs, int seq) { in TvInputManager() 1042 record.postTimeShiftStartPositionChanged(timeMs); in TvInputManager() 1047 public void onTimeShiftCurrentPositionChanged(long timeMs, int seq) { in TvInputManager() 1054 record.postTimeShiftCurrentPositionChanged(timeMs); in TvInputManager() [all …]
|
D | ITvInputSession.aidl | 54 void timeShiftSeekTo(long timeMs); in timeShiftSeekTo() argument
|
D | TvInputService.java | 646 private void notifyTimeShiftStartPositionChanged(final long timeMs) { 654 mSessionCallback.onTimeShiftStartPositionChanged(timeMs); 663 private void notifyTimeShiftCurrentPositionChanged(final long timeMs) { 671 mSessionCallback.onTimeShiftCurrentPositionChanged(timeMs); 943 public void onTimeShiftSeekTo(long timeMs) { 1342 void timeShiftSeekTo(long timeMs) { 1343 onTimeShiftSeekTo(timeMs);
|
D | ITvInputSessionWrapper.java | 338 public void timeShiftSeekTo(long timeMs) { in timeShiftSeekTo() argument 339 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_TIME_SHIFT_SEEK_TO, timeMs)); in timeShiftSeekTo()
|
D | ITvInputManager.aidl | 85 void timeShiftSeekTo(in IBinder sessionToken, long timeMs, int userId); in timeShiftSeekTo() argument
|
/frameworks/av/media/libstagefright/ |
D | MidiExtractor.cpp | 238 EAS_I32 timeMs; in readBuffer() local 239 EAS_GetLocation(mEasData, mEasHandle, &timeMs); in readBuffer() 240 int64_t timeUs = 1000ll * timeMs; in readBuffer()
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 134 public abstract void setMaximumScreenOffTimeoutFromDeviceAdmin(int timeMs); in setMaximumScreenOffTimeoutFromDeviceAdmin() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeService.java | 347 long timeMs = System.currentTimeMillis(); in updateNotificationPulseDueToLight() local 348 timeMs = Math.max(timeMs, mEarliestPulseDueToLight); in updateNotificationPulseDueToLight() 349 updateNotificationPulse(timeMs); in updateNotificationPulseDueToLight()
|
/frameworks/base/core/java/android/widget/ |
D | MediaController.java | 419 private String stringForTime(int timeMs) { in stringForTime() argument 420 int totalSeconds = timeMs / 1000; in stringForTime()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputManagerService.java | 1573 public void timeShiftSeekTo(IBinder sessionToken, long timeMs, int userId) { in timeShiftSeekTo() argument 1582 .timeShiftSeekTo(timeMs); in timeShiftSeekTo() 2537 public void onTimeShiftStartPositionChanged(long timeMs) { in onTimeShiftStartPositionChanged() argument 2540 Slog.d(TAG, "onTimeShiftStartPositionChanged(timeMs=" + timeMs + ")"); in onTimeShiftStartPositionChanged() 2546 mSessionState.client.onTimeShiftStartPositionChanged(timeMs, mSessionState.seq); in onTimeShiftStartPositionChanged() 2554 public void onTimeShiftCurrentPositionChanged(long timeMs) { in onTimeShiftCurrentPositionChanged() argument 2557 Slog.d(TAG, "onTimeShiftCurrentPositionChanged(timeMs=" + timeMs + ")"); in onTimeShiftCurrentPositionChanged() 2563 mSessionState.client.onTimeShiftCurrentPositionChanged(timeMs, in onTimeShiftCurrentPositionChanged()
|
/frameworks/base/docs/html/training/wearables/apps/ |
D | always-on.jd | 328 long timeMs = System.currentTimeMillis(); 333 long delayMs = AMBIENT_INTERVAL_MS - (timeMs % AMBIENT_INTERVAL_MS); 334 long triggerTimeMs = timeMs + delayMs;
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 4031 public void setMaximumTimeToLock(ComponentName who, long timeMs, boolean parent) { in setMaximumTimeToLock() argument 4040 if (ap.maximumTimeToUnlock != timeMs) { in setMaximumTimeToLock() 4041 ap.maximumTimeToUnlock = timeMs; in setMaximumTimeToLock() 4054 long timeMs = Long.MAX_VALUE; in updateMaximumTimeToLockLocked() local 4062 && timeMs > admin.maximumTimeToUnlock) { in updateMaximumTimeToLockLocked() 4063 timeMs = admin.maximumTimeToUnlock; in updateMaximumTimeToLockLocked() 4070 && timeMs > parentAdmin.maximumTimeToUnlock) { in updateMaximumTimeToLockLocked() 4071 timeMs = parentAdmin.maximumTimeToUnlock; in updateMaximumTimeToLockLocked() 4080 if (policy.mLastMaximumTimeToLock == timeMs) { in updateMaximumTimeToLockLocked() 4083 policy.mLastMaximumTimeToLock = timeMs; in updateMaximumTimeToLockLocked() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 81 void setMaximumTimeToLock(in ComponentName who, long timeMs, boolean parent); in setMaximumTimeToLock() argument
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 2437 void setMaximumScreenOffTimeoutFromDeviceAdminInternal(int timeMs) { in setMaximumScreenOffTimeoutFromDeviceAdminInternal() argument 2439 mMaximumScreenOffTimeoutFromDeviceAdmin = timeMs; in setMaximumScreenOffTimeoutFromDeviceAdminInternal() 3695 public void setMaximumScreenOffTimeoutFromDeviceAdmin(int timeMs) { in setMaximumScreenOffTimeoutFromDeviceAdmin() argument 3696 setMaximumScreenOffTimeoutFromDeviceAdminInternal(timeMs); in setMaximumScreenOffTimeoutFromDeviceAdmin()
|
/frameworks/base/docs/html/training/wearables/watch-faces/ |
D | drawing.jd | 121 long timeMs = System.currentTimeMillis(); 123 - (timeMs % INTERACTIVE_UPDATE_RATE_MS);
|