Searched refs:LowEnergyScanner (Results 1 – 5 of 5) sorted by relevance
/system/bt/service/ |
D | low_energy_scanner.cc | 69 LowEnergyScanner::LowEnergyScanner(Adapter& adapter, const Uuid& uuid, in LowEnergyScanner() function in bluetooth::LowEnergyScanner 77 LowEnergyScanner::~LowEnergyScanner() { in ~LowEnergyScanner() 91 void LowEnergyScanner::SetDelegate(Delegate* delegate) { in SetDelegate() 96 bool LowEnergyScanner::StartScan(const ScanSettings& settings, in StartScan() 118 bool LowEnergyScanner::StopScan() { in StopScan() 135 const Uuid& LowEnergyScanner::GetAppIdentifier() const { in GetAppIdentifier() 139 int LowEnergyScanner::GetInstanceId() const { return scanner_id_; } in GetInstanceId() 141 void LowEnergyScanner::ScanResultCallback( in ScanResultCallback() 211 std::unique_ptr<LowEnergyScanner> scanner; in RegisterScannerCallback() 214 scanner.reset(new LowEnergyScanner(adapter_, uuid, scanner_id)); in RegisterScannerCallback()
|
D | low_energy_scanner.h | 43 class LowEnergyScanner : private hal::BluetoothGattInterface::ScannerObserver, 55 virtual void OnScanResult(LowEnergyScanner* client, 64 ~LowEnergyScanner() override; 96 LowEnergyScanner(Adapter& adapter, const Uuid& uuid, int scanner_id); 123 DISALLOW_COPY_AND_ASSIGN(LowEnergyScanner); 144 friend class LowEnergyScanner;
|
/system/bt/service/ipc/binder/ |
D | bluetooth_le_scanner_binder_server.cc | 105 bluetooth::LowEnergyScanner* scanner, const bluetooth::ScanResult& result) { in OnScanResult() 126 std::shared_ptr<bluetooth::LowEnergyScanner> 128 return std::static_pointer_cast<bluetooth::LowEnergyScanner>( in GetLEScanner() 136 bluetooth::LowEnergyScanner* le_scanner = in OnRegisterInstanceImpl() 137 static_cast<bluetooth::LowEnergyScanner*>(instance); in OnRegisterInstanceImpl()
|
D | bluetooth_le_scanner_binder_server.h | 47 public bluetooth::LowEnergyScanner::Delegate { 64 void OnScanResult(bluetooth::LowEnergyScanner* scanner, 74 std::shared_ptr<bluetooth::LowEnergyScanner> GetLEScanner(int scanner_id);
|
/system/bt/service/test/ |
D | low_energy_scanner_unittest.cc | 86 class TestDelegate : public LowEnergyScanner::Delegate { 95 void OnScanResult(LowEnergyScanner* scanner, in OnScanResult() 147 auto callback = [&](std::unique_ptr<LowEnergyScanner> scanner) { in SetUp() 160 const std::function<void(std::unique_ptr<LowEnergyScanner> scanner)> in RegisterTestScanner() 169 callback(std::unique_ptr<LowEnergyScanner>( in RegisterTestScanner() 170 static_cast<LowEnergyScanner*>(in_scanner.release()))); in RegisterTestScanner() 185 std::unique_ptr<LowEnergyScanner> le_scanner_; 203 std::unique_ptr<LowEnergyScanner> scanner; in TEST_F() 210 scanner = std::unique_ptr<LowEnergyScanner>( in TEST_F() 211 static_cast<LowEnergyScanner*>(in_scanner.release())); in TEST_F()
|