OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:channelrecord
(Results
1 - 10
of
10
) 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
...]
FavoriteChannelEvaluator.java
27
protected void onChannelRecordListChanged(List<
ChannelRecord
> channelRecords) {
28
for (
ChannelRecord
cr : channelRecords) {
39
ChannelRecord
cr = getRecommender().getChannelRecord(channelId);
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);
ChannelRecord.java
31
public class
ChannelRecord
{
41
public
ChannelRecord
(Context context, Channel channel, boolean inputRemoved) {
RoutineWatchEvaluator.java
44
ChannelRecord
cr = getRecommender().getChannelRecord(channelId);
NotificationService.java
355
final
ChannelRecord
cr = mRecommender.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
...]
ChannelRecordTest.java
28
* Unit tests for {@link
ChannelRecord
}.
32
private static final int CHANNEL_RECORD_MAX_HISTORY_SIZE =
ChannelRecord
.MAX_HISTORY_SIZE;
35
private
ChannelRecord
mChannelRecord;
42
mChannelRecord = new
ChannelRecord
(getContext(), null, false);
108
* Add new log history to
channelRecord
which its duration is lower than 1 minute.
EvaluatorTestCase.java
83
for (
ChannelRecord
channelRecord
: mChannelRecordSortedMap.values()) {
85
channelRecord
.getLastWatchEndTimeMs());
126
public
ChannelRecord
getChannelRecord(long channelId) {
Completed in 260 milliseconds