Home
last modified time | relevance | path

Searched refs:epgInput (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DEpgInputs.java39 for (EpgInput epgInput : queryEpgInputs(contentResolver)) { in queryEpgInput()
40 if (inputId.equals(epgInput.getInputId())) { in queryEpgInput()
41 return epgInput; in queryEpgInput()
70 public static Uri insert(ContentResolver contentResolver, EpgInput epgInput) { in insert() argument
72 EpgContract.EpgInputs.CONTENT_URI, epgInput.toContentValues()); in insert()
77 public static int update(ContentResolver contentResolver, EpgInput epgInput) { in update() argument
79 EpgContract.EpgInputs.buildUri(epgInput.getId()), in update()
80 epgInput.toContentValues(), in update()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java75 private EpgInput epgInput; field in SampleNetworkTunerSetupActivity
341 if (epgInput != null && TextUtils.equals(lineup.getId(), epgInput.getLineupId())) { in getArgsForLineupFragment()
433 || (SampleNetworkTunerSetupActivity.this.epgInput != null in doInBackground()
436 SampleNetworkTunerSetupActivity.this.epgInput.getLineupId()))) { in doInBackground()
444 if (SampleNetworkTunerSetupActivity.this.epgInput != null) { in doInBackground()
447 SampleNetworkTunerSetupActivity.this.epgInput.getId()); in doInBackground()
451 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground() local
452 if (epgInput == null) { in doInBackground()
455 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
497 epgInput = result; in onPostExecute()
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java75 private EpgInput epgInput; field in SampleDvbTunerSetupActivity
340 if (epgInput != null && TextUtils.equals(lineup.getId(), epgInput.getLineupId())) { in getArgsForLineupFragment()
432 || (SampleDvbTunerSetupActivity.this.epgInput != null in doInBackground()
435 SampleDvbTunerSetupActivity.this.epgInput.getLineupId()))) { in doInBackground()
443 if (SampleDvbTunerSetupActivity.this.epgInput != null) { in doInBackground()
446 SampleDvbTunerSetupActivity.this.epgInput.getId()); in doInBackground()
450 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground() local
451 if (epgInput == null) { in doInBackground()
454 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
495 epgInput = result; in onPostExecute()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java540 private boolean isInputInWhiteList(EpgInput epgInput) { in isInputInWhiteList() argument
545 && epgInput.getInputId() in isInputInWhiteList()
548 || mEpgInputWhiteList.isInputWhiteListed(epgInput.getInputId()); in isInputInWhiteList()
580 for (EpgInput epgInput : getEpgInputs()) { in doInBackground()
581 if (DEBUG) Log.d(TAG, "Start EPG fetch for " + epgInput); in doInBackground()
585 if (isInputInWhiteList(epgInput)) { in doInBackground()
588 Set<Channel> channels = getExistingChannelsFor(epgInput.getInputId()); in doInBackground()
589 Integer result = fetchEpgFor(epgInput.getLineupId(), channels); in doInBackground()
592 updateCloudEpgInput(epgInput, result); in doInBackground()
597 + epgInput.getInputId() in doInBackground()
/packages/apps/TV/partner_support/g3doc/
DCloudEpgForPartners.md96 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID);
97 if (epgInput == null) {
100 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId());
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java233 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID); in onLineupSelected() local
234 if (epgInput == null) { in onLineupSelected()
237 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in onLineupSelected()