Home
last modified time | relevance | path

Searched refs:getChannelId (Results 1 – 25 of 56) sorted by relevance

123

/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java299 TvContract.buildChannelUri(channel.getChannelId())) in scannedChannelHandlingCompleted()
392 long channelId = getChannelId(channel); in handleEvents()
557 builder.withValue(TvContract.Programs.COLUMN_CHANNEL_ID, channel.getChannelId()); in buildContentProviderOperation()
589 long channelId = getChannelId(channel); in handleChannel()
686 private long getChannelId(TunerChannel channel) { in getChannelId() method in ChannelDataManager
699 mTunerChannelIdMap.put(channel, tunerChannel.getChannelId()); in getChannelId()
700 mTunerChannelMap.put(tunerChannel.getChannelId(), channel); in getChannelId()
701 return tunerChannel.getChannelId(); in getChannelId()
716 long channelId = channel.getChannelId(); in getAllProgramsForChannel()
777 mTunerChannelMap.put(channel.getChannelId(), channel); in buildChannelMap()
[all …]
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java295 Uri uri = TvContract.buildProgramsUriForChannel(result.getChannelId(), now, now); in fillProgramInfo()
586 Long lhsMaxWatchStartTime = mMaxWatchStartTimeMap.get(lhs.getChannelId()); in compare()
588 lhsMaxWatchStartTime = getMaxWatchStartTime(lhs.getChannelId()); in compare()
589 mMaxWatchStartTimeMap.put(lhs.getChannelId(), lhsMaxWatchStartTime); in compare()
591 Long rhsMaxWatchStartTime = mMaxWatchStartTimeMap.get(rhs.getChannelId()); in compare()
593 rhsMaxWatchStartTime = getMaxWatchStartTime(rhs.getChannelId()); in compare()
594 mMaxWatchStartTimeMap.put(rhs.getChannelId(), rhsMaxWatchStartTime); in compare()
600 return Long.compare(rhs.getChannelId(), lhs.getChannelId()); in compare()
/packages/apps/TV/src/com/android/tv/data/api/
DProgram.java26 return p1.getChannelId() == p2.getChannelId() in isDuplicate()
41 return p1 != null && p2 != null && p1.getChannelId() == p2.getChannelId(); in sameChannel()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DScheduleRow.java76 public long getChannelId() { in getChannelId() method in ScheduleRow
77 return mSchedule != null ? mSchedule.getChannelId() : -1; in getChannelId()
173 return mSchedule.getChannelId() == schedule.getChannelId() in matchSchedule()
DEpisodicProgramRow.java47 public long getChannelId() { in getChannelId() method in EpisodicProgramRow
48 return mProgram.getChannelId(); in getChannelId()
DScheduleRowPresenter.java532 .getChannel(row.getChannelId()); in getChannelNameText()
584 schedule.getChannelId(), in onStartRecording()
592 conflictSchedule.getChannelId(), in onStartRecording()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContent.java50 .setChannelId(recordedProgram.getChannelId()) in createFromRecordedProgram()
67 .setChannelId(program.getChannelId()) in createFromProgram()
85 .setChannelId(seriesRecording.getChannelId()) in createFromSeriesRecording()
101 .getChannel(scheduledRecording.getChannelId()); in createFromScheduledRecording()
115 .setChannelId(scheduledRecording.getChannelId()) in createFromScheduledRecording()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgDelegate.java220 postNotification(convoKey, convoInfo, getChannelId(appDisplayName), in initializeNewConversation()
240 postNotification(convoKey, convoInfo, getChannelId(convoInfo.getAppDisplayName()), in initializeNewMessage()
277 private String getChannelId(String appDisplayName) { in getChannelId() method in NotificationMsgDelegate
282 return mAppNameToChannel.get(appDisplayName).getChannelId( in getChannelId()
330 String getChannelId(boolean showSilently) { in getChannelId() method in NotificationMsgDelegate.NotificationChannelWrapper
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/notificationmsg/
DNotificationMsgDelegateTest.java388 mNotificationCaptor.getValue().getChannelId(), /* isLowImportance= */ true); in phoneMetadataUsedToCheckProjectionStatus_projectionActive()
404 mNotificationCaptor.getValue().getChannelId(), /* isLowImportance= */ false); in phoneMetadataUsedCorrectlyToCheckProjectionStatus_projectionInactive()
418 mNotificationCaptor.getValue().getChannelId(), /* isLowImportance= */ true); in delegateChecksProjectionStatus_projectionActive()
432 mNotificationCaptor.getValue().getChannelId(), /* isLowImportance= */ false); in delegateChecksProjectionStatus_projectionInactive()
462 String firstChannelId = mNotificationCaptor.getValue().getChannelId(); in conversationsFromSameApplicationPostedOnSameChannel()
474 assertThat(mNotificationCaptor.getValue().getChannelId()).isEqualTo(firstChannelId); in conversationsFromSameApplicationPostedOnSameChannel()
602 mNotificationCaptor.getValue().getChannelId(), /* isLowImportance= */ false); in deviceDisconnectedShouldResetProjectionDeviceAddress()
/packages/apps/TV/src/com/android/tv/menu/
DChannelCardView.java154 || program.getChannelId() != cardView.mProgram.getChannelId() in createProgramPosterArtCallback()
155 || program.getChannelId() != cardView.mChannel.getId()) { in createProgramPosterArtCallback()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java283 Channel channel = mChannelDataManager.getChannel(schedule.getChannelId()); in buildData()
623 input != null, TAG, "Can't find input for channel ID : " + schedule.getChannelId()); in isConflicting()
642 input != null, TAG, "Can't find input for channel ID : " + schedule.getChannelId()); in isPartiallyConflicting()
686 if (schedule.getChannelId() == channelId) { in getConflictingSchedulesForTune()
757 if (schedule.getChannelId() == channelId) { in getConflictingSchedulesForWatching()
790 if (toAdd.getChannelId() == schedule.getChannelId() in getConflictingSchedules()
DDvrManager.java391 && previousSeries.getChannelId() != series.getChannelId())) { in updateSeriesRecording()
400 && schedule.getChannelId() != series.getChannelId()) { in updateSeriesRecording()
706 .getChannel(program.getChannelId()); in isProgramRecordable()
728 if (recording.getChannelId() == channelId) { in getCurrentRecording()
/packages/apps/TV/src/com/android/tv/dvr/data/
DSeriesRecording.java98 .setChannelId(p.getChannelId()) in builder()
112 .setChannelId(r.getChannelId()) in buildFrom()
183 values.put(SeriesRecordings.COLUMN_CHANNEL_ID, r.getChannelId()); in toContentValues()
435 public long getChannelId() { in getChannelId() method in SeriesRecording
686 long channelId = program.getChannelId(); in matchProgram()
DScheduledRecording.java95 .setChannelId(p.getChannelId()) in builder()
124 .setChannelId(p.getChannelId()) in builder()
512 values.put(Schedules.COLUMN_CHANNEL_ID, r.getChannelId()); in toContentValues()
542 values.put(Schedules.COLUMN_CHANNEL_ID, r.getChannelId()); in toContentValuesWithTimeOffset()
703 public long getChannelId() { in getChannelId() method in ScheduledRecording
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java116 long channelId = program.getChannelId(); in onAttach()
128 Channel channel = channelDataManager.getChannel(mSeriesRecording.getChannelId()); in onAttach()
211 && mSeriesRecording.getChannelId() != mSelectedChannelId)) { in onGuidedActionClicked()
223 || mSelectedChannelId == mCurrentProgram.getChannelId())) { in onGuidedActionClicked()
/packages/apps/TV/tests/robotests/src/com/android/tv/search/
DFakeSearchInterface.java52 result.setIntentData(TvContract.buildChannelUri(program.getChannelId()).toString()); in fromProgram()
59 result.setChannelId(program.getChannelId()); in fromProgram()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/
DNotificationHelperTest.java58 assertThat(notification.getNotification().getChannelId()).isEqualTo(CHANNEL_ID); in showResumeNotification_showsExpectedNotification()
72 assertThat(notification.getNotification().getChannelId()).isEqualTo(CHANNEL_ID); in showPrivacyReminderNotification_showsExpectedNotification()
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java65 Assert.assertEquals("channel", expected.getChannelId(), actual.getChannelId()); in assertRecordingEquals()
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java649 ArrayList<Program> programs = programMap.get(program.getChannelId()); in doInBackground()
654 mChannelIdCurrentProgramMap.get(program.getChannelId()); in doInBackground()
660 programMap.put(program.getChannelId(), programs); in doInBackground()
852 long channelId = program.getChannelId(); in onPostExecute()
DPreviewProgramContent.java54 .getChannel(program.getChannelId()); in createFromProgram()
64 .getChannel(recordedProgram.getChannelId()); in createFromRecordedProgram()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DPreviewDataManagerTest.java165 assertThat(previewProgram.getChannelId()).isEqualTo(FAKE_PREVIEW_CHANNEL_ID); in createPreviewProgram_fromProgram()
200 assertThat(previewProgram.getChannelId()).isEqualTo(FAKE_PREVIEW_CHANNEL_ID); in createPreviewProgram_fromRecordedProgram()
/packages/apps/TV/src/com/android/tv/dvr/provider/
DEpisodicProgramLoadTask.java225 args.add(Long.toString(mSeriesRecordings.get(0).getChannelId()));
250 mSeriesRecordings.get(0).getChannelId(),
DDvrDbSync.java224 && !mChannelDataManager.doesChannelExistInDb(r.getChannelId())) { in onChannelsUpdated()
237 if (!mChannelDataManager.doesChannelExistInDb(r.getChannelId())) { in onChannelsUpdated()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackMediaSessionHelper.java182 Channel channel = mChannelDataManager.getChannel(program.getChannelId()); in setupMediaSession()
196 posterArtUri = TvContract.buildChannelLogoUri(program.getChannelId()).toString(); in setupMediaSession()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationStation.java299 info.channel = n.getChannelId(); in loadNotifications()
339 .append(String.valueOf(n.getChannelId())); in generateExtraText()
371 sbn.getPackageName(), sbn.getUid(), n.getChannelId(), null, false); in generateExtraText()

123