Home
last modified time | relevance | path

Searched refs:isStartScan (Results 1 - 21 of 21) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/
H A Dbluetooth_ble_central_manager_callback_proxy.cpp88 void BluetoothBleCentralManagerCallBackProxy::OnStartOrStopScanEvent(int resultCode, bool isStartScan) in OnStartOrStopScanEvent() argument
100 if (!data.WriteBool(isStartScan)) { in OnStartOrStopScanEvent()
101 HILOGE("write isStartScan failed"); in OnStartOrStopScanEvent()
/foundation/communication/bluetooth/frameworks/inner/ipc/src/
H A Dbluetooth_ble_central_manager_callback_stub.cpp113 bool isStartScan = data.ReadBool(); in OnStartOrStopScanEventInner() local
114 stub->OnStartOrStopScanEvent(resultCode, isStartScan); in OnStartOrStopScanEventInner()
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/
H A Di_bluetooth_ble_central_manager_callback.h34 virtual void OnStartOrStopScanEvent(int resultCode, bool isStartScan) = 0;
/foundation/communication/bluetooth/frameworks/js/napi/include/
H A Dnapi_bluetooth_ble_central_manager_callback.h36 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) override;
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/
H A Dbluetooth_ble_central_manager_callback_proxy.h32 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) override;
/foundation/communication/bluetooth_service/test/unittest/ble/
H A Dble_test.h75 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) in OnStartOrStopScanEvent() argument
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/
H A Dsoftbus_ble_gatt.c295 static void WrapperScanStateChangeCb(uint8_t channelId, int32_t resultCode, bool isStartScan) in WrapperScanStateChangeCb() argument
309 "scannerId=%{public}d, bt-scannerId=%{public}d, resultCode=%{public}d, isStartScan=%{public}d", channelId, in WrapperScanStateChangeCb()
310 scanChannel->scannerId, resultCode, isStartScan); in WrapperScanStateChangeCb()
318 callback.OnScanStateChanged(resultCode, isStartScan); in WrapperScanStateChangeCb()
357 static void WrapperScanStateChangeCb0(int32_t resultCode, bool isStartScan) in WrapperScanStateChangeCb0() argument
359 WrapperScanStateChangeCb(SCAN_CHANNEL_0, resultCode, isStartScan); in WrapperScanStateChangeCb0()
362 static void WrapperScanStateChangeCb1(int32_t resultCode, bool isStartScan) in WrapperScanStateChangeCb1() argument
364 WrapperScanStateChangeCb(SCAN_CHANNEL_1, resultCode, isStartScan); in WrapperScanStateChangeCb1()
/foundation/communication/wifi/wifi/utils/inc/
H A Dwifi_hisysevent.h95 void WriteWifiPnoScanHiSysEvent(int isStartScan, int suspendReason);
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/include/
H A Dsoftbus_broadcast_adapter_interface.h59 void (*OnScanStateChanged)(int32_t resultCode, bool isStartScan);
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/interface/
H A Dsoftbus_broadcast_manager.h56 void (*OnScanStateChanged)(int32_t resultCode, bool isStartScan);
/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_hisysevent.cpp145 void WriteWifiPnoScanHiSysEvent(int isStartScan, int suspendReason) in WriteWifiPnoScanHiSysEvent() argument
149 root["IS_START"] = isStartScan; in WriteWifiPnoScanHiSysEvent()
/foundation/communication/bluetooth_service/services/bluetooth/service/include/
H A Dinterface_adapter_ble.h90 virtual void OnStartOrStopScanEvent(int resultCode, bool isStartScan) = 0;
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_ble_central_manager.cpp120 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) override
122 HILOGD("resultCode: %{public}d, isStartScan: %{public}d", resultCode, isStartScan);
124 [resultCode, isStartScan](std::shared_ptr<BleCentralManagerCallback> observer) {
125 observer->OnStartOrStopScanEvent(resultCode, isStartScan);
/foundation/communication/bluetooth/frameworks/js/napi/src/ble/
H A Dnapi_bluetooth_ble_central_manager_callback.cpp278 void NapiBluetoothBleCentralManagerCallback::OnStartOrStopScanEvent(int resultCode, bool isStartScan) in OnStartOrStopScanEvent() argument
280 HILOGD("resultCode: %{public}d, isStartScan: %{public}d", resultCode, isStartScan); in OnStartOrStopScanEvent()
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_gatt.h558 typedef void (*ScanStateChangeCallback)(int32_t resultCode, bool isStartScan);
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/
H A Dble_central_manager_impl.h70 void StartOrStopScan(const STOP_SCAN_TYPE &scanType, bool isStartScan = false) const;
H A Dble_central_manager_impl.cpp721 void BleCentralManagerImpl::StartOrStopScan(const STOP_SCAN_TYPE &scanType, bool isStartScan) const in StartOrStopScan()
728 ret = SetExScanEnable(isStartScan); in StartOrStopScan()
730 ret = SetScanEnable(isStartScan); in StartOrStopScan()
734 LOG_ERROR("stop or start extend scan: err: %{public}d isScan : %{public}d", ret, isStartScan); in StartOrStopScan()
738 pimpl->isStopScan_ = !isStartScan; in StartOrStopScan()
739 if (isStartScan) { in StartOrStopScan()
/foundation/communication/bluetooth/interfaces/inner_api/include/
H A Dbluetooth_ble_central_manager.h256 * @param isStartScan true->start scan, false->stop scan.
259 virtual void OnStartOrStopScanEvent(int resultCode, bool isStartScan) = 0;
/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_gatt.cpp142 * @param isStartScan true->start scan, false->stop scan.
145 void OnStartOrStopScanEvent(int32_t resultCode, bool isStartScan) override
147 HILOGD("resultCode: %{public}d, isStartScan: %{public}d", resultCode, isStartScan);
149 appCallback->scanStateChangeCb(resultCode, isStartScan);
/foundation/communication/dsoftbus/tests/adapter/broadcast/
H A Dsoftbus_ble_gatt_test.cpp349 static void FakeScanStateChanged(int32_t resultCode, bool isStartScan) in FakeScanStateChanged() argument
352 (void)isStartScan; in FakeScanStateChanged()
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/manager/src/
H A Dsoftbus_broadcast_mgr.c646 static void BcScanStateChanged(int32_t resultCode, bool isStartScan) in BcScanStateChanged() argument
660 "srvType=%{public}s, managerId=%{public}u, adapterScanId=%{public}d, isStartScan=%{public}d", in BcScanStateChanged()
661 GetSrvType(scanManager->srvType), managerId, scanManager->adapterScanId, isStartScan); in BcScanStateChanged()
664 callback.OnScanStateChanged(resultCode, isStartScan); in BcScanStateChanged()

Completed in 20 milliseconds