HomeSort by relevance Sort by last modified time
    Searched refs:Programs (Results 1 - 25 of 126) sorted by null

1 2 3 4 5 6

  /packages/providers/TvProvider/tests/src/com/android/providers/tv/
DatabaseHelperTest.java 79 TvContract.Programs.CONTENT_URI, null, null, null, null)) {
139 + TvContract.Programs._ID + " INTEGER PRIMARY KEY AUTOINCREMENT,"
140 + TvContract.Programs.COLUMN_PACKAGE_NAME + " TEXT NOT NULL,"
141 + TvContract.Programs.COLUMN_CHANNEL_ID + " INTEGER,"
142 + TvContract.Programs.COLUMN_TITLE + " TEXT,"
143 + TvContract.Programs.COLUMN_SEASON_NUMBER + " TEXT,"
144 + TvContract.Programs.COLUMN_EPISODE_NUMBER + " TEXT,"
145 + TvContract.Programs.COLUMN_EPISODE_TITLE + " TEXT,"
146 + TvContract.Programs.COLUMN_START_TIME_UTC_MILLIS + " INTEGER,"
147 + TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS + " INTEGER,
    [all...]
EpgDataCleanupServiceTests.java 28 import android.media.tv.TvContract.Programs;
134 private void insertPrograms(Program... programs) {
135 insertPrograms(Arrays.asList(programs));
138 private void insertPrograms(Collection<Program> programs) {
142 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
143 for (Program program : programs) {
144 values.put(Programs.COLUMN_START_TIME_UTC_MILLIS, program.startTime);
145 values.put(Programs.COLUMN_END_TIME_UTC_MILLIS, program.endTime);
146 Uri uri = mResolver.insert(Programs.CONTENT_URI, values);
154 Programs._ID
162 Set<Program> programs = Sets.newHashSet(); local
201 Set<Program> programs = Sets.newHashSet(); local
228 ArrayList<Program> programs = new ArrayList<Program>(); local
253 ArrayList<Program> programs = new ArrayList<Program>(); local
267 ArrayList<Program> programs = new ArrayList<Program>(); local
    [all...]
PackageRemovedReceiverTest.java 28 import android.media.tv.TvContract.Programs;
125 private void insertPrograms(long channelId, Program... programs) {
126 insertPrograms(channelId, Arrays.asList(programs));
129 private void insertPrograms(long channelId, Collection<Program> programs) {
131 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
132 for (Program program : programs) {
133 Uri uri = mResolver.insert(Programs.CONTENT_URI, values);
141 Programs._ID,
145 Cursor cursor = mResolver.query(Programs.CONTENT_URI, projection, null, null, null);
148 Set<Program> programs = Sets.newHashSet() local
    [all...]
  /frameworks/support/tv-provider/src/android/support/media/tv/
Program.java 27 import android.support.media.tv.TvContractCompat.Programs;
30 * A convenience class to access {@link TvContractCompat.Programs} entries in the system content
45 * Uri programUri = getContentResolver().insert(Programs.CONTENT_URI, program.toContentValues());
90 * @return The value of {@link Programs#COLUMN_CHANNEL_ID} for the program.
93 Long l = mValues.getAsLong(Programs.COLUMN_CHANNEL_ID);
98 * @return The value of {@link Programs#COLUMN_START_TIME_UTC_MILLIS} for the program.
101 Long l = mValues.getAsLong(Programs.COLUMN_START_TIME_UTC_MILLIS);
106 * @return The value of {@link Programs#COLUMN_END_TIME_UTC_MILLIS} for the program.
109 Long l = mValues.getAsLong(Programs.COLUMN_END_TIME_UTC_MILLIS);
114 * @return The value of {@link Programs#COLUMN_BROADCAST_GENRE} for the program
    [all...]
BaseProgram.java 29 import android.support.media.tv.TvContractCompat.Programs;
30 import android.support.media.tv.TvContractCompat.Programs.Genres.Genre;
33 * Base class for derived classes that want to have common fields for programs defined in
78 * @see Programs#COLUMN_TITLE
81 return mValues.getAsString(Programs.COLUMN_TITLE);
86 * @see Programs#COLUMN_EPISODE_TITLE
89 return mValues.getAsString(Programs.COLUMN_EPISODE_TITLE);
94 * @see Programs#COLUMN_SEASON_DISPLAY_NUMBER
98 return mValues.getAsString(Programs.COLUMN_SEASON_DISPLAY_NUMBER);
100 return mValues.getAsString(Programs.COLUMN_SEASON_NUMBER)
    [all...]
PreviewProgram.java 27 import android.support.media.tv.TvContractCompat.Programs; // For javadoc gen of super class
28 import android.support.media.tv.TvContractCompat.Programs.Genres; // For javadoc gen of super class
  /packages/apps/TV/tests/common/src/com/android/tv/testing/
ProgramUtils.java 25 import android.media.tv.TvContract.Programs;
43 * Populate programs by repeating given program information.
44 * This method will populate programs without any gap nor overlapping
51 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
52 values.put(Programs.COLUMN_SHORT_DESCRIPTION, program.description);
53 values.put(Programs.COLUMN_CONTENT_RATING,
68 values.put(Programs.COLUMN_TITLE, programAt.title);
69 values.put(Programs.COLUMN_EPISODE_TITLE, programAt.episode);
71 values.put(Programs.COLUMN_SEASON_NUMBER, programAt.seasonNumber);
74 values.put(Programs.COLUMN_EPISODE_NUMBER, programAt.episodeNumber)
    [all...]
ProgramInfo.java 86 TvContract.Programs.Genres.SPORTS,
87 TvContract.Programs.Genres.NEWS,
88 TvContract.Programs.Genres.SHOPPING,
89 TvContract.Programs.Genres.DRAMA,
90 TvContract.Programs.Genres.ENTERTAINMENT};
106 int index = c.getColumnIndex(TvContract.Programs.COLUMN_TITLE);
110 index = c.getColumnIndex(TvContract.Programs.COLUMN_SHORT_DESCRIPTION);
114 index = c.getColumnIndex(TvContract.Programs.COLUMN_EPISODE_TITLE);
  /external/swiftshader/third_party/LLVM/utils/
parseNLT.pl 27 if (/<h2>(Programs.+)<\/h2>/)
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-cris/
expdyn2.d 7 # Programs linked with --export-dynamic threw away .rela.got for exported
  /packages/apps/TV/tests/input/src/com/android/tv/testinput/
TestTvInputService.java 30 import android.media.tv.TvContract.Programs;
382 Programs.COLUMN_TITLE,
383 Programs.COLUMN_EPISODE_TITLE,
384 Programs.COLUMN_SHORT_DESCRIPTION,
385 Programs.COLUMN_POSTER_ART_URI,
386 Programs.COLUMN_THUMBNAIL_URI,
387 Programs.COLUMN_CANONICAL_GENRE,
388 Programs.COLUMN_CONTENT_RATING,
389 Programs.COLUMN_START_TIME_UTC_MILLIS,
390 Programs.COLUMN_END_TIME_UTC_MILLIS
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
MockTvInputSetupActivity.java 27 import android.media.tv.TvContract.Programs;
100 // Add Programs.
102 values.put(Programs.COLUMN_CHANNEL_ID, ContentUris.parseId(channelUri));
103 values.put(Programs.COLUMN_TITLE, PROGRAM_TITLE);
104 values.put(Programs.COLUMN_SHORT_DESCRIPTION, PROGRAM_DESCRIPTION);
109 values.put(Programs.COLUMN_START_TIME_UTC_MILLIS, startTimeMs);
110 values.put(Programs.COLUMN_END_TIME_UTC_MILLIS,
115 getContentResolver().bulkInsert(Programs.CONTENT_URI, list.toArray(
  /packages/apps/TV/src/com/android/tv/data/
Program.java 25 import android.media.tv.TvContract.Programs;
58 TvContract.Programs._ID,
59 TvContract.Programs.COLUMN_PACKAGE_NAME,
60 TvContract.Programs.COLUMN_CHANNEL_ID,
61 TvContract.Programs.COLUMN_TITLE,
62 TvContract.Programs.COLUMN_EPISODE_TITLE,
63 TvContract.Programs.COLUMN_SHORT_DESCRIPTION,
64 TvContract.Programs.COLUMN_LONG_DESCRIPTION,
65 TvContract.Programs.COLUMN_POSTER_ART_URI,
66 TvContract.Programs.COLUMN_THUMBNAIL_URI
    [all...]
GenreItems.java 20 import android.media.tv.TvContract.Programs.Genres;
  /packages/providers/TvProvider/src/com/android/providers/tv/
TvProvider.java 44 import android.media.tv.TvContract.Programs;
45 import android.media.tv.TvContract.Programs.Genres;
90 static final String PROGRAMS_TABLE = "programs";
101 // The internal column in the watched programs table to indicate whether the current log entry
107 private static final String DEFAULT_PROGRAMS_SORT_ORDER = Programs.COLUMN_START_TIME_UTC_MILLIS
114 + PROGRAMS_TABLE + "." + Programs.COLUMN_CHANNEL_ID + ")";
230 sProgramProjectionMap.put(Programs._ID, Programs._ID);
231 sProgramProjectionMap.put(Programs.COLUMN_PACKAGE_NAME, Programs.COLUMN_PACKAGE_NAME)
    [all...]
EpgDataCleanupService.java 22 import android.media.tv.TvContract.Programs;
81 Programs.CONTENT_URI,
82 Programs.COLUMN_END_TIME_UTC_MILLIS + "<?",
85 Log.d(TAG, "Deleted " + deleteCount + " programs"
103 Log.d(TAG, "Deleted " + deleteCount + " watched programs"
147 Log.d(TAG, "Deleted " + deleteCount + " of " + totalCount + " watched programs"
  /cts/tests/tests/tv/src/android/media/tv/cts/
TvContractTest.java 31 import android.media.tv.TvContract.Programs;
32 import android.media.tv.TvContract.Programs.Genres;
68 Programs._ID,
69 Programs.COLUMN_CHANNEL_ID,
70 Programs.COLUMN_TITLE,
71 Programs.COLUMN_SEASON_DISPLAY_NUMBER,
72 Programs.COLUMN_SEASON_TITLE,
73 Programs.COLUMN_EPISODE_DISPLAY_NUMBER,
74 Programs.COLUMN_EPISODE_TITLE,
75 Programs.COLUMN_START_TIME_UTC_MILLIS
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
TvPermissionTest.java 91 verifyInsert(TvContract.Programs.CONTENT_URI, "programs");
96 verifyUpdate(TvContract.Programs.CONTENT_URI, "programs");
101 verifyDelete(TvContract.Programs.CONTENT_URI, "programs");
  /packages/apps/TV/src/com/android/tv/dvr/provider/
EpisodicProgramLoadTask.java 23 import android.media.tv.TvContract.Programs;
48 * A wrapper of AsyncProgramQueryTask to load the episodic programs for the series recordings.
54 private static final int PROGRAM_ID_INDEX = Program.getColumnIndex(Programs._ID);
56 Program.getColumnIndex(Programs.COLUMN_START_TIME_UTC_MILLIS);
58 Program.getColumnIndex(Programs.COLUMN_RECORDING_PROHIBITED);
64 Programs.COLUMN_START_TIME_UTC_MILLIS + ">? AND "
65 + Programs.COLUMN_RECORDING_PROHIBITED + "=0";
67 Programs.COLUMN_END_TIME_UTC_MILLIS + ">? AND "
68 + Programs.COLUMN_RECORDING_PROHIBITED + "=0";
69 private static final String CHANNEL_ID_PREDICATE = Programs.COLUMN_CHANNEL_ID + "=?"
    [all...]
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
SyncAdapter.java 88 * Inserts programs from now to {@link SyncAdapter#SYNC_WINDOW_SEC}.
95 List<ContentValues> programs = new ArrayList<>(); local
96 for (ProgramInfo program : channelInfo.programs) {
100 values.put(TvContract.Programs.COLUMN_CHANNEL_ID, ContentUris.parseId(channelUri));
101 values.put(TvContract.Programs.COLUMN_TITLE, program.title);
102 values.put(TvContract.Programs.COLUMN_SHORT_DESCRIPTION, program.description);
103 values.put(TvContract.Programs.COLUMN_CONTENT_RATING,
106 values.put(TvContract.Programs.COLUMN_POSTER_ART_URI, program.posterArtUri);
111 values.put(TvContract.Programs.COLUMN_INTERNAL_PROVIDER_DATA,
114 programs.add(values)
    [all...]
  /packages/apps/TV/src/com/android/tv/search/
TvProviderSearch.java 26 import android.media.tv.TvContract.Programs;
73 * Search channels, inputs, or programs from TvProvider.
108 // Lastly, search programs.
111 Programs.COLUMN_TITLE, Programs.COLUMN_SHORT_DESCRIPTION },
238 result.contentType = Programs.CONTENT_ITEM_TYPE;
263 Programs.COLUMN_TITLE,
264 Programs.COLUMN_POSTER_ART_URI,
265 Programs.COLUMN_CONTENT_RATING,
266 Programs.COLUMN_VIDEO_WIDTH
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramDataManagerTest.java 147 List<Program> programs =
151 for (Program program : programs) {
158 long startTimeMs = programs.get(0).getStartTimeUtcMillis();
159 programs = mProgramDataManager.getPrograms(channelId, startTimeMs);
160 assertEquals(startTimeMs, programs.get(0).getStartTimeUtcMillis());
163 programs = mProgramDataManager.getPrograms(channelId,
165 for (Program program : programs) {
340 * Simulate program data appends at the end of the existing programs.
341 * This appends programs until the maximum program query range
362 mContentResolver.notifyChange(TvContract.Programs.CONTENT_URI, null)
    [all...]
  /cts/tests/tvprovider/src/android/tvprovider/cts/
TvProviderPerfTest.java 30 import android.media.tv.TvContract.Programs;
73 mContentResolver.delete(Programs.CONTENT_URI, null, null);
234 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
236 ContentProviderOperation.newInsert(Programs.CONTENT_URI)
254 final String[] projection = { Programs._ID };
270 .withValue(Programs.COLUMN_START_TIME_UTC_MILLIS, startTimeMs)
271 .withValue(Programs.COLUMN_END_TIME_UTC_MILLIS, endTimeMs)
287 // Query programs
291 try (Cursor cursor = mContentResolver.query(Programs.CONTENT_URI, null, null,
303 // Query programs with selectio
    [all...]
  /packages/apps/TV/src/com/android/tv/tuner/tvinput/
ChannelDataManager.java 63 TvContract.Programs._ID,
64 TvContract.Programs.COLUMN_TITLE,
65 TvContract.Programs.COLUMN_START_TIME_UTC_MILLIS,
66 TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS,
67 TvContract.Programs.COLUMN_CONTENT_RATING,
68 TvContract.Programs.COLUMN_BROADCAST_GENRE,
69 TvContract.Programs.COLUMN_CANONICAL_GENRE,
70 TvContract.Programs.COLUMN_SHORT_DESCRIPTION,
71 TvContract.Programs.COLUMN_VERSION_NUMBER };
119 * Invoked when a request for getting programs of a channel has been processed and passe
    [all...]
TunerRecordingSessionWorker.java 75 private static final String SORT_BY_TIME = TvContract.Programs.COLUMN_START_TIME_UTC_MILLIS
76 + ", " + TvContract.Programs.COLUMN_CHANNEL_ID + ", "
77 + TvContract.Programs.COLUMN_END_TIME_UTC_MILLIS;
473 TvContract.Programs.COLUMN_CHANNEL_ID,
474 TvContract.Programs.COLUMN_TITLE,
475 TvContract.Programs.COLUMN_SEASON_TITLE,
476 TvContract.Programs.COLUMN_EPISODE_TITLE,
477 TvContract.Programs.COLUMN_SEASON_DISPLAY_NUMBER,
478 TvContract.Programs.COLUMN_EPISODE_DISPLAY_NUMBER,
479 TvContract.Programs.COLUMN_SHORT_DESCRIPTION
    [all...]

Completed in 6054 milliseconds

1 2 3 4 5 6