Home
last modified time | relevance | path

Searched refs:service_data (Results 1 – 12 of 12) sorted by relevance

/system/bt/service/
Dgatt_server_old.h78 const std::vector<uint8_t>& service_data,
84 const std::vector<uint8_t>& service_data,
Dlow_energy_client.cpp76 std::vector<uint8_t> service_data; member
121 if (!out_data->service_data.empty()) { in ProcessServiceData()
153 out_data->service_data.insert( in ProcessServiceData()
154 out_data->service_data.begin(), in ProcessServiceData()
164 CHECK(out_data->service_data.empty()); in ProcessAdvertiseData()
756 hal_data.service_data.size(), in SetAdvertiseData()
757 reinterpret_cast<char*>(hal_data.service_data.data()), in SetAdvertiseData()
Dgatt_server_old.cpp577 const std::vector<uint8_t>& service_data, in SetAdvertisement() argument
582 auto mutable_service_data = service_data; in SetAdvertisement()
611 const std::vector<uint8_t>& service_data, in SetScanResponse() argument
616 auto mutable_service_data = service_data; in SetScanResponse()
/system/bt/service/test/
Dlow_energy_client_unittest.cpp65 int service_data_len, char* service_data, in MultiAdvSetInstData() argument
70 service_data_len, service_data, in MultiAdvSetInstData()
134 int service_data_len, char* service_data, in MultiAdvSetInstData() argument
138 service_data, service_data+service_data_len); in MultiAdvSetInstData()
149 const std::vector<uint8_t>& service_data() const { return service_data_; } in service_data() function in bluetooth::__anon0fa84fbc0111::AdvertiseDataHandler
827 const std::vector<uint8_t> service_data{ 0xBE, 0xEF }; in TEST_F() local
834 EXPECT_EQ(service_data, adv_handler->service_data()); in TEST_F()
842 EXPECT_EQ(service_data, adv_handler->service_data()); in TEST_F()
850 EXPECT_EQ(service_data, adv_handler->service_data()); in TEST_F()
857 EXPECT_EQ(service_data, adv_handler->service_data()); in TEST_F()
/system/bt/btif/include/
Dbtif_gatt_multi_adv_util.h88 int service_data_len, char* service_data, int service_uuid_len,
/system/bt/stack/btm/
Dbtm_ble_gap.c1543 p_data && p_data->service_data.len != 0) in btm_ble_build_adv_data()
1545 if (len > (p_data->service_data.service_uuid.len + MIN_ADV_LENGTH)) in btm_ble_build_adv_data()
1547 if (p_data->service_data.len > (len - MIN_ADV_LENGTH)) in btm_ble_build_adv_data()
1548 cp_len = len - MIN_ADV_LENGTH- p_data->service_data.service_uuid.len; in btm_ble_build_adv_data()
1550 cp_len = p_data->service_data.len; in btm_ble_build_adv_data()
1552 *p++ = cp_len + 1 + p_data->service_data.service_uuid.len; in btm_ble_build_adv_data()
1553 if (p_data->service_data.service_uuid.len == LEN_UUID_16) in btm_ble_build_adv_data()
1556 UINT16_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid16); in btm_ble_build_adv_data()
1558 else if (p_data->service_data.service_uuid.len == LEN_UUID_32) in btm_ble_build_adv_data()
1561 UINT32_TO_STREAM(p, p_data->service_data.service_uuid.uu.uuid32); in btm_ble_build_adv_data()
[all …]
/system/bt/service/hal/
Dfake_bluetooth_gatt_interface.cpp80 int service_data_len, char* service_data, in FakeMultiAdvSetInstData() argument
87 service_data_len, service_data, in FakeMultiAdvSetInstData()
Dfake_bluetooth_gatt_interface.h52 int service_data_len, char* service_data,
/system/bt/btif/src/
Dbtif_gatt_multi_adv_util.c213 int service_data_len, char* service_data, int service_uuid_len, in btif_gattc_adv_data_packager() argument
237 memcpy(p_multi_adv_inst->p_service_data, service_data, service_data_len); in btif_gattc_adv_data_packager()
Dbtif_gatt_client.c1713 uint16_t service_data_len, char* service_data, in btif_gattc_set_adv_data() argument
1721 manufacturer_data, service_data_len, service_data, service_uuid_len, service_uuid, in btif_gattc_set_adv_data()
2045 int service_data_len, char* service_data, in btif_gattc_multi_adv_setdata() argument
2058 service_data_len, service_data, service_uuid_len, service_uuid, &multi_adv_data_inst); in btif_gattc_multi_adv_setdata()
/system/bt/stack/include/
Dbtm_ble_api.h462 tBTM_BLE_SERVICE_DATA service_data; /* service data */ member
/system/bt/bta/include/
Dbta_api.h360 tBTA_BLE_SERVICE_DATA service_data; /* service data */ member