@Test public void testChannelWithSystemContentProvider() { if (!Utils.hasTvInputFramework(InstrumentationRegistry.getContext())) { return; } WatchNextProgram fullyPopulatedProgram = createFullyPopulatedWatchNextProgram(); ContentResolver resolver = InstrumentationRegistry.getContext().getContentResolver(); Uri watchNextProgramUri = resolver.insert(WatchNextPrograms.CONTENT_URI, fullyPopulatedProgram.toContentValues()); WatchNextProgram programFromSystemDb = loadWatchNextProgramFromContentProvider(resolver, watchNextProgramUri); compareProgram(fullyPopulatedProgram, programFromSystemDb, false); }
@Override public ContentValues toContentValues() { return toContentValues(false); }
WatchNextProgram extends BasePreviewProgram { @Override public ContentValues toContentValues() { return toContentValues(false); } }
WatchNextProgram extends BasePreviewProgram { @Override public ContentValues toContentValues() { return toContentValues(false); } private  WatchNextProgram(Builder builder); }
WatchNextProgram extends BasePreviewProgram { @Override public ContentValues toContentValues() { return toContentValues(false); } private  WatchNextProgram(Builder builder); @WatchNextType int getWatchNextType(); long getLastEngagementTimeUtcMillis(); @Override boolean equals(Object other); boolean hasAnyUpdatedValues(WatchNextProgram update); @Override String toString(); @Override ContentValues toContentValues(); @RestrictTo(LIBRARY_GROUP) @Override ContentValues toContentValues(boolean includeProtectedFields); static WatchNextProgram fromCursor(Cursor cursor); }
WatchNextProgram extends BasePreviewProgram { @Override public ContentValues toContentValues() { return toContentValues(false); } private  WatchNextProgram(Builder builder); @WatchNextType int getWatchNextType(); long getLastEngagementTimeUtcMillis(); @Override boolean equals(Object other); boolean hasAnyUpdatedValues(WatchNextProgram update); @Override String toString(); @Override ContentValues toContentValues(); @RestrictTo(LIBRARY_GROUP) @Override ContentValues toContentValues(boolean includeProtectedFields); static WatchNextProgram fromCursor(Cursor cursor); @RestrictTo(LIBRARY_GROUP)
    static final String[] PROJECTION; static final int WATCH_NEXT_TYPE_UNKNOWN; }