Lines Matching refs:advertiser_id

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, &params, 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()
285 BleAdvertisingManager::Get()->Unregister(advertiser_id); in TEST_F()
298 int advertiser_id = reg_inst_id; in TEST_F() local
305 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
311 advertiser_id, &params, Bind(&BleAdvertisingManagerTest::SetParametersCb, in TEST_F()
326 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, _, _, _, _, _)) in TEST_F()
331 advertiser_id, false, in TEST_F()
346 int advertiser_id = reg_inst_id; in TEST_F() local
353 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
360 advertiser_id, &params, Bind(&BleAdvertisingManagerTest::SetParametersCb, in TEST_F()
372 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, _, _, _, _, _)) in TEST_F()
377 advertiser_id, false, std::vector<uint8_t>({0x02 /* len */, 0xFF, 0x01}), in TEST_F()
391 uint8_t advertiser_id = reg_inst_id; in TEST_F() local
394 EXPECT_CALL(*hci_mock, Enable(0x01 /* enable */, advertiser_id, _, _, _)) in TEST_F()
397 BleAdvertisingManager::Get()->OnAdvertisingSetTerminated(advertiser_id, 0x00, in TEST_F()
406 uint8_t advertiser_id = 1; // any unregistered value in TEST_F() local
409 BleAdvertisingManager::Get()->OnAdvertisingSetTerminated(advertiser_id, 0x00, in TEST_F()
461 int advertiser_id = start_advertising_set_advertiser_id; in TEST_F() local
468 EXPECT_CALL(*hci_mock, Enable(0x00 /* disable */, advertiser_id, _, _, _)) in TEST_F()
472 EXPECT_CALL(*hci_mock, RemoveAdvertisingSet(advertiser_id, _)) in TEST_F()
475 BleAdvertisingManager::Get()->Unregister(advertiser_id); in TEST_F()
486 int advertiser_id = reg_inst_id; in TEST_F() local
493 EXPECT_CALL(*hci_mock, SetParameters1(advertiser_id, _, _, _, _, _, _, _, _)) in TEST_F()
499 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, _, _, _, _, _)) in TEST_F()
503 advertiser_id, Bind(&BleAdvertisingManagerTest::StartAdvertisingCb, in TEST_F()
524 int advertiser_id = reg_inst_id; in TEST_F() local
527 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, FIRST, _, 251, _, _)) in TEST_F()
531 SetAdvertisingData(advertiser_id, INTERMEDIATE, _, 251, _, _)) in TEST_F()
534 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, LAST, _, 144, _, _)) in TEST_F()
538 advertiser_id, false, data, in TEST_F()
549 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, FIRST, _, 251, _, _)) in TEST_F()
553 SetAdvertisingData(advertiser_id, INTERMEDIATE, _, 251, _, _)) in TEST_F()
556 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, LAST, _, 1, _, _)) in TEST_F()
560 advertiser_id, false, data, in TEST_F()
571 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, FIRST, _, 251, _, _)) in TEST_F()
574 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, LAST, _, 251, _, _)) in TEST_F()
578 advertiser_id, false, data, in TEST_F()
589 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, FIRST, _, 251, _, _)) in TEST_F()
592 EXPECT_CALL(*hci_mock, SetAdvertisingData(advertiser_id, LAST, _, 250, _, _)) in TEST_F()
596 advertiser_id, false, data, in TEST_F()
608 SetAdvertisingData(advertiser_id, COMPLETE, _, 251, _, _)) in TEST_F()
612 advertiser_id, false, data, in TEST_F()
622 SetAdvertisingData(advertiser_id, COMPLETE, _, 120, _, _)) in TEST_F()
626 advertiser_id, false, data, in TEST_F()
636 SetAdvertisingData(advertiser_id, COMPLETE, _, 0, _, _)) in TEST_F()
640 advertiser_id, false, data, in TEST_F()
699 int advertiser_id = start_advertising_set_advertiser_id; in TEST_F() local
711 0x43 /*status */, advertiser_id, 0x00 /* conn_handle*/, maxExtAdvEvents); in TEST_F()
722 advertiser_id, true, in TEST_F()
731 EXPECT_CALL(*hci_mock, Enable(0x00 /* disable */, advertiser_id, _, _, _)) in TEST_F()
735 EXPECT_CALL(*hci_mock, RemoveAdvertisingSet(advertiser_id, _)) in TEST_F()
738 BleAdvertisingManager::Get()->Unregister(advertiser_id); in TEST_F()