OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:channelRecord
(Results
1 - 5
of
5
) sorted by null
/packages/apps/TV/src/com/android/tv/recommendation/
RecommendationDataManager.java
78
private final Map<Long,
ChannelRecord
> mChannelRecordMap = new ConcurrentHashMap<>();
79
private final Map<Long,
ChannelRecord
> mAvailableChannelRecordMap = new ConcurrentHashMap<>();
153
for (
ChannelRecord
channelRecord
: mChannelRecordMap.values()) {
154
if (
channelRecord
.getChannel().getInputId().equals(inputId)) {
155
channelRecord
.setInputRemoved(false);
156
mAvailableChannelRecordMap.put(
channelRecord
.getChannel().getId(),
157
channelRecord
);
177
for (
ChannelRecord
channelRecord
: mChannelRecordMap.values())
[
all
...]
Recommender.java
121
Collection<
ChannelRecord
> channelRecordList = mDataManager.getChannelRecords();
122
for (
ChannelRecord
cr : channelRecordList) {
160
ChannelRecord
record = mDataManager.getChannelRecord(channelId);
165
* Returns the {@link
ChannelRecord
} object for a given channel ID.
167
* @param channelId The channel ID to receive the {@link
ChannelRecord
} object for.
168
* @return the {@link
ChannelRecord
} object for the given channel ID.
170
public
ChannelRecord
getChannelRecord(long channelId) {
190
List<
ChannelRecord
> channels = new ArrayList<>(mDataManager.getChannelRecords());
197
public void onNewWatchLog(
ChannelRecord
channelRecord
) {
[
all
...]
RecentChannelEvaluator.java
34
public void onNewWatchLog(
ChannelRecord
channelRecord
) {
40
ChannelRecord
cr = getRecommender().getChannelRecord(channelId);
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
RecommendationUtils.java
52
Mockito.doAnswer(new Answer<Collection<
ChannelRecord
>>() {
54
public Collection<
ChannelRecord
> answer(InvocationOnMock invocation) throws Throwable {
58
Mockito.doAnswer(new Answer<
ChannelRecord
>() {
60
public
ChannelRecord
answer(InvocationOnMock invocation) throws Throwable {
68
public static class ChannelRecordSortedMapHelper extends TreeMap<Long,
ChannelRecord
> {
105
ChannelRecord
channelRecord
= new
ChannelRecord
(mContext, channel, false);
106
put(channelId,
channelRecord
);
146
ChannelRecord
channelRecord = get(channelId)
[
all
...]
EvaluatorTestCase.java
83
for (
ChannelRecord
channelRecord
: mChannelRecordSortedMap.values()) {
85
channelRecord
.getLastWatchEndTimeMs());
126
public
ChannelRecord
getChannelRecord(long channelId) {
Completed in 194 milliseconds