Home
last modified time | relevance | path

Searched refs:EpgInputs (Results 1 – 8 of 8) sorted by relevance

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DEpgInput.java35 long id = contentValues.getAsLong(EpgContract.EpgInputs.COLUMN_ID); in createEpgChannel()
36 String inputId = contentValues.getAsString(EpgContract.EpgInputs.COLUMN_INPUT_ID); in createEpgChannel()
37 String lineupId = contentValues.getAsString(EpgContract.EpgInputs.COLUMN_LINEUP_ID); in createEpgChannel()
60 contentValues.put(EpgContract.EpgInputs.COLUMN_ID, getId()); in toContentValues()
61 contentValues.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, getInputId()); in toContentValues()
62 contentValues.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, getLineupId()); in toContentValues()
DEpgInputs.java31 public final class EpgInputs { class
51 contentResolver.query(EpgContract.EpgInputs.CONTENT_URI, null, null, null, null)) { in queryEpgInputs()
72 EpgContract.EpgInputs.CONTENT_URI, epgInput.toContentValues()); in insert()
79 EpgContract.EpgInputs.buildUri(epgInput.getId()), in update()
85 private EpgInputs() {} in EpgInputs() method in EpgInputs
DEpgContract.java138 public static final class EpgInputs { class in EpgContract
197 private EpgInputs() {} in EpgInputs() method in EpgContract.EpgInputs
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java50 import com.google.android.tv.partner.support.EpgInputs;
440 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, inputId); in doInBackground()
441 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId()); in doInBackground()
446 EpgContract.EpgInputs.COLUMN_ID, in doInBackground()
448 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
451 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
453 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in doInBackground()
455 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
456 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
492 return EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java50 import com.google.android.tv.partner.support.EpgInputs;
439 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, inputId); in doInBackground()
440 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId()); in doInBackground()
445 EpgContract.EpgInputs.COLUMN_ID, in doInBackground()
447 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
450 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
452 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in doInBackground()
454 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
455 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
490 return EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
/packages/apps/TV/partner_support/g3doc/
DCloudEpgForPartners.md93 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, SampleTvInputService.INPUT_ID);
94 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId());
96 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID);
98 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values);
100 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId());
101 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values));
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java39 import com.google.android.tv.partner.support.EpgInputs;
229 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, SampleTvInputService.INPUT_ID); in onLineupSelected()
230 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId()); in onLineupSelected()
233 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID); in onLineupSelected()
235 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in onLineupSelected()
237 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in onLineupSelected()
238 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in onLineupSelected()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java63 import com.google.android.tv.partner.support.EpgInputs;
640 Set<EpgInput> epgInputs = EpgInputs.queryEpgInputs(mContext.getContentResolver()); in getEpgInputs()