Home
last modified time | relevance | path

Searched refs:EpgContract (Results 1 – 12 of 12) 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()
DLineup.java62 String id = contentValues.getAsString(EpgContract.Lineups.COLUMN_ID); in createLineup()
63 int type = contentValues.getAsInteger(EpgContract.Lineups.COLUMN_TYPE); in createLineup()
64 String name = contentValues.getAsString(EpgContract.Lineups.COLUMN_NAME); in createLineup()
65 String channels = contentValues.getAsString(EpgContract.Lineups.COLUMN_CHANNELS); in createLineup()
66 List<String> channelList = EpgContract.toChannelList(channels); in createLineup()
DEpgInputs.java51 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()
DEpgContract.java44 public final class EpgContract { class
200 private EpgContract() {} in EpgContract() method in EpgContract
DLineups.java33 EpgContract.Lineups.uriForPostalCode(postalCode), null, null, null, null)) { in query()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/epg/
DEpgFetcherImplTest.java49 import com.google.android.tv.partner.support.EpgContract;
149 mEpgProvider = ContentProviders.register(EpgContentProvider.class, EpgContract.AUTHORITY); in setup()
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/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java49 import com.google.android.tv.partner.support.EpgContract;
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()
458 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in doInBackground()
460 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
470 data.putExtra(EpgContract.EXTRA_USE_CLOUD_EPG, true); in onPostExecute()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java49 import com.google.android.tv.partner.support.EpgContract;
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()
458 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in doInBackground()
460 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
470 data.putExtra(EpgContract.EXTRA_USE_CLOUD_EPG, true); in onPostExecute()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java39 import com.google.android.tv.partner.support.EpgContract;
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()
238 contentResolver.insert(EpgContract.EpgInputs.CONTENT_URI, values); in onLineupSelected()
240 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in onLineupSelected()
DResultFragment.java28 import com.google.android.tv.partner.support.EpgContract;
91 data.putExtra(EpgContract.EXTRA_USE_CLOUD_EPG, true); in setResultAndFinishActivity()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java54 import com.google.android.tv.partner.support.EpgContract;
246 data.putExtra(EpgContract.EXTRA_USE_CLOUD_EPG, true); in onActivityResult_3rdPartyEpg_ok()
267 data.putExtra(EpgContract.EXTRA_USE_CLOUD_EPG, true); in onActivityResult_3rdPartyEpg_notWhiteListed()
293 data.putExtra(EpgContract.EXTRA_USE_CLOUD_EPG, true); in onActivityResult_3rdPartyEpg_disabled()
/packages/apps/TV/src/com/android/tv/
DSetupPassthroughActivity.java42 import com.google.android.tv.partner.support.EpgContract;
169 && data.getBooleanExtra(EpgContract.EXTRA_USE_CLOUD_EPG, false)) { in onActivityResult()