Home
last modified time | relevance | path

Searched refs:epgInput (Results 1 – 5 of 5) 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/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java76 private EpgInput epgInput; field in SampleDvbTunerSetupActivity
346 if (epgInput != null && TextUtils.equals(lineup.getId(), epgInput.getLineupId())) { in getArgsForLineupFragment()
438 || (SampleDvbTunerSetupActivity.this.epgInput != null in doInBackground()
441 SampleDvbTunerSetupActivity.this.epgInput.getLineupId()))) { in doInBackground()
449 if (SampleDvbTunerSetupActivity.this.epgInput != null) { in doInBackground()
452 SampleDvbTunerSetupActivity.this.epgInput.getId()); in doInBackground()
456 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground() local
457 if (epgInput == null) { in doInBackground()
460 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
501 epgInput = result; in onPostExecute()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java76 private EpgInput epgInput; field in SampleNetworkTunerSetupActivity
346 if (epgInput != null && TextUtils.equals(lineup.getId(), epgInput.getLineupId())) { in getArgsForLineupFragment()
438 || (SampleNetworkTunerSetupActivity.this.epgInput != null in doInBackground()
441 SampleNetworkTunerSetupActivity.this.epgInput.getLineupId()))) { in doInBackground()
449 if (SampleNetworkTunerSetupActivity.this.epgInput != null) { in doInBackground()
452 SampleNetworkTunerSetupActivity.this.epgInput.getId()); in doInBackground()
456 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground() local
457 if (epgInput == null) { in doInBackground()
460 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in doInBackground()
502 epgInput = result; in onPostExecute()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java519 private boolean isInputAllowed(EpgInput epgInput) { in isInputAllowed() argument
524 && epgInput.getInputId() in isInputAllowed()
527 || mEpgInputAllowList.isInputAllowed(epgInput.getInputId()); in isInputAllowed()
559 for (EpgInput epgInput : getEpgInputs()) { in doInBackground()
560 if (DEBUG) Log.d(TAG, "Start EPG fetch for " + epgInput); in doInBackground()
564 if (isInputAllowed(epgInput)) { in doInBackground()
567 Set<Channel> channels = getExistingChannelsFor(epgInput.getInputId()); in doInBackground()
568 Integer result = fetchEpgFor(epgInput.getLineupId(), channels); in doInBackground()
571 updateCloudEpgInput(epgInput, result); in doInBackground()
576 + epgInput.getInputId() in doInBackground()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java236 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID); in onLineupSelected() local
237 if (epgInput == null) { in onLineupSelected()
240 values.put(EpgContract.EpgInputs.COLUMN_ID, epgInput.getId()); in onLineupSelected()