Home
last modified time | relevance | path

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

/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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppPreference.java64 private HashMap<String, Integer> mChannels = new HashMap<String, Integer>(); field in BluetoothOppPreference
95 mChannels = (HashMap<String, Integer>) mChannelPreference.getAll(); in init()
123 if (mChannels != null) { in getChannel()
124 channel = mChannels.get(key); in getChannel()
156 mChannels.put(key, channel); in setChannel()
165 mChannels.remove(key); in removeChannel()
172 Log.d(TAG, mChannels.toString()); in dump()
/packages/apps/Settings/src/com/android/settings/notification/app/
DAppChannelsBypassingDndPreferenceController.java62 private final List<NotificationChannel> mChannels = new ArrayList<>(); field in AppChannelsBypassingDndPreferenceController
85 for (NotificationChannel channel : mChannels) { in displayPreference()
97 childPreference.setChecked(showNotificationInDnd(mChannels.get(i - 1))); in displayPreference()
131 mChannels.clear(); in loadAppChannels()
135 mChannels.add(channel); in loadAppChannels()
139 Collections.sort(mChannels, CHANNEL_COMPARATOR); in loadAppChannels()
160 for (NotificationChannel channel : mChannels) { in populateList()
204 for (NotificationChannel channel : mChannels) { in areAllChannelsBypassing()
/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/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()
441 mChannels = mChannelDataManager.getBrowsableChannelList(); in updateChannels()
443 mFilteredChannels = mChannels; in updateChannels()
454 mChannels = new ArrayList<>(channels); in setChannels()
456 mFilteredChannels = mChannels; in setChannels()
473 for (Channel channel : mChannels) { in updateTableEntriesWithoutNotification()
499 for (Channel channel : mChannels) { in updateTableEntriesWithoutNotification()
539 for (Channel channel : mChannels) { in buildGenreFilters()
[all …]
/packages/apps/SecureElement/src/com/android/se/
DSecureElementService.java239 private final List<Channel> mChannels = new ArrayList<>(); field in SecureElementService.SecureElementSession
273 if (mChannels != null) { in removeChannel()
274 mChannels.remove(channel); in removeChannel()
282 while (mChannels.size() > 0) { in closeChannels()
284 mChannels.get(0).close(); in closeChannels()
336 mChannels.add(channel); in openBasicChannel()
376 mChannels.add(channel); in openLogicalChannel()
DTerminal.java68 private final Map<Integer, Channel> mChannels = new HashMap<Integer, Channel>(); field in Terminal
312 mChannels.remove(channel.getChannelNumber(), channel); in closeChannel()
313 if (mChannels.get(channel.getChannelNumber()) != null) { in closeChannel()
323 Collection<Channel> col = mChannels.values(); in closeChannels()
451 if (mChannels.get(0) != null) { in openBasicChannel()
495 mChannels.put(0, basicChannel); in openBasicChannel()
573 mChannels.put(channelNumber, logicalChannel); in openLogicalChannel()
876 for (Channel channel : mChannels.values()) { in dump()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/media/
DBrowseTree.java383 private @Nullable List<MediaItem> mChannels; field in BrowseTree.AmFmChannelList
395 mChannels = null; in setBands()
419 if (mChannels != null) return mChannels; in getChannels()
421 mChannels = new ArrayList<>(); in getChannels()
431 mChannels.add(createChild(dbld, NODEPREFIX_AMFMCHANNEL + ch, in getChannels()
436 return mChannels; in getChannels()
/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/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.java64 private List<Channel> mChannels; field in KeypadChannelSwitchView
191 SoftPreconditions.checkNotNull(mChannels, TAG, "mChannels"); in onKeyUp()
241 mChannels = channels; in setChannels()
283 for (Channel channel : mChannels) { in updateView()
/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/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()