/system/bt/btif/src/ |
D | btif_sock_sdp.c | 112 const uint16_t channel, const bool with_obex) { in create_base_record() argument 114 channel, name, with_obex); in create_base_record() 126 proto_list[1].params[0] = channel; in create_base_record() 154 sdp_handle, channel, name, with_obex); in create_base_record() 160 stage, channel, name, with_obex); in create_base_record() 168 const uint16_t channel) { in add_sdp_by_uuid() argument 169 APPL_TRACE_DEBUG("add_sdp_by_uuid: scn: %d, service_name: %s", channel, name); in add_sdp_by_uuid() 174 "scn: %d, service_name: %s", channel, name); in add_sdp_by_uuid() 180 if (!create_base_record(handle, name, channel, FALSE /* with_obex */)) in add_sdp_by_uuid() 219 static int add_pbap_sdp(const char *name, const int channel) { in add_pbap_sdp() argument [all …]
|
D | btif_sock.c | 35 …n(btsock_type_t type, const char *service_name, const uint8_t *uuid, int channel, int *sock_fd, in… 36 …const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, in… 117 …_type_t type, const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, in… in btsock_listen() argument 119 assert(service_uuid != NULL || channel > 0); in btsock_listen() 128 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags); in btsock_listen() 131 status = btsock_l2cap_listen(service_name, channel, sock_fd, flags); in btsock_listen() 146 …const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, in… in btsock_connect() argument 147 assert(uuid != NULL || channel > 0); in btsock_connect() 156 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags); in btsock_connect() 160 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags); in btsock_connect()
|
D | btif_sock_l2cap.c | 74 int channel; //channel (fixed_chan) or PSM (!fixed_chan) member 281 if ((sock->channel >= 0) && (sock->server == TRUE)) { in btsock_l2cap_free_l() 283 BTA_JvFreeChannel(sock->channel, BTA_JV_CONN_TYPE_L2CAP_LE); in btsock_l2cap_free_l() 285 BTA_JvFreeChannel(sock->channel, BTA_JV_CONN_TYPE_L2CAP); in btsock_l2cap_free_l() 408 return sock_send_all(sock->our_fd, (const uint8_t*)&sock->channel, sizeof(sock->channel)) in send_app_psm_or_chan_l() 409 == sizeof(sock->channel); in send_app_psm_or_chan_l() 413 int channel, int status, int send_fd, int tx_mtu) in send_app_connect_signal() argument 418 cs.channel = channel; in send_app_connect_signal() 491 accept_rs->channel = sock->channel; in on_srv_l2cap_psm_connect_l() 508 APPL_TRACE_DEBUG("server fd:%d, scn:%d", sock->our_fd, sock->channel); in on_srv_l2cap_psm_connect_l() [all …]
|
D | btif_sock_rfc.c | 173 …slot(const bt_bdaddr_t *addr, const char *name, const uint8_t *uuid, int channel, int flags, bool … in alloc_rfc_slot() argument 203 slot->scn = channel; in alloc_rfc_slot() 254 bt_status_t btsock_rfc_listen(const char *service_name, const uint8_t *service_uuid, int channel, i… in btsock_rfc_listen() argument 257 || (channel >= 1 && channel <= MAX_RFC_CHANNEL) in btsock_rfc_listen() 276 channel = reserved_channel; in btsock_rfc_listen() 284 rfc_slot_t *slot = alloc_rfc_slot(NULL, service_name, service_uuid, channel, flags, true); in btsock_rfc_listen() 289 APPL_TRACE_DEBUG("BTA_JvGetChannelId: service_name: %s - channel: %d", service_name, channel); in btsock_rfc_listen() 290 BTA_JvGetChannelId(BTA_JV_CONN_TYPE_RFCOMM, (void*) slot->id, channel); in btsock_rfc_listen() 309 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t *service_uuid, int channel… in btsock_rfc_connect() argument 311 assert(service_uuid != NULL || (channel >= 1 && channel <= MAX_RFC_CHANNEL)); in btsock_rfc_connect() [all …]
|
D | btif_sock_sco.c | 249 connect_signal.channel = 0; in connection_request_cb()
|
D | btif_dm.c | 1597 rec.channel = p_data->disc_res.result - 3; in btif_dm_remote_service_record_evt()
|
/system/bt/test/suite/cases/ |
D | rfcomm.c | 52 int channel; in rfcomm_connect() local 54 …TASSERT(read(fd, &channel, sizeof(channel)) == sizeof(channel), "Channel not read from RFCOMM sock… in rfcomm_connect() 58 …TASSERT(channel == signal.channel, "Inconsistent channels returned: %d and %d", channel, signal.ch… in rfcomm_connect()
|
/system/netd/server/ |
D | SoftapController.cpp | 125 int channel = AP_CHANNEL_DEFAULT; in setSoftap() local 137 channel = atoi(argv[5]); in setSoftap() 138 if (channel <= 0) in setSoftap() 139 channel = AP_CHANNEL_DEFAULT; in setSoftap() 151 argv[2], argv[3], channel, (channel <= 14) ? 'g' : 'a', hidden)); in setSoftap()
|
/system/media/audio/include/system/ |
D | audio.h | 498 static inline uint32_t audio_channel_mask_get_bits(audio_channel_mask_t channel) in audio_channel_mask_get_bits() argument 500 return channel & ((1 << AUDIO_CHANNEL_COUNT_MAX) - 1); in audio_channel_mask_get_bits() 505 audio_channel_mask_t channel) in audio_channel_mask_get_representation() argument 509 ((channel >> AUDIO_CHANNEL_COUNT_MAX) & ((1 << AUDIO_CHANNEL_REPRESENTATION_LOG2) - 1)); in audio_channel_mask_get_representation() 519 static inline bool audio_channel_mask_is_valid(audio_channel_mask_t channel) in audio_channel_mask_is_valid() argument 521 uint32_t bits = audio_channel_mask_get_bits(channel); in audio_channel_mask_is_valid() 522 audio_channel_representation_t representation = audio_channel_mask_get_representation(channel); in audio_channel_mask_is_valid() 1159 static inline bool audio_is_input_channel(audio_channel_mask_t channel) in audio_is_input_channel() argument 1161 uint32_t bits = audio_channel_mask_get_bits(channel); in audio_is_input_channel() 1162 switch (audio_channel_mask_get_representation(channel)) { in audio_is_input_channel() [all …]
|
/system/bt/stack/smp/ |
D | smp_l2c.c | 38 static void smp_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, 40 static void smp_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf); 42 static void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reas… 44 static void smp_br_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf); 89 static void smp_connect_callback (UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, UINT16 reason, in smp_connect_callback() argument 144 static void smp_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf) in smp_data_received() argument 240 static void smp_br_connect_callback(UINT16 channel, BD_ADDR bd_addr, BOOLEAN connected, in smp_br_connect_callback() argument 294 static void smp_br_data_received(UINT16 channel, BD_ADDR bd_addr, BT_HDR *p_buf) in smp_br_data_received() argument
|
/system/bt/btif/include/ |
D | btif_sock_l2cap.h | 15 bt_status_t btsock_l2cap_listen(const char* name, int channel, 18 int channel, int* sock_fd, int flags);
|
D | btif_sock_rfc.h | 32 bt_status_t btsock_rfc_listen(const char* name, const uint8_t* uuid, int channel, 35 int channel, int* sock_fd, int flags);
|
D | btif_sock_sdp.h | 43 bool is_reserved_rfc_channel(int channel);
|
/system/media/radio/src/ |
D | radio_metadata.c | 175 const unsigned int channel, in radio_metadata_allocate() argument 184 metadata_buf->channel = channel; in radio_metadata_allocate() 247 status = radio_metadata_allocate(dst_metadata, src_metadata_buf->channel, in radio_metadata_add_metadata() 255 dst_metadata_buf->channel = src_metadata_buf->channel; in radio_metadata_add_metadata()
|
/system/media/private/radio/include/ |
D | radio_metadata_hidden.h | 78 unsigned int channel; /* channel (frequency) this meta data is associated with */ member
|
/system/bt/bta/include/ |
D | bta_jv_api.h | 272 UINT16 channel; /* The connection channel */ member 502 INT32 channel); 515 extern tBTA_JV_STATUS BTA_JvFreeChannel(UINT16 channel, int conn_type); 762 extern tBTA_JV_STATUS BTA_JvL2capWriteFixed(UINT16 channel, BD_ADDR *addr, UINT32 req_id,
|
/system/bt/bta/jv/ |
D | bta_jv_api.c | 176 tBTA_JV_STATUS BTA_JvGetChannelId(int conn_type, void* user_data, INT32 channel) in BTA_JvGetChannelId() argument 186 p_msg->channel = channel; in BTA_JvGetChannelId() 209 tBTA_JV_STATUS BTA_JvFreeChannel(UINT16 channel, int conn_type) in BTA_JvFreeChannel() argument 218 p_msg->scn = channel; in BTA_JvFreeChannel() 822 tBTA_JV_STATUS BTA_JvL2capWriteFixed(UINT16 channel, BD_ADDR *addr, UINT32 req_id, in BTA_JvL2capWriteFixed() argument 834 p_msg->channel = channel; in BTA_JvL2capWriteFixed()
|
D | bta_jv_act.c | 755 INT32 channel = p_data->alloc_channel.channel; in bta_jv_get_channel_id() local 757 if (channel > 0) in bta_jv_get_channel_id() 759 if (BTM_TryAllocateSCN(channel) == FALSE) in bta_jv_get_channel_id() 761 APPL_TRACE_ERROR("rfc channel:%d already in use or invalid", channel); in bta_jv_get_channel_id() 762 channel = 0; in bta_jv_get_channel_id() 764 } else if ((channel = BTM_AllocateSCN()) == 0) { in bta_jv_get_channel_id() 766 channel = 0; in bta_jv_get_channel_id() 768 if (channel != 0) { in bta_jv_get_channel_id() 769 bta_jv_cb.scn[channel-1] = TRUE; in bta_jv_get_channel_id() 770 scn = (UINT8) channel; in bta_jv_get_channel_id() [all …]
|
D | bta_jv_int.h | 238 UINT16 channel; member 353 INT32 channel; /* optionally request a specific channel */ member
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | readsamplesjoint.inc | 73 * Left channel 87 * Right channel
|
/system/media/radio/include/system/ |
D | radio_metadata.h | 87 const unsigned int channel,
|
/system/core/include/system/ |
D | radio.h | 166 unsigned int channel; /* current channel. (e.g kHz for band type RADIO_BAND_FM) */ member
|
/system/core/fastboot/ |
D | fastboot_protocol.txt | 18 multi-channel, bi-directional, asynchronous ADB protocol)
|
/system/core/adb/ |
D | protocol.txt | 203 channel between the main select/epoll thread and the remote connection 222 support a smaller, fixed number of channels using pre-assigned channel
|
D | SERVICES.TXT | 217 one byte through the channel, which will trigger the service
|