Home
last modified time | relevance | path

Searched refs:advertiser (Results 1 – 7 of 7) 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.cc355 g_internal->gatt->advertiser->SetData(0 /* std_inst */, false, in RegisterClientCallback()
359 g_internal->gatt->advertiser->Enable( in RegisterClientCallback()
581 internal_->gatt->advertiser->SetData(0, false, /* beacon, not scan response */ in SetAdvertisement()
607 internal_->gatt->advertiser->SetData(0, true, /* scan response */ in SetScanResponse()
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc468 return hal_iface_->advertiser; in GetAdvertiserHALInterface()