Home
last modified time | relevance | path

Searched refs:targetNetworkId (Results 1 - 25 of 53) sorted by relevance

123

/foundation/communication/wifi/wifi/test/wifi_standard/non_mock/
H A Dblock_connect_service_test.cpp72 int targetNetworkId = 1; in HWTEST_F() local
73 bool result = BlockConnectService::GetInstance().EnableNetworkSelectStatus(targetNetworkId); in HWTEST_F()
76 WifiSettings::GetInstance().GetDeviceConfig(targetNetworkId, config); in HWTEST_F()
83 int targetNetworkId = -1; in HWTEST_F() local
84 bool result = BlockConnectService::GetInstance().EnableNetworkSelectStatus(targetNetworkId); in HWTEST_F()
101 int targetNetworkId = 1; in HWTEST_F() local
103 bool result = BlockConnectService::GetInstance().UpdateNetworkSelectStatus(targetNetworkId, reason); in HWTEST_F()
106 WifiSettings::GetInstance().GetDeviceConfig(targetNetworkId, config); in HWTEST_F()
108 result = BlockConnectService::GetInstance().UpdateNetworkSelectStatus(targetNetworkId, reason); in HWTEST_F()
110 WifiSettings::GetInstance().GetDeviceConfig(targetNetworkId, confi in HWTEST_F()
122 int targetNetworkId = 1; HWTEST_F() local
141 int targetNetworkId = 1; HWTEST_F() local
201 int targetNetworkId = 1; HWTEST_F() local
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/time_sync/src/
H A Dlnn_time_sync_impl_virtual.c32 int32_t LnnStartTimeSyncImpl(const char *targetNetworkId, TimeSyncAccuracy accuracy, in LnnStartTimeSyncImpl() argument
35 (void)targetNetworkId; in LnnStartTimeSyncImpl()
43 int32_t LnnStopTimeSyncImpl(const char *targetNetworkId) in LnnStopTimeSyncImpl() argument
45 (void)targetNetworkId; in LnnStopTimeSyncImpl()
H A Dlnn_time_sync_manager_virtual.c21 int32_t LnnStartTimeSync(const char *pkgName, int32_t callingPid, const char *targetNetworkId, in LnnStartTimeSync() argument
26 (void)targetNetworkId; in LnnStartTimeSync()
32 int32_t LnnStopTimeSync(const char *pkgName, const char *targetNetworkId, int32_t callingPid) in LnnStopTimeSync() argument
35 (void)targetNetworkId; in LnnStopTimeSync()
H A Dlnn_time_sync_manager.c50 char targetNetworkId[NETWORK_ID_BUF_LEN]; member
67 char targetNetworkId[NETWORK_ID_BUF_LEN]; member
75 char targetNetworkId[NETWORK_ID_BUF_LEN]; member
99 if (strcmp(networkId, item->targetNetworkId) == 0) { in FindTimeSyncReqInfo()
135 if (strncpy_s(info->targetNetworkId, NETWORK_ID_BUF_LEN, para->targetNetworkId, in CreateTimeSyncReqInfo()
136 strlen(para->targetNetworkId)) != EOK) { in CreateTimeSyncReqInfo()
238 existInfo = FindTimeSyncReqInfo(para->targetNetworkId); in ProcessStartTimeSyncRequest()
253 if (LnnStartTimeSyncImpl(existInfo->targetNetworkId, existInfo->curAccuracy, in ProcessStartTimeSyncRequest()
304 LnnStartTimeSyncImpl(info->targetNetworkId, curAccurac in TryUpdateTimeSyncReq()
537 LnnStartTimeSync(const char *pkgName, int32_t callingPid, const char *targetNetworkId, TimeSyncAccuracy accuracy, TimeSyncPeriod period) LnnStartTimeSync() argument
577 LnnStopTimeSync(const char *pkgName, const char *targetNetworkId, int32_t callingPid) LnnStopTimeSync() argument
[all...]
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Dsession_bus_center.cpp30 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, TimeSyncAccuracy accuracy, in StartTimeSync() argument
34 (void)targetNetworkId; in StartTimeSync()
41 int32_t StopTimeSync(const char *pkgName, const char *targetNetworkId) in StopTimeSync() argument
44 (void)targetNetworkId; in StopTimeSync()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dblock_connect_service.h59 bool EnableNetworkSelectStatus(int targetNetworkId);
62 bool UpdateNetworkSelectStatus(int targetNetworkId, DisabledReason disableReason, int wpaReason);
65 bool UpdateNetworkSelectStatus(int targetNetworkId, DisabledReason disableReason);
71 // Check if the given targetNetworkId is blocked due to wrong password
72 bool IsWrongPassword(int targetNetworkId);
H A Dblock_connect_service.cpp148 bool BlockConnectService::EnableNetworkSelectStatus(int targetNetworkId) in EnableNetworkSelectStatus() argument
154 if (WifiSettings::GetInstance().GetDeviceConfig(targetNetworkId, targetNetwork)) { in EnableNetworkSelectStatus()
155 WIFI_LOGE("Failed to get device config %{public}d", targetNetworkId); in EnableNetworkSelectStatus()
164 targetNetworkId, SsidAnonymize(targetNetwork.ssid).c_str()); in EnableNetworkSelectStatus()
182 bool BlockConnectService::UpdateNetworkSelectStatus(int targetNetworkId, DisabledReason disableReason, int wpaReason) in UpdateNetworkSelectStatus() argument
192 return UpdateNetworkSelectStatus(targetNetworkId, disableReason); in UpdateNetworkSelectStatus()
196 bool BlockConnectService::UpdateNetworkSelectStatus(int targetNetworkId, DisabledReason disableReason) in UpdateNetworkSelectStatus() argument
203 if (WifiSettings::GetInstance().GetDeviceConfig(targetNetworkId, targetNetwork)) { in UpdateNetworkSelectStatus()
204 WIFI_LOGE("Failed to get device config %{public}d", targetNetworkId); in UpdateNetworkSelectStatus()
229 targetNetworkId, SsidAnonymiz in UpdateNetworkSelectStatus()
279 IsWrongPassword(int targetNetworkId) IsWrongPassword() argument
[all...]
/foundation/communication/dsoftbus/sdk/bus_center/ipc/mini/
H A Dbus_center_server_proxy.c85 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, int32_t period) in ServerIpcStartTimeSync() argument
87 return LnnIpcStartTimeSync(pkgName, 0, targetNetworkId, accuracy, period); in ServerIpcStartTimeSync()
90 int32_t ServerIpcStopTimeSync(const char *pkgName, const char *targetNetworkId) in ServerIpcStopTimeSync() argument
92 return LnnIpcStopTimeSync(pkgName, targetNetworkId, 0); in ServerIpcStopTimeSync()
133 int32_t ServerIpcShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ServerIpcShiftLNNGear() argument
136 return LnnIpcShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in ServerIpcShiftLNNGear()
/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/
H A Dbus_center_ipc_mock.cpp76 int32_t callingPid, const char *targetNetworkId, TimeSyncAccuracy accuracy, TimeSyncPeriod period) in LnnStartTimeSync()
78 return BusCenterIpcInterfaceInstance()->LnnStartTimeSync(pkgName, callingPid, targetNetworkId, accuracy, period); in LnnStartTimeSync()
81 int32_t LnnStopTimeSync(const char *pkgName, const char *targetNetworkId, int32_t callingPid) in LnnStopTimeSync() argument
83 return BusCenterIpcInterfaceInstance()->LnnStopTimeSync(pkgName, targetNetworkId, callingPid); in LnnStopTimeSync()
121 int32_t LnnShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) in LnnShiftLNNGear() argument
123 return BusCenterIpcInterfaceInstance()->LnnShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in LnnShiftLNNGear()
75 LnnStartTimeSync(const char *pkgName, int32_t callingPid, const char *targetNetworkId, TimeSyncAccuracy accuracy, TimeSyncPeriod period) LnnStartTimeSync() argument
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dbus_center_server_test.cpp100 const char *targetNetworkId = "1234"; in HWTEST_F() local
102 int32_t ret = ServerIpcStartTimeSync(pkgName, targetNetworkId, NORMAL_ACCURACY, BIT_NETWORK_TYPE_WIFI); in HWTEST_F()
104 ret = ServerIpcStopTimeSync(pkgName, targetNetworkId); in HWTEST_F()
170 const char *targetNetworkId = nullptr; in HWTEST_F() local
177 int32_t ret = ServerIpcShiftLNNGear(pkgName, callerId, targetNetworkId, &mode); in HWTEST_F()
H A Dclient_bus_center_manager_mock.cpp89 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, int32_t period) in ServerIpcStartTimeSync() argument
91 return GetBusCenterManagerInterface()->ServerIpcStartTimeSync(pkgName, targetNetworkId, accuracy, period); in ServerIpcStartTimeSync()
94 int32_t ServerIpcStopTimeSync(const char *pkgName, const char *targetNetworkId) in ServerIpcStopTimeSync() argument
96 return GetBusCenterManagerInterface()->ServerIpcStopTimeSync(pkgName, targetNetworkId); in ServerIpcStopTimeSync()
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/time_sync/include/
H A Dlnn_time_sync_impl.h32 int32_t LnnStartTimeSyncImpl(const char *targetNetworkId, TimeSyncAccuracy accuracy,
34 int32_t LnnStopTimeSyncImpl(const char *targetNetworkId);
H A Dlnn_time_sync_manager.h26 int32_t LnnStartTimeSync(const char *pkgName, int32_t callingPid, const char *targetNetworkId,
28 int32_t LnnStopTimeSync(const char *pkgName, const char *targetNetworkId, int32_t callingPid);
/foundation/communication/dsoftbus/core/bus_center/ipc/mini/
H A Dlnn_bus_center_ipc.c98 int32_t LnnIpcStartTimeSync(const char *pkgName, int32_t callingPid, const char *targetNetworkId, in LnnIpcStartTimeSync() argument
101 return LnnStartTimeSync(pkgName, callingPid, targetNetworkId, (TimeSyncAccuracy)accuracy, (TimeSyncPeriod)period); in LnnIpcStartTimeSync()
104 int32_t LnnIpcStopTimeSync(const char *pkgName, const char *targetNetworkId, int32_t callingPid) in LnnIpcStopTimeSync() argument
106 return LnnStopTimeSync(pkgName, targetNetworkId, callingPid); in LnnIpcStopTimeSync()
149 int32_t LnnIpcShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in LnnIpcShiftLNNGear() argument
152 return LnnShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in LnnIpcShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/include/
H A Dbus_center_server_proxy.h43 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, int32_t period);
44 int32_t ServerIpcStopTimeSync(const char *pkgName, const char *targetNetworkId);
52 int32_t ServerIpcShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/
H A Dlnn_heartbeat_ctrl_virtual.c51 int32_t LnnShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) in LnnShiftLNNGear() argument
55 (void)targetNetworkId; in LnnShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/manager/include/
H A Dclient_bus_center_manager.h44 int32_t StartTimeSyncInner(const char *pkgName, const char *targetNetworkId, TimeSyncAccuracy accuracy,
46 int32_t StopTimeSyncInner(const char *pkgName, const char *targetNetworkId);
54 int32_t ShiftLNNGearInner(const char *pkgName, const char *callerId, const char *targetNetworkId,
/foundation/communication/dsoftbus/core/bus_center/ipc/include/
H A Dlnn_bus_center_ipc.h42 const char *pkgName, int32_t callingPid, const char *targetNetworkId, int32_t accuracy, int32_t period);
43 int32_t LnnIpcStopTimeSync(const char *pkgName, const char *targetNetworkId, int32_t callingPid);
64 int32_t LnnIpcShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/src/
H A Dbus_center_server_proxy.cpp193 int32_t ServerIpcStartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, int32_t period) in ServerIpcStartTimeSync() argument
199 int32_t ret = g_serverProxy->StartTimeSync(pkgName, targetNetworkId, accuracy, period); in ServerIpcStartTimeSync()
203 int32_t ServerIpcStopTimeSync(const char *pkgName, const char *targetNetworkId) in ServerIpcStopTimeSync() argument
209 int ret = g_serverProxy->StopTimeSync(pkgName, targetNetworkId); in ServerIpcStopTimeSync()
295 int32_t ServerIpcShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ServerIpcShiftLNNGear() argument
302 int32_t ret = g_serverProxy->ShiftLNNGear(pkgName, callerId, targetNetworkId, mode); in ServerIpcShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/service/src/
H A Dclient_bus_center.c401 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, TimeSyncAccuracy accuracy, in StartTimeSync() argument
404 if (pkgName == NULL || !IsValidString(targetNetworkId, NETWORK_ID_BUF_LEN) || in StartTimeSync()
413 return StartTimeSyncInner(pkgName, targetNetworkId, accuracy, period, cb); in StartTimeSync()
416 int32_t StopTimeSync(const char *pkgName, const char *targetNetworkId) in StopTimeSync() argument
418 if (pkgName == NULL || !IsValidString(targetNetworkId, NETWORK_ID_BUF_LEN)) { in StopTimeSync()
426 return StopTimeSyncInner(pkgName, targetNetworkId); in StopTimeSync()
544 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode) in ShiftLNNGear() argument
560 if (targetNetworkId != NULL && in ShiftLNNGear()
561 strnlen(targetNetworkId, NETWORK_ID_BUF_LEN) != NETWORK_ID_BUF_LEN - 1) { in ShiftLNNGear()
562 LNN_LOGE(LNN_STATE, "invalid shift lnn gear targetNetworkId"); in ShiftLNNGear()
[all...]
/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_server_proxy_standard.cpp224 int32_t SoftBusServerProxyFrame::StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy, in StartTimeSync() argument
228 (void)targetNetworkId; in StartTimeSync()
234 int32_t SoftBusServerProxyFrame::StopTimeSync(const char *pkgName, const char *targetNetworkId) in StopTimeSync() argument
237 (void)targetNetworkId; in StopTimeSync()
/foundation/communication/dsoftbus/interfaces/kits/bus_center/
H A Dsoftbus_bus_center.h337 char targetNetworkId[NETWORK_ID_BUF_LEN]; /**< The network id of time sync target device */ member
761 * @param targetNetworkId Indicates the pointer to the address of the specified device.
773 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, TimeSyncAccuracy accuracy,
781 * @param targetNetworkId Indicates the pointer to the address of the specified device.
788 int32_t StopTimeSync(const char *pkgName, const char *targetNetworkId);
912 * @param targetNetworkId The networkId of the target device to refresh online state, and could be <b>NULL</b>.
920 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, const GearMode *mode);
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dif_softbus_server.cpp93 int32_t ISoftBusServer::ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId, in ShiftLNNGear() argument
98 (void)targetNetworkId; in ShiftLNNGear()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/
H A Dbus_center_server_proxy_standard.h53 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy,
55 int32_t StopTimeSync(const char *pkgName, const char *targetNetworkId) override;
66 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,
/foundation/communication/dsoftbus/core/frame/standard/init/include/
H A Dsoftbus_server.h56 int32_t StartTimeSync(const char *pkgName, const char *targetNetworkId, int32_t accuracy,
58 int32_t StopTimeSync(const char *pkgName, const char *targetNetworkId) override;
69 int32_t ShiftLNNGear(const char *pkgName, const char *callerId, const char *targetNetworkId,

Completed in 11 milliseconds

123