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/btif/src/
Dbtif_gatt.cc86 .advertiser = nullptr // filled in btif_gatt_get_interface
103 btgattInterface.advertiser = get_ble_advertiser_instance(); in btif_gatt_get_interface()
Dbtif_dm.cc2377 auto advertiser = get_ble_advertiser_instance(); in stop_oob_advertiser() local
2378 advertiser->Unregister(oob_advertiser_id); in stop_oob_advertiser()
2433 auto advertiser = get_ble_advertiser_instance(); in start_advertising_callback() local
2434 advertiser->GetOwnAddress( in start_advertising_callback()
2441 auto advertiser = get_ble_advertiser_instance(); in timeout_cb() local
2442 advertiser->Unregister(id); in timeout_cb()
2463 auto advertiser = get_ble_advertiser_instance(); in id_status_callback() local
2478 advertiser->StartAdvertising( in id_status_callback()
2488 auto advertiser = get_ble_advertiser_instance(); in start_oob_advertiser() local
2489 advertiser->RegisterAdvertiser( in start_oob_advertiser()
/system/bt/service/test/
Dlow_energy_advertiser_unittest.cc115 auto callback = [&](std::unique_ptr<LowEnergyAdvertiser> advertiser) { in SetUp() argument
116 le_advertiser_ = std::move(advertiser); in SetUp()
129 const std::function<void(std::unique_ptr<LowEnergyAdvertiser> advertiser)> in RegisterTestAdvertiser()
213 std::unique_ptr<LowEnergyAdvertiser> advertiser; in TEST_F() local
220 advertiser = std::unique_ptr<LowEnergyAdvertiser>( in TEST_F()
255 ASSERT_TRUE(advertiser.get() != in TEST_F()
258 EXPECT_EQ(client_if0, advertiser->GetInstanceId()); in TEST_F()
259 EXPECT_EQ(uuid0, advertiser->GetAppIdentifier()); in TEST_F()
265 advertiser.reset(); in TEST_F()
273 ASSERT_TRUE(advertiser.get() == in TEST_F()
/system/bt/include/hardware/
Dbt_gatt.h66 BleAdvertiserInterface* advertiser; member
/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.cc357 g_internal->gatt->advertiser->SetData(0 /* std_inst */, false, in RegisterClientCallback()
361 g_internal->gatt->advertiser->Enable( in RegisterClientCallback()
585 internal_->gatt->advertiser->SetData(0, false, /* beacon, not scan response */ in SetAdvertisement()
611 internal_->gatt->advertiser->SetData(0, true, /* scan response */ in SetScanResponse()
/system/bt/service/hal/
Dbluetooth_gatt_interface.cc470 return hal_iface_->advertiser; in GetAdvertiserHALInterface()