Home
last modified time | relevance | path

Searched refs:programId (Results 1 – 16 of 16) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDbSync.java254 private void onProgramUpdated(long programId) { in onProgramUpdated() argument
255 addProgramIdToCheckIfNeeded(mDataManager.getScheduledRecordingForProgramId(programId)); in onProgramUpdated()
263 long programId = schedule.getProgramId(); in addProgramIdToCheckIfNeeded() local
264 if (programId != ScheduledRecording.ID_NOT_SET in addProgramIdToCheckIfNeeded()
265 && !mProgramIdQueue.contains(programId) in addProgramIdToCheckIfNeeded()
268 if (DEBUG) Log.d(TAG, "Program ID enqueued: " + programId); in addProgramIdToCheckIfNeeded()
269 mProgramIdQueue.offer(programId); in addProgramIdToCheckIfNeeded()
293 void handleUpdateProgram(Program program, long programId) { in handleUpdateProgram() argument
295 ScheduledRecording schedule = mDataManager.getScheduledRecordingForProgramId(programId); in handleUpdateProgram()
436 QueryProgramTask(long programId) { in QueryProgramTask() argument
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java261 long programId = in onActivityCreated()
264 Log.d(TAG, "Play Related Recording:" + programId); in onActivityCreated()
267 intent.putExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, programId); in onActivityCreated()
455 long programId = mProgram.getId(); in updateRelatedRecordingsRow() local
463 if (programId != program.getId()) { in updateRelatedRecordingsRow()
502 long programId = intent.getLongExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, -1); in getProgramFromIntent() local
503 return mDvrDataManager.getRecordedProgram(programId); in getProgramFromIntent()
DDvrPlaybackMediaSessionHelper.java241 final long programId, final String title, final String subtitle, final long duration) { in updateMetadataTextInfo() argument
243 builder.putString(MediaMetadata.METADATA_KEY_MEDIA_ID, Long.toString(programId)) in updateMetadataTextInfo()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSeriesScheduleRowAdapter.java122 for (long programId : mPrograms.keySet()) { in getDescription()
124 mDataManager.getScheduledRecordingForProgramId(programId))) { in getDescription()
231 private int findRowIndexByProgramId(long programId) { in findRowIndexByProgramId() argument
235 if (((EpisodicProgramRow) item).getProgram().getId() == programId) { in findRowIndexByProgramId()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrDetailsFragment.java210 long programId = recordedProgram.getId(); in startPlayback() local
216 DvrUiHelper.startPlaybackActivity(getContext(), programId, seekTimeMs, false); in startPlayback() local
231 DvrUiHelper.startPlaybackActivity(getContext(), programId, seekTimeMs, false); in startPlayback() local
DRecordedProgramPresenter.java66 public void onWatchedPositionChanged(long programId, long positionMs) { in onWatchedPositionChanged() argument
67 if (programId == mProgram.getId()) { in onWatchedPositionChanged()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrDataManagerImpl.java636 public ScheduledRecording getScheduledRecordingForProgramId(long programId) { in getScheduledRecordingForProgramId() argument
637 return mProgramId2ScheduledRecordings.get(programId); in getScheduledRecordingForProgramId()
831 long programId = r.getProgramId(); in updateScheduledRecording() local
832 if (oldScheduledRecording.getProgramId() != programId in updateScheduledRecording()
841 if (programId != ScheduledRecording.ID_NOT_SET) { in updateScheduledRecording()
842 mProgramId2ScheduledRecordings.put(programId, r); in updateScheduledRecording()
DDvrDataManager.java141 ScheduledRecording getScheduledRecordingForProgramId(long programId); in getScheduledRecordingForProgramId() argument
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DRecordingTask.java369 long programId = mScheduledRecording.getProgramId(); in handleStartRecording() local
371 programId == ScheduledRecording.ID_NOT_SET in handleStartRecording()
373 : TvContract.buildProgramUri(programId)); in handleStartRecording()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DDvrDataManagerInMemoryImpl.java277 public ScheduledRecording getScheduledRecordingForProgramId(long programId) { in getScheduledRecordingForProgramId() argument
279 if (r.getProgramId() == programId) { in getScheduledRecordingForProgramId()
/packages/apps/TV/src/com/android/tv/dvr/data/
DScheduledRecording.java186 public Builder setProgramId(long programId) { in setProgramId() argument
187 mProgramId = programId; in setProgramId()
646 long programId, in ScheduledRecording() argument
668 mProgramId = programId; in ScheduledRecording()
/packages/apps/TV/src/com/android/tv/util/
DAsyncDbTask.java430 public AsyncQueryProgramTask(Executor executor, Context context, long programId) { in AsyncQueryProgramTask() argument
434 TvContract.buildProgramUri(programId), in AsyncQueryProgramTask()
/packages/apps/TV/src/com/android/tv/guide/
DProgramTableAdapter.java816 final long programId,
836 createCriticScoreLogoCallback(holder, programId, criticScoreLogo));
848 ProgramRowViewHolder holder, final long programId, ImageView logoView) {
855 || holder.mSelectedEntry.program.getId() != programId) {
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/
DDvrDbSyncTest.java296 private void addSchedule(long programId, ScheduledRecording schedule) { in addSchedule() argument
297 when(mDataManager.getScheduledRecordingForProgramId(programId)).thenReturn(schedule); in addSchedule()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java690 long programId, in EitItem() argument
701 mProgramId = programId; in EitItem()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrUiHelper.java397 Context context, long programId, long seekTimeMs, boolean pinChecked) { in startPlaybackActivity() argument
399 intent.putExtra(Utils.EXTRA_KEY_RECORDED_PROGRAM_ID, programId); in startPlaybackActivity()