OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WatchedRecord
(Results
1 - 3
of
3
) sorted by null
/packages/apps/TV/tests/unit/src/com/android/tv/data/
WatchedHistoryManagerTest.java
24
import com.android.tv.data.WatchedHistoryManager.
WatchedRecord
;
84
WatchedRecord
record = mWatchedHistoryManager.getRecord(0);
85
WatchedRecord
recordFromSharedPreferences =
106
WatchedRecord
record = mWatchedHistoryManager.getRecord(i);
107
WatchedRecord
recordFromSharedPreferences =
120
assertTrue(new
WatchedRecord
(1, 2, 3).equals(new
WatchedRecord
(1, 2, 3)));
121
assertFalse(new
WatchedRecord
(1, 2, 3).equals(new
WatchedRecord
(1, 2, 4)));
122
assertFalse(new
WatchedRecord
(1, 2, 3).equals(new WatchedRecord(1, 4, 3)))
[
all
...]
/packages/apps/TV/src/com/android/tv/data/
WatchedHistoryManager.java
41
private final List<
WatchedRecord
> mWatchedHistory = new ArrayList<>();
42
private final List<
WatchedRecord
> mPendingRecords = new ArrayList<>();
65
WatchedRecord
record = decode(
118
WatchedRecord
record =
127
WatchedRecord
record = decode(mSharedPreferences.getString(
145
for (
WatchedRecord
record : mPendingRecords) {
174
WatchedRecord
record = new
WatchedRecord
(channel.getId(), endTime - duration, duration);
203
public List<
WatchedRecord
> getWatchedHistory() {
214
WatchedRecord
record = mWatchedHistory.get(i)
[
all
...]
/packages/apps/TV/src/com/android/tv/recommendation/
RecommendationDataManager.java
381
WatchedHistoryManager.
WatchedRecord
watchedRecord
) {
382
long endTime =
watchedRecord
.watchedStartTime +
watchedRecord
.duration;
384
.setChannelId(
watchedRecord
.channelId)
386
.setStartTimeUtcMillis(
watchedRecord
.watchedStartTime)
389
return new WatchedProgram(program,
watchedRecord
.watchedStartTime, endTime);
394
for (WatchedHistoryManager.
WatchedRecord
record
403
public void onNewRecordAdded(WatchedHistoryManager.
WatchedRecord
watchedRecord
) {
[
all
...]
Completed in 56 milliseconds