Home
last modified time | relevance | path

Searched refs:ScanMode (Results 1 – 25 of 77) sorted by relevance

1234

/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/config/
H A Dwifi_scan_config.cpp77 ScanMode WifiScanConfig::GetAppRunningState() in GetAppRunningState()
171 forbidMode.scanMode = ScanMode::ALL_EXTERN_SCAN; in InitScanControlForbidList()
176 forbidMode.scanMode = ScanMode::ALL_EXTERN_SCAN; in InitScanControlForbidList()
182 forbidMode.scanMode = ScanMode::ALL_EXTERN_SCAN; in InitScanControlForbidList()
186 forbidMode.scanMode = ScanMode::ALL_EXTERN_SCAN; in InitScanControlForbidList()
190 forbidMode.scanMode = ScanMode::ALL_EXTERN_SCAN; in InitScanControlForbidList()
196 forbidMode.scanMode = ScanMode::ALL_EXTERN_SCAN; in InitScanControlForbidList()
200 forbidMode.scanMode = ScanMode::PNO_SCAN; in InitScanControlForbidList()
211 forbidMode.scanMode = ScanMode::PNO_SCAN; in InitScanControlForbidList()
219 forbidMode.scanMode = ScanMode::PNO_SCAN; in InitScanControlForbidList()
[all …]
H A Dwifi_scan_config.h33 void SetAppRunningState(ScanMode appRunMode);
35 ScanMode GetAppRunningState();
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/
H A Dscan_service_test.cpp801 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowExternScanFail1()
820 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowExternScanFail3()
872 ScanMode scanMode = ScanMode::SYSTEM_TIMER_SCAN; in AllowSystemTimerScanFail5()
1117 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringScanningSuccess()
1123 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringScanningFail()
1134 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringStaSceneSuccess1()
1147 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringStaSceneFail1()
1160 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringStaSceneFail2()
1173 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringStaSceneFail3()
1185 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowScanDuringCustomSceneSuccess()
[all …]
H A Dscan_interface_test.cpp120 …EXPECT_EQ(WIFI_OPT_SUCCESS, pScanInterface->OnAppRunningModeChanged(ScanMode::APP_FOREGROUND_SCAN)…
182 ScanMode appRunMode = ScanMode::APP_FOREGROUND_SCAN;
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/precompiled_macro/
H A Dscan_service_test.cpp99 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowExternScanFail1()
111 .WillRepeatedly(Return(ScanMode::SYS_FOREGROUND_SCAN)); in AllowExternScanFail2()
118 ScanMode scanMode = ScanMode::SYS_FOREGROUND_SCAN; in AllowExternScanFail3()
127 .WillRepeatedly(Return(ScanMode::SYS_FOREGROUND_SCAN)); in AllowExternScanFail3()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/Mock/
H A Dmock_scan_service_new.cpp322 bool ScanService::IsMovingFreezeState(ScanMode appRunMode) const in IsMovingFreezeState()
402 bool ScanService::AllowScanDuringScanning(ScanMode scanMode) const in AllowScanDuringScanning()
407 bool ScanService::AllowScanDuringStaScene(int staScene, ScanMode scanMode) in AllowScanDuringStaScene()
412 bool ScanService::AllowScanDuringCustomScene(ScanMode scanMode) in AllowScanDuringCustomScene()
417 …::AllowCustomSceneCheck(const std::map<int, time_t>::const_iterator &customIter, ScanMode scanMode) in AllowCustomSceneCheck()
422 bool ScanService::AllowExternScanByIntervalMode(int appId, int scanScene, ScanMode scanMode) in AllowExternScanByIntervalMode()
486 bool ScanService::AllowScanByMovingFreeze(ScanMode appRunMode) in AllowScanByMovingFreeze()
H A Dmock_scan_interface.cpp79 ErrCode ScanInterface::OnAppRunningModeChanged(ScanMode appRunMode) in OnAppRunningModeChanged()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/
H A Dscan_service.h573 bool IsMovingFreezeState(ScanMode appRunMode) const;
669 bool AllowScanByForbidMap(int scanScene, ScanMode scanMode, time_t currentTime);
677 bool AllowScanDuringScanning(ScanMode scanMode) const;
686 bool AllowScanDuringStaScene(int staScene, ScanMode scanMode);
694 bool AllowScanDuringCustomScene(ScanMode scanMode);
704 bool AllowExternScanByIntervalMode(int appId, int scanScene, ScanMode scanMode);
822 bool AllowScanByMovingFreeze(ScanMode appRunMode);
846 …bool AllowCustomSceneCheck(const std::map<int, time_t>::const_iterator &customIter, ScanMode scanM…
H A Dscan_service.cpp1464 if (!AllowScanByMovingFreeze(ScanMode::SYSTEM_TIMER_SCAN)) { in AllowSystemTimerScan()
1508 if (!AllowScanDuringStaScene(staScene, ScanMode::PNO_SCAN)) { in AllowPnoScan()
1512 if (!AllowScanDuringCustomScene(ScanMode::PNO_SCAN)) { in AllowPnoScan()
1608 bool ScanService::IsMovingFreezeState(ScanMode appRunMode) const in IsMovingFreezeState()
1612 … if (appRunMode == ScanMode::APP_BACKGROUND_SCAN || appRunMode == ScanMode::SYS_BACKGROUND_SCAN) { in IsMovingFreezeState()
1614 } else if (appRunMode == ScanMode::SYSTEM_TIMER_SCAN || appRunMode == ScanMode::PNO_SCAN) { in IsMovingFreezeState()
1754 if (!AllowScanDuringCustomScene(ScanMode::BAND_5GHZ_SCAN)) { in GetAllowBandFreqsControlInfo()
2002 bool ScanService::AllowScanDuringCustomScene(ScanMode scanMode) in AllowScanDuringCustomScene()
2366 bool ScanService::AllowScanByMovingFreeze(ScanMode appRunMode) in AllowScanByMovingFreeze()
2495 if (IsMovingFreezeState(ScanMode::SYSTEM_TIMER_SCAN)) { in SystemScanConnectedPolicy()
[all …]
H A Discan_service.h97 virtual ErrCode OnAppRunningModeChanged(ScanMode appRunMode) = 0;
H A Dscan_interface.h102 ErrCode OnAppRunningModeChanged(ScanMode appRunMode) override;
/ohos5.0/foundation/communication/wifi/wifi/frameworks/native/interfaces/
H A Dwifi_scan_msg.h48 enum class ScanMode { enum
235 ScanMode scanMode; /* Restricted Scan Mode */
241 scanMode = ScanMode::SCAN_MODE_MAX; in tagScanForbidMode()
285 ScanMode scanMode; /* scan mode */
296 scanMode = ScanMode::SCAN_MODE_MAX; in tagScanIntervalMode()
H A Dwifi_scan_control_msg.h57 ScanMode scanMode;
76 scanMode = ScanMode::SCAN_MODE_MAX; in WifiScanDeviceInfo()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/Mock/
H A Dmock_wifi_scan_config.h37 virtual void SetAppRunningState(ScanMode appRunMode) = 0;
38 virtual ScanMode GetAppRunningState() = 0;
63 MOCK_METHOD1(SetAppRunningState, void(ScanMode appRunMode));
64 MOCK_METHOD0(GetAppRunningState, ScanMode());
H A Dmock_wifi_config_center.h76 virtual void SetAppRunningState(ScanMode appRunMode) = 0;
77 virtual ScanMode GetAppRunningState() const = 0;
186 MOCK_METHOD1(SetAppRunningState, void(ScanMode appRunMode));
187 MOCK_CONST_METHOD0(GetAppRunningState, ScanMode());
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/SppDoc/
H A DSPP功能界面使用说明文档.md21 | 设置SPP扫描模式 | setBluetoothScanMode | (mode: ScanMode, duration: number) …
124 | 设置扫描模式 | setBluetoothScanMode | (mode: ScanMode, duration: number) …
126 …de | () | ScanMode | |
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/SppManagerDoc/
H A DSPPManager测试使用说明文档.md23 | 设置SPP扫描模式 | setBluetoothScanMode | (mode: ScanMode, duration: number) …
25 …de | () | ScanMode | |
209 | 设置扫描模式 | setBluetoothScanMode | (mode: ScanMode, duration: number) …
211 …de | () | ScanMode | |
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/BrManagerDoc/
H A D经典蓝牙Manager使用说明文档.md25 | setBluetoothScanMode | 设置蓝牙扫描模式 | (mode: ScanMode, dur…
26 … | () | ScanMode | |
50 >| mode | ScanMode | 是 | 蓝牙扫描模式。 |
55 >#### ScanMode 枚举,扫描模式
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Utils/
H A Dcommon.ets138 export interface ScanMode {
139 mode: bluetooth.ScanMode,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_constants.h21 enum class ScanMode { enum
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-communicate.md277 | ohos.bluetooth | ScanMode | SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5 | 新增 |
278 | ohos.bluetooth | ScanMode | SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4 | 新增 |
279 | ohos.bluetooth | ScanMode | SCAN_MODE_LIMITED_DISCOVERABLE = 3 | 新增 |
280 | ohos.bluetooth | ScanMode | SCAN_MODE_GENERAL_DISCOVERABLE = 2 | 新增 |
281 | ohos.bluetooth | ScanMode | SCAN_MODE_CONNECTABLE = 1 | 新增 |
282 | ohos.bluetooth | ScanMode | SCAN_MODE_NONE = 0 | 新增 |
450 | ohos.bluetooth | bluetooth | getBluetoothScanMode(): ScanMode; | 新增 |
451 | ohos.bluetooth | bluetooth | setBluetoothScanMode(mode: ScanMode, duration: number): boolean; | 新…
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/doc/ApiDoc/BrDoc/
H A DBr功能界面使用说明文档.md21 | 设置扫描模式 | setBluetoothScanMode | (mode: ScanMode, duration: number) | boolean | …
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/wifi_sta/wifiscanserver_fuzzer/
H A Dwifiscanserver_fuzzer.cpp195 scanIntervalMode.scanMode = static_cast<ScanMode>(static_cast<int>(data[0]) % SIZE); in StoreRequestScanConfigFuzzTest()
262 ScanMode scanMode = static_cast<ScanMode>(static_cast<int>(data[0]) % SIZE); in AllowExternScanByForbidFuzzTest()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-connectivity-kit/
H A Djs-apis-bluetooth-connection.md751 setBluetoothScanMode(mode: ScanMode, duration: number): void
763 | mode | [ScanMode](#scanmode) | 是 | 蓝牙扫描模式。当扫描模式为SCAN_MODE_GENERAL_DISCOVERABLE时,如果超出durati…
785 …connection.setBluetoothScanMode(connection.ScanMode.SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE, 10…
794 getBluetoothScanMode(): ScanMode
806 | [ScanMode](#scanmode) | 蓝牙扫描模式。 |
825 let scanMode: connection.ScanMode = connection.getBluetoothScanMode();
1465 ## ScanMode section
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-communicate.md277 | ohos.bluetooth | ScanMode | SCAN_MODE_CONNECTABLE_LIMITED_DISCOVERABLE = 5 | Added|
278 | ohos.bluetooth | ScanMode | SCAN_MODE_CONNECTABLE_GENERAL_DISCOVERABLE = 4 | Added|
279 | ohos.bluetooth | ScanMode | SCAN_MODE_LIMITED_DISCOVERABLE = 3 | Added|
280 | ohos.bluetooth | ScanMode | SCAN_MODE_GENERAL_DISCOVERABLE = 2 | Added|
281 | ohos.bluetooth | ScanMode | SCAN_MODE_CONNECTABLE = 1 | Added|
282 | ohos.bluetooth | ScanMode | SCAN_MODE_NONE = 0 | Added|
450 | ohos.bluetooth | bluetooth | getBluetoothScanMode(): ScanMode; | Added|
451 | ohos.bluetooth | bluetooth | setBluetoothScanMode(mode: ScanMode, duration: number): boolean; | A…

1234