/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | EpgInput.java | 35 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()
|
D | EpgInputs.java | 31 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
|
D | EpgContract.java | 138 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/ |
D | SampleDvbTunerSetupActivity.java | 51 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/ |
D | SampleNetworkTunerSetupActivity.java | 51 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/ |
D | LineupSelectionFragment.java | 41 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/ |
D | EpgFetcherImplTest.java | 307 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/ |
D | EpgFetcherImpl.java | 67 import com.google.android.tv.partner.support.EpgInputs; 620 Set<EpgInput> epgInputs = EpgInputs.queryEpgInputs(mContext.getContentResolver()); in getEpgInputs()
|