/foundation/bundlemanager/app_domain_verify/test/unittest/common/bean_test/ |
H A D | bean_test.cpp | 80 Parcel parcel1; in HWTEST_F() local 81 unmarshalling = SkillUri::Unmarshalling(parcel1); in HWTEST_F() 84 parcel1.WriteString("https"); in HWTEST_F() 85 unmarshalling = SkillUri::Unmarshalling(parcel1); in HWTEST_F() 107 Parcel parcel1; in HWTEST_F() local 108 unmarshalling = AppVerifyBaseInfo::Unmarshalling(parcel1); in HWTEST_F() 110 parcel1.WriteString(APP_IDENTIFIER); in HWTEST_F() 111 unmarshalling = AppVerifyBaseInfo::Unmarshalling(parcel1); in HWTEST_F() 113 parcel1.WriteString(BUNDLE_NAME); in HWTEST_F() 114 unmarshalling = AppVerifyBaseInfo::Unmarshalling(parcel1); in HWTEST_F() 143 Parcel parcel1; HWTEST_F() local 169 Parcel parcel1; HWTEST_F() local 204 Parcel parcel1; HWTEST_F() local 221 Parcel parcel1; HWTEST_F() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_render_transition_effect_test.cpp | 47 Parcel parcel1; in HWTEST_F() local 48 std::shared_ptr<RSRenderTransitionEffect> effect(RSRenderTransitionEffect::Unmarshalling(parcel1)); in HWTEST_F() 68 Parcel parcel1; in HWTEST_F() local 69 std::shared_ptr<RSRenderTransitionEffect> effect(RSTransitionScale::Unmarshalling(parcel1)); in HWTEST_F() 95 Parcel parcel1; in HWTEST_F() local 96 std::shared_ptr<RSRenderTransitionEffect> effect(RSTransitionTranslate::Unmarshalling(parcel1)); in HWTEST_F() 122 Parcel parcel1; in HWTEST_F() local 123 std::shared_ptr<RSRenderTransitionEffect> effect(RSTransitionRotate::Unmarshalling(parcel1)); in HWTEST_F() 155 Parcel parcel1; in HWTEST_F() local 156 std::shared_ptr<RSRenderTransitionEffect> effect(RSTransitionFade::Unmarshalling(parcel1)); in HWTEST_F() [all...] |
H A D | rs_interpolator_test.cpp | 50 Parcel parcel1; in HWTEST_F() local 51 std::shared_ptr<RSInterpolator> interpolator(RSStepsInterpolator::Unmarshalling(parcel1)); in HWTEST_F() 79 Parcel parcel1; in HWTEST_F() local 80 std::shared_ptr<RSInterpolator> interpolator(RSSpringInterpolator::Unmarshalling(parcel1)); in HWTEST_F() 193 Parcel parcel1; in HWTEST_F() local 194 parcel1.WriteUint16(InterpolatorType::LINEAR); in HWTEST_F() 195 std::shared_ptr<RSInterpolator> interpolator1(RSInterpolator::Unmarshalling(parcel1)); in HWTEST_F()
|
H A D | rs_node_showing_command_test.cpp | 57 Parcel parcel1; in HWTEST_F() local 59 auto result = task->ReadFromParcel(parcel1); in HWTEST_F()
|
H A D | rs_render_transition_test.cpp | 208 Parcel parcel1; in HWTEST_F() local 210 animtaion1->Marshalling(parcel1); in HWTEST_F() 211 RSMarshallingHelper::Marshalling(parcel1, effects); in HWTEST_F() 212 bool result1 = transition->ParseParam(parcel1); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/modifier/ |
H A D | rs_render_modifier_test.cpp | 143 MessageParcel parcel1; in HWTEST_F() local 144 char* buffer = static_cast<char *>(malloc(parcel1.GetMaxCapacity())); in HWTEST_F() 145 memset_s(buffer, parcel1.GetMaxCapacity(), 0, parcel1.GetMaxCapacity()); in HWTEST_F() 146 ASSERT_TRUE(parcel1.WriteUnpadBuffer(buffer, parcel1.GetMaxCapacity())); in HWTEST_F() 150 parcel1.SetMaxCapacity(parcel1.GetMaxCapacity() + 1); in HWTEST_F()
|
H A D | rs_render_property_test.cpp | 193 MessageParcel parcel1; in HWTEST_F() local 196 ASSERT_FALSE(RSRenderPropertyBase::Marshalling(parcel1, intProp)); in HWTEST_F() 197 ASSERT_TRUE(RSRenderPropertyBase::Unmarshalling(parcel1, tmpProp)); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/fuzztest/faultdata_fuzzer/ |
H A D | faultdata_fuzzer.cpp | 75 Parcel parcel1; in FaultDataFuzztest1() local 76 parcel1.WriteInt32(int32Param); in FaultDataFuzztest1() 77 faultData.ReadFromParcel(parcel1); // branch name failed in FaultDataFuzztest1()
|
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/ |
H A D | bgtask_client_unit_test.cpp | 469 Parcel parcel1 = Parcel(); in HWTEST_F() local 470 info2->Marshalling(parcel1); in HWTEST_F() 472 info3->ReadFromParcel(parcel1); in HWTEST_F() 497 Parcel parcel1 = Parcel(); in HWTEST_F() local 498 info2->Marshalling(parcel1); in HWTEST_F() 500 info3->ReadFromParcel(parcel1); in HWTEST_F()
|
/foundation/graphic/graphic_surface/surface/test/unittest/ |
H A D | native_window_test.cpp | 1973 OHIPCParcel *parcel1 = OH_IPCParcel_Create(); in HWTEST_F() local 1975 ASSERT_NE(parcel1, nullptr); in HWTEST_F() 1977 ASSERT_EQ(OH_NativeWindow_WriteToParcel(nullptr, parcel1), SURFACE_ERROR_INVALID_PARAM); in HWTEST_F() 1979 auto innerParcel = parcel1->msgParcel; in HWTEST_F() 1980 parcel1->msgParcel = nullptr; in HWTEST_F() 1981 ASSERT_EQ(OH_NativeWindow_WriteToParcel(nativeWindow, parcel1), SURFACE_ERROR_INVALID_PARAM); in HWTEST_F() 1982 parcel1->msgParcel = innerParcel; in HWTEST_F() 1983 ASSERT_EQ(OH_NativeWindow_WriteToParcel(nativeWindow, parcel1), GSERROR_OK); in HWTEST_F() 1988 ASSERT_EQ(OH_NativeWindow_ReadFromParcel(parcel1, &readWindow), GSERROR_OK); in HWTEST_F() 1992 ASSERT_EQ(OH_NativeWindow_ReadFromParcel(parcel1, in HWTEST_F() 2024 OHIPCParcel *parcel1 = OH_IPCParcel_Create(); HWTEST_F() local [all...] |
/foundation/communication/ipc/ipc/native/test/unittest/common/ |
H A D | ipc_capi_parcel_unittest.cpp | 707 OHIPCParcel *parcel1 = OH_IPCParcel_Create(); in HWTEST_F() local 708 EXPECT_NE(parcel1, nullptr); in HWTEST_F() 714 ASSERT_EQ(OH_IPCParcel_WriteInt16(parcel1, v1[i]), OH_IPC_SUCCESS); in HWTEST_F() 719 auto size1 = OH_IPCParcel_GetDataSize(parcel1); in HWTEST_F() 723 EXPECT_EQ(OH_IPCParcel_Append(parcel1, nullptr), OH_IPC_CHECK_PARAM_ERROR); in HWTEST_F() 724 EXPECT_EQ(OH_IPCParcel_Append(parcel1, parcel2), OH_IPC_SUCCESS); in HWTEST_F() 726 EXPECT_EQ(OH_IPCParcel_GetDataSize(parcel1), size1 + size2); in HWTEST_F() 730 ASSERT_EQ(OH_IPCParcel_ReadInt16(parcel1, &readValue), OH_IPC_SUCCESS); in HWTEST_F() 733 OH_IPCParcel_Destroy(parcel1); in HWTEST_F()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/ |
H A D | distributeddb_relational_result_set_test.cpp | 145 Parcel parcel1(buffer1.data(), buffer1.size()); in HWTEST_F() 146 ASSERT_EQ(rowDataSet1.Serialize(parcel1), E_OK); in HWTEST_F() 147 ASSERT_FALSE(parcel1.IsError()); in HWTEST_F()
|
H A D | distributeddb_relational_remote_query_test.cpp | 455 Parcel parcel1(buffer.data(), buffer.size()); in HWTEST_F() 456 ASSERT_EQ(prepStmt1.Serialize(parcel1), E_OK); in HWTEST_F() 457 ASSERT_FALSE(parcel1.IsError()); in HWTEST_F()
|
H A D | distributeddb_storage_query_sync_test.cpp | 1225 Parcel parcel1(buffer.data(), buffer.size()); in HWTEST_F() 1226 obj1.SerializeData(parcel1, SOFTWARE_VERSION_CURRENT); in HWTEST_F() 1227 ASSERT_EQ(parcel1.IsError(), false); in HWTEST_F() 1322 Parcel parcel1(buff.data(), 0); in HWTEST_F() 1323 EXPECT_EQ(querySyncObj2.SerializeData(parcel1, 0), -E_INVALID_ARGS); in HWTEST_F()
|
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | paste_data_test.cpp | 193 MessageParcel parcel1; in HWTEST_F() local 199 data.WriteUriFd(parcel1, pasteHandler); in HWTEST_F() 200 result = data.ReadUriFd(parcel1, pasteHandler); in HWTEST_F()
|