Home
last modified time | relevance | path

Searched refs:hal_id (Results 1 – 4 of 4) sorted by relevance

/system/bt/service/hal/
Dgatt_helpers.cpp24 void GetHALServiceId(const GattIdentifier& id, btgatt_srvc_id_t* hal_id) { in GetHALServiceId() argument
25 CHECK(hal_id); in GetHALServiceId()
28 memset(hal_id, 0, sizeof(*hal_id)); in GetHALServiceId()
29 hal_id->is_primary = id.is_primary(); in GetHALServiceId()
30 hal_id->id.inst_id = id.service_instance_id(); in GetHALServiceId()
31 hal_id->id.uuid = id.service_uuid().GetBlueDroid(); in GetHALServiceId()
Dgatt_helpers.h33 void GetHALServiceId(const GattIdentifier& id, btgatt_srvc_id_t* hal_id);
/system/bt/service/test/
Dgatt_server_unittest.cpp433 btgatt_srvc_id_t hal_id; in TEST_F() local
434 hal::GetHALServiceId(*service_id, &hal_id); in TEST_F()
439 BT_STATUS_SUCCESS, kDefaultServerId + 1, hal_id, srvc_handle); in TEST_F()
448 BT_STATUS_SUCCESS, kDefaultServerId, hal_id, srvc_handle); in TEST_F()
483 btgatt_srvc_id_t hal_id; in TEST_F() local
484 hal::GetHALServiceId(*service_id, &hal_id); in TEST_F()
494 BT_STATUS_FAIL, kDefaultServerId, hal_id, srvc_handle); in TEST_F()
511 BT_STATUS_SUCCESS, kDefaultServerId, hal_id, srvc_handle); in TEST_F()
522 BT_STATUS_SUCCESS, kDefaultServerId, hal_id, srvc_handle); in TEST_F()
552 btgatt_srvc_id_t hal_id; in TEST_F() local
[all …]
/system/bt/service/
Dgatt_server.cpp196 btgatt_srvc_id_t hal_id; in EndServiceDeclaration() local
197 hal::GetHALServiceId(*service_id, &hal_id); in EndServiceDeclaration()
201 server_id_, &hal_id, pending_decl_->num_handles); in EndServiceDeclaration()