Home
last modified time | relevance | path

Searched defs:channelId (Results 1 – 25 of 70) sorted by relevance

123

/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DColumnFilterTest.java82 long channelId = insertChannel(false); in testQueryChannel() local
97 long channelId = insertChannel(false); in testQueryChannel_count() local
109 long channelId = insertChannel(false); in testQueryChannelWithNullProjection() local
116 long channelId = insertChannel(false); in testQueryChannelWithNoValidColumn() local
128 long channelId = insertChannel(true); in testInsertAndQueryChannel() local
143 long channelId = insertChannel(false); in testUpdateChannel() local
DUtils.java123 Long channelId; field in Utils.RecordedProgram
124 RecordedProgram(String pkgName, Long channelId) { in RecordedProgram()
128 RecordedProgram(long id, String pkgName, Long channelId) { in RecordedProgram()
200 ContentResolver resolver, long channelId, Program... programs) { in insertPrograms()
231 ContentResolver resolver, long channelId, PreviewProgram... programs) { in insertPreviewPrograms()
265 ContentResolver resolver, long channelId, RecordedProgram... programs) { in insertRecordedPrograms()
288 Long channelId = cursor.isNull(2) ? null : cursor.getLong(2); in queryRecordedPrograms() local
299 long channelId, WatchedProgram... programs) { in insertWatchedPrograms()
DTransientRowHelperTests.java130 private void insertPreviewPrograms(long channelId, PreviewProgram... programs) { in insertPreviewPrograms()
134 private void insertPreviewPrograms(long channelId, Collection<PreviewProgram> programs) { in insertPreviewPrograms()
DEpgDataCleanupServiceTests.java139 long channelId = insertChannel(); in insertPrograms() local
177 long channelId = insertChannel(); in insertWatchedPrograms() local
/packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
DRecordingTestUtils.java28 long id, String inputId, long channelId, long startTime, long endTime) { in createTestRecordingWithIdAndPeriod()
36 String inputId, long channelId, long startTime, long endTime) { in createTestRecordingWithPeriod()
42 long channelId, long priority, long startTime, long endTime) { in createTestRecordingWithPriorityAndPeriod()
50 long id, long channelId, long priority, long startTime, long endTime) { in createTestRecordingWithIdAndPriorityAndPeriod()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java352 int getProgramIdIndex(long channelId, long entryId) { in getProgramIdIndex()
365 int getProgramIndexAtTime(long channelId, long time) { in getProgramIndexAtTime()
416 int getChannelIndex(long channelId) { in getChannelIndex()
424 int getTableEntryCount(long channelId) { in getTableEntryCount()
433 TableEntry getTableEntry(long channelId, int index) { in getTableEntry()
486 long channelId = channel.getId(); in updateTableEntriesWithoutNotification() local
512 long channelId = channel.getId(); in updateTableEntriesWithoutNotification() local
578 private TableEntry getTableEntry(long channelId, long entryId) { in getTableEntry()
617 private List<TableEntry> createProgramEntries(long channelId, boolean parentalControlsEnabled) { in createProgramEntries()
714 final long channelId; field in ProgramManager.TableEntry
[all …]
/packages/apps/TV/src/com/android/tv/data/
DProgramDataManager.java242 public Program getCurrentProgram(long channelId) { in getCurrentProgram()
262 public void prefetchChannel(long channelId) { in prefetchChannel()
288 void onSingleChannelUpdated(long channelId); in onSingleChannelUpdated()
328 public List<Program> getPrograms(long channelId, long startTime) { in getPrograms()
374 long channelId, OnCurrentProgramUpdatedListener listener) { in addOnCurrentProgramUpdatedListener()
383 long channelId, OnCurrentProgramUpdatedListener listener) { in removeOnCurrentProgramUpdatedListener()
387 private void notifyCurrentProgramUpdate(long channelId, Program program) { in notifyCurrentProgramUpdate()
398 private void updateCurrentProgram(long channelId, Program program) { in updateCurrentProgram()
426 long channelId, Program currentProgram) { in removePreviousProgramsAndUpdateCurrentProgramInCache()
683 public SingleChannelPrefetchTask(long channelId, long startTimeMs, long endTimeMs) { in SingleChannelPrefetchTask()
[all …]
DOnCurrentProgramUpdatedListener.java21 void onCurrentProgramUpdated(long channelId, Program program); in onCurrentProgramUpdated()
DChannelDataManager.java251 public void addChannelListener(Long channelId, ChannelListener listener) { in addChannelListener()
263 public void removeChannelListener(Long channelId, ChannelListener listener) { in removeChannelListener()
313 public boolean doesChannelExistInDb(long channelId) { in doesChannelExistInDb()
330 public Channel getChannel(Long channelId) { in getChannel()
339 public void updateBrowsable(Long channelId, boolean browsable) { in updateBrowsable()
352 Long channelId, boolean browsable, boolean skipNotifyChannelBrowsableChanged) { in updateBrowsable()
405 public void updateLocked(Long channelId, boolean locked) { in updateLocked()
651 long channelId = channel.getId(); in onPostExecute() local
DWatchedHistoryManager.java245 public final long channelId; field in WatchedHistoryManager.WatchedRecord
249 WatchedRecord(long channelId, long watchedStartTime, long duration) { in WatchedRecord()
290 long channelId = scanner.nextLong(); in decode() local
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java109 long channelId = size(); in addChannel() local
129 long channelId = channelIdList.get(mRandom.nextInt(channelIdList.size())); in addRandomWatchLogs() local
151 public boolean addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog()
DFavoriteChannelEvaluatorTest.java46 long channelId = addChannel().getId(); in testOneChannelWithNoWatchLog() local
162 long channelId = addChannel().getId(); in testScoreIncreasesWithNewWatchLog() local
DEvaluatorTestCase.java72 public void addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) { in addWatchLog()
134 public ChannelRecord getChannelRecord(long channelId) { in getChannelRecord()
DRecommenderTest.java344 public double evaluateChannel(long channelId) { in evaluateChannel()
352 public void setChannelScore(long channelId, double score) { in setChannelScore()
/packages/apps/TV/src/com/android/tv/recommendation/
DRandomEvaluator.java21 public double evaluateChannel(long channelId) { in evaluateChannel()
DRecommender.java158 public Channel getChannel(long channelId) { in getChannel()
169 public ChannelRecord getChannelRecord(long channelId) { in getChannelRecord()
180 public String getChannelSortKey(long channelId) { in getChannelSortKey()
256 protected abstract double evaluateChannel(final long channelId); in evaluateChannel()
296 private double getScaledEvaluatorScore(long channelId) { in getScaledEvaluatorScore()
DFavoriteChannelEvaluator.java38 public double evaluateChannel(long channelId) { in evaluateChannel()
DRecentChannelEvaluator.java39 public double evaluateChannel(long channelId) { in evaluateChannel()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DNotificationChannelManager.java62 private void createOrUpdateChannel(Context context, String channelId) { in createOrUpdateChannel()
67 private NotificationChannel createChannel(Context context, String channelId) { in createChannel()
/packages/apps/Dialer/java/com/android/dialer/notification/
DVoicemailChannelUtils.java110 String channelId = getChannelIdForAccount(handle); in getChannelId() local
120 private static boolean doesChannelExist(@NonNull Context context, @NonNull String channelId) { in doesChannelExist()
217 @NonNull Context context, @NonNull String channelId, @Nullable CharSequence nameSuffix) { in newChannel()
/packages/apps/TV/src/com/android/tv/search/
DDataManagerSearch.java241 long channelId = channel.getId(); in addResult() local
301 private String buildIntentData(long channelId) { in buildIntentData()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java573 long channelId, long startTimeMs, long endTimeMs) { in getConflictingSchedules()
577 if (!mInitialized || channelId == Channel.INVALID_ID || startTimeMs >= endTimeMs) { in getConflictingSchedules()
656 public List<ScheduledRecording> getConflictingSchedulesForTune(long channelId) { in getConflictingSchedulesForTune()
677 long channelId, in getConflictingSchedulesForTune()
709 public List<ScheduledRecording> getConflictingSchedulesForWatching(long channelId) { in getConflictingSchedulesForWatching()
747 long channelId, in getConflictingSchedulesForWatching()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetchHelper.java75 Context context, Clock clock, long channelId, List<Program> fetchedPrograms) { in updateEpgData()
201 Context context, long channelId, long startTimeMs, long endTimeMs) { in queryPrograms()
/packages/modules/ExtServices/tests/src/android/ext/services/notification/
DNotificationEntryTest.java76 private StatusBarNotification generateSbn(String channelId) { in generateSbn()
85 private StatusBarNotification generateSbn(String channelId, String packageName) { in generateSbn()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DChannelDataManagerTest.java475 long channelId = ContentUris.parseId(uri); in update() local
532 long channelId = testChannelInfo.originalNetworkId; in simulateInsert() local
541 public void simulateDelete(long channelId) { in simulateDelete()
547 public void simulateUpdate(long channelId, String newName) { in simulateUpdate()

123