/external/webrtc/webrtc/modules/video_coding/ |
codec_timer.cc | 31 _history[i].timeMs = -1; 46 if (_history[0].timeMs >= 0 && now - _history[0].timeMs < SHORT_FILTER_MS) { 52 if (_history[0].timeMs == -1) { 59 _history[i + 1].timeMs = _history[i].timeMs; 67 _history[0].timeMs = now; 74 if (_history[0].timeMs == -1) { 78 if (_history[i].timeMs == -1) { 81 if (nowMs - _history[i].timeMs > MAX_HISTORY_SIZE * SHORT_FILTER_MS) [all...] |
codec_timer.h | 25 VCMShortMaxSample() : shortMax(0), timeMs(-1) {} 28 int64_t timeMs;
|
media_opt_util.cc | 524 if (_lossPrHistory[0].timeMs >= 0 && 525 now - _lossPrHistory[0].timeMs < kLossPrShortFilterWinMs) { 531 if (_lossPrHistory[0].timeMs == -1) { 538 _lossPrHistory[i + 1].timeMs = _lossPrHistory[i].timeMs; 546 _lossPrHistory[0].timeMs = now; 553 if (_lossPrHistory[0].timeMs == -1) { 557 if (_lossPrHistory[i].timeMs == -1) { 560 if (nowMs - _lossPrHistory[i].timeMs > 671 _lossPrHistory[i].timeMs = -1 [all...] |
media_opt_util.h | 84 VCMLossProbabilitySample() : lossPr255(0), timeMs(-1) {} 87 int64_t timeMs;
|
/frameworks/base/core/java/com/android/internal/os/ |
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) { 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) { 85 mVoters.put(name, new PowerStateElement(timeMs, count)); 87 e.mTimeMs = timeMs; 99 * timeMs and count [all...] |
MemoryPowerCalculator.java | 36 long timeMs = timers.valueAt(i).getTotalTimeLocked(rawRealtimeUs, statsType); 37 double mAm = (mAatRail * timeMs) / (1000*60); 45 totalTimeMs += timeMs;
|
/frameworks/av/media/libstagefright/rtsp/ |
UDPPusher.cpp | 63 uint32_t timeMs; 64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs)); 65 mFirstTimeMs = fromlel(timeMs); 94 uint32_t timeMs; 95 if (fread(&timeMs, 1, sizeof(timeMs), mFile) < sizeof(timeMs)) { 100 timeMs = fromlel(timeMs) [all...] |
/frameworks/base/media/java/android/media/ |
SubtitleTrack.java | 128 protected synchronized void updateActiveCues(boolean rebuild, long timeMs) { 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) { 200 mLastTimeMs = timeMs; 230 long timeMs = timeUs / 1000 [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ProgramUtils.java | 58 long timeMs = getLastProgramEndTimeMs(context, channelUri, currentTimeMs, targetEndTimeMs); 59 if (timeMs <= 0) { 60 timeMs = currentTimeMs; 62 int index = program.getIndex(timeMs, channelId); 63 timeMs = program.getStartTimeMs(index, channelId); 66 while (timeMs < targetEndTimeMs) { 77 values.put(Programs.COLUMN_START_TIME_UTC_MILLIS, timeMs); 78 values.put(Programs.COLUMN_END_TIME_UTC_MILLIS, timeMs + programAt.durationMs); 82 timeMs += programAt.durationMs; 85 || timeMs >= targetEndTimeMs) [all...] |
/frameworks/base/media/java/android/media/tv/ |
ITvInputSessionCallback.aidl | 41 void onTimeShiftStartPositionChanged(long timeMs); 42 void onTimeShiftCurrentPositionChanged(long timeMs);
|
ITvInputClient.aidl | 44 void onTimeShiftStartPositionChanged(long timeMs, int seq); 45 void onTimeShiftCurrentPositionChanged(long timeMs, int seq);
|
ITvInputSession.aidl | 54 void timeShiftSeekTo(long timeMs);
|
/frameworks/av/media/libstagefright/timedtext/ |
TextDescriptions.h | 38 uint32_t flags, int timeMs, Parcel *parcel); 72 int timeMs, Parcel *parcel); 78 int timeMs, Parcel *parcel);
|
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);
|
/frameworks/base/core/java/android/util/ |
TimingsTraceLog.java | 74 public void logDuration(String name, long timeMs) { 75 Slog.d(mTag, name + " took to complete: " + timeMs + "ms");
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
EventStoreTest.java | 45 long timeMs = System.currentTimeMillis(); 48 assertThat(Math.abs(timeMs - mEventStore
|
/frameworks/base/core/java/android/os/ |
PowerManagerInternal.java | 111 public abstract void setMaximumScreenOffTimeoutFromDeviceAdmin(int timeMs);
|
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tests/ |
TestUtils.java | 83 * Make {@link UiDevice} wait for {@code timeMs} 87 public static void wait(UiDevice uiDevice, long timeMs) throws InterruptedException { 89 Thread.sleep(timeMs);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
DvrPlayer.java | 454 public void onTimeShiftStartPositionChanged(String inputId, long timeMs) { 455 if (DEBUG) Log.d(TAG, "onTimeShiftStartPositionChanged:" + timeMs); 456 mStartPositionMs = timeMs; 463 public void onTimeShiftCurrentPositionChanged(String inputId, long timeMs) { 464 if (DEBUG) Log.d(TAG, "onTimeShiftCurrentPositionChanged: " + timeMs); 477 timeMs -= mStartPositionMs; 479 && timeMs <= REWIND_POSITION_MARGIN_MS) { 482 mTimeShiftCurrentPositionMs = getRealSeekPosition(timeMs, 0); 484 if (timeMs >= mProgram.getDurationMillis()) {
|
/packages/apps/TV/src/com/android/tv/ |
TimeShiftManager.java | 486 public Program getProgramAt(long timeMs) { 487 Program program = mProgramManager.getProgramAt(timeMs); 490 mProgramManager.addDummyProgramsAt(timeMs); 491 program = mProgramManager.getProgramAt(timeMs); 783 void seekTo(long timeMs) [all...] |
/developers/build/prebuilts/gradle/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/ |
MainActivity.java | 246 long timeMs = System.currentTimeMillis(); 250 long delayMs = AMBIENT_INTERVAL_MS - (timeMs % AMBIENT_INTERVAL_MS); 251 long triggerTimeMs = timeMs + delayMs; 265 long delayMs = ACTIVE_INTERVAL_MS - (timeMs % ACTIVE_INTERVAL_MS);
|
/developers/samples/android/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/ |
MainActivity.java | 221 long timeMs = System.currentTimeMillis(); 225 long delayMs = AMBIENT_INTERVAL_MS - (timeMs % AMBIENT_INTERVAL_MS); 226 long triggerTimeMs = timeMs + delayMs; 232 long delayMs = ACTIVE_INTERVAL_MS - (timeMs % ACTIVE_INTERVAL_MS);
|
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/ |
MainActivity.java | 255 long timeMs = System.currentTimeMillis(); 259 long delayMs = AMBIENT_INTERVAL_MS - (timeMs % AMBIENT_INTERVAL_MS); 260 long triggerTimeMs = timeMs + delayMs; 274 long delayMs = ACTIVE_INTERVAL_MS - (timeMs % ACTIVE_INTERVAL_MS);
|
/hardware/interfaces/gnss/1.0/ |
IGnss.hal | 114 * @param timeMs This is the UTC time received from the NTP server, its value 124 injectTime(GnssUtcTime timeMs, int64_t timeReferenceMs, int32_t uncertaintyMs)
|
/packages/services/Telephony/src/com/android/services/telephony/ |
EmergencyCallStateListener.java | 292 public void setTimeBetweenRetriesMillis(long timeMs) { 293 TIME_BETWEEN_RETRIES_MILLIS = timeMs;
|