/system/bt/bta/gatt/ |
D | bta_gatts_utils.c | 132 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) in bta_gatts_find_srvc_cb_by_srvc_id() argument 135 APPL_TRACE_DEBUG("bta_gatts_find_srvc_cb_by_srvc_id service_id=%d", service_id); in bta_gatts_find_srvc_cb_by_srvc_id() 139 p_cb->srvc_cb[i].service_id == service_id) in bta_gatts_find_srvc_cb_by_srvc_id() 166 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id() 167 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 172 attr_id >= p_cb->srvc_cb[i].service_id) || in bta_gatts_find_srvc_cb_by_attr_id() 175 attr_id >= p_cb->srvc_cb[i].service_id) in bta_gatts_find_srvc_cb_by_attr_id()
|
D | bta_gatts_api.c | 173 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) in BTA_GATTS_AddIncludeService() argument 179 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddIncludeService() 200 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, in BTA_GATTS_AddCharacteristic() argument 207 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharacteristic() 233 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, in BTA_GATTS_AddCharDescriptor() argument 241 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_AddCharDescriptor() 261 void BTA_GATTS_DeleteService(UINT16 service_id) in BTA_GATTS_DeleteService() argument 266 p_buf->layer_specific = service_id; in BTA_GATTS_DeleteService() 283 void BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport) in BTA_GATTS_StartService() argument 289 p_buf->hdr.layer_specific = service_id; in BTA_GATTS_StartService() [all …]
|
D | bta_gatts_act.c | 333 UINT16 service_id = 0; in bta_gatts_create_srvc() local 346 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if, in bta_gatts_create_srvc() 352 if (service_id != 0) in bta_gatts_create_srvc() 356 p_cb->srvc_cb[srvc_idx].service_id = service_id; in bta_gatts_create_srvc() 361 cb_data.create.service_id = service_id; in bta_gatts_create_srvc() 401 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_include_srvc() 436 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_char() 472 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_add_char_descr() 504 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_delete_service() 537 cb_data.srvc_oper.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific; in bta_gatts_start_service() [all …]
|
D | bta_gatts_int.h | 193 UINT16 service_id; /* service handle */ member 255 …ern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id);
|
/system/bt/service/test/ |
D | gatt_server_unittest.cpp | 400 auto service_id = gatt_server_->BeginServiceDeclaration(uuid, true); in TEST_F() local 401 EXPECT_TRUE(service_id != nullptr); in TEST_F() 402 EXPECT_TRUE(service_id->IsService()); in TEST_F() 421 service_id = gatt_server_->BeginServiceDeclaration(uuid, true); in TEST_F() 422 EXPECT_TRUE(service_id != nullptr); in TEST_F() 423 EXPECT_TRUE(service_id->IsService()); in TEST_F() 434 hal::GetHALServiceId(*service_id, &hal_id); in TEST_F() 461 EXPECT_TRUE(cb_id == *service_id); in TEST_F() 467 EXPECT_TRUE(*service_id != *service_id1); in TEST_F() 482 auto service_id = gatt_server_->BeginServiceDeclaration(uuid, true); in TEST_F() local [all …]
|
D | parcel_helpers_unittest.cpp | 155 auto service_id = GattIdentifier::CreateServiceId( in TEST() local 157 auto char_id = GattIdentifier::CreateCharacteristicId(3, uuid1, *service_id); in TEST() 160 TestGattIdentifier(*service_id); in TEST()
|
/system/bt/service/ |
D | gatt_server.cpp | 92 auto service_id = GetIdForService(uuid, is_primary); in BeginServiceDeclaration() local 93 CHECK(service_id); in BeginServiceDeclaration() 97 *service_id, kCharacteristicPropertyNone, kAttributePermissionNone); in BeginServiceDeclaration() 101 pending_decl_->service_id = *service_id; in BeginServiceDeclaration() 104 return service_id; in BeginServiceDeclaration() 192 std::unique_ptr<GattIdentifier> service_id = PopNextId(); in EndServiceDeclaration() local 193 CHECK(service_id->IsService()); in EndServiceDeclaration() 194 CHECK(*service_id == pending_decl_->service_id); in EndServiceDeclaration() 197 hal::GetHALServiceId(*service_id, &hal_id); in EndServiceDeclaration() 208 pending_id_ = std::move(service_id); in EndServiceDeclaration() [all …]
|
D | gatt_server_old.cpp | 119 btgatt_srvc_id_t service_id; member 139 btgatt_srvc_id_t service_id; in RegisterServerCallback() local 140 service_id.id.uuid = *app_uuid; in RegisterServerCallback() 141 service_id.id.inst_id = 0; in RegisterServerCallback() 142 service_id.is_primary = true; in RegisterServerCallback() 145 server_if, &service_id, kNumBlueDroidHandles); in RegisterServerCallback() 156 g_internal->service_id = *srvc_id; in ServiceAddedCallback() 329 bt_uuid_t client_id = g_internal->service_id.id.uuid; in ServiceStartedCallback() 541 bool Server::Initialize(const UUID& service_id, int* gatt_pipe) { in Initialize() argument 556 bt_uuid_t uuid = service_id.GetBlueDroid(); in Initialize()
|
D | gatt_server_old.h | 74 bool Initialize(const UUID& service_id, int* gatt_pipe);
|
/system/bt/service/common/bluetooth/ |
D | gatt_identifier.cpp | 51 const GattIdentifier& service_id) { in CreateCharacteristicId() argument 52 if (!service_id.IsService()) in CreateCharacteristicId() 55 std::unique_ptr<GattIdentifier> gatt_id(new GattIdentifier(service_id)); in CreateCharacteristicId() 183 std::unique_ptr<GattIdentifier> service_id = GetOwningServiceId(); in GetOwningCharacteristicId() local 185 return CreateCharacteristicId(char_instance_id_, char_uuid_, *service_id); in GetOwningCharacteristicId()
|
D | gatt_identifier.h | 44 const GattIdentifier& service_id);
|
/system/bt/bta/include/ |
D | bta_gatt_api.h | 494 UINT16 service_id; member 504 UINT16 service_id; member 513 UINT16 service_id; member 1098 extern void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id); 1115 extern void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, 1135 extern void BTA_GATTS_AddCharDescriptor (UINT16 service_id, 1151 extern void BTA_GATTS_DeleteService(UINT16 service_id); 1165 extern void BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport); 1178 extern void BTA_GATTS_StopService(UINT16 service_id);
|
/system/bt/service/ipc/binder/ |
D | bluetooth_gatt_server_binder_server.cpp | 67 auto service_id = gatt_server->BeginServiceDeclaration(uuid, is_primary); in BeginServiceDeclaration() local 68 if (!service_id) { in BeginServiceDeclaration() 74 out_id->swap(service_id); in BeginServiceDeclaration() 145 const bluetooth::GattIdentifier& service_id) { in EndServiceDeclaration() argument 160 gatt_cb->OnServiceAdded(status, service_id); in EndServiceDeclaration()
|
/system/bt/btif/include/ |
D | btif_common.h | 204 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id); 205 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id);
|
D | btif_av.h | 140 bt_status_t btif_av_init(int service_id);
|
/system/bt/btif/src/ |
D | btif_gatt_server.c | 216 p_data->create.service_id in btapp_gatts_handle_cback() 225 p_data->add_result.service_id, in btapp_gatts_handle_cback() 238 p_data->add_result.service_id, in btapp_gatts_handle_cback() 252 p_data->add_result.service_id, in btapp_gatts_handle_cback() 261 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback() 268 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback() 275 p_data->srvc_oper.service_id); in btapp_gatts_handle_cback()
|
D | btif_core.c | 1267 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id) in btif_enable_service() argument 1269 tBTA_SERVICE_ID *p_id = &service_id; in btif_enable_service() 1277 btif_enabled_services |= (1 << service_id); in btif_enable_service() 1301 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id) in btif_disable_service() argument 1303 tBTA_SERVICE_ID *p_id = &service_id; in btif_disable_service() 1310 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1<<service_id)); in btif_disable_service()
|
/system/bt/service/common/bluetooth/binder/ |
D | IBluetoothGattServerCallback.h | 60 int status, const bluetooth::GattIdentifier& service_id) = 0; 124 const bluetooth::GattIdentifier& service_id) override;
|
D | IBluetoothGattServerCallback.cpp | 165 const bluetooth::GattIdentifier& service_id) { in OnServiceAdded() argument 171 WriteGattIdentifierToParcel(service_id, &data); in OnServiceAdded()
|
/system/bt/stack/btm/ |
D | btm_sec.c | 96 …ic BOOLEAN btm_sec_set_security_level ( CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id, 214 if(BTM_SEC_IS_SERVICE_TRUSTED(p_dev_rec->trusted_mask, p_serv_rec->service_id)) in btm_serv_trusted() 478 BOOLEAN BTM_SetSecurityLevel (BOOLEAN is_originator, char *p_name, UINT8 service_id, in BTM_SetSecurityLevel() argument 490 return(btm_sec_set_security_level (conn_type, p_name, service_id, in BTM_SetSecurityLevel() 493 return(btm_sec_set_security_level (is_originator, p_name, service_id, in BTM_SetSecurityLevel() 517 …atic BOOLEAN btm_sec_set_security_level (CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id, in btm_sec_set_security_level() argument 561 service_id == p_srec->service_id && in btm_sec_set_security_level() 570 service_id == p_srec->service_id) in btm_sec_set_security_level() 601 p_srec->service_id = service_id; in btm_sec_set_security_level() 704 index, service_id, conn_type, psm, mx_proto_id, mx_chan_id); in btm_sec_set_security_level() [all …]
|
D | btm_inq.c | 2590 UINT8 service_id; in BTM_HasEirService() local 2592 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_HasEirService() 2593 if( service_id < BTM_EIR_MAX_SERVICES ) in BTM_HasEirService() 2594 return( BTM_EIR_HAS_SERVICE( p_eir_uuid, service_id )); in BTM_HasEirService() 2641 UINT8 service_id; in BTM_AddEirService() local 2643 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_AddEirService() 2644 if( service_id < BTM_EIR_MAX_SERVICES ) in BTM_AddEirService() 2645 BTM_EIR_SET_SERVICE( p_eir_uuid, service_id ); in BTM_AddEirService() 2662 UINT8 service_id; in BTM_RemoveEirService() local 2664 service_id = btm_convert_uuid_to_eir_service(uuid16); in BTM_RemoveEirService() [all …]
|
/system/bt/stack/gap/ |
D | gap_conn.c | 126 UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server, in GAP_ConnOpen() argument 219 p_ccb->service_id = service_id; in GAP_ConnOpen() 221 p_ccb->service_id, security, p_ccb->psm, 0, 0)) in GAP_ConnOpen() 1203 UINT8 service_id = p_ccb->service_id; in gap_release_ccb() local 1228 BTM_SecClrService(service_id); in gap_release_ccb()
|
D | gap_int.h | 68 UINT8 service_id; /* Used by BTM */ member
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.h | 58 const bluetooth::GattIdentifier& service_id) override;
|
/system/connectivity/shill/cellular/ |
D | cellular.cc | 629 string service_id; in CreateService() local 632 service_id = home_provider_info_->uuid(); in CreateService() 635 service_id = serving_operator_info_->uuid(); in CreateService() 641 service_id = sim_identifier(); in CreateService() 648 service_id = meid(); in CreateService() 657 if (!service_id.empty()) { in CreateService() 660 kTypeCellular, address().c_str(), service_id.c_str()); in CreateService()
|