Home
last modified time | relevance | path

Searched refs:advertiser (Results 1 – 8 of 8) sorted by relevance

/system/bt/service/ipc/binder/
Dbluetooth_le_advertiser_binder_server.cc73 auto advertiser = GetLEAdvertiser(advertiser_id); in StartMultiAdvertising() local
74 if (!advertiser) { in StartMultiAdvertising()
102 if (!advertiser->StartAdvertising(settings, advertise_data, scan_response, in StartMultiAdvertising()
118 auto advertiser = GetLEAdvertiser(advertiser_id); in StopMultiAdvertising() local
119 if (!advertiser) { in StopMultiAdvertising()
128 auto settings_copy = advertiser->advertise_settings(); in StopMultiAdvertising()
148 if (!advertiser->StopAdvertising(callback)) { in StopMultiAdvertising()
/system/bt/service/test/
Dlow_energy_advertiser_unittest.cc113 auto callback = [&](std::unique_ptr<LowEnergyAdvertiser> advertiser) { in SetUp() argument
114 le_advertiser_ = std::move(advertiser); in SetUp()
127 const std::function<void(std::unique_ptr<LowEnergyAdvertiser> advertiser)> in RegisterTestAdvertiser()
211 std::unique_ptr<LowEnergyAdvertiser> advertiser; in TEST_F() local
218 advertiser = std::unique_ptr<LowEnergyAdvertiser>( in TEST_F()
253 ASSERT_TRUE(advertiser.get() != in TEST_F()
256 EXPECT_EQ(client_if0, advertiser->GetInstanceId()); in TEST_F()
257 EXPECT_EQ(uuid0, advertiser->GetAppIdentifier()); in TEST_F()
263 advertiser.reset(); in TEST_F()
271 ASSERT_TRUE(advertiser.get() == in TEST_F()
/system/bt/include/hardware/
Dbt_gatt.h66 BleAdvertiserInterface* advertiser; member
/system/bt/btif/src/
Dbtif_gatt.cc103 btgattInterface.advertiser = get_ble_advertiser_instance(); in btif_gatt_get_interface()
/system/bt/service/
Dlow_energy_advertiser.cc333 std::unique_ptr<LowEnergyAdvertiser> advertiser; in RegisterAdvertiserCallback() local
336 advertiser.reset(new LowEnergyAdvertiser(app_uuid, advertiser_id)); in RegisterAdvertiserCallback()
342 callback(result, app_uuid, std::move(advertiser)); in RegisterAdvertiserCallback()
Dgatt_server_old.cc356 g_internal->gatt->advertiser->SetData(0 /* std_inst */, false, in RegisterClientCallback()
360 g_internal->gatt->advertiser->Enable( in RegisterClientCallback()
582 internal_->gatt->advertiser->SetData(0, false, /* beacon, not scan response */ in SetAdvertisement()
608 internal_->gatt->advertiser->SetData(0, true, /* scan response */ in SetScanResponse()
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc181 for (const auto& advertiser : advertisers_) { in IncomingPacket() local
182 if (advertiser.IsEnabled() && in IncomingPacket()
183 advertiser.GetAddress().GetAddress() == destination_address) { in IncomingPacket()
912 for (auto advertiser : advertisers_) { in IncomingLeConnectPacket() local
913 AddressWithType advertiser_address = advertiser.GetAddress(); in IncomingLeConnectPacket()
1015 for (auto& advertiser : advertisers_) { in IncomingLeScanPacket() local
1016 auto to_send = advertiser.GetScanResponse(incoming.GetDestinationAddress(), in IncomingLeScanPacket()
1145 for (auto& advertiser : advertisers_) { in LeAdvertising() local
1146 auto ad = advertiser.GetAdvertisement(now); in LeAdvertising()
1854 for (auto& advertiser : advertisers_) { in LeClearAdvertisingSets() local
[all …]
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc468 return hal_iface_->advertiser; in GetAdvertiserHALInterface()