/system/bt/service/ipc/binder/ |
D | bluetooth_le_advertiser_binder_server.cc | 54 int advertiser_id) { in UnregisterAdvertiser() argument 56 UnregisterInstanceBase(advertiser_id); in UnregisterAdvertiser() 67 int advertiser_id, const android::bluetooth::AdvertiseData& advertise_data, in StartMultiAdvertising() argument 70 VLOG(2) << __func__ << " advertiser_id: " << advertiser_id; in StartMultiAdvertising() 73 auto advertiser = GetLEAdvertiser(advertiser_id); in StartMultiAdvertising() 75 LOG(ERROR) << "Unknown advertiser_id: " << advertiser_id; in StartMultiAdvertising() 93 auto cb = GetLECallback(advertiser_id); in StartMultiAdvertising() 95 VLOG(1) << "Advertiser was removed before callback: " << advertiser_id; in StartMultiAdvertising() 114 int advertiser_id, bool* _aidl_return) { in StopMultiAdvertising() argument 118 auto advertiser = GetLEAdvertiser(advertiser_id); in StopMultiAdvertising() [all …]
|
D | bluetooth_le_advertiser_binder_server.h | 54 Status UnregisterAdvertiser(int advertiser_id) override; 57 int advertiser_id, 62 Status StopMultiAdvertising(int advertiser_id, bool* _aidl_return) override; 67 android::sp<IBluetoothLeAdvertiserCallback> GetLECallback(int advertiser_id); 72 int advertiser_id);
|
/system/bt/btif/src/ |
D | btif_ble_advertiser.cc | 88 void RegisterAdvertiserCb(IdStatusCallback cb, uint8_t advertiser_id, in RegisterAdvertiserCb() argument 91 << " , adveriser_id: " << +advertiser_id; in RegisterAdvertiserCb() 92 do_in_jni_thread(Bind(cb, advertiser_id, status)); in RegisterAdvertiserCb() 103 void Unregister(uint8_t advertiser_id) override { in Unregister() argument 107 base::Unretained(BleAdvertisingManager::Get()), advertiser_id)); in Unregister() 110 void GetOwnAddress(uint8_t advertiser_id, GetAddressCallback cb) override { in GetOwnAddress() argument 114 advertiser_id, jni_thread_wrapper(FROM_HERE, cb))); in GetOwnAddress() 117 void SetParameters(uint8_t advertiser_id, AdvertiseParameters params, in SetParameters() argument 127 base::Unretained(BleAdvertisingManager::Get()), advertiser_id, in SetParameters() 131 void SetData(int advertiser_id, bool set_scan_rsp, vector<uint8_t> data, in SetData() argument [all …]
|
/system/bt/stack/test/ |
D | ble_advertiser_test.cc | 191 void StartAdvertisingSetCb(uint8_t advertiser_id, int8_t tx_power, in StartAdvertisingSetCb() argument 193 start_advertising_set_advertiser_id = advertiser_id; in StartAdvertisingSetCb() 233 int advertiser_id = reg_inst_id; in TEST_F() local 237 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F() 243 advertiser_id, ¶ms, Bind(&BleAdvertisingManagerTest::SetParametersCb, in TEST_F() 252 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, _, _, _, _, _)) in TEST_F() 256 advertiser_id, false, std::vector<uint8_t>(), in TEST_F() 264 EXPECT_CALL(*hci_mock, Enable(0x01 /* enable */, advertiser_id, _, _, _)) in TEST_F() 268 advertiser_id, true, in TEST_F() 278 EXPECT_CALL(*hci_mock, Enable(0x00 /* disable */, advertiser_id, _, _, _)) in TEST_F() [all …]
|
/system/bt/service/ |
D | low_energy_advertiser.h | 86 LowEnergyAdvertiser(const UUID& uuid, int advertiser_id); 89 void SetDataCallback(uint8_t advertiser_id, uint8_t status); 90 void SetParamsCallback(uint8_t advertiser_id, uint8_t status); 91 void EnableCallback(bool enable, uint8_t advertiser_id, uint8_t status); 135 const UUID& app_uuid, uint8_t advertiser_id,
|
D | low_energy_advertiser.cc | 124 LowEnergyAdvertiser::LowEnergyAdvertiser(const UUID& uuid, int advertiser_id) in LowEnergyAdvertiser() argument 126 advertiser_id_(advertiser_id), in LowEnergyAdvertiser() 236 void LowEnergyAdvertiser::EnableCallback(bool enable, uint8_t advertiser_id, in EnableCallback() argument 238 if (advertiser_id != advertiser_id_) return; in EnableCallback() 242 VLOG(1) << __func__ << "advertiser_id: " << advertiser_id in EnableCallback() 266 << advertiser_id; in EnableCallback() 324 uint8_t advertiser_id, uint8_t status) { in RegisterAdvertiserCallback() argument 338 advertiser.reset(new LowEnergyAdvertiser(app_uuid, advertiser_id)); in RegisterAdvertiserCallback()
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothLeAdvertiser.aidl | 26 void UnregisterAdvertiser(int advertiser_id); in UnregisterAdvertiser() argument 30 int advertiser_id, in StartMultiAdvertising() argument 34 boolean StopMultiAdvertising(int advertiser_id); in StopMultiAdvertising() argument
|
D | IBluetoothLeAdvertiserCallback.aidl | 22 void OnAdvertiserRegistered(int status, int advertiser_id); in OnAdvertiserRegistered() argument
|
/system/bt/service/example/heart_rate/ |
D | heart_rate_server.cc | 45 Status OnAdvertiserRegistered(int status, int advertiser_id) { in OnAdvertiserRegistered() argument 52 LOG(INFO) << "Registered BLE advertiser with ID: " << advertiser_id; in OnAdvertiserRegistered() 79 ble->StartMultiAdvertising(advertiser_id, adv_data, scan_rsp, settings, in OnAdvertiserRegistered()
|
/system/bt/stack/include/ |
D | ble_advertiser.h | 83 virtual void StartAdvertising(uint8_t advertiser_id, MultiAdvCb cb,
|
/system/bt/stack/btm/ |
D | btm_ble_multi_adv.cc | 299 void StartAdvertising(uint8_t advertiser_id, MultiAdvCb cb, in StartAdvertising() argument 326 c->inst_id = advertiser_id; in StartAdvertising() 403 [](c_type c, uint8_t advertiser_id, uint8_t status) { in StartAdvertisingSet() argument 410 c->inst_id = advertiser_id; in StartAdvertisingSet()
|
/system/bt/service/client/ |
D | main.cc | 221 Status OnAdvertiserRegistered(int status, int advertiser_id) override { in OnAdvertiserRegistered() argument 226 ble_advertiser_id = advertiser_id; in OnAdvertiserRegistered() 228 << COLOR_GREEN << advertiser_id << COLOR_OFF; in OnAdvertiserRegistered()
|
/system/bt/service/test/ |
D | low_energy_advertiser_unittest.cc | 57 void(uint8_t advertiser_id, StatusCallback cb,
|