Home
last modified time | relevance | path

Searched refs:Lineup (Results 1 – 13 of 13) sorted by relevance

/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java40 import com.google.android.tv.partner.support.Lineup;
65 private Map<GuidedAction, Lineup> mActionLineupMap = new HashMap<>();
67 private AsyncTask<Void, Void, List<Pair<Lineup, Integer>>> mFetchLineupTask;
81 new AsyncTask<Void, Void, List<Pair<Lineup, Integer>>>() { in onCreate()
83 protected List<Pair<Lineup, Integer>> doInBackground(Void... voids) { in onCreate()
88 protected void onPostExecute(List<Pair<Lineup, Integer>> result) { in onCreate()
98 for (Pair<Lineup, Integer> pair : result) { in onCreate()
99 Lineup lineup = pair.first; in onCreate()
175 private List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
176 List<Lineup> lineups, List<String> localChannels) { in lineupChannelMatchCount()
[all …]
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DEpgTestData.java20 import com.android.tv.data.Lineup;
50 public static final Lineup LINEUP_1 =
51 new Lineup(
53 Lineup.LINEUP_SATELLITE,
57 public static final Lineup LINEUP_2 =
58 new Lineup(
60 Lineup.LINEUP_SATELLITE,
65 public static final Lineup LINEUP_90210 =
66 new Lineup(
68 Lineup.LINEUP_BROADCAST_DIGITAL,
[all …]
DFakeEpgReader.java24 import com.android.tv.data.Lineup;
45 public final ListMultimap<String, Lineup> zip2lineups = LinkedListMultimap.create(2);
68 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java36 public static List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
37 List<Lineup> lineups, List<String> localChannels) { in lineupChannelMatchCount()
38 List<Pair<Lineup, Integer>> result = new ArrayList<>(); in lineupChannelMatchCount()
40 for (Lineup lineup : lineups) { in lineupChannelMatchCount()
47 new Comparator<Pair<Lineup, Integer>>() { in lineupChannelMatchCount()
49 public int compare(Pair<Lineup, Integer> pair, Pair<Lineup, Integer> other) { in lineupChannelMatchCount()
DLineups.java29 public static Set<Lineup> query(ContentResolver contentResolver, String postalCode) { in query()
30 Set<Lineup> result = new HashSet<>(); in query()
38 result.add(Lineup.createLineup(contentValues)); in query()
DLineup.java28 public abstract class Lineup { class
56 public static Lineup createLineup(String id, int type, String name, List<String> channels) { in createLineup()
61 public static Lineup createLineup(ContentValues contentValues) { in createLineup()
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java51 import com.google.android.tv.partner.support.Lineup;
71 private List<Lineup> lineups;
72 private Lineup selectedLineup;
73 private List<Pair<Lineup, Integer>> lineupMatchCountPair;
327 for (Pair<Lineup, Integer> pair : lineupMatchCountPair) { in getArgsForLineupFragment()
328 Lineup lineup = pair.first; in getArgsForLineupFragment()
381 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> {
391 protected List<Lineup> doInBackground(Void... args) { in doInBackground()
399 protected void onPostExecute(List<Lineup> lineups) { in onPostExecute()
422 private final Lineup lineup;
[all …]
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java51 import com.google.android.tv.partner.support.Lineup;
71 private List<Lineup> lineups;
72 private Lineup selectedLineup;
73 private List<Pair<Lineup, Integer>> lineupMatchCountPair;
326 for (Pair<Lineup, Integer> pair : lineupMatchCountPair) { in getArgsForLineupFragment()
327 Lineup lineup = pair.first; in getArgsForLineupFragment()
380 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> {
390 protected List<Lineup> doInBackground(Void... args) { in doInBackground()
398 protected void onPostExecute(List<Lineup> lineups) { in onPostExecute()
421 private final Lineup lineup;
[all …]
/packages/apps/TV/partner_support/g3doc/
DCloudEpgForPartners.md54 private AsyncTask<Void, Void, List<Lineup>> createFetchLineupsTask() {
55 return new AsyncTask<Void, Void, List<Lineup>>() {
57 protected List<Lineup> doInBackground(Void... params) {
60 List<Lineup> results = new ArrayList<>();
75 results.add(new Lineup(id, name, channels));
82 protected void onPostExecute(List<Lineup> lineups) {
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java54 import com.android.tv.data.Lineup;
125 private List<Lineup> mPossibleLineups;
404 for (Lineup lineup : mPossibleLineups) { in clearUnusedLineups()
450 List<Lineup> possibleLineups = mEpgReader.getLineups(lastPostalCode); in prepareFetchEpg()
455 for (Lineup lineup : possibleLineups) { in prepareFetchEpg()
510 for (Lineup lineup : mPossibleLineups) { in pickBestLineupId()
DEpgReader.java22 import com.android.tv.data.Lineup;
64 List<Lineup> getLineups(@NonNull String postalCode); in getLineups()
DStubEpgReader.java21 import com.android.tv.data.Lineup;
51 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups()
/packages/apps/TV/src/com/android/tv/data/
DLineup.java26 public class Lineup { class
103 public Lineup(String id, int type, String name, String location, List<String> channels) { in Lineup() method in Lineup