/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | ProgramTest.java | 56 Program program = new ProgramImpl.Builder().build(); in testBuild() 62 Program program = new ProgramImpl.Builder().setCanonicalGenres("").build(); in testNoGenres() 72 Program program = new ProgramImpl.Builder().setCanonicalGenres(FAMILY_KIDS).build(); in testFamilyGenre() 83 new ProgramImpl.Builder().setCanonicalGenres(FAMILY_KIDS + ", " + COMEDY).build(); in testFamilyComedyGenre() 93 Program program = new ProgramImpl.Builder().setCanonicalGenres("other").build(); in testOtherGenre() 110 ProgramImpl p = in testParcelable() 111 new ProgramImpl.Builder() in testParcelable() 141 ProgramImpl r2 = ProgramImpl.fromParcel(p2); in testParcelable() 151 ProgramImpl program = in testParcelableWithCriticScore() 152 new ProgramImpl.Builder() in testParcelableWithCriticScore() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/ |
D | ProgramItemViewTest.java | 27 import com.android.tv.data.ProgramImpl; 126 private final ProgramImpl baseProgram = 127 new ProgramImpl.Builder() 167 ProgramImpl program = new ProgramImpl.Builder(baseProgram).build(); in setValue_programNoTitle() 176 ProgramImpl program = in setValue_programTitle() 177 new ProgramImpl.Builder(baseProgram).setTitle("A good program").build(); in setValue_programTitle() 186 ProgramImpl program = in setValue_programDescriptionBlocked() 187 new ProgramImpl.Builder(baseProgram) in setValue_programDescriptionBlocked() 200 ProgramImpl program = in setValue_programEpisode() 201 new ProgramImpl.Builder(baseProgram) in setValue_programEpisode() [all …]
|
D | ProgramTableAdapterTest.java | 27 import com.android.tv.data.ProgramImpl; 119 return new ProgramImpl.Builder() in buildProgramForTesting()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/data/ |
D | SeriesRecordingTest.java | 24 import com.android.tv.data.ProgramImpl; 53 private final ProgramImpl mBaseProgram = 54 new ProgramImpl.Builder() 101 new ProgramImpl.Builder(mBaseProgram).setSeriesId(OTHER_SERIES_ID).build(); in testDoesProgramMatch_differentSeriesId() 108 new ProgramImpl.Builder(mBaseProgram).setChannelId(OTHER_CHANNEL_ID).build(); in testDoesProgramMatch_differentChannel() 114 ProgramImpl program = mBaseProgram; in testDoesProgramMatch_startFromSeason2() 116 program = new ProgramImpl.Builder(program).setSeasonNumber("1").build(); in testDoesProgramMatch_startFromSeason2() 118 program = new ProgramImpl.Builder(program).setSeasonNumber("2").build(); in testDoesProgramMatch_startFromSeason2() 120 program = new ProgramImpl.Builder(program).setSeasonNumber("3").build(); in testDoesProgramMatch_startFromSeason2() 126 ProgramImpl program = mBaseProgram; in testDoesProgramMatch_startFromSeason2episode5() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/recorder/ |
D | SeriesRecordingSchedulerTest.java | 26 import com.android.tv.data.ProgramImpl; 64 private final ProgramImpl mBaseProgram = 65 new ProgramImpl.Builder() 93 new ProgramImpl.Builder(mBaseProgram) in testPickOneProgramPerEpisode_onePerEpisode() 99 new ProgramImpl.Builder(mBaseProgram) in testPickOneProgramPerEpisode_onePerEpisode() 116 ProgramImpl program1 = in testPickOneProgramPerEpisode_manyPerEpisode() 117 new ProgramImpl.Builder(mBaseProgram) in testPickOneProgramPerEpisode_manyPerEpisode() 123 Program program2 = new ProgramImpl.Builder(program1).setStartTimeUtcMillis(1).build(); in testPickOneProgramPerEpisode_manyPerEpisode() 126 new ProgramImpl.Builder(mBaseProgram) in testPickOneProgramPerEpisode_manyPerEpisode() 131 Program program4 = new ProgramImpl.Builder(program1).setStartTimeUtcMillis(1).build(); in testPickOneProgramPerEpisode_manyPerEpisode() [all …]
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/provider/ |
D | DvrDbSyncTest.java | 31 import com.android.tv.data.ProgramImpl; 72 private ProgramImpl baseProgram; 73 private ProgramImpl baseSeriesProgram; 88 new ProgramImpl.Builder() in setUp() 94 new ProgramImpl.Builder() in setUp() 132 new ProgramImpl.Builder(baseProgram) in testHandleUpdateProgram_changeTimeNotStarted() 149 new ProgramImpl.Builder(baseProgram).setStartTimeUtcMillis(startTimeMs).build(); in testHandleUpdateProgram_changeTimeInProgressNotCalled() 160 new ProgramImpl.Builder(baseSeriesProgram) in testHandleUpdateProgram_changeSeason() 178 new ProgramImpl.Builder(baseSeriesProgram) in testHandleUpdateProgram_finished() 235 new ProgramImpl.Builder(baseProgram) in testHandleUpdateProgram_changeTimeNotStartedWithScheduleOffsets() [all …]
|
/packages/apps/TV/src/com/android/tv/data/ |
D | ProgramImpl.java | 54 public final class ProgramImpl extends BaseProgramImpl implements Parcelable, Program { class 184 public static ProgramImpl fromParcel(Parcel in) { in fromParcel() 185 ProgramImpl program = new ProgramImpl(); in fromParcel() 224 return ProgramImpl.fromParcel(in); 256 private ProgramImpl() { in ProgramImpl() method in ProgramImpl 446 if (!(other instanceof ProgramImpl)) { in equals() 450 ProgramImpl program = (ProgramImpl) other; in equals() 631 private final ProgramImpl mProgram; 635 mProgram = new ProgramImpl(); in Builder() 660 mProgram = new ProgramImpl(); in Builder() [all …]
|
D | ProgramDataManager.java | 622 String[] projection = ProgramImpl.PARTIAL_PROJECTION; in doInBackground() 642 Program program = ProgramImpl.fromCursorPartialProjection(c); in doInBackground() 763 ProgramImpl.PROJECTION, in SingleChannelPrefetchTask() 774 Program program = ProgramImpl.fromCursor(c); in onQuery() 809 ProgramImpl.PROJECTION, in ProgramsUpdateTask() 825 Program program = ProgramImpl.fromCursor(c); in onQuery() 877 ProgramImpl.PROJECTION, in UpdateCurrentProgramForChannelTask() 888 program = ProgramImpl.fromCursor(c); in onQuery() 1015 return new ProgramImpl.Builder() in createStubProgram()
|
D | InternalDataUtils.java | 55 public static void deserializeInternalProviderData(byte[] bytes, ProgramImpl.Builder builder) { in deserializeInternalProviderData()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/api/ |
D | ProgramTest.java | 20 import com.android.tv.data.ProgramImpl; 33 private static ProgramImpl createProgramWithStartEndTimes( in createProgramWithStartEndTimes() 35 return new ProgramImpl.Builder() in createProgramWithStartEndTimes() 41 private static ProgramImpl createProgramWithChannelId(long channelId) { in createProgramWithChannelId() 42 return new ProgramImpl.Builder().setChannelId(channelId).build(); in createProgramWithChannelId()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | AsyncDbTask.java | 36 import com.android.tv.data.ProgramImpl; 340 ProgramImpl.PROJECTION, in AsyncProgramQueryTask() 358 ProgramImpl.PROJECTION, in AsyncProgramQueryTask() 367 return ProgramImpl.fromCursor(c); in fromCursor() 435 ProgramImpl.PROJECTION, in AsyncQueryProgramTask() 443 return ProgramImpl.fromCursor(c); in fromCursor()
|
D | Utils.java | 49 import com.android.tv.data.ProgramImpl; 329 String[] projection = ProgramImpl.PROJECTION; in getProgramAt() 339 return ProgramImpl.fromCursor(cursor); in getProgramAt()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgFetchHelper.java | 34 import com.android.tv.data.ProgramImpl; 112 .withValues(ProgramImpl.toContentValues(newProgram, context)) in updateEpgData() 138 .withValues(ProgramImpl.toContentValues(newProgram, context)) in updateEpgData() 205 String[] projection = ProgramImpl.PROJECTION; in queryPrograms() 225 programs.add(ProgramImpl.fromCursor(c)); in queryPrograms()
|
/packages/apps/TV/src/com/android/tv/dvr/provider/ |
D | EpisodicProgramLoadTask.java | 32 import com.android.tv.data.ProgramImpl; 53 private static final int PROGRAM_ID_INDEX = ProgramImpl.getColumnIndex(Programs._ID); 55 ProgramImpl.getColumnIndex(Programs.COLUMN_START_TIME_UTC_MILLIS); 57 ProgramImpl.getColumnIndex(Programs.COLUMN_RECORDING_PROHIBITED); 295 Program program = ProgramImpl.fromCursor(c);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | EpgTestData.java | 21 import com.android.tv.data.ProgramImpl; 82 new ProgramImpl.Builder() 89 new ProgramImpl.Builder() 198 return new ProgramImpl.Builder(p)
|
D | FakeEpgReader.java | 26 import com.android.tv.data.ProgramImpl; 152 return new ProgramImpl.Builder(program) in updateWith()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ProgramDetailsFragment.java | 43 import com.android.tv.data.ProgramImpl; 73 private ProgramImpl mProgram; 153 ProgramImpl program = args.getParcelable(DetailsActivity.PROGRAM); in onLoadDetails()
|
D | ChannelBannerView.java | 54 import com.android.tv.data.ProgramImpl; 273 new ProgramImpl.Builder() in ChannelBannerView() 278 new ProgramImpl.Builder() in ChannelBannerView()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | ScheduledRecordingTest.java | 29 import com.android.tv.data.ProgramImpl; 73 Program p = new ProgramImpl.Builder().build(); in testBuildProgram()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrScheduleFragment.java | 35 import com.android.tv.data.ProgramImpl; 62 private ProgramImpl mProgram;
|
D | DvrRecordingSettingsFragment.java | 28 import com.android.tv.data.ProgramImpl; 161 new ProgramImpl.Builder(mProgram) in onGuidedActionClicked()
|
D | DvrSeriesSettingsActivity.java | 28 import com.android.tv.data.ProgramImpl;
|
/packages/apps/TV/src/com/android/tv/recommendation/ |
D | RecommendationDataManager.java | 42 import com.android.tv.data.ProgramImpl; 368 new ProgramImpl.Builder() in convertFromWatchedHistoryManagerRecords() 420 new ProgramImpl.Builder() in createWatchedProgramFromWatchedProgramCursor()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/search/ |
D | LocalSearchProviderTest.java | 33 import com.android.tv.data.ProgramImpl; 110 new ProgramImpl.Builder()
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
D | RoutineWatchEvaluatorTest.java | 26 import com.android.tv.data.ProgramImpl; 328 return new ProgramImpl.Builder() in createDummyProgram()
|