Home
last modified time | relevance | path

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

/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java79 static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber() argument
82 Arrays.asList(TextUtils.split(channelNumber, CHANNEL_NUMBER_DELIMITER))); in parseChannelNumber()
85 Log.w(TAG, "unsupported channel number format: " + channelNumber); in parseChannelNumber()
99 for (String channelNumber : channelNumbers) { in parseChannelNumbers()
100 if (!TextUtils.isEmpty(channelNumber)) { in parseChannelNumbers()
101 numbers.add(parseChannelNumber(channelNumber)); in parseChannelNumbers()
/packages/apps/SecureElement/src/com/android/se/
DChannel.java56 Channel(SecureElementSession session, Terminal terminal, int channelNumber, in Channel() argument
65 mChannelNumber = channelNumber; in Channel()
210 private byte setChannelToClassByte(byte cla, int channelNumber) { in setChannelToClassByte() argument
211 if (channelNumber < 4) { in setChannelToClassByte()
213 cla = (byte) ((cla & 0xBC) | channelNumber); in setChannelToClassByte()
214 } else if (channelNumber < 20) { in setChannelToClassByte()
217 cla = (byte) ((cla & 0xB0) | 0x40 | (channelNumber - 4)); in setChannelToClassByte()
DTerminal.java578 if (responseArray[0].channelNumber <= 0 || status[0] != SecureElementStatus.SUCCESS) { in openLogicalChannel()
581 int channelNumber = responseArray[0].channelNumber; in openLogicalChannel() local
583 Channel logicalChannel = new Channel(session, this, channelNumber, in openLogicalChannel()
587 mChannels.put(channelNumber, logicalChannel); in openLogicalChannel()
617 mSEHal.closeChannel(responseArray[0].channelNumber); in isAidSelectable()
/packages/apps/SecureElement/src/com/android/se/internal/
DUtil.java132 public static byte setChannelToClassByte(byte cla, int channelNumber) { in setChannelToClassByte() argument
133 if (channelNumber < 4) { in setChannelToClassByte()
135 cla = (byte) ((cla & 0xBC) | channelNumber); in setChannelToClassByte()
136 } else if (channelNumber < 20) { in setChannelToClassByte()
139 cla = (byte) ((cla & 0xB0) | 0x40 | (channelNumber - 4)); in setChannelToClassByte()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunTunerHal.java104 int frequency, @ModulationType String modulation, String channelNumber) { in tune() argument
113 + channelNumber in tune()
117 if (TextUtils.isEmpty(channelNumber)) { in tune()
120 channelNumber = in tune()
121 channelNumber.replace(TunerChannel.CHANNEL_NUMBER_SEPARATOR, VCHANNEL_SEPARATOR); in tune()
122 mHttpConnectionAddress = "http://" + getIpAddress() + ":5004/auto/v" + channelNumber; in tune()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DTunerHal.java93 String channelNumber) { in tune() argument
94 return tuneInternal(mDeliverySystemType, frequency, modulation, channelNumber); in tune()
100 String channelNumber) { in tune() argument
101 return tuneInternal(deliverySystemType, frequency, modulation, channelNumber); in tune()
116 String channelNumber) { in tuneInternal() argument
/packages/apps/TV/src/com/android/tv/data/
DChannelNumber.java98 ChannelNumber channelNumber = (ChannelNumber) obj; in equals() local
99 return TextUtils.equals(majorNumber, channelNumber.majorNumber) in equals()
100 && TextUtils.equals(minorNumber, channelNumber.minorNumber) in equals()
101 && hasDelimiter == channelNumber.hasDelimiter; in equals()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DChannelInfo.java71 public static ChannelInfo create(@Nullable Context context, int channelNumber) { in create() argument
74 .setNumber(String.valueOf(channelNumber)) in create()
75 .setName("Channel " + channelNumber) in create()
76 .setOriginalNetworkId(channelNumber); in create()
79 builder.setLogoUrl(getUriStringForChannelLogo(context, channelNumber)); in create()
/packages/apps/TV/tuner/src/com/android/tv/tuner/api/
DTuner.java70 boolean tune(int frequency, @ModulationType String modulation, String channelNumber); in tune() argument
73 @ModulationType String modulation, String channelNumber) { in tune() argument
74 return tune(frequency, modulation, channelNumber); in tune()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java251 private static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber() argument
255 Arrays.asList(TextUtils.split(channelNumber, CHANNEL_NUMBER_DELIMITER))); in parseChannelNumber()
258 Log.w(TAG, "unsupported channel number format: " + channelNumber); in parseChannelNumber()
/packages/apps/TV/src/com/android/tv/search/
DTvProviderSearch.java310 String channelNumber = result.getChannelNumber(); in fillProgramInfo() local
317 channelNumber, channelName, startUtcMillis, endUtcMillis)); in fillProgramInfo()
333 String channelNumber, in buildProgramDescription() argument
339 + channelNumber in buildProgramDescription()
DDataManagerSearch.java285 String channelNumber, in buildProgramDescription() argument
291 + channelNumber in buildProgramDescription()