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/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java51 import com.google.android.tv.partner.support.EpgInputs;
445 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, inputId); in doInBackground()
446 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId()); in doInBackground()
451 EpgContract.EpgInputs.COLUMN_ID, in doInBackground()
453 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
456 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
458 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in doInBackground()
460 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
461 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
496 return EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java51 import com.google.android.tv.partner.support.EpgInputs;
445 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, inputId); in doInBackground()
446 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId()); in doInBackground()
451 EpgContract.EpgInputs.COLUMN_ID, in doInBackground()
453 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
456 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
458 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in doInBackground()
460 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
461 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
497 return EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java41 import com.google.android.tv.partner.support.EpgInputs;
232 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, SampleTvInputService.INPUT_ID); in onLineupSelected()
233 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, lineup.getId()); in onLineupSelected()
236 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID); in onLineupSelected()
238 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in onLineupSelected()
240 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in onLineupSelected()
241 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in onLineupSelected()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
DEpgFetcherImplTest.java307 values.put(EpgContract.EpgInputs.COLUMN_ID, "1"); in createTestEpgInput()
308 values.put(EpgContract.EpgInputs.COLUMN_PACKAGE_NAME, "com.example"); in createTestEpgInput()
309 values.put(EpgContract.EpgInputs.COLUMN_INPUT_ID, "com.example/.Input"); in createTestEpgInput()
310 values.put(EpgContract.EpgInputs.COLUMN_LINEUP_ID, "lineup1"); in createTestEpgInput()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java67 import com.google.android.tv.partner.support.EpgInputs;
620 Set<EpgInput> epgInputs = EpgInputs.queryEpgInputs(mContext.getContentResolver()); in getEpgInputs()