Searched defs:service_id (Results 1 - 25 of 27) sorted by relevance

12

/system/bt/bta/gatt/
H A Dbta_gatts_utils.c132 tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id) argument
135 APPL_TRACE_DEBUG("bta_gatts_find_srvc_cb_by_srvc_id service_id=%d", service_id);
139 p_cb->srvc_cb[i].service_id == service_id)
166 attr_id >= p_cb->srvc_cb[i].service_id &&
167 attr_id < p_cb->srvc_cb[i + 1].service_id) ||
172 attr_id >= p_cb->srvc_cb[i].service_id) ||
175 attr_id >= p_cb->srvc_cb[i].service_id)
H A Dbta_gatts_act.c333 UINT16 service_id = 0; local
346 service_id = GATTS_CreateService (p_cb->rcb[rcb_idx].gatt_if,
352 if (service_id != 0)
356 p_cb->srvc_cb[srvc_idx].service_id = service_id;
361 cb_data.create.service_id = service_id;
401 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific;
436 cb_data.add_result.service_id = p_msg->api_add_incl_srvc.hdr.layer_specific;
472 cb_data.add_result.service_id
[all...]
H A Dbta_gatts_api.c166 ** Parameters service_id: service ID to which this included service is to
173 void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id) argument
179 p_buf->hdr.layer_specific = service_id;
191 ** Parameters service_id: service ID to which this included service is to
200 void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid, argument
207 p_buf->hdr.layer_specific = service_id;
225 ** Parameters service_id: service ID to which this charatceristic descriptor is to
233 void BTA_GATTS_AddCharDescriptor (UINT16 service_id, argument
241 p_buf->hdr.layer_specific = service_id;
256 ** Parameters service_id
261 BTA_GATTS_DeleteService(UINT16 service_id) argument
283 BTA_GATTS_StartService(UINT16 service_id, tBTA_GATT_TRANSPORT sup_transport) argument
306 BTA_GATTS_StopService(UINT16 service_id) argument
[all...]
H A Dbta_gatts_int.h193 UINT16 service_id; /* service handle */ member in struct:__anon192
255 extern tBTA_GATTS_SRVC_CB * bta_gatts_find_srvc_cb_by_srvc_id(tBTA_GATTS_CB *p_cb, UINT16 service_id);
/system/bt/service/common/bluetooth/binder/
H A DIBluetoothGattServerCallback.cpp165 const bluetooth::GattIdentifier& service_id) {
171 WriteGattIdentifierToParcel(service_id, &data);
163 OnServiceAdded( int status, const bluetooth::GattIdentifier& service_id) argument
H A Dparcel_helpers.cpp168 int service_id = parcel.readInt32(); local
176 service_id, char_id, desc_id));
/system/bt/service/common/bluetooth/
H A Dgatt_identifier.cpp51 const GattIdentifier& service_id) {
52 if (!service_id.IsService())
55 std::unique_ptr<GattIdentifier> gatt_id(new GattIdentifier(service_id));
183 std::unique_ptr<GattIdentifier> service_id = GetOwningServiceId();
185 return CreateCharacteristicId(char_instance_id_, char_uuid_, *service_id);
49 CreateCharacteristicId( int id, const UUID& uuid, const GattIdentifier& service_id) argument
/system/bt/service/
H A Dgatt_server.h216 GattIdentifier service_id; member in struct:bluetooth::GattServer::ServiceDeclaration
H A Dgatt_server.cpp92 auto service_id = GetIdForService(uuid, is_primary); local
93 CHECK(service_id);
97 *service_id, kCharacteristicPropertyNone, kAttributePermissionNone);
101 pending_decl_->service_id = *service_id;
104 return service_id;
192 std::unique_ptr<GattIdentifier> service_id = PopNextId(); local
193 CHECK(service_id->IsService());
194 CHECK(*service_id == pending_decl_->service_id);
[all...]
H A Dgatt_server_old.cpp119 btgatt_srvc_id_t service_id; member in struct:bluetooth::gatt::ServerInternals
139 btgatt_srvc_id_t service_id; local
140 service_id.id.uuid = *app_uuid;
141 service_id.id.inst_id = 0;
142 service_id.is_primary = true;
145 server_if, &service_id, kNumBlueDroidHandles);
156 g_internal->service_id = *srvc_id;
329 bt_uuid_t client_id = g_internal->service_id.id.uuid;
541 bool Server::Initialize(const UUID& service_id, int* gatt_pipe) { argument
556 bt_uuid_t uuid = service_id
[all...]
/system/bt/service/test/
H A Dparcel_helpers_unittest.cpp155 auto service_id = GattIdentifier::CreateServiceId( local
157 auto char_id = GattIdentifier::CreateCharacteristicId(3, uuid1, *service_id);
160 TestGattIdentifier(*service_id);
H A Dgatt_server_unittest.cpp400 auto service_id = gatt_server_->BeginServiceDeclaration(uuid, true); local
401 EXPECT_TRUE(service_id != nullptr);
402 EXPECT_TRUE(service_id->IsService());
421 service_id = gatt_server_->BeginServiceDeclaration(uuid, true);
422 EXPECT_TRUE(service_id != nullptr);
423 EXPECT_TRUE(service_id->IsService());
434 hal::GetHALServiceId(*service_id, &hal_id);
461 EXPECT_TRUE(cb_id == *service_id);
467 EXPECT_TRUE(*service_id != *service_id1);
482 auto service_id local
550 auto service_id = gatt_server_->BeginServiceDeclaration(service_uuid, true); local
720 auto service_id = gatt_server_->BeginServiceDeclaration(service_uuid, true); local
[all...]
/system/bt/service/example/heart_rate/
H A Dheart_rate_server.cpp307 const bluetooth::GattIdentifier& service_id) {
316 if (service_id != hr_service_id_) {
305 OnServiceAdded( int status, const bluetooth::GattIdentifier& service_id) argument
/system/bt/service/ipc/binder/
H A Dbluetooth_gatt_server_binder_server.cpp67 auto service_id = gatt_server->BeginServiceDeclaration(uuid, is_primary); local
68 if (!service_id) {
74 out_id->swap(service_id);
145 const bluetooth::GattIdentifier& service_id) {
160 gatt_cb->OnServiceAdded(status, service_id);
/system/bt/stack/hid/
H A Dhidh_conn.c1021 UINT8 service_id = BTM_SEC_SERVICE_HIDH_NOSEC_CTRL; local
1038 service_id = BTM_SEC_SERVICE_HIDH_SEC_CTRL;
1041 BTM_SetOutService (p_dev->addr, service_id, mx_chan_id);
/system/bt/stack/gap/
H A Dgap_conn.c103 ** service_id - Unique service ID from
126 UINT16 GAP_ConnOpen (char *p_serv_name, UINT8 service_id, BOOLEAN is_server, argument
219 p_ccb->service_id = service_id;
221 p_ccb->service_id, security, p_ccb->psm, 0, 0))
1203 UINT8 service_id = p_ccb->service_id; local
1228 BTM_SecClrService(service_id);
H A Dgap_int.h68 UINT8 service_id; /* Used by BTM */ member in struct:__anon895
/system/bt/btif/src/
H A Dbtif_av.c1184 bt_status_t btif_av_init(int service_id) argument
1193 btif_enable_service(service_id);
H A Dbtif_core.c1267 bt_status_t btif_enable_service(tBTA_SERVICE_ID service_id) argument
1269 tBTA_SERVICE_ID *p_id = &service_id;
1277 btif_enabled_services |= (1 << service_id);
1301 bt_status_t btif_disable_service(tBTA_SERVICE_ID service_id) argument
1303 tBTA_SERVICE_ID *p_id = &service_id;
1307 * be triggerred. Otherwise, we just need to clear the service_id in the mask
1310 btif_enabled_services &= (tBTA_SERVICE_MASK)(~(1<<service_id));
/system/bt/stack/btm/
H A Dbtm_inq.c2590 UINT8 service_id; local
2592 service_id = btm_convert_uuid_to_eir_service(uuid16);
2593 if( service_id < BTM_EIR_MAX_SERVICES )
2594 return( BTM_EIR_HAS_SERVICE( p_eir_uuid, service_id ));
2641 UINT8 service_id; local
2643 service_id = btm_convert_uuid_to_eir_service(uuid16);
2644 if( service_id < BTM_EIR_MAX_SERVICES )
2645 BTM_EIR_SET_SERVICE( p_eir_uuid, service_id );
2662 UINT8 service_id; local
2664 service_id
[all...]
H A Dbtm_sec.c96 static 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))
469 ** service_id - service ID for the service passed to authorization callback
478 BOOLEAN BTM_SetSecurityLevel (BOOLEAN is_originator, char *p_name, UINT8 service_id, argument
490 return(btm_sec_set_security_level (conn_type, p_name, service_id,
493 return(btm_sec_set_security_level (is_originator, p_name, service_id,
508 ** service_id - service ID for the service passed to authorization callback
517 static BOOLEAN btm_sec_set_security_level (CONNECTION_TYPE conn_type, char *p_name, UINT8 service_id, argument
549 service_id, and mx_chan_id), or obtain the next unused record */
561 service_id
746 BTM_SecClrService(UINT8 service_id) argument
1960 BTM_SetOutService(BD_ADDR bd_addr, UINT8 service_id, UINT32 mx_chan_id) argument
5540 UINT8 service_id; local
[all...]
/system/bt/bta/include/
H A Dbta_ag_api.h326 tBTA_SERVICE_ID service_id; member in struct:__anon267
H A Dbta_gatt_api.h494 UINT16 service_id; member in struct:__anon370
504 UINT16 service_id; member in struct:__anon371
513 UINT16 service_id; member in struct:__anon372
1091 ** Parameters service_id: service ID to which this included service is to
1098 extern void BTA_GATTS_AddIncludeService(UINT16 service_id, UINT16 included_service_id);
1106 ** Parameters service_id: service ID to which this included service is to
1115 extern void BTA_GATTS_AddCharacteristic (UINT16 service_id, tBT_UUID *p_char_uuid,
1126 ** Parameters service_id: service ID to which this charatceristic descriptor is to
1135 extern void BTA_GATTS_AddCharDescriptor (UINT16 service_id,
1146 ** Parameters service_id
[all...]
/system/connectivity/shill/cellular/
H A Dcellular.cc629 string service_id; local
632 service_id = home_provider_info_->uuid();
635 service_id = serving_operator_info_->uuid();
641 service_id = sim_identifier();
648 service_id = meid();
657 if (!service_id.empty()) {
660 kTypeCellular, address().c_str(), service_id.c_str());
/system/bt/bta/dm/
H A Dbta_dm_act.c59 static UINT8 bta_dm_authorize_cback (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator);
2578 UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator)
2590 sec_event.authorize.service = service_id;
2596 if(bta_service_id_to_btm_srv_id_lkup_tbl[index] == service_id)
2609 || (service_id >= BTA_FIRST_JV_SERVICE_ID && service_id <= BTA_LAST_JV_SERVICE_ID)
5352 static void bta_dm_gatt_disc_result(tBTA_GATT_ID service_id) argument
5365 service_id.uuid.uu.uuid16,bta_dm_search_cb.p_ble_rawdata,bta_dm_search_cb.ble_raw_used);
5369 memcpy((bta_dm_search_cb.p_ble_rawdata + bta_dm_search_cb.ble_raw_used), &service_id,
5370 sizeof(service_id) );
2577 bta_dm_authorize_cback(BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name, UINT8 *service_name, UINT8 service_id, BOOLEAN is_originator) argument
[all...]

Completed in 1057 milliseconds

12