Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/
DChannel.java56 Channel(SecureElementSession session, Terminal terminal, int channelNumber, in Channel() argument
65 mChannelNumber = channelNumber; in Channel()
204 private byte setChannelToClassByte(byte cla, int channelNumber) { in setChannelToClassByte() argument
205 if (channelNumber < 4) { in setChannelToClassByte()
207 cla = (byte) ((cla & 0xBC) | channelNumber); in setChannelToClassByte()
208 } else if (channelNumber < 20) { in setChannelToClassByte()
211 cla = (byte) ((cla & 0xB0) | 0x40 | (channelNumber - 4)); in setChannelToClassByte()
DTerminal.java513 if (responseArray[0].channelNumber <= 0 || status[0] != SecureElementStatus.SUCCESS) { in openLogicalChannel()
516 int channelNumber = responseArray[0].channelNumber; in openLogicalChannel() local
518 Channel logicalChannel = new Channel(session, this, channelNumber, in openLogicalChannel()
522 mChannels.put(channelNumber, logicalChannel); in openLogicalChannel()
552 mSEHal.closeChannel(responseArray[0].channelNumber); in isAidSelectable()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DTunerSetupUtils.java78 static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber() argument
81 Arrays.asList(TextUtils.split(channelNumber, CHANNEL_NUMBER_DELIMITER))); in parseChannelNumber()
84 Log.w(TAG, "unsupported channel number format: " + channelNumber); in parseChannelNumber()
98 for (String channelNumber : channelNumbers) { in parseChannelNumbers()
99 if (!TextUtils.isEmpty(channelNumber)) { in parseChannelNumbers()
100 numbers.add(parseChannelNumber(channelNumber)); in parseChannelNumbers()
/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/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/partner_support/samples/src/com/example/partnersupportsampletvinput/
DLineupSelectionFragment.java248 private static List<String> parseChannelNumber(String channelNumber) { in parseChannelNumber() argument
252 Arrays.asList(TextUtils.split(channelNumber, CHANNEL_NUMBER_DELIMITER))); in parseChannelNumber()
255 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.java282 String channelNumber, in buildProgramDescription() argument
288 + channelNumber in buildProgramDescription()
/packages/apps/TV/tuner/src/com/android/tv/tuner/api/
DTuner.java67 boolean tune(int frequency, @ModulationType String modulation, String channelNumber); in tune() argument
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DTunerHal.java93 int frequency, @ModulationType String modulation, String channelNumber) { in tune() argument