/external/webrtc/talk/media/sctp/ |
sctpdataengine_unittest.cc | 168 void BindSelf(cricket::SctpDataMediaChannel* channel) { 169 channel->SignalStreamClosedRemotely.connect( 189 SignalChannelClosedReopener(cricket::SctpDataMediaChannel* channel, 191 : channel_(channel), peer_(peer) {} 244 LOG(LS_VERBOSE) << "Channel setup ----------------------------- "; 285 cricket::SctpDataMediaChannel* channel = local 288 channel->SetInterface(net); 290 channel->SignalDataReceived.connect( 292 return channel; 443 // Close channel 1. Channel 2 should notify us [all...] |
/external/webrtc/webrtc/p2p/base/ |
faketransportcontroller.h | 41 // Fake transport channel class, which can be passed to anything that needs a 42 // transport channel. Can be informed of another FakeTransportChannel via 417 FakeTransportChannel* channel = variable 419 channel->set_ssl_max_protocol_version(ssl_max_version_); 420 channel->SetAsync(async_); 421 SetChannelDestination(component, channel); 422 channels_[component] = channel; 423 return channel; 426 void DestroyTransportChannel(TransportChannelImpl* channel) override { 427 channels_.erase(channel->component()) [all...] |
transportcontroller.cc | 149 // Channel already exists; increment reference count and return. 154 // Need to create a new channel. 156 TransportChannelImpl* channel = transport->CreateChannel(component); local 157 channel->SignalWritableState.connect( 159 channel->SignalReceivingState.connect( 161 channel->SignalGatheringState.connect( 163 channel->SignalCandidateGathered.connect( 165 channel->SignalRoleConflict.connect( 167 channel->SignalConnectionRemoved.connect( 169 channels_.insert(channels_.end(), RefCountedChannel(channel))->AddRef() [all...] |
/external/webrtc/webrtc/voice_engine/ |
transmit_mixer.cc | 19 #include "webrtc/voice_engine/channel.h" 309 Channel* channel = it.GetChannel(); local 310 if (channel->Sending()) { 312 channel->GetSendCodec(codec); 424 Channel* channelPtr = it.GetChannel(); 439 voe::Channel* channel_ptr = ch.channel(); 459 Channel* channelPtr = it.GetChannel(); 472 voe::Channel* channel_ptr = ch.channel() [all...] |
/external/wpa_supplicant_8/src/ap/ |
dfs.c | 60 * channel for CSA, unless they are available for immediate use. 80 * The tables contain first valid channel number based on channel width. 81 * We will also choose this first channel as the control one. 215 wpa_printf(MSG_DEBUG, "Adding channel: %d", chan->chan); 263 /* Return start channel idx we will use for mode->channels[idx] */ 268 int channel_no = iface->conf->channel; 335 mode->num_channels, channel_no, iface->conf->channel, 341 wpa_printf(MSG_DEBUG, "Available channel: %d", 350 /* At least one channel have radar flag * 354 struct hostapd_channel_data *channel; local 374 struct hostapd_channel_data *channel; local 403 struct hostapd_channel_data *channel; local 621 struct hostapd_channel_data *channel; local 648 struct hostapd_channel_data *channel; local 830 struct hostapd_channel_data *channel; local 871 struct hostapd_channel_data *channel; local [all...] |
drv_callbacks.c | 633 int channel, chwidth, is_dfs; local 638 "driver had channel switch: freq=%d, ht=%d, offset=%d, width=%d (%s), cf1=%d, cf2=%d", 644 channel = hostapd_hw_get_channel(hapd, freq); 645 if (!channel) { 648 "driver switched to bad channel!"); 683 hapd->iconf->channel = channel; 732 if (hapd->iconf->channel) { 733 wpa_printf(MSG_INFO, "ACS: Channel was already set to %d", 734 hapd->iconf->channel); [all...] |
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.c | 701 enum hostapd_hw_mode ieee80211_freq_to_chan(int freq, u8 *channel) 706 &op_class, channel); 711 * ieee80211_freq_to_channel_ext - Convert frequency into channel info 714 * @sec_channel: 0 = non-HT40, 1 = sec. channel above, -1 = sec. channel below 715 * @vht: VHT channel width (VHT_CHANWIDTH_*) 717 * @channel: Buffer for returning channel number 722 u8 *op_class, u8 *channel) 746 *channel = (freq - 2407) / 5 1369 u8 channel; local [all...] |
privsep_commands.h | 66 int channel; member in struct:privsep_cmd_associate
|
/external/wpa_supplicant_8/src/drivers/ |
driver_macsec_qca.c | 260 u32 *channel) 267 *channel = i; 278 u32 channel) 280 os_memcpy(&map[channel].sci, sci, sizeof(struct ieee802_1x_mka_sci)); 286 u32 *channel) 289 channel); 295 u32 channel) 298 channel); 304 u32 *channel) 307 channel); 327 u32 channel; local 355 u32 channel; local 374 u32 channel; local 425 u32 channel; local 477 u32 channel; local 501 u32 channel; local 526 u32 channel; local 546 u32 channel; local 594 u32 channel; local 632 u32 channel; local 657 u32 channel; local 697 u32 channel; local 717 u32 channel; local [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_common.c | 357 int channel) 375 (channel && wps_build_ap_channel(plain, channel)) || 754 u8 channel, rf_band; local 760 mode = ieee80211_freq_to_chan(freq, &channel); 762 return 0; /* Unknown channel */ 772 ap_channel = channel;
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
NuPlayer2CCDecoder.cpp | 41 bool getChannel(size_t *channel) const { 43 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); 162 // For CEA-608 CC1, field 0 channel 0 392 size_t channel; local 393 if (cc.getChannel(&channel)) { 394 mLine21Channels[cc_type] = channel; 397 getTrackIndex(kTrackTypeCEA608, channel, &trackAdded); 477 // return the track index for a given type and channel. 480 int32_t trackType, size_t channel, bool *trackAdded) { 481 CCTrack track(trackType, channel); [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerCCDecoder.cpp | 40 bool getChannel(size_t *channel) const { 42 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); 163 // For CEA-608 CC1, field 0 channel 0 393 size_t channel; local 394 if (cc.getChannel(&channel)) { 395 mLine21Channels[cc_type] = channel; 398 getTrackIndex(kTrackTypeCEA608, channel, &trackAdded); 478 // return the track index for a given type and channel. 481 int32_t trackType, size_t channel, bool *trackAdded) { 482 CCTrack track(trackType, channel); [all...] |
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/ |
RadioTunerTest.java | 290 int channel = mFmBandConfig.getLowerLimit() + mFmBandConfig.getSpacing(); local 293 int ret = mRadioTuner.tune(channel, 0); 299 assertEquals(channel, infoc.getValue().getChannel()); 306 assertEquals(channel, info[0].getChannel());
|
/frameworks/base/services/core/java/com/android/server/ |
PersistentDataBlockService.java | 344 FileChannel channel = outputStream.getChannel(); local 346 channel.position(getBlockDeviceSize() - 1); 351 channel.write(data); 628 FileChannel channel = outputStream.getChannel(); 630 channel.position(getBlockDeviceSize() - 1 - FRP_CREDENTIAL_RESERVED_SIZE); 631 channel.write(data);
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
Tuner.cpp | 295 uint32_t channel, subChannel; local 296 if (!utils::getLegacyChannel(selector, &channel, &subChannel)) { 298 "Can't tune to non-AM/FM channel with HAL<1.1"); 301 convert::ThrowIfFailed(env, halTuner10->tune(channel, subChannel));
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
ApduSenderTest.java | 109 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "A1A1A19000"); local 110 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); 120 verify(mMockCi).iccCloseLogicalChannel(eq(channel), any()); 135 assertNull("Request provider should not be called when failed to open channel.", 146 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 147 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, "A1A1A19000"); 148 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); 155 verify(mMockCi).iccTransmitApduLogicalChannel(eq(channel), eq(channel | 10), eq(1), eq(2), 164 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000") local 193 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 216 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 251 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 276 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 295 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 327 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local [all...] |
/hardware/interfaces/broadcastradio/1.0/vts/functional/ |
VtsHalBroadcastradioV1_0TargetTest.cpp | 140 virtual Return<void> newMetadata(uint32_t channel __unused, uint32_t subChannel __unused, 527 * - skipping sub-channel or not does not fail the call 555 * - skipping sub-channel or not does not fail the call 608 uint32_t channel = local 612 Return<Result> hidlResult = mTuner->tune(channel, 0); 616 EXPECT_EQ(channel, mProgramInfoCallbackData.channel); 631 EXPECT_LE(halInfo.channel, upperLimit); 632 EXPECT_GE(halInfo.channel, lowerLimit); 643 * Test ITuner::tune failing when channel out of the range is provided [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
FileHandler.java | 455 FileChannel channel = null; local 458 while (channel == null && retries++ < 1) { 460 channel = FileChannel.open(lockFilePath, 472 channel = FileChannel.open(lockFilePath, 485 // at this point channel should still be null. 492 if (channel == null) continue; // try the next name; 493 lockFileChannel = channel; 514 // some other channel - that is - using something else 717 // Close the lock file channel (which also will free any locks)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
NotificationPreferenceControllerTest.java | 106 NotificationChannel channel = mock(NotificationChannel.class); local 107 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); 109 mController.onResume(appRow, channel, null, null); 116 NotificationChannel channel = mock(NotificationChannel.class); local 119 mController.onResume(appRow, channel, group, null); 127 NotificationChannel channel = mock(NotificationChannel.class); local 128 when(channel.getImportance()).thenReturn(IMPORTANCE_DEFAULT); 132 mController.onResume(appRow, channel, group, null); 139 NotificationChannel channel = mock(NotificationChannel.class); local 143 mController.onResume(appRow, channel, group, admin) 154 NotificationChannel channel = mock(NotificationChannel.class); local 164 NotificationChannel channel = mock(NotificationChannel.class); local 174 NotificationChannel channel = mock(NotificationChannel.class); local 184 NotificationChannel channel = mock(NotificationChannel.class); local 194 NotificationChannel channel = mock(NotificationChannel.class); local 207 NotificationChannel channel = mock(NotificationChannel.class); local 222 NotificationChannel channel = mock(NotificationChannel.class); local 233 NotificationChannel channel = mock(NotificationChannel.class); local 245 NotificationChannel channel = mock(NotificationChannel.class); local 256 NotificationChannel channel = mock(NotificationChannel.class); local 306 NotificationChannel channel = mock(NotificationChannel.class); local 307 mController.onResume(mock(NotificationBackend.AppRow.class), channel, null, null); local 314 NotificationChannel channel = mock(NotificationChannel.class); local 316 mController.onResume(mock(NotificationBackend.AppRow.class), channel, null, null); local [all...] |
VisibilityPreferenceControllerTest.java | 120 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); local 121 mController.onResume(appRow, channel, null, null); 128 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_MIN); local 129 mController.onResume(appRow, channel, null, null); 136 NotificationChannel channel = local 138 mController.onResume(appRow, channel, null, null); 141 channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); 142 mController.onResume(appRow, channel, null, null); 157 NotificationChannel channel = mock(NotificationChannel.class); local 158 when(channel.getId()).thenReturn("something") 179 NotificationChannel channel = mock(NotificationChannel.class); local 196 NotificationChannel channel = mock(NotificationChannel.class); local 221 NotificationChannel channel = mock(NotificationChannel.class); local 244 NotificationChannel channel = mock(NotificationChannel.class); local 261 NotificationChannel channel = mock(NotificationChannel.class); local 291 NotificationChannel channel = mock(NotificationChannel.class); local 310 NotificationChannel channel = mock(NotificationChannel.class); local 329 NotificationChannel channel = new NotificationChannel("", "", 4); local 348 NotificationChannel channel = new NotificationChannel("", "", 4); local [all...] |
/packages/apps/StorageManager/src/com/android/storagemanager/automatic/ |
NotificationController.java | 194 // We really should only have the path with the notification channel set. The other path is 196 // builder with a channel id, so it crashes when it hits that code path. 228 final NotificationChannel channel = local 233 nm.createNotificationChannel(channel);
|
/packages/apps/TV/src/com/android/tv/ |
ChannelTuner.java | 29 import com.android.tv.data.api.Channel; 39 * It manages the current tuned channel among browsable channels. And it determines the next channel 40 * by channel up/down. But, it doesn't actually tune through TvView. 48 private final List<Channel> mChannels = new ArrayList<>(); 49 private final List<Channel> mBrowsableChannels = new ArrayList<>(); 50 private final Map<Long, Channel> mChannelMap = new HashMap<>(); 58 @Nullable private Channel mCurrentChannel; 131 /** Returns browsable channel lists. */ 132 public List<Channel> getBrowsableChannelList() 192 Channel channel = getAdjacentBrowsableChannel(up); local 211 Channel channel = mChannels.get(channelIndex); local 224 Channel channel = mChannels.get(nextChannelIndex); local 241 Channel channel = mChannelMap.get(channelId); local 335 Channel channel = channels.get(i); local [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
DvrDetailsFragment.java | 44 import com.android.tv.data.api.Channel; 219 Channel channel = channelDataManager.getChannel(recordedProgram.getChannelId()); local 220 if (channel != null && channel.isLocked()) {
|
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
DvrPlaybackMediaSessionHelper.java | 34 import com.android.tv.data.api.Channel; 177 Channel channel = mChannelDataManager.getChannel(program.getChannelId()); local 179 (channel != null) 180 ? channel.getDisplayName()
|
/packages/apps/TV/src/com/android/tv/ui/ |
TvTransitionManager.java | 35 import com.android.tv.data.api.Channel; 117 Channel channel = mMainActivity.getCurrentChannel(); local 118 if (channel != null && channel.isPassthrough()) {
|