Home
last modified time | relevance | path

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

/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java42 import com.google.android.tv.partner.support.Lineup;
68 private Map<GuidedAction, Lineup> mActionLineupMap = new HashMap<>();
70 private AsyncTask<Void, Void, List<Pair<Lineup, Integer>>> mFetchLineupTask;
84 new AsyncTask<Void, Void, List<Pair<Lineup, Integer>>>() { in onCreate()
86 protected List<Pair<Lineup, Integer>> doInBackground(Void... voids) { in onCreate()
91 protected void onPostExecute(List<Pair<Lineup, Integer>> result) { in onCreate()
101 for (Pair<Lineup, Integer> pair : result) { in onCreate()
102 Lineup lineup = pair.first; in onCreate()
178 private List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
179 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;
54 public static final Lineup LINEUP_1 =
55 new Lineup(
57 Lineup.LINEUP_SATELLITE,
61 public static final Lineup LINEUP_2 =
62 new Lineup(
64 Lineup.LINEUP_SATELLITE,
69 public static final Lineup LINEUP_90210 =
70 new Lineup(
72 Lineup.LINEUP_BROADCAST_DIGITAL,
[all …]
DFakeEpgReader.java25 import com.android.tv.data.Lineup;
50 public final ListMultimap<String, Lineup> zip2lineups = LinkedListMultimap.create(2);
73 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java37 public static List<Pair<Lineup, Integer>> lineupChannelMatchCount( in lineupChannelMatchCount()
38 List<Lineup> lineups, List<String> localChannels) { in lineupChannelMatchCount()
39 List<Pair<Lineup, Integer>> result = new ArrayList<>(); in lineupChannelMatchCount()
41 for (Lineup lineup : lineups) { in lineupChannelMatchCount()
48 new Comparator<Pair<Lineup, Integer>>() { in lineupChannelMatchCount()
50 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.java52 import com.google.android.tv.partner.support.Lineup;
72 private List<Lineup> lineups;
73 private Lineup selectedLineup;
74 private List<Pair<Lineup, Integer>> lineupMatchCountPair;
332 for (Pair<Lineup, Integer> pair : lineupMatchCountPair) { in getArgsForLineupFragment()
333 Lineup lineup = pair.first; in getArgsForLineupFragment()
386 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> {
396 protected List<Lineup> doInBackground(Void... args) { in doInBackground()
404 protected void onPostExecute(List<Lineup> lineups) { in onPostExecute()
427 private final Lineup lineup;
[all …]
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java52 import com.google.android.tv.partner.support.Lineup;
72 private List<Lineup> lineups;
73 private Lineup selectedLineup;
74 private List<Pair<Lineup, Integer>> lineupMatchCountPair;
332 for (Pair<Lineup, Integer> pair : lineupMatchCountPair) { in getArgsForLineupFragment()
333 Lineup lineup = pair.first; in getArgsForLineupFragment()
386 private class FetchLineupTask extends AsyncTask<Void, Void, List<Lineup>> {
396 protected List<Lineup> doInBackground(Void... args) { in doInBackground()
404 protected void onPostExecute(List<Lineup> lineups) { in onPostExecute()
427 private final Lineup lineup;
[all …]
/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
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgReader.java23 import com.android.tv.data.Lineup;
67 List<Lineup> getLineups(@NonNull String postalCode); in getLineups()
DStubEpgReader.java21 import com.android.tv.data.Lineup;
55 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups()
DEpgFetcherImpl.java56 import com.android.tv.data.Lineup;
133 private List<Lineup> mPossibleLineups;
390 for (Lineup lineup : mPossibleLineups) { in clearUnusedLineups()
436 List<Lineup> possibleLineups = mEpgReader.getLineups(lastPostalCode); in prepareFetchEpg()
441 for (Lineup lineup : possibleLineups) { in prepareFetchEpg()
489 for (Lineup lineup : mPossibleLineups) { in pickBestLineupId()