/system/bt/btif/src/ |
btif_sock.cc | 43 const Uuid* uuid, int channel, int* sock_fd, 46 const Uuid* uuid, int channel, int* sock_fd, 131 const Uuid* service_uuid, int channel, 139 int original_channel = channel; 143 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, 148 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); 152 /* Set channel to zero so that it will be assigned */ 153 channel = 0; 154 } else if (channel <= 0) { 155 LOG_ERROR(LOG_TAG, "%s: type BTSOCK_L2CAP_LE: invalid channel=%d" [all...] |
/system/bt/vendor_libs/test_vendor_lib/include/ |
sco_packet.h | 43 explicit ScoPacket(uint16_t channel, PacketStatusFlags status_flags);
|
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 93 mm_camera_channel_t *channel, 144 stream = mm_app_add_stream(test_obj, channel); 178 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 194 mm_camera_channel_t *channel, 204 stream = mm_app_add_stream(test_obj, channel); 235 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 246 mm_camera_channel_t *channel = NULL; local 249 channel = mm_app_add_channel(test_obj, 254 if (NULL == channel) { 255 LOGE(" add channel failed") 316 mm_camera_channel_t *channel = NULL; local 338 mm_camera_channel_t *channel = local [all...] |
/external/autotest/server/site_tests/network_WiFi_VerifyRouter/ |
network_WiFi_VerifyRouter.py | 33 def _antenna_test(self, bitmap, channel): 34 """Test that we can connect on |channel|, with given antenna |bitmap|. 36 Sets up two radios on |channel|, configures both radios with the 50 Calls with a 2.4 GHz channel exercise phy0 and phy2, while calls 51 with a 5 GHz channel exercise phy1 and phy2. 54 @param channel: int Wifi channel to conduct test on 66 # Setup two APs on |channel|. configure() will spread these across 69 ap_config = hostap_config.HostapConfig(channel=channel, mode=n_mode [all...] |
/external/webrtc/webrtc/common_audio/vad/ |
vad_sp.c | 62 int channel) { 66 const int offset = (channel << 4); 71 // the |channel|. 75 assert(channel < kNumChannels); 166 if (current_median < self->mean_value[channel]) { 172 tmp32 = (alpha + 1) * self->mean_value[channel]; 175 self->mean_value[channel] = (int16_t) (tmp32 >> 15); 177 return self->mean_value[channel];
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
audio_e2e_harness.cc | 48 int channel = base->CreateChannel(); local 49 ASSERT_NE(-1, channel); 52 new VoiceChannelTransport(network, channel)); 68 ASSERT_EQ(0, codec->SetSendCodec(channel, codec_params)); 93 ASSERT_EQ(0, base->StartReceive(channel)); 94 ASSERT_EQ(0, base->StartPlayout(channel)); 95 ASSERT_EQ(0, base->StartSend(channel));
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_rdi.c | 92 mm_camera_channel_t *channel, 143 stream = mm_app_add_stream(test_obj, channel); 179 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 195 mm_camera_channel_t *channel, 205 stream = mm_app_add_stream(test_obj, channel); 238 rc = mm_app_config_stream(test_obj, channel, stream, &stream->s_config); 249 mm_camera_channel_t *channel = NULL; local 252 channel = mm_app_add_channel(test_obj, 257 if (NULL == channel) { 258 LOGE(" add channel failed") 319 mm_camera_channel_t *channel = NULL; local 341 mm_camera_channel_t *channel = local [all...] |
mm_qcamera_preview.c | 53 mm_camera_channel_t *channel = NULL; local 65 /* find channel */ 68 channel = &pme->channels[i]; 73 if (NULL == channel) { 74 LOGE("Channel object is NULL "); 79 for (i = 0; i < channel->num_streams; i++) { 80 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 81 p_stream = &channel->streams[i]; 231 mm_camera_channel_t *channel = NULL; local 237 /* find channel */ 346 mm_camera_channel_t *channel = NULL; local 423 mm_camera_channel_t *channel = NULL; local 1197 mm_camera_channel_t *channel = NULL; local 1267 mm_camera_channel_t *channel = NULL; local 1318 mm_camera_channel_t *channel = local 1332 mm_camera_channel_t *channel = NULL; local 1429 mm_camera_channel_t *channel = local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/ |
rewrites.rb | 66 WS : (' '|'\n') {$channel=HIDDEN;} ; 79 WS : (' '|'\n') {$channel=HIDDEN;} ; 93 WS : (' '|'\n') {$channel=HIDDEN;} ; 107 WS : (' '|'\n') {$channel=HIDDEN;} ; 121 WS : (' '|'\n') {$channel=HIDDEN;} ; 134 WS : (' '|'\n') {$channel=HIDDEN;} ; 148 WS : (' '|'\n') {$channel=HIDDEN;} ; 163 WS : (' '|'\n') {$channel=HIDDEN;} ; 177 WS : (' '|'\n') {$channel=HIDDEN;} ; 192 WS : (' '|'\n') {$channel=HIDDEN;} [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
CommonToken.cs | 43 int channel = TokenChannels.Default; field in class:Antlr.Runtime.CommonToken 71 public CommonToken(ICharStream input, int type, int channel, int start, int stop) { 74 this.channel = channel; 81 this.channel = TokenChannels.Default; 91 channel = oldToken.Channel; 151 public int Channel { 153 return channel; 156 channel = value [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
EPollPort.java | 63 // encapsulates an event for a channel 65 final PollableChannel channel; field in class:EPollPort.Event 68 Event(PollableChannel channel, int events) { 69 this.channel = channel; 73 PollableChannel channel() { return channel; } method in class:EPollPort.Event 182 * Task to process events from epoll and dispatch to the channel's 197 * corresponding channel in batch and queue n-1 so that 223 PollableChannel channel = fdToChannel.get(fd) local [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppPreference.java | 44 * This class cache Bluetooth device name and channel locally. Its a temp 122 Integer channel = null; local 124 channel = mChannels.get(key); 128 + channel); 131 return (channel != null) ? channel : -1; 146 public void setChannel(BluetoothDevice remoteDevice, int uuid, int channel) { 149 + channel); 151 if (channel != getChannel(remoteDevice, uuid)) { 154 ed.putInt(key, channel); [all...] |
/prebuilts/go/darwin-x86/src/os/signal/ |
example_test.go | 14 // Set up channel on which to send signal notifications. 15 // We must use a buffered channel or risk missing the signal 26 // Set up channel on which to send signal notifications. 27 // We must use a buffered channel or risk missing the signal 32 // all signals will be sent to the channel.
|
/prebuilts/go/linux-x86/src/os/signal/ |
example_test.go | 14 // Set up channel on which to send signal notifications. 15 // We must use a buffered channel or risk missing the signal 26 // Set up channel on which to send signal notifications. 27 // We must use a buffered channel or risk missing the signal 32 // all signals will be sent to the channel.
|
/external/libxml2/ |
error.c | 174 xmlGenericErrorFunc channel, void *data ) { 208 channel(data ,"%s\n", content); 220 channel(data ,"%s\n", content); 246 xmlGenericErrorFunc channel, void *data) 261 if (channel == NULL) { 262 channel = xmlGenericError; 290 channel(data, "%s:%d: ", input->filename, input->line); 292 channel(data, "Entity: line %d: ", input->line); 296 channel(data, "%s:%d: ", file, line); 301 channel(data, "Entity: line %d: ", line) [all...] |
testrecurse.c | 314 channel(void *ctx ATTRIBUTE_UNUSED, const char *msg, ...) { function 440 channel(data, "%s:%d: ", input->filename, input->line); 442 channel(data, "Entity: line %d: ", input->line); 446 channel(data, "%s:%d: ", file, line); 448 channel(data, "Entity: line %d: ", line); 451 channel(data, "element %s: ", name); 457 channel(data, "parser "); 460 channel(data, "namespace "); 464 channel(data, "validity "); 467 channel(data, "HTML parser ") [all...] |
/external/webrtc/talk/app/webrtc/objc/public/ |
RTCDataChannel.h | 40 // Set to YES if the channel has been externally negotiated and we do not send 75 // Protocol for receving data channel state and message events. 78 // Called when the data channel state has changed. 79 - (void)channelDidChangeState:(RTCDataChannel*)channel; 82 - (void)channel:(RTCDataChannel*)channel 88 - (void)channel:(RTCDataChannel*)channel
|
/system/connectivity/wificond/scanning/ |
single_scan_settings.cpp | 45 for (const auto& channel : channel_settings_) { 49 RETURN_IF_FAILED(channel.writeToParcel(parcel)); 74 ChannelSettings channel; local 85 RETURN_IF_FAILED(channel.readFromParcel(parcel)); 86 channel_settings_.push_back(channel);
|
/external/mesa3d/src/amd/vulkan/ |
radv_formats.c | 45 type = desc->channel[first_non_void].type; 50 desc->channel[0].size == 10 && 51 desc->channel[1].size == 10 && 52 desc->channel[2].size == 10 && 53 desc->channel[3].size == 2) 58 if (desc->channel[first_non_void].size != desc->channel[i].size) 62 switch (desc->channel[first_non_void].size) { 89 !desc->channel[first_non_void].pure_integer) 117 switch (desc->channel[first_non_void].type) [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
ChannelLogoFetcher.java | 33 import com.android.tv.data.api.Channel; 43 * Fetches channel logos from the cloud into the database. It's for the channels which have no logos 56 * Fetches the channel logos from the cloud data and insert them into TvProvider. The previous 60 public static void startFetchingChannelLogos(Context context, List<Channel> channels) { 81 private final List<Channel> mChannels; 83 private FetchLogoTask(Context context, List<Channel> channels) { 91 if (DEBUG) Log.d(TAG, "Fetching the channel logos has been canceled"); 94 List<Channel> channelsToUpdate = new ArrayList<>(); 95 List<Channel> channelsToRemove = new ArrayList<>(); 108 for (Channel channel : mChannels) [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_voicemgt.c | 165 EAS_INLINE EAS_U8 VSynthToChannel (S_SYNTH *pSynth, EAS_U8 channel) 168 return channel | (pSynth->vSynthNum << 4); 179 pVoice->channel = UNASSIGNED_SYNTH_CHANNEL; 211 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; 212 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; 244 pSynth = pVoiceMgr->pSynth[GET_VSYNTH(pVoice->channel)]; 245 pool = pSynth->channels[GET_CHANNEL(pVoice->channel)].pool; 504 /* init each channel */ 514 /* the drum channel needs a different init */ 569 /* update all voices on this channel */ 713 EAS_INT channel; local 1036 EAS_INT channel; local 2515 EAS_INT channel; local 2870 EAS_INT channel; local [all...] |
/external/tensorflow/tensorflow/contrib/image/kernels/ |
single_image_random_dot_stereograms_ops.cc | 260 int channel) { // No error checking for some 264 return ((output_Ximage * output_Cimage) * y + x * output_Cimage + channel); 339 for (int channel = 0; channel < output_Cimage; ++channel) { 343 pix[x * output_Cimage + channel] = Cblack; 345 pix[x * output_Cimage + channel] = Cwhite; 348 pix[x * output_Cimage + channel] = rand() % 256; 351 pix[x * output_Cimage + channel] = 352 pix[same[x] * output_Cimage + channel]; [all...] |
/cts/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 163 final NotificationChannel channel = local 165 channel.setGroup(ncg.getId()); 170 mNotificationManager.createNotificationChannel(channel); 178 assertEquals(channel.getId(), ncgs.get(0).getChannels().get(0).getId()); 188 final NotificationChannel channel = local 190 channel.setGroup(ncg.getId()); 194 mNotificationManager.createNotificationChannel(channel); 201 assertEquals(channel.getId(), actual.getChannels().get(0).getId()); 206 final NotificationChannel channel = local 208 channel.setGroup(ncg.getId()) 219 final NotificationChannel channel = local 240 NotificationChannel channel = local 261 NotificationChannel channel = local 283 NotificationChannel channel = local 296 final NotificationChannel channel = local 308 NotificationChannel channel = local 321 NotificationChannel channel = local 332 NotificationChannel channel = local 342 NotificationChannel channel = local 352 NotificationChannel channel = local 439 NotificationChannel channel = local 521 NotificationChannel channel = local 546 NotificationChannel channel = local [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
CommonToken.as | 59 public static function createFromStream(input:CharStream, type:int, channel:int, start:int, stop:int):CommonToken { 62 token._channel = channel; 73 token._channel = oldToken.channel; 121 public function get channel():int { 125 public function set channel(channel:int):void { 126 _channel = channel; 167 if ( channel>0 ) { 168 channelStr=",channel="+channel; [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCLexer.m | 237 state.channel = _channel; 267 state.channel = _channel; 297 state.channel = _channel; 327 state.channel = _channel; 357 state.channel = _channel; 387 state.channel = _channel; 417 state.channel = _channel; 447 state.channel = _channel; 477 state.channel = _channel; 507 state.channel = _channel [all...] |