HomeSort by relevance Sort by last modified time
    Searched refs:ChannelInfo (Results 1 - 21 of 21) sorted by null

  /packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
TvTestInputConstants.java 18 import com.android.tv.testing.ChannelInfo;
31 public static final ChannelInfo CH_1_DEFAULT_DONT_MODIFY = ChannelInfo.create(null, 1);
38 public static final ChannelInfo CH_2 = ChannelInfo.create(null, 2);
TestInputControlConnection.java 25 import com.android.tv.testing.ChannelInfo;
63 public void updateChannelState(ChannelInfo channel, ChannelStateData data) {
  /packages/apps/TV/tests/input/src/com/android/tv/testinput/
TestInputControl.java 25 import com.android.tv.testing.ChannelInfo;
47 private final LongSparseArray<ChannelInfo> mId2ChannelInfoMap = new LongSparseArray<>();
71 Map<Long, ChannelInfo> channelIdToInfoMap =
80 public ChannelInfo getChannelInfo(Uri channelUri) {
TestTvInputSetupActivity.java 33 import com.android.tv.testing.ChannelInfo;
67 List<ChannelInfo> channels = new ArrayList<>();
69 channels.add(ChannelInfo.create(context, i));
77 Map<Long, ChannelInfo> channelIdToInfoMap =
TestTvInputService.java 46 import com.android.tv.testing.ChannelInfo;
107 private ChannelInfo mChannel = null;
214 ChannelInfo info = mBackend.getChannelInfo(channelUri);
310 ChannelInfo currentChannel;
353 ChannelInfo currentChannel) {
409 ChannelInfo channel = mBackend.getChannelInfo(uri);
  /packages/apps/TV/tests/common/src/com/android/tv/testing/
ChannelUtils.java 46 * Query and return the map of (channel_id, ChannelInfo).
47 * See: {@link ChannelInfo#fromCursor(Cursor)}.
50 public static Map<Long, ChannelInfo> queryChannelInfoMapForTvInput(
53 Map<Long, ChannelInfo> map = new HashMap<>();
55 String[] projections = new String[ChannelInfo.PROJECTION.length + 1];
57 System.arraycopy(ChannelInfo.PROJECTION, 0, projections, 1, ChannelInfo.PROJECTION.length);
62 map.put(cursor.getLong(0), ChannelInfo.fromCursor(cursor));
70 public static void updateChannels(Context context, String inputId, List<ChannelInfo> channels) {
85 for (ChannelInfo channel : channels)
    [all...]
ChannelInfo.java 30 public final class ChannelInfo {
76 public static ChannelInfo create(@Nullable Context context, int channelNumber) {
92 public static ChannelInfo fromCursor(Cursor c) {
110 private ChannelInfo(String number, String name, String logoUrl, int originalNetworkId,
164 ChannelInfo that = (ChannelInfo) o;
188 * Builder class for {@code ChannelInfo}.
211 public Builder(ChannelInfo other) {
305 public ChannelInfo build() {
306 return new ChannelInfo(mNumber, mName, mLogoUrl, mOriginalNetworkId
    [all...]
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
RichFeedUtil.java 26 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
43 private static List<ChannelInfo> sSampleChannels;
55 public static List<ChannelInfo> getRichChannels(Context context) {
ChannelXMLParser.java 19 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
103 public static List<ChannelInfo> parseChannelXML(XmlPullParser parser)
105 List<ChannelInfo> list = new ArrayList<ChannelInfo>();
118 private static ChannelInfo parseChannel(XmlPullParser parser)
158 return new ChannelInfo(displayNumber, displayName, logoUrl, fakeOriginalNetworkId, 0, 0,
RichSetupFragment.java 47 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
76 private List<ChannelInfo> mChannels = null;
RichTvInputService.java 425 public static final class ChannelInfo {
436 public ChannelInfo(String number, String name, String logoUrl, int originalNetworkId,
  /packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
LiveChannelsTestCase.java 27 import com.android.tv.testing.ChannelInfo;
85 protected void pressKeysForChannel(ChannelInfo channel) {
97 protected void updateThenTune(ChannelStateData data, ChannelInfo channel) {
  /packages/apps/TV/tests/unit/src/com/android/tv/
BaseMainActivityTestCase.java 25 import com.android.tv.testing.ChannelInfo;
111 protected void tuneToChannel(ChannelInfo channel) {
121 protected void updateThenTune(ChannelStateData data, ChannelInfo channel) {
  /packages/apps/TV/tests/unit/src/com/android/tv/data/
ChannelDataManagerTest.java 39 import com.android.tv.testing.ChannelInfo;
139 List<ChannelInfo> channelInfoList = new ArrayList<>();
141 channelInfoList.add(ChannelInfo.create(getContext(), i));
146 for (ChannelInfo channelInfo : channelInfoList) {
147 if (TextUtils.equals(channelInfo.name, channel.getDisplayName())
148 && TextUtils.equals(channelInfo.name, channel.getDisplayName())) {
150 channelInfoList.remove(channelInfo);
293 ChannelInfo testChannelInfo = ChannelInfo.create(getContext(), (int) testChannelId)
    [all...]
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
TvContractUtils.java 37 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
70 Context context, String inputId, List<ChannelInfo> channels) {
94 for (ChannelInfo channel : channels) {
153 public static LongSparseArray<ChannelInfo> buildChannelMap(ContentResolver resolver,
154 String inputId, List<ChannelInfo> channels) {
161 LongSparseArray<ChannelInfo> channelMap = new LongSparseArray<>();
328 private static ChannelInfo getChannelByNumber(String channelNumber,
329 List<ChannelInfo> channels) {
330 for (ChannelInfo info : channels) {
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
SyncAdapter.java 37 import com.example.android.sampletvinput.rich.RichTvInputService.ChannelInfo;
78 List<ChannelInfo> channels = RichFeedUtil.getRichChannels(mContext);
79 LongSparseArray<ChannelInfo> channelMap = TvContractUtils.buildChannelMap(
91 * @param channelInfo {@link ChannelInfo} instance which includes program information.
93 private void insertPrograms(Uri channelUri, ChannelInfo channelInfo) {
96 for (ProgramInfo program : channelInfo.programs) {
129 int programsCount = channelInfo.programs.size();
131 ProgramInfo program = channelInfo.programs.get(j)
    [all...]
  /frameworks/native/libs/vr/libpdx_uds/private/uds/
ipc_helper.h 109 class ChannelInfo {
115 PDX_SERIALIZABLE_MEMBERS(ChannelInfo, data_fd, event_fd);
135 std::vector<ChannelInfo<FileHandleType>> channels;
151 std::vector<ChannelInfo<FileHandleType>> channels;
  /frameworks/native/libs/vr/libpdx_uds/
client_channel.cpp 56 ChannelInfo<BorrowedHandle> channel_info;
service_endpoint.cpp 31 using android::pdx::uds::ChannelInfo;
72 ChannelInfo<BorrowedHandle> channel_info;
86 ChannelInfo<BorrowedHandle> channel_info;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
bdamedia.h 374 } ChannelInfo;
  /external/ImageMagick/coders/
psd.c 124 } ChannelInfo;
141 ChannelInfo
    [all...]

Completed in 2203 milliseconds