Home
last modified time | relevance | path

Searched refs:msg1 (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_ability_sync_test.cpp136 msg1.SetCopiedObject(packet1);
187 msg1.SetCopiedObject(packet1);
238 msg1.SetCopiedObject(packet1);
295 msg1.SetCopiedObject(packet1);
353 msg1.SetCopiedObject(packet1);
457 msg1.SetCopiedObject(packet1);
474 msg1.SetCopiedObject(packet1);
483 msg1.SetCopiedObject(packet1);
530 msg1.SetCopiedObject(packet1);
546 msg1.SetCopiedObject(packet1);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/fuzztest/softbusnegotiatemessage_fuzzer/
H A Dsoftbusnegotiatemessage_fuzzer.cpp56 SoftBus::NegotiateMessage msg1; in SoftBusNegotiateMessageUnmarshallingFuzzTest() local
57 msg1.SetSessionId(GetData<uint32_t>()); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
58 msg1.SetPreferLinkBandWidth(GetData<int>()); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
59 msg1.SetIsModeStrict(GetData<bool>()); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
60 msg1.SetMessageType(GetData<SoftBus::NegotiateMessageType>()); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
61 msg1.SetIpv4InfoArray({ GetData<SoftBus::Ipv4Info>(), GetData<SoftBus::Ipv4Info>() }); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
63 msg1.SetWifiConfigInfo(configVec); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
64 msg1.SetLegacyP2pGroupConfig("OHOS-1234\n00:01:02:03:04:05\n00001111\n5180"); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
69 msg1.SetInterfaceInfoArray(interfaceArray); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
72 msg1.SetLinkInfo(linkInfo1); in SoftBusNegotiateMessageUnmarshallingFuzzTest()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/data/
H A Dnegotiate_message_test.cpp178 NegotiateMessage msg1; variable
179 msg1.SetSessionId(1);
180 msg1.SetIsModeStrict(true);
186 msg1.SetLinkInfo(linkInfo1);
191 msg1.Marshalling(*protocol1, output);
200 EXPECT_EQ(msg1.GetSessionId(), msg2.GetSessionId());
215 msg1.Marshalling(*protocol3, output3);
319 NegotiateMessage msg1; variable
325 msg1.SetWifiConfigInfo(vec);
330 msg1.SetInterfaceInfoArray(interfaceInfoArray);
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_crypt_test.cpp1714 struct DlpBlob msg1 = {15, input}; variable
1762 msg1.size = 1;
1767 msg1.data = msg1.data + 1;
1795 msg1.size = 1;
1800 msg1.data = msg1.data + 1;
1826 msg1.size = 1;
1831 msg1.data = msg1.data + 1;
1859 msg1.size = 1;
1864 msg1.data = msg1.data + 1;
1895 msg1.size = 1;
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/uniproton/test/sample_driver/src/
H A Dhdf_test_suit.c43 HdfTestMsg msg1 = {TEST_PAL_MANAGER_TYPE, PLAT_MANAGER_TEST_GET_DEVICE, -1}; in HdfPlatformEntryTest() local
44 (void)HdfPlatformManagerTestEntry(&msg1); in HdfPlatformEntryTest()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/utest/common/
H A Dhelpers_for_test.ts44 const msg1 = msg;
47 console.debug(`\n\n====== ${msg1}`);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_topo_manager_test.cpp391 char *msg1 = const_cast<char *>(MSG_1); variable
393 cJSON *json = cJSON_ParseWithLength(msg1, strlen(msg1));
431 uint8_t *msg1 = reinterpret_cast<uint8_t *>(const_cast<char *>(MSG_2)); variable
432 OnReceiveTopoUpdateMsg(LNN_INFO_TYPE_CONNECTION_INFO, NETWORK_ID, msg1, strlen(MSG_2));
433 OnReceiveTopoUpdateMsg(LNN_INFO_TYPE_TOPO_UPDATE, NETWORK_ID, msg1, 0);
434 OnReceiveTopoUpdateMsg(LNN_INFO_TYPE_TOPO_UPDATE, NETWORK_ID, msg1, strlen(MSG_2));
H A Dlnn_devicename_info_test.cpp168 char msg1[] = "{\"KEY_NICK_NAME\":\"nickName\"}"; variable
171 OnReceiveDeviceNickName(LNN_INFO_TYPE_NICK_NAME, NETWORKID, nullptr, strlen(msg1) + 1);
172 …eviceNickName(LNN_INFO_TYPE_COUNT, NETWORKID, reinterpret_cast<uint8_t *>(msg1), strlen(msg1) + 1);
173 …OnReceiveDeviceNickName(LNN_INFO_TYPE_NICK_NAME, NETWORKID, reinterpret_cast<uint8_t *>(msg1), MSG…
174 …eNickName(LNN_INFO_TYPE_NICK_NAME, NETWORKID, reinterpret_cast<uint8_t *>(msg1), strlen(msg1) + 1);
H A Dlnn_p2p_info_test.cpp151 char msg1[PARSE_P2P_INFO_MSG_LEN] = "{\"test\":\"192.168.12.12\"}"; variable
152 ret = LnnParseWifiDirectAddrMsg(msg1, wifiDirectAddr, strlen(msg1));
/ohos5.0/base/inputmethod/imf/test/fuzztest/inputmethodsystemability_fuzzer/
H A Dinputmethodsystemability_fuzzer.cpp55 auto msg1 = std::make_shared<Message>(MessageID::MSG_ID_USER_REMOVED, parcel1); in FuzzOnUser() local
56 DelayedSingleton<InputMethodSystemAbility>::GetInstance()->OnUserRemoved(msg1.get()); in FuzzOnUser()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/
H A Dgesture_event_hub_test_ng.cpp249 std::string msg1; variable
250 auto clickCallback = [&msg1](GestureEvent& /* info */) { msg1 = CHECK_TAG_1; }; in __anon9b9e2c480e02()
278 msg1 = "";
279 auto clickCallback3 = [&msg1](GestureEvent& /* info */) { msg1 = CHECK_TAG_1; }; in __anon9b9e2c481002()
333 std::string msg1; variable
334 auto longPressCallback = [&msg1](GestureEvent& /* info */) { msg1 = CHECK_TAG_1; }; in __anon9b9e2c481202()
358 msg1 = "";
359 auto clickCallback3 = [&msg1](GestureEvent& /* info */) { msg1 = CHECK_TAG_1; }; in __anon9b9e2c481302()
566 std::string msg1; variable
568 msg1 = CHECK_TAG_1; in __anon9b9e2c481602()
[all …]
H A Dgesture_event_hub_test_ng_property_config.cpp185 std::string msg1; variable
186 …auto onDrop = [&msg1](const RefPtr<OHOS::Ace::DragEvent>& /* dragEvent */, const std::string& /* p… in __anon2a87ae410502()
187 msg1 = CHECK_TAG_1; in __anon2a87ae410502()
193 EXPECT_EQ(msg1, "HELLO");
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_session_message_test.cpp353 char *msg1 = JSON_PrintUnformatted(obj1); variable
355 EXPECT_TRUE(UnpackDeviceIdJson(msg1, strlen(msg1), &info) == SOFTBUS_CMP_FAIL);
358 EXPECT_TRUE(UnpackDeviceIdJson(msg1, strlen(msg1), &info) == SOFTBUS_CMP_FAIL);
360 EXPECT_TRUE(UnpackDeviceIdJson(msg1, strlen(msg1), &info) == SOFTBUS_OK);
361 if (msg1 != nullptr) {
362 JSON_Free(msg1);
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_private_member_test.cpp151 auto msg1 = std::make_shared<Message>(MessageID::MSG_ID_USER_START, parcel1); variable
152 ret = service_->OnUserStarted(msg1.get());
194 auto msg1 = std::make_shared<Message>(MessageID::MSG_ID_USER_REMOVED, parcel1); variable
195 auto ret1 = service_->OnUserRemoved(msg1.get());
816 auto msg1 = std::make_shared<Message>(MessageID::MSG_ID_PACKAGE_REMOVED, parcel1); variable
817 auto ret1 = service_->HandlePackageEvent(msg1.get());
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/precompiled_macro/
H A Dsta_state_machine_test1.cpp307 InternalMessagePtr msg1 = std::make_shared<InternalMessage>(); in DealScreenStateChangedEventTest1() local
308 msg1->SetMessageName(WIFI_SVR_CMD_STA_WPA_EAP_UMTS_AUTH_EVENT); in DealScreenStateChangedEventTest1()
309 pStaStateMachine->DealScreenStateChangedEvent(msg1); in DealScreenStateChangedEventTest1()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/
H A Dsta_state_machine_test.cpp2062 InternalMessagePtr msg1 = std::make_shared<InternalMessage>(); in DealWpaEapSimAuthEventTest() local
2063 msg1->SetMessageName(WIFI_SVR_CMD_STA_WPA_EAP_SIM_AUTH_EVENT); in DealWpaEapSimAuthEventTest()
2066 msg1->SetMessageObj(param); in DealWpaEapSimAuthEventTest()
2067 pStaStateMachine->DealWpaEapSimAuthEvent(msg1); in DealWpaEapSimAuthEventTest()
2082 InternalMessagePtr msg1 = std::make_shared<InternalMessage>(); in DealWpaEapUmtsAuthEventTest() local
2084 msg1->SetMessageName(WIFI_SVR_CMD_STA_WPA_EAP_UMTS_AUTH_EVENT); in DealWpaEapUmtsAuthEventTest()
2085 msg1->SetMessageObj(param); in DealWpaEapUmtsAuthEventTest()
2086 pStaStateMachine->DealWpaEapUmtsAuthEvent(msg1); in DealWpaEapUmtsAuthEventTest()
2118 InternalMessagePtr msg1 = std::make_shared<InternalMessage>(); in DealGetDhcpIpTimeoutTest() local
2119 msg1->SetMessageName(WIFI_SVR_CMD_STA_WPA_EAP_UMTS_AUTH_EVENT); in DealGetDhcpIpTimeoutTest()
[all …]
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkweb/
H A Djs-apis-webview.md273 @State msg1: string = "";
280 Text(this.msg1).fontSize(16)
436 this.msg1 = "default break, type:" + type;
1967 @State msg1: string = '';
1972 Text(this.msg1).fontSize(20)
2048 @State msg1: string = ''
2053 Text(this.msg1).fontSize(20)
2184 @State msg1: string = '';
2190 Text(this.msg1).fontSize(20)
2254 @State msg1: string = '';
[all …]
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_hal/unittest/
H A Dwifi_hal_crpc_server_test.cpp130 …WifiHalEventCallbackMsg *msg1 = (WifiHalEventCallbackMsg *)calloc(1, sizeof(WifiHalEventCallbackMs… variable
131 ASSERT_TRUE(msg1 != nullptr);
132 msg1->msg.scanStatus = 101;
133 EXPECT_TRUE(PushBackCallbackMsg(event, msg1) == 0);
/ohos5.0/docs/en/application-dev/reference/apis-arkweb/
H A Djs-apis-webview.md273 @State msg1: string = "";
280 Text(this.msg1).fontSize(16)
436 this.msg1 = "default break, type:" + type;
1967 @State msg1: string = '';
1972 Text(this.msg1).fontSize(20)
2048 @State msg1: string = ''
2053 Text(this.msg1).fontSize(20)
2184 @State msg1: string = '';
2190 Text(this.msg1).fontSize(20)
2254 @State msg1: string = '';
[all …]
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-provide-and-consume.md205 @Consume msg1: string = 'Hello';
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-provide-and-consume.md204 @Consume msg1: string = 'Hello';