/packages/apps/TV/tests/unit/src/com/android/tv/ |
CurrentPositionMediatorTest.java | 41 long currentTimeMs = System.currentTimeMillis(); 42 mMediator.initialize(currentTimeMs); 43 assertCurrentPositionMediator(INVALID_TIME, currentTimeMs);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
ScheduleRow.java | 123 long currentTimeMs = System.currentTimeMillis(); 124 return getStartTimeMs() <= currentTimeMs && getEndTimeMs() > currentTimeMs;
|
SeriesScheduleRowAdapter.java | 236 protected void handleUpdateRow(long currentTimeMs) { 239 if (program.getEndTimeUtcMillis() <= currentTimeMs) { 243 } else if (program.getStartTimeUtcMillis() < currentTimeMs) { 255 protected long getNextTimerMs(long currentTimeMs) { 259 && program.getStartTimeUtcMillis() >= currentTimeMs) {
|
ScheduleRowAdapter.java | 62 long currentTimeMs = System.currentTimeMillis(); 63 handleUpdateRow(currentTimeMs); 64 sendNextUpdateMessage(currentTimeMs); 383 protected void handleUpdateRow(long currentTimeMs) { 388 if (row.getEndTimeMs() <= currentTimeMs) { 398 protected long getNextTimerMs(long currentTimeMs) { 417 protected final void sendNextUpdateMessage(long currentTimeMs) { 419 long nextTime = getNextTimerMs(currentTimeMs);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ProgramUtils.java | 56 long currentTimeMs = System.currentTimeMillis(); 57 long targetEndTimeMs = currentTimeMs + PROGRAM_INSERT_DURATION_MS; 58 long timeMs = getLastProgramEndTimeMs(context, channelUri, currentTimeMs, targetEndTimeMs); 60 timeMs = currentTimeMs;
|
/developers/build/prebuilts/gradle/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/ |
MainActivity.java | 287 long currentTimeMs = System.currentTimeMillis(); 288 Log.d(TAG, "loadDataAndUpdateScreen(): " + currentTimeMs + "(" + isAmbient() + ")"); 293 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs)); 303 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs));
|
/developers/samples/android/wearable/wear/AlwaysOn/Wearable/src/main/java/com/example/android/wearable/wear/alwayson/ |
MainActivity.java | 287 long currentTimeMs = System.currentTimeMillis(); 288 Log.d(TAG, "loadDataAndUpdateScreen(): " + currentTimeMs + "(" + isAmbient() + ")"); 293 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs)); 303 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs));
|
/development/samples/browseable/AlwaysOn/src/com.example.android.wearable.wear.alwayson/ |
MainActivity.java | 287 long currentTimeMs = System.currentTimeMillis(); 288 Log.d(TAG, "loadDataAndUpdateScreen(): " + currentTimeMs + "(" + isAmbient() + ")"); 293 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs)); 303 mTimeStampTextView.setText(getString(R.string.timestamp_label, currentTimeMs));
|
/packages/apps/TV/src/com/android/tv/dvr/ |
ConflictChecker.java | 212 long currentTimeMs = System.currentTimeMillis(); 215 if (startTimeMs < currentTimeMs + MIN_WATCH_CONFLICT_CHECK_TIME_MS) { 220 if (startTimeMs > currentTimeMs + MAX_WATCH_CONFLICT_CHECK_TIME_MS) { 240 earliestToCheck - currentTimeMs);
|
InputTaskScheduler.java | 260 long currentTimeMs = mClock.currentTimeMillis(); 265 if (schedule.getEndTimeMs() - currentTimeMs 279 <= currentTimeMs && schedule.getEndTimeMs() > currentTimeMs) { 333 mHandler.sendEmptyMessageDelayed(MSG_BUILD_SCHEDULE, earliest - currentTimeMs);
|
DvrScheduleManager.java | 691 long channelId, long currentTimeMs, long newPriority, 705 .builder(inputId, channelId, currentTimeMs, currentTimeMs + 1) [all...] |
DvrDbSync.java | 262 long currentTimeMs = System.currentTimeMillis(); 310 boolean needToChangeStartTime = schedule.getStartTimeMs() > currentTimeMs
|
/packages/apps/TV/src/com/android/tv/ |
TimeShiftManager.java | 204 void setCurrentPositionMs(long currentTimeMs) { 205 mCurrentPositionMediator.onCurrentPositionChanged(currentTimeMs); 345 long currentTimeMs = System.currentTimeMillis(); 348 if (nextProgram == null || nextProgram.getStartTimeUtcMillis() > currentTimeMs) { 349 mPlayController.seekTo(currentTimeMs); 353 mCurrentPositionMediator.initialize(currentTimeMs); 357 mCurrentPositionMediator.onSeekRequested(currentTimeMs); 683 long currentTimeMs = mRecordEndTimeMs == CURRENT_TIME ? System.currentTimeMillis() 686 Math.min(mTvView.timeshiftGetCurrentPositionMs(), currentTimeMs), 689 currentTimeMs - currentPositionMs < RECORDING_BOUNDARY_THRESHOLD [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
PlaybackControlsPresenter.java | 158 void setCurrentTime(long currentTimeMs) { 159 long seconds = currentTimeMs / 1000; 160 if (currentTimeMs != mCurrentTimeInMs) { 161 mCurrentTimeInMs = currentTimeMs;
|
PlaybackTransportRowPresenter.java | 482 * @param currentTimeMs Current playback position in milliseconds. 484 protected void onSetCurrentPositionLabel(long currentTimeMs) { 486 formatTime(currentTimeMs, mTempBuilder); 491 void setCurrentPosition(long currentTimeMs) { 492 if (currentTimeMs != mCurrentTimeInMs) { 493 mCurrentTimeInMs = currentTimeMs; 494 onSetCurrentPositionLabel(currentTimeMs); [all...] |
/frameworks/base/core/java/android/net/ |
NetworkAgent.java | 270 long currentTimeMs = System.currentTimeMillis(); 274 if (currentTimeMs >= (mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS)) { 283 currentTimeMs + 1;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryUtils.java | 240 * @param currentTimeMs current wall time 244 long currentTimeMs) { 245 return currentTimeMs - batteryStatsHelper.getStats().getStartClockTime();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
BatteryUtilsTest.java | 326 final long currentTimeMs = System.currentTimeMillis(); 328 currentTimeMs - TIME_SINCE_LAST_FULL_CHARGE_MS); 331 mBatteryStatsHelper, currentTimeMs)).isEqualTo(TIME_SINCE_LAST_FULL_CHARGE_MS);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputService.java | 270 long currentTimeMs = System.currentTimeMillis(); 271 mCurrentPositionMs += (long) ((currentTimeMs 274 Math.min(mCurrentPositionMs, currentTimeMs)); 275 mLastCurrentPositionUpdateTimeMs = currentTimeMs;
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
TestTvInputService.java | 131 long currentTimeMs = System.currentTimeMillis(); 132 mCurrentPositionMs += (long) ((currentTimeMs 135 Math.min(mCurrentPositionMs, currentTimeMs)); 136 mLastCurrentPositionUpdateTimeMs = currentTimeMs;
|
/frameworks/base/telecomm/java/android/telecom/Logging/ |
SessionManager.java | 398 long currentTimeMs = System.currentTimeMillis(); 407 if (currentTimeMs - session.getExecutionStartTimeMilliseconds() > timeoutMs) {
|
/frameworks/support/media-compat/tests/src/android/support/v4/media/session/ |
MediaSessionCompatTest.java | [all...] |
/packages/services/Car/car-support-lib/src/android/support/car/hardware/ |
CarSensorEvent.java | 732 long currentTimeMs = System.currentTimeMillis(); 735 currentTimeMs - (elapsedRealtimeNs - timestamp) / MILLI_IN_NANOS); [all...] |
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
TunerSessionWorker.java | 716 long currentTimeMs = getCurrentPosition(); 728 } else if (item.getStartTimeUtcMillis() > currentTimeMs) { 731 + (item.getStartTimeUtcMillis() - currentTimeMs)); 735 item.getStartTimeUtcMillis() - currentTimeMs); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
DragState.java | 563 boolean stepAnimationLocked(long currentTimeMs) { 569 if (!mAnimation.getTransformation(currentTimeMs, mTransformation)) {
|