Home
last modified time | relevance | path

Searched refs:channelNumber (Results 1 – 18 of 18) 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/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/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.java682 responseArray[0].channelNumber = aidlRs.channelNumber; in openLogicalChannel()
715 if (responseArray[0].channelNumber <= 0 || status[0] != SecureElementStatus.SUCCESS) { in openLogicalChannel()
718 int channelNumber = responseArray[0].channelNumber; in openLogicalChannel() local
720 Channel logicalChannel = new Channel(session, this, channelNumber, in openLogicalChannel()
723 mChannels.put(channelNumber, logicalChannel); in openLogicalChannel()
744 mAidlHal.closeChannel(aidlRs.channelNumber); in isAidSelectable()
766 mSEHal.closeChannel(responseArray[0].channelNumber); in isAidSelectable()
/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/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/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/sampletunertvinput/src/com/android/tv/samples/sampletunertvinput/
DSampleTunerTvInputSetupActivity.java68 String channelNumber = ""; in setChannel() local
74 channelNumber = String.format(Locale.US, "%d-%d", channelInfo.getMajorChannelNumber(), in setChannel()
81 .setNumber(channelNumber) in setChannel()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarOpenSessionParams.java79 @UwbChannel int channelNumber, in RadarOpenSessionParams() argument
95 mChannelNumber = channelNumber; in RadarOpenSessionParams()
341 public Builder setChannelNumber(@UwbChannel int channelNumber) { in setChannelNumber() argument
342 mChannelNumber.set(channelNumber); in setChannelNumber()
/packages/modules/Uwb/service/support_lib/test/
DRadarTests.java74 @FiraParams.UwbChannel int channelNumber = FiraParams.UWB_CHANNEL_9; in testOpenSessionParams() local
94 .setChannelNumber(channelNumber) in testOpenSessionParams()
112 assertEquals(params.getChannelNumber(), channelNumber); in testOpenSessionParams() local
131 assertEquals(fromBundle.getChannelNumber(), channelNumber); in testOpenSessionParams() local
DFiraTests.java108 int channelNumber = 10; in testOpenSessionParams() local
177 .setChannelNumber(channelNumber) in testOpenSessionParams()
249 assertEquals(params.getChannelNumber(), channelNumber); in testOpenSessionParams() local
320 assertEquals(fromBundle.getChannelNumber(), channelNumber); in testOpenSessionParams() local
397 assertEquals(fromCopy.getChannelNumber(), channelNumber); in testOpenSessionParams() local
/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()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbConfigurationManagerTest.java230 int channelNumber = 10; in getFiraParams() local
289 .setChannelNumber(channelNumber) in getFiraParams()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraOpenSessionParams.java296 @UwbChannel int channelNumber, in FiraOpenSessionParams()
383 mChannelNumber = channelNumber; in FiraOpenSessionParams()
1718 public FiraOpenSessionParams.Builder setChannelNumber(@UwbChannel int channelNumber) { in setChannelNumber() argument
1719 mChannelNumber = channelNumber; in setChannelNumber()