Home
last modified time | relevance | path

Searched refs:channelRecord (Results 1 – 5 of 5) sorted by relevance

/packages/apps/TV/src/com/android/tv/recommendation/
DRecommendationDataManager.java146 for (ChannelRecord channelRecord : mChannelRecordMap.values()) {
147 if (channelRecord.getChannel().getInputId().equals(inputId)) {
148 channelRecord.setInputRemoved(false);
150 channelRecord.getChannel().getId(), channelRecord);
170 for (ChannelRecord channelRecord : mChannelRecordMap.values()) {
171 if (channelRecord.getChannel().getInputId().equals(inputId)) {
172 channelRecord.setInputRemoved(true);
173 mAvailableChannelRecordMap.remove(channelRecord.getChannel().getId());
348 final ChannelRecord channelRecord = in onLoadWatchHistory() local
350 if (mChannelRecordMapLoaded && channelRecord != null) { in onLoadWatchHistory()
[all …]
DRecommender.java198 public void onNewWatchLog(ChannelRecord channelRecord) { in onNewWatchLog() argument
200 evaluator.onNewWatchLog(channelRecord); in onNewWatchLog()
248 protected void onNewWatchLog(ChannelRecord channelRecord) {} in onNewWatchLog() argument
315 public void onNewWatchLog(ChannelRecord channelRecord) { in onNewWatchLog() argument
316 mEvaluator.onNewWatchLog(channelRecord); in onNewWatchLog()
DRecentChannelEvaluator.java34 public void onNewWatchLog(ChannelRecord channelRecord) { in onNewWatchLog() argument
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
DRecommendationUtils.java110 ChannelRecord channelRecord = new ChannelRecord(mContext, channel, false); in addChannel() local
111 put(channelId, channelRecord); in addChannel()
151 ChannelRecord channelRecord = get(channelId); in addWatchLog() local
152 if (channelRecord == null in addWatchLog()
157 channelRecord.logWatchHistory( in addWatchLog()
160 mRecommender.onNewWatchLog(channelRecord); in addWatchLog()
DEvaluatorTestCase.java83 for (ChannelRecord channelRecord : mChannelRecordSortedMap.values()) { in getLatestWatchEndTimeMs()
85 Math.max(latestWatchEndTimeMs, channelRecord.getLastWatchEndTimeMs()); in getLatestWatchEndTimeMs()