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.java37 public static EpgInput queryEpgInput(ContentResolver contentResolver, String inputId) { in queryEpgInput()
39 for (EpgInput epgInput : queryEpgInputs(contentResolver)) { in queryEpgInput()
49 public static Set<EpgInput> queryEpgInputs(ContentResolver contentResolver) { in queryEpgInputs()
55 HashSet<EpgInput> result = new HashSet<>(cursor.getCount()); in queryEpgInputs()
59 result.add(EpgInput.createEpgChannel(contentValues)); in queryEpgInputs()
70 public static Uri insert(ContentResolver contentResolver, EpgInput epgInput) { in insert()
77 public static int update(ContentResolver contentResolver, EpgInput epgInput) { in update()
DEpgInput.java28 public abstract class EpgInput { class
30 public static EpgInput createEpgChannel(long id, String inputId, String lineupId) { in createEpgChannel()
34 public static EpgInput createEpgChannel(ContentValues contentValues) { in createEpgChannel()
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java50 import com.google.android.tv.partner.support.EpgInput;
76 private EpgInput epgInput;
453 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
456 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
461 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
486 private class QueryEpgInputTask extends AsyncTask<Void, Void, EpgInput> {
494 protected EpgInput doInBackground(Void... args) { in doInBackground()
500 protected void onPostExecute(EpgInput result) { in onPostExecute()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java50 import com.google.android.tv.partner.support.EpgInput;
76 private EpgInput epgInput;
453 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
456 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, inputId); in doInBackground()
461 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in doInBackground()
487 private class QueryEpgInputTask extends AsyncTask<Void, Void, EpgInput> {
495 protected EpgInput doInBackground(Void... args) { in doInBackground()
501 protected void onPostExecute(EpgInput result) { in onPostExecute()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java66 import com.google.android.tv.partner.support.EpgInput;
519 private boolean isInputAllowed(EpgInput epgInput) { in isInputAllowed()
559 for (EpgInput epgInput : getEpgInputs()) { in doInBackground()
593 private void updateCloudEpgInput(EpgInput unusedEpgInput, Integer unusedResult) { in updateCloudEpgInput()
616 private Set<EpgInput> getEpgInputs() { in getEpgInputs()
620 Set<EpgInput> epgInputs = EpgInputs.queryEpgInputs(mContext.getContentResolver()); in getEpgInputs()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java40 import com.google.android.tv.partner.support.EpgInput;
236 EpgInput epgInput = EpgInputs.queryEpgInput(contentResolver, SampleTvInputService.INPUT_ID); in onLineupSelected()
241 EpgInputs.update(contentResolver, EpgInput.createEpgChannel(values)); in onLineupSelected()