Home
last modified time | relevance | path

Searched refs:is_primary (Results 1 – 25 of 25) sorted by relevance

/system/bt/service/hal/
Dgatt_helpers.cpp29 hal_id->is_primary = id.is_primary(); in GetHALServiceId()
39 "", srvc_id.id.inst_id, uuid, srvc_id.is_primary); in GetServiceIdFromHAL()
/system/bt/service/common/bluetooth/
Dgatt_identifier.cpp33 bool is_primary) { in CreateServiceId() argument
43 gatt_id->is_primary_ = is_primary; in CreateServiceId()
100 bool is_primary, in GattIdentifier() argument
108 is_primary_(is_primary), in GattIdentifier()
Dgatt_identifier.h41 bool is_primary);
53 bool is_primary,
85 bool is_primary() const { return is_primary_; } in is_primary() function
/system/bt/bta/gatt/
Dbta_gattc_cache.c143 i + 1, pp->uuid.uu.uuid16, pp->s_handle, pp->e_handle, pp->is_primary); in bta_gattc_display_explore_record()
203 BOOLEAN is_primary) in bta_gattc_add_srvc_to_cache() argument
214 p_new_srvc->is_primary = is_primary; in bta_gattc_add_srvc_to_cache()
500 p_rec->is_primary) == 0) in bta_gattc_explore_srvc()
648 tBT_UUID uuid, BOOLEAN is_primary) in bta_gattc_add_srvc_to_list() argument
662 p_rec->is_primary = is_primary; in bta_gattc_add_srvc_to_list()
1227 p_cur_srvc->is_primary ? in bta_gattc_get_gatt_db_impl()
1364 p_attr->is_primary); in bta_gattc_rebuild_cache()
1402 BOOLEAN is_primary) in bta_gattc_fill_nv_attr() argument
1407 p_attr->is_primary = is_primary; in bta_gattc_fill_nv_attr()
[all …]
Dbta_gatts_api.c144 UINT16 num_handle, BOOLEAN is_primary) in BTA_GATTS_CreateService() argument
154 p_buf->is_pri = is_primary; in BTA_GATTS_CreateService()
Dbta_gattc_int.h245 BOOLEAN is_primary; member
Dbta_gatts_act.c362 cb_data.create.is_primary = p_msg->api_create_svc.is_pri; in bta_gatts_create_srvc()
/system/bt/service/common/bluetooth/binder/
DIBluetoothGattServer.cpp65 bool is_primary = data.readInt32(); in onTransact() local
71 server_if, is_primary, *uuid, &out_id); in onTransact()
207 int server_if, bool is_primary, const bluetooth::UUID& uuid, in BeginServiceDeclaration() argument
214 data.writeInt32(is_primary); in BeginServiceDeclaration()
DIBluetoothGattServer.h68 int server_if, bool is_primary, const bluetooth::UUID& uuid,
130 int server_if, bool is_primary, const bluetooth::UUID& uuid,
Dparcel_helpers.cpp148 parcel->writeInt32(gatt_id.is_primary()); in WriteGattIdentifierToParcel()
162 bool is_primary = parcel.readInt32(); in CreateGattIdentifierFromParcel() local
174 device_address, is_primary, in CreateGattIdentifierFromParcel()
/system/bt/bta/include/
Dbta_gatt_api.h241 BOOLEAN is_primary; /* used when attribute type is service */ member
435 BOOLEAN is_primary; /* primary service or secondary */ member
496 BOOLEAN is_primary; member
564 BOOLEAN is_primary; member
1081 UINT8 inst, UINT16 num_handle, BOOLEAN is_primary);
/system/bt/service/
Dgatt_server.h140 const UUID& uuid, bool is_primary);
252 bool is_primary);
Dgatt_server.cpp77 const UUID& uuid, bool is_primary) { in BeginServiceDeclaration() argument
80 << ", is_primary: " << is_primary; in BeginServiceDeclaration()
92 auto service_id = GetIdForService(uuid, is_primary); in BeginServiceDeclaration()
215 const UUID& uuid, bool is_primary) { in GetIdForService() argument
230 return GattIdentifier::CreateServiceId("", inst_id, uuid, is_primary); in GetIdForService()
Dgatt_server_old.cpp142 service_id.is_primary = true; in RegisterServerCallback()
/system/bt/test/suite/gatt/
Dgatt_unittest.cpp112 srvc_id.is_primary = 1; // this service is primary. in TEST_F()
/system/bt/service/ipc/binder/
Dbluetooth_gatt_server_binder_server.cpp55 int server_id, bool is_primary, const bluetooth::UUID& uuid, in BeginServiceDeclaration() argument
67 auto service_id = gatt_server->BeginServiceDeclaration(uuid, is_primary); in BeginServiceDeclaration()
Dbluetooth_gatt_server_binder_server.h47 int server_id, bool is_primary, const bluetooth::UUID& uuid,
/system/bt/service/doc/
DIBluetoothGattClientCallback.txt35 * structure. |is_primary| is true if this refers to a primary service,
38 void onGetService(in boolean is_primary, in GattIdentifier service_id);
DIBluetoothGattServer.txt53 boolean beginServiceDeclaration(in int server_if, in boolean is_primary,
/system/bt/btif/src/
Dbtif_gatt_server.c210 srvc_id.is_primary = p_data->create.is_primary; in btapp_gatts_handle_cback()
449 p_cb->srvc_id.is_primary); in btgatts_handle_event()
/system/bt/stack/gatt/
Dgatt_utils.c482 if (p_srv->is_primary) in gatt_update_last_pri_srv_info()
499 void gatts_update_srv_list_elem(UINT8 i_sreg, UINT16 handle, BOOLEAN is_primary) in gatts_update_srv_list_elem() argument
506 gatt_cb.srv_list[i_sreg].is_primary = is_primary; in gatts_update_srv_list_elem()
1414 …p_sreg->type = p_list->asgn_range.is_primary ? GATT_UUID_PRI_SERVICE: GATT_UUID_SEC… in gatt_sr_alloc_rcb()
Dgatt_api.c214 p_list->asgn_range.is_primary = is_pri; in GATTS_CreateService()
258 p_list->asgn_range.is_primary); in GATTS_CreateService()
524 p_list->asgn_range.is_primary); in GATTS_StartService()
Dgatt_int.h337 BOOLEAN is_primary; member
688 extern void gatts_update_srv_list_elem(UINT8 i_sreg, UINT16 handle, BOOLEAN is_primary);
/system/bt/stack/include/
Dgatt_api.h610 BOOLEAN is_primary; /* primary service or secondary */ member
/system/bt/bta/hh/
Dbta_hh_le.c1566 service->is_primary && !have_hid) { in bta_hh_le_srvc_search_cmpl()