Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java122 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); in onRequestProgramsResponse() argument
128 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); in onProgramsArrived() argument
133 void onChannelArrived(TunerChannel channel); in onChannelArrived() argument
206 TunerChannel channel = mTunerChannelMap.get(channelId); in getChannel() local
207 if (channel != null) { in getChannel()
208 return channel; in getChannel()
229 channel = TunerChannel.parseFrom(data); in getChannel()
230 if (channel == null) { in getChannel()
233 channel.setLocked(locked); in getChannel()
234 channel.setChannelId(channelId); in getChannel()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java1619 Channel channel = initializeChannel(srcContext, srcLooper, listener, in initialize() local
1621 return channel; in initialize()
1722 public void discoverPeers(Channel channel, ActionListener listener) { in discoverPeers() argument
1723 checkChannel(channel); in discoverPeers()
1724 Bundle extras = prepareExtrasBundle(channel); in discoverPeers()
1725 channel.mAsyncChannel.sendMessage(prepareMessage(DISCOVER_PEERS, WIFI_P2P_SCAN_FULL, in discoverPeers()
1726 channel.putListener(listener), extras, channel.mContext)); in discoverPeers()
1763 public void discoverPeersOnSocialChannels(@NonNull Channel channel, in discoverPeersOnSocialChannels() argument
1768 checkChannel(channel); in discoverPeersOnSocialChannels()
1769 Bundle extras = prepareExtrasBundle(channel); in discoverPeersOnSocialChannels()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DConversationPriorityPreferenceControllerTest.java108 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local
109 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
116 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredIn() local
117 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn()
121 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn()
129 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredOut() local
130 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut()
136 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local
137 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testUpdateState_disabledByAdmin()
138 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
[all …]
DNotificationPreferenceControllerTest.java115 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable_notIfChannelBlocked() local
116 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in isAvailable_notIfChannelBlocked()
118 mController.onResume(appRow, channel, group, null, null, null, null); in isAvailable_notIfChannelBlocked()
125 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable_notIfChannelGroupBlocked() local
126 when(channel.getImportance()).thenReturn(IMPORTANCE_DEFAULT); in isAvailable_notIfChannelGroupBlocked()
129 mController.onResume(appRow, channel, group, null, null, null, null); in isAvailable_notIfChannelGroupBlocked()
137 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable_notIfFailsFilterCheck() local
138 when(channel.getImportance()).thenReturn(IMPORTANCE_DEFAULT); in isAvailable_notIfFailsFilterCheck()
144 mController.onResume(appRow, channel, group, null, null, null, filter); in isAvailable_notIfFailsFilterCheck()
151 NotificationChannel channel = mock(NotificationChannel.class); in isAvailable() local
[all …]
DImportancePreferenceControllerTest.java116 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_isGroupBlocked() local
117 when(channel.getImportance()).thenReturn(IMPORTANCE_DEFAULT); in testIsAvailable_isGroupBlocked()
120 mController.onResume(appRow, channel, group, null, null, null, null); in testIsAvailable_isGroupBlocked()
127 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_ifChannelBlocked() local
128 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_ifChannelBlocked()
129 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_ifChannelBlocked()
136 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notForDefaultChannel() local
137 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); in testIsAvailable_notForDefaultChannel()
138 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); in testIsAvailable_notForDefaultChannel()
139 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notForDefaultChannel()
[all …]
DMinImportancePreferenceControllerTest.java110 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local
111 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
112 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked()
119 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notForDefaultChannel() local
120 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); in testIsAvailable_notForDefaultChannel()
121 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); in testIsAvailable_notForDefaultChannel()
122 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notForDefaultChannel()
129 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local
130 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); in testIsAvailable()
131 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
[all …]
DVibrationPreferenceControllerTest.java104 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notSystemDoesNotHave() local
105 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notSystemDoesNotHave()
112 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testIsAvailable_notIfNotImportant() local
113 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfNotImportant()
120 NotificationChannel channel = in testIsAvailable_notIfDefaultChannel() local
122 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfDefaultChannel()
129 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local
130 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
137 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredIn() local
138 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn()
[all …]
DHighImportancePreferenceControllerTest.java110 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local
111 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
112 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked()
119 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notForDefaultChannel() local
120 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testIsAvailable_notForDefaultChannel()
121 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); in testIsAvailable_notForDefaultChannel()
122 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notForDefaultChannel()
129 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local
130 when(channel.getImportance()).thenReturn(IMPORTANCE_DEFAULT); in testIsAvailable()
131 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
[all …]
DAllowSoundPreferenceControllerTest.java118 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfAppCreatedChannel() local
119 when(channel.getId()).thenReturn("something new"); in testIsAvailable_notIfAppCreatedChannel()
120 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfAppCreatedChannel()
127 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable() local
128 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); in testIsAvailable()
129 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); in testIsAvailable()
130 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
137 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_filteredIn() local
138 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); in testIsAvailable_filteredIn()
139 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); in testIsAvailable_filteredIn()
[all …]
DConversationPromotePreferenceControllerTest.java88 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notConversation() local
89 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notConversation()
96 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_conversation_notDemoted() local
97 channel.setConversationId("a", "a"); in testIsAvailable_conversation_notDemoted()
98 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_conversation_notDemoted()
105 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_conversation_demoted() local
106 channel.setConversationId("a", "a"); in testIsAvailable_conversation_demoted()
107 channel.setDemoted(true); in testIsAvailable_conversation_demoted()
108 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_conversation_demoted()
115 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredIn() local
[all …]
DBlockPreferenceControllerTest.java117 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channelNotBlockable() local
118 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testIsAvailable_channelNotBlockable()
119 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channelNotBlockable()
127 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channelNonDefault() local
128 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testIsAvailable_channelNonDefault()
129 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channelNonDefault()
136 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_ifChannelDefault() local
137 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testIsAvailable_ifChannelDefault()
138 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); in testIsAvailable_ifChannelDefault()
139 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_ifChannelDefault()
[all …]
DBadgePreferenceControllerTest.java110 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfChannelBlocked() local
111 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); in testIsAvailable_notIfChannelBlocked()
112 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfChannelBlocked()
121 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_channel_notIfAppOff() local
122 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testIsAvailable_channel_notIfAppOff()
123 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channel_notIfAppOff()
132 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_notIfOffGlobally() local
133 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); in testIsAvailable_notIfOffGlobally()
134 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfOffGlobally()
165 NotificationChannel channel = mock(NotificationChannel.class); in testIsAvailable_defaultChannel() local
[all …]
DLightsPreferenceControllerTest.java115 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notIfConfigNotAllowed() local
116 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfConfigNotAllowed()
124 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notIfSettingNotAllowed() local
125 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfSettingNotAllowed()
132 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testIsAvailable_notIfNotImportant() local
133 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfNotImportant()
140 NotificationChannel channel = in testIsAvailable_notIfDefaultChannel() local
142 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfDefaultChannel()
149 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local
150 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
[all …]
DConversationDemotePreferenceControllerTest.java85 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notConversation() local
86 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notConversation()
93 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_conversation_demoted() local
94 channel.setConversationId("a", "a"); in testIsAvailable_conversation_demoted()
95 channel.setDemoted(true); in testIsAvailable_conversation_demoted()
96 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_conversation_demoted()
103 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_conversation_notDemoted() local
104 channel.setConversationId("a", "a"); in testIsAvailable_conversation_notDemoted()
105 channel.setDemoted(false); in testIsAvailable_conversation_notDemoted()
106 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_conversation_notDemoted()
[all …]
DSoundPreferenceControllerTest.java122 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); in testIsAvailable_notIfNotImportant() local
123 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfNotImportant()
130 NotificationChannel channel = in testIsAvailable_notIfDefaultChannel() local
132 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfDefaultChannel()
139 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable() local
140 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
147 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredIn() local
148 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn()
156 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredOut() local
157 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut()
[all …]
DDndPreferenceControllerTest.java98 NotificationChannel channel = in testIsAvailable_channel() local
100 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_channel()
108 NotificationChannel channel = in testIsAvailable_filteredIn() local
110 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn()
119 NotificationChannel channel = in testIsAvailable_filteredOut() local
121 mController.onResume(appRow, channel, null, null, null, null, new ArrayList<>()); in testIsAvailable_filteredOut()
127 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_disabledByAdmin() local
128 when(channel.getId()).thenReturn("something"); in testUpdateState_disabledByAdmin()
129 mController.onResume(new NotificationBackend.AppRow(), channel, null, null, null, mock( in testUpdateState_disabledByAdmin()
142 NotificationChannel channel = mock(NotificationChannel.class); in testUpdateState_notBlockable() local
[all …]
DVisibilityPreferenceControllerTest.java125 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_notSecure() local
126 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notSecure()
133 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_MIN); in testIsAvailable_notIfNotImportant() local
134 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable_notIfNotImportant()
141 NotificationChannel channel = in testIsAvailable() local
143 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
146 channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable()
147 mController.onResume(appRow, channel, null, null, null, null, null); in testIsAvailable()
154 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); in testIsAvailable_filteredIn() local
155 mController.onResume(appRow, channel, null, null, null, null, in testIsAvailable_filteredIn()
[all …]
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationEntryTest.java111 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testHasPerson() local
112 StatusBarNotification sbn = generateSbn(channel.getId()); in testHasPerson()
118 mContext, mPackageManager, sbn, channel, mSmsHelper); in testHasPerson()
124 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testNotPerson() local
125 StatusBarNotification sbn = generateSbn(channel.getId()); in testNotPerson()
127 mContext, mPackageManager, sbn, channel, mSmsHelper); in testNotPerson()
133 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testHasPerson_matchesDefaultSmsApp() local
134 StatusBarNotification sbn = generateSbn(channel.getId(), DEFAULT_SMS_PACKAGE_NAME); in testHasPerson_matchesDefaultSmsApp()
136 mContext, mPackageManager, sbn, channel, mSmsHelper); in testHasPerson_matchesDefaultSmsApp()
142 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); in testHasPerson_doesntMatchDefaultSmsApp() local
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/coex/
DCoexUtils.java150 private static int getChannelEdgeKhz(int channel, @WifiAnnotations.WifiBandBasic int band, in getChannelEdgeKhz() argument
152 int centerFreqMhz = ScanResult.convertChannelToFrequencyMhzIfSupported(channel, band); in getChannelEdgeKhz()
161 if (CHANNEL_SET_5_GHZ_20_MHZ.contains(channel)) { in getChannelEdgeKhz()
163 } else if (CHANNEL_SET_5_GHZ_40_MHZ.contains(channel)) { in getChannelEdgeKhz()
165 } else if (CHANNEL_SET_5_GHZ_80_MHZ.contains(channel)) { in getChannelEdgeKhz()
180 /* package */ static int getLowerFreqKhz(int channel, @WifiAnnotations.WifiBandBasic int band) { in getLowerFreqKhz() argument
181 return getChannelEdgeKhz(channel, band, true); in getLowerFreqKhz()
186 /* package */ static int getUpperFreqKhz(int channel, @WifiAnnotations.WifiBandBasic int band) { in getUpperFreqKhz() argument
187 return getChannelEdgeKhz(channel, band, false); in getUpperFreqKhz()
369 for (int channel = lowest2gChannel; channel <= highest2gChannel; channel++) { in getNeighboringCoexUnsafeChannels()
[all …]
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java85 ChannelImpl channel = new ChannelImpl(); in fromCursor() local
87 channel.mId = cursor.getLong(index++); in fromCursor()
88 channel.mPackageName = Utils.intern(cursor.getString(index++)); in fromCursor()
89 channel.mInputId = Utils.intern(cursor.getString(index++)); in fromCursor()
90 channel.mType = Utils.intern(cursor.getString(index++)); in fromCursor()
91 channel.mDisplayNumber = normalizeDisplayNumber(cursor.getString(index++)); in fromCursor()
92 channel.mDisplayName = cursor.getString(index++); in fromCursor()
93 channel.mDescription = cursor.getString(index++); in fromCursor()
94 channel.mVideoFormat = Utils.intern(cursor.getString(index++)); in fromCursor()
95 channel.mBrowsable = cursor.getInt(index++) == 1; in fromCursor()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/app/
DAppChannelsBypassingDndPreferenceController.java86 for (NotificationChannel channel : mChannels) { in displayPreference()
87 if (showNotification(channel) && isChannelConfigurable(channel)) { in displayPreference()
88 channel.setBypassDnd(bypassDnd); in displayPreference()
89 channel.lockFields(NotificationChannel.USER_LOCKED_PRIORITY); in displayPreference()
90 mBackend.updateChannel(mAppRow.pkg, mAppRow.uid, channel); in displayPreference()
139 for (NotificationChannel channel : channelGroup.getChannels()) { in loadAppChannels()
140 if (!isConversation(channel)) { in loadAppChannels()
141 newChannelList.add(channel); in loadAppChannels()
167 for (NotificationChannel channel : mChannels) { in populateList()
172 && isChannelConfigurable(channel) in populateList()
[all …]
/packages/apps/Dialer/java/com/android/dialer/notification/
DNotificationChannelManager.java101 for (NotificationChannel channel : notificationManager.getNotificationChannels()) { in getAllExistingChannelIds()
102 result.add(channel.getId()); in getAllExistingChannelIds()
118 NotificationChannel channel = in createIncomingCallChannel() local
123 channel.setShowBadge(false); in createIncomingCallChannel()
124 channel.enableLights(true); in createIncomingCallChannel()
125 channel.enableVibration(false); in createIncomingCallChannel()
126 channel.setSound( in createIncomingCallChannel()
128 context.getSystemService(NotificationManager.class).createNotificationChannel(channel); in createIncomingCallChannel()
132 NotificationChannel channel = in createOngoingCallChannel() local
137 channel.setShowBadge(false); in createOngoingCallChannel()
[all …]
/packages/apps/TV/src/com/android/tv/
DChannelTuner.java186 Channel channel = getAdjacentBrowsableChannel(up); in moveToAdjacentBrowsableChannel() local
187 if (channel == null) { in moveToAdjacentBrowsableChannel()
190 setCurrentChannelAndNotify(mChannelMap.get(channel.getId())); in moveToAdjacentBrowsableChannel()
205 Channel channel = mChannels.get(channelIndex); in getAdjacentBrowsableChannel() local
206 if (channel.isBrowsable()) { in getAdjacentBrowsableChannel()
207 return channel; in getAdjacentBrowsableChannel()
218 Channel channel = mChannels.get(nextChannelIndex); in getAdjacentBrowsableChannel() local
219 if (channel.isBrowsable()) { in getAdjacentBrowsableChannel()
220 return channel; in getAdjacentBrowsableChannel()
235 Channel channel = mChannelMap.get(channelId); in findNearestBrowsableChannel() local
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/
DTunerTsStreamerManager.java61 TunerChannel channel, in createDataSource() argument
67 if (mStreamerFinder.containsLocked(channel)) { in createDataSource()
68 mStreamerFinder.appendSessionLocked(channel, sessionId); in createDataSource()
69 TunerTsStreamer streamer = mStreamerFinder.getStreamerLocked(channel); in createDataSource()
76 creator = new TsStreamerCreator(context, channel, listener); in createDataSource()
86 mStreamerFinder.putLocked(channel, sessionId, streamer); in createDataSource()
111 TunerChannel channel = streamer.getChannel(); in releaseDataSource() local
112 SoftPreconditions.checkState(channel != null); in releaseDataSource()
113 mStreamerFinder.removeSessionLocked(channel, sessionId); in releaseDataSource()
114 if (mStreamerFinder.containsLocked(channel)) { in releaseDataSource()
[all …]
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_sdp.cc90 const uint16_t channel, const bool with_obex) { in create_base_record() argument
92 channel, name, with_obex); in create_base_record()
104 proto_list[1].params[0] = channel; in create_base_record()
136 sdp_handle, channel, name, with_obex); in create_base_record()
143 stage, channel, name, with_obex); in create_base_record()
151 const uint16_t channel) { in add_sdp_by_uuid() argument
153 uuid.ToString().c_str(), channel, name); in add_sdp_by_uuid()
159 channel, name); in add_sdp_by_uuid()
175 if (!create_base_record(handle, name, channel, false /* with_obex */)) in add_sdp_by_uuid()
211 static int add_pbap_sdp(const char* name, const int channel) { in add_pbap_sdp() argument
[all …]

12345678910>>...19