Home
last modified time | relevance | path

Searched refs:mChannels (Results 1 – 22 of 22) sorted by relevance

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothLeBroadcastSubgroup.java40 private final List<BluetoothLeBroadcastChannel> mChannels; field in BluetoothLeBroadcastSubgroup
50 mChannels = channels; in BluetoothLeBroadcastSubgroup()
62 && mChannels.equals(other.getChannels()); in equals()
67 return Objects.hash(mCodecId, mCodecSpecificConfig, mContentMetadata, mChannels); in hashCode()
76 + (", channels=" + mChannels) in toString()
130 return mChannels.stream().anyMatch(BluetoothLeBroadcastChannel::isSelected); in hasChannelPreference()
145 return mChannels; in getChannels()
168 out.writeTypedList(mChannels); in writeToParcel()
211 private List<BluetoothLeBroadcastChannel> mChannels = new ArrayList<>(); field in BluetoothLeBroadcastSubgroup.Builder
232 mChannels = original.getChannels(); in Builder()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java320 private final ArraySet<Integer> mChannels = new ArraySet<Integer>(); field in KnownBandsChannelHelper.KnownBandsChannelCollection
333 mChannels.add(frequency); in addChannel()
344 mChannels.add(bandChannels[i][j].frequency); in addBand()
351 return mChannels.contains(channel); in containsChannel()
360 if (!mChannels.contains(bandChannels[i][j].frequency)) { in containsBand()
373 if (mChannels.contains(bandChannels[i][j].frequency)) { in partiallyContainsBand()
383 return mChannels.isEmpty(); in isEmpty()
395 mChannels.clear(); in clear()
404 if (!mChannels.contains(bandChannels[i][j].frequency)) { in getMissingChannelsFromBand()
418 if (mChannels.contains(bandChannels[i][j].frequency)) { in getContainingChannelsFromBand()
[all …]
/packages/apps/TV/src/com/android/tv/
DChannelTuner.java48 private final List<Channel> mChannels = new ArrayList<>(); field in ChannelTuner
113 mChannels.clear(); in stop()
205 Channel channel = mChannels.get(channelIndex); in getAdjacentBrowsableChannel()
212 int size = mChannels.size(); in getAdjacentBrowsableChannel()
218 Channel channel = mChannels.get(nextChannelIndex); in getAdjacentBrowsableChannel()
242 int size = mChannels.size(); in findNearestBrowsableChannel()
244 Channel upChannel = mChannels.get((index + i) % size); in findNearestBrowsableChannel()
248 Channel downChannel = mChannels.get((index - i + size) % size); in findNearestBrowsableChannel()
323 mChannels.clear(); in updateChannelData()
324 mChannels.addAll(channels); in updateChannelData()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java67 private HashMap<String, Integer> mChannels = new HashMap<String, Integer>(); field in BluetoothOppPreference
99 mChannels = (HashMap<String, Integer>) mChannelPreference.getAll(); in init()
126 if (mChannels != null) { in getChannel()
127 channel = mChannels.get(key); in getChannel()
167 mChannels.put(key, channel); in setChannel()
176 mChannels.remove(key); in removeChannel()
191 Log.d(TAG, mChannels.toString()); in dump()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java49 private final List<Channel> mChannels = new ArrayList<>(); field in ChannelsBlockedFragment
130 mChannels.clear(); in getItemList()
131 mChannels.addAll(getChannelDataManager().getChannelList()); in getItemList()
133 mChannels, in getItemList()
143 for (Channel channel : mChannels) { in getItemList()
187 for (Channel channel : mChannels) { in onSelected()
190 mBlockedChannelCount = lock ? mChannels.size() : 0; in onSelected()
210 return mBlockedChannelCount == mChannels.size(); in areAllChannelsBlocked()
/packages/modules/Wifi/framework/java/android/net/wifi/
DSoftApConfiguration.java238 private final SparseIntArray mChannels; field in SoftApConfiguration
482 mChannels = channels.clone(); in SoftApConfiguration()
484 mChannels = new SparseIntArray(1); in SoftApConfiguration()
485 mChannels.put(BAND_2GHZ, 0); in SoftApConfiguration()
523 && mChannels.toString().equals(other.mChannels.toString()) in equals()
556 mChannels.toString(), in hashCode()
587 sbuf.append(" \n Channels = ").append(mChannels); in toString()
620 writeSparseIntArray(dest, mChannels); in writeToParcel()
848 return mChannels.keyAt(0); in getBand()
864 int[] bands = new int[mChannels.size()]; in getBands()
[all …]
DWifiNetworkSpecifier.java193 private int[] mChannels; field in WifiNetworkSpecifier.Builder
205 mChannels = new int[0]; in Builder()
479 mChannels = channelFreqs.clone(); in setPreferredChannelsFrequenciesMhz()
676 if (mChannels.length != 0 && mBand != UNSPECIFIED) { in build()
687 mChannels); in build()
770 int[] mChannels = in.createIntArray();
772 wifiConfiguration, mChannels);
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/ccc/
DCccSpecificationParams.java54 @Channel private final List<Integer> mChannels; field in CccSpecificationParams
95 mChannels = channels; in CccSpecificationParams()
125 bundle.putIntArray(KEY_CHANNELS, toIntArray(mChannels)); in toBundle()
246 return mChannels; in getChannels()
275 && otherSpecificationParams.mChannels.equals(mChannels) in equals()
295 mChannels.hashCode(), in hashCode()
312 @Channel private List<Integer> mChannels = new ArrayList<>(); field in CccSpecificationParams.Builder
371 mChannels.add(channel); in addChannel()
434 mChannels, in build()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/aliro/
DAliroSpecificationParams.java55 @Channel private final List<Integer> mChannels; field in AliroSpecificationParams
96 mChannels = channels; in AliroSpecificationParams()
126 bundle.putIntArray(KEY_CHANNELS, toIntArray(mChannels)); in toBundle()
247 return mChannels; in getChannels()
276 && otherSpecificationParams.mChannels.equals(mChannels) in equals()
296 mChannels.hashCode(), in hashCode()
313 @Channel private List<Integer> mChannels = new ArrayList<>(); field in AliroSpecificationParams.Builder
372 mChannels.add(channel); in addChannel()
435 mChannels, in build()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java71 private List<Channel> mChannels = new ArrayList<>(); field in ProgramManager
80 private List<Channel> mFilteredChannels = mChannels;
296 + mChannels.size()); in resetChannelListWithGenre()
442 mChannels = mChannelDataManager.getBrowsableChannelList(); in updateChannels()
444 mFilteredChannels = mChannels; in updateChannels()
455 mChannels = new ArrayList<>(channels); in setChannels()
457 mFilteredChannels = mChannels; in setChannels()
474 for (Channel channel : mChannels) { in updateTableEntriesWithoutNotification()
500 for (Channel channel : mChannels) { in updateTableEntriesWithoutNotification()
540 for (Channel channel : mChannels) { in buildGenreFilters()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/
DUwbCapability.java125 public final Optional<List<Integer>> mChannels; field in UwbCapability
166 mChannels = channels; in UwbCapability()
257 if (mChannels.isPresent()) { in toBytes()
259 if (mChannels.get().contains(5)) { in toBytes()
262 if (mChannels.get().contains(6)) { in toBytes()
265 if (mChannels.get().contains(8)) { in toBytes()
268 if (mChannels.get().contains(9)) { in toBytes()
271 if (mChannels.get().contains(10)) { in toBytes()
274 if (mChannels.get().contains(12)) { in toBytes()
277 if (mChannels.get().contains(13)) { in toBytes()
[all …]
DCsmlUtil.java253 Optional<Integer> commonChannel = localCap.getPreferredChannel(remoteCap.mChannels); in generateSessionData()
/packages/apps/Settings/src/com/android/settings/notification/app/
DAppChannelsBypassingDndPreferenceController.java68 private List<NotificationChannel> mChannels = new ArrayList<>(); field in AppChannelsBypassingDndPreferenceController
94 for (NotificationChannel channel : mChannels) { in displayPreference()
106 childPreference.setChecked(showNotificationInDnd(mChannels.get(i - 1))); in displayPreference()
164 mChannels = newChannelList; in loadAppChannels()
185 for (NotificationChannel channel : mChannels) { in populateList()
243 for (NotificationChannel channel : mChannels) { in areAllChannelsBypassing()
/packages/apps/SecureElement/src/com/android/se/
DSecureElementService.java324 private final List<Channel> mChannels = new ArrayList<>(); field in SecureElementService.SecureElementSession
358 if (mChannels != null) { in removeChannel()
359 mChannels.remove(channel); in removeChannel()
367 while (mChannels.size() > 0) { in closeChannels()
369 mChannels.get(0).close(); in closeChannels()
439 mChannels.add(channel); in openBasicChannel()
498 mChannels.add(channel); in openLogicalChannel()
DTerminal.java73 private final Map<Integer, Channel> mChannels = new HashMap<Integer, Channel>(); field in Terminal
388 mChannels.remove(channel.getChannelNumber(), channel); in closeChannel()
389 if (mChannels.get(channel.getChannelNumber()) != null) { in closeChannel()
400 Collection<Channel> col = mChannels.values(); in closeChannels()
561 if (mChannels.get(0) != null) { in openBasicChannel()
618 mChannels.put(0, basicChannel); in openBasicChannel()
723 mChannels.put(channelNumber, logicalChannel); in openLogicalChannel()
1067 for (Channel channel : mChannels.values()) { in dump()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java50 private final List<Channel> mChannels = new ArrayList<>(); field in CustomizeChannelListFragment
161 mChannels.clear(); in getItemList()
162 mChannels.addAll(getChannelDataManager().getChannelList()); in getItemList()
189 ArrayList<Channel> channels = new ArrayList<>(mChannels); in addItemForGroupBySource()
212 ArrayList<Channel> channels = new ArrayList<>(mChannels); in addItemForGroupByHdSd()
/packages/apps/TV/src/com/android/tv/data/
DChannelLogoFetcher.java81 private final List<Channel> mChannels; field in ChannelLogoFetcher.FetchLogoTask
85 mChannels = channels; in FetchLogoTask()
108 for (Channel channel : mChannels) { in doInBackground()
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/
DScanFragment.java221 private final ArrayList<TunerChannel> mChannels; field in ScanFragment.ChannelAdapter
224 mChannels = new ArrayList<>(); in ChannelAdapter()
239 return mChannels.size(); in getCount()
263 channelNum.setText(mChannels.get(position).getDisplayNumber()); in getView()
266 channelName.setText(mChannels.get(position).getName()); in getView()
271 mChannels.add(channel); in add()
/packages/apps/TV/src/com/android/tv/ui/
DKeypadChannelSwitchView.java66 private List<Channel> mChannels; field in KeypadChannelSwitchView
193 SoftPreconditions.checkNotNull(mChannels, TAG, "mChannels"); in onKeyUp()
243 mChannels = channels; in setChannels()
298 for (Channel channel : mChannels) { in updateView()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java82 private List<Channel> mChannels = new ArrayList<>(); field in DvrSeriesSettingsFragment
121 mChannels.add(channel); in onAttach()
135 mChannels.sort(ChannelImpl.CHANNEL_NUMBER_COMPARATOR); in onAttach()
352 for (Channel channel : mChannels) { in buildChannelSubAction()
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/
DChannelScanFragment.java46 private List<Channel> mChannels = new ArrayList<>(); field in ChannelScanFragment
70 mChannels = result; in onCreateView()
157 for (Channel channel : mChannels) { in onGuidedActionClicked()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/secure/csml/
DControleeInfoTest.java123 assertEquals(uwbCapability1.mChannels.get(), channels); in testConversion()