/foundation/communication/bluetooth_service/services/bluetooth/ipc/src/ |
H A D | bluetooth_ble_central_manager_callback_proxy.cpp | 88 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 D | bluetooth_ble_central_manager_callback_stub.cpp | 113 bool isStartScan = data.ReadBool(); in OnStartOrStopScanEventInner() local 114 stub->OnStartOrStopScanEvent(resultCode, isStartScan); in OnStartOrStopScanEventInner()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/interface/ |
H A D | i_bluetooth_ble_central_manager_callback.h | 34 virtual void OnStartOrStopScanEvent(int resultCode, bool isStartScan) = 0;
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_ble_central_manager_callback.h | 36 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) override;
|
/foundation/communication/bluetooth_service/services/bluetooth/ipc/include/ |
H A D | bluetooth_ble_central_manager_callback_proxy.h | 32 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) override;
|
/foundation/communication/bluetooth_service/test/unittest/ble/ |
H A D | ble_test.h | 75 void OnStartOrStopScanEvent(int resultCode, bool isStartScan) in OnStartOrStopScanEvent() argument
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/ |
H A D | softbus_ble_gatt.c | 295 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 D | wifi_hisysevent.h | 95 void WriteWifiPnoScanHiSysEvent(int isStartScan, int suspendReason);
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/include/ |
H A D | softbus_broadcast_adapter_interface.h | 59 void (*OnScanStateChanged)(int32_t resultCode, bool isStartScan);
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/interface/ |
H A D | softbus_broadcast_manager.h | 56 void (*OnScanStateChanged)(int32_t resultCode, bool isStartScan);
|
/foundation/communication/wifi/wifi/utils/src/ |
H A D | wifi_hisysevent.cpp | 145 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 D | interface_adapter_ble.h | 90 virtual void OnStartOrStopScanEvent(int resultCode, bool isStartScan) = 0;
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
H A D | bluetooth_ble_central_manager.cpp | 120 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 D | napi_bluetooth_ble_central_manager_callback.cpp | 278 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 D | ohos_bt_gatt.h | 558 typedef void (*ScanStateChangeCallback)(int32_t resultCode, bool isStartScan);
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_central_manager_impl.h | 70 void StartOrStopScan(const STOP_SCAN_TYPE &scanType, bool isStartScan = false) const;
|
H A D | ble_central_manager_impl.cpp | 721 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 D | bluetooth_ble_central_manager.h | 256 * @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 D | ohos_bt_gatt.cpp | 142 * @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 D | softbus_ble_gatt_test.cpp | 349 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 D | softbus_broadcast_mgr.c | 646 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()
|