Lines Matching refs:ble_iface

352   sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface();  in HandleRegisterBLE()  local
353 if (!ble_iface.get()) { in HandleRegisterBLE()
358 bool status = ble_iface->RegisterClient(new CLIBluetoothLowEnergyCallback()); in HandleRegisterBLE()
371 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleUnregisterBLE() local
372 if (!ble_iface.get()) { in HandleUnregisterBLE()
377 ble_iface->UnregisterClient(ble_client_id.load()); in HandleUnregisterBLE()
385 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleUnregisterAllBLE() local
386 if (!ble_iface.get()) { in HandleUnregisterAllBLE()
391 ble_iface->UnregisterAll(); in HandleUnregisterAllBLE()
497 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleStartAdv() local
498 if (!ble_iface.get()) { in HandleStartAdv()
548 bool status = ble_iface->StartMultiAdvertising(ble_client_id.load(), in HandleStartAdv()
559 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleStopAdv() local
560 if (!ble_iface.get()) { in HandleStopAdv()
565 bool status = ble_iface->StopMultiAdvertising(ble_client_id.load()); in HandleStopAdv()
584 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleConnect() local
585 if (!ble_iface.get()) { in HandleConnect()
590 bool status = ble_iface->Connect(ble_client_id.load(), address.c_str(), in HandleConnect()
611 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleDisconnect() local
612 if (!ble_iface.get()) { in HandleDisconnect()
617 bool status = ble_iface->Disconnect(ble_client_id.load(), address.c_str()); in HandleDisconnect()
644 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleSetMtu() local
645 if (!ble_iface.get()) { in HandleSetMtu()
650 bool status = ble_iface->SetMtu(ble_client_id.load(), address.c_str(), mtu); in HandleSetMtu()
675 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleStartLeScan() local
676 if (!ble_iface.get()) { in HandleStartLeScan()
684 bool status = ble_iface->StartScan(ble_client_id.load(), settings, filters); in HandleStartLeScan()
694 sp<IBluetoothLowEnergy> ble_iface = bt_iface->GetLowEnergyInterface(); in HandleStopLeScan() local
695 if (!ble_iface.get()) { in HandleStopLeScan()
703 bool status = ble_iface->StopScan(ble_client_id.load()); in HandleStopLeScan()