Searched refs:programAt (Results 1 – 2 of 2) sorted by relevance
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ProgramUtils.java | 67 ProgramInfo programAt = program.build(context, index++); in populatePrograms() local 68 values.put(Programs.COLUMN_TITLE, programAt.title); in populatePrograms() 69 values.put(Programs.COLUMN_EPISODE_TITLE, programAt.episode); in populatePrograms() 70 if (programAt.seasonNumber != 0) { in populatePrograms() 71 values.put(Programs.COLUMN_SEASON_NUMBER, programAt.seasonNumber); in populatePrograms() 73 if (programAt.episodeNumber != 0) { in populatePrograms() 74 values.put(Programs.COLUMN_EPISODE_NUMBER, programAt.episodeNumber); in populatePrograms() 76 values.put(Programs.COLUMN_POSTER_ART_URI, programAt.posterArtUri); in populatePrograms() 78 values.put(Programs.COLUMN_END_TIME_UTC_MILLIS, timeMs + programAt.durationMs); in populatePrograms() 79 values.put(Programs.COLUMN_CANONICAL_GENRE, programAt.genre); in populatePrograms() [all …]
|
/packages/apps/TV/tests/unit/src/com/android/tv/data/ |
D | ProgramDataManagerTest.java | 106 ProgramInfo programAt = stub.build(getContext(), index); in testProgramUtils() local 108 assertTrue(mClock.currentTimeMillis() < startTimeMs + programAt.durationMs); in testProgramUtils() 293 ProgramInfo programAt = stub.build(getContext(), index); 295 new ProgramInfoWrapper(index, programStartTimeMs, programAt)); 297 programStartTimeMs += programAt.durationMs;
|