Home
last modified time | relevance | path

Searched refs:parcel2 (Results 1 - 15 of 15) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_transition_effect_test.cpp51 Parcel parcel2; in HWTEST_F() local
52 parcel2.WriteUint16(10); in HWTEST_F()
53 effect.reset(RSRenderTransitionEffect::Unmarshalling(parcel2)); in HWTEST_F()
72 Parcel parcel2; in HWTEST_F() local
73 parcel2.WriteFloat(1.0f); in HWTEST_F()
74 effect.reset(RSTransitionScale::Unmarshalling(parcel2)); in HWTEST_F()
99 Parcel parcel2; in HWTEST_F() local
100 parcel2.WriteFloat(1.0f); in HWTEST_F()
101 effect.reset(RSTransitionTranslate::Unmarshalling(parcel2)); in HWTEST_F()
126 Parcel parcel2; in HWTEST_F() local
159 Parcel parcel2; HWTEST_F() local
[all...]
H A Drs_interpolator_test.cpp54 Parcel parcel2; in HWTEST_F() local
55 parcel2.WriteInt32(1); in HWTEST_F()
56 interpolator.reset(RSStepsInterpolator::Unmarshalling(parcel2)); in HWTEST_F()
83 Parcel parcel2; in HWTEST_F() local
84 parcel2.WriteFloat(1.0f); in HWTEST_F()
85 interpolator.reset(RSSpringInterpolator::Unmarshalling(parcel2)); in HWTEST_F()
198 Parcel parcel2; in HWTEST_F() local
199 parcel2.WriteUint16(InterpolatorType::CUSTOM); in HWTEST_F()
200 std::shared_ptr<RSInterpolator> interpolator2(RSInterpolator::Unmarshalling(parcel2)); in HWTEST_F()
H A Drs_render_transition_test.cpp215 Parcel parcel2; in HWTEST_F() local
217 animtaion2->Marshalling(parcel2); in HWTEST_F()
218 RSMarshallingHelper::Marshalling(parcel2, effects); in HWTEST_F()
219 RSMarshallingHelper::Marshalling(parcel2, isTransitionIn); in HWTEST_F()
220 bool result2 = transition->ParseParam(parcel2); in HWTEST_F()
H A Drs_node_showing_command_test.cpp58 Parcel parcel2; in HWTEST_F() local
60 result = task->CheckHeader(parcel2); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/faultdata_fuzzer/
H A Dfaultdata_fuzzer.cpp78 Parcel parcel2; in FaultDataFuzztest1() local
79 parcel2.WriteString(stringParam); in FaultDataFuzztest1()
80 parcel2.WriteInt32(int32Param); in FaultDataFuzztest1()
81 faultData.ReadFromParcel(parcel2); // branch message failed in FaultDataFuzztest1()
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/
H A Dbgtask_client_unit_test.cpp473 Parcel parcel2 = Parcel(); in HWTEST_F() local
474 info3->Marshalling(parcel2); in HWTEST_F()
476 ContinuousTaskParam::Unmarshalling(parcel2)); in HWTEST_F()
501 Parcel parcel2 = Parcel(); in HWTEST_F() local
502 info3->Marshalling(parcel2); in HWTEST_F()
504 ContinuousTaskParamForInner::Unmarshalling(parcel2)); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/storage/
H A Ddistributeddb_relational_result_set_test.cpp154 Parcel parcel2(buffer2.data(), buffer2.size()); in HWTEST_F()
156 ASSERT_EQ(rowDataSet2.DeSerialize(parcel2), E_OK); in HWTEST_F()
157 ASSERT_FALSE(parcel2.IsError()); in HWTEST_F()
H A Ddistributeddb_relational_remote_query_test.cpp464 Parcel parcel2(buffer.data(), buffer.size()); in HWTEST_F()
465 ASSERT_EQ(prepStmt2.DeSerialize(parcel2), E_OK); in HWTEST_F()
466 ASSERT_FALSE(parcel2.IsError()); in HWTEST_F()
H A Ddistributeddb_storage_query_sync_test.cpp1234 Parcel parcel2(buffer.data(), buffer.size()); in HWTEST_F()
1235 ASSERT_EQ(parcel2.IsError(), false); in HWTEST_F()
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_capi_parcel_unittest.cpp709 OHIPCParcel *parcel2 = OH_IPCParcel_Create(); in HWTEST_F() local
710 EXPECT_NE(parcel2, nullptr); in HWTEST_F()
717 ASSERT_EQ(OH_IPCParcel_WriteInt16(parcel2, v2[i]), OH_IPC_SUCCESS); in HWTEST_F()
720 auto size2 = OH_IPCParcel_GetDataSize(parcel2); in HWTEST_F()
722 EXPECT_EQ(OH_IPCParcel_Append(nullptr, parcel2), OH_IPC_CHECK_PARAM_ERROR); in HWTEST_F()
724 EXPECT_EQ(OH_IPCParcel_Append(parcel1, parcel2), OH_IPC_SUCCESS); in HWTEST_F()
734 OH_IPCParcel_Destroy(parcel2); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_pixelmap.cpp547 MessageParcel parcel2; in OnClientMarshalling() local
548 surfaceBuffer->WriteToMessageParcel(parcel2); in OnClientMarshalling()
549 size_t bufferHandleSize = parcel2.GetReadableBytes(); in OnClientMarshalling()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/modifier/
H A Drs_render_property_test.cpp199 MessageParcel parcel2; in HWTEST_F() local
201 parcel2.ParseFrom(data, sizeof(int)); in HWTEST_F()
202 ASSERT_FALSE(RSRenderPropertyBase::Marshalling(parcel2, intProp)); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_image_test.cpp530 MessageParcel parcel2; in HWTEST_F() local
531 EXPECT_EQ(RSMarshallingHelper::Marshalling(parcel2, rsImage), true); in HWTEST_F()
533 EXPECT_EQ(RSMarshallingHelper::Unmarshalling(parcel2, newImage2), true); in HWTEST_F()
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dnative_window_test.cpp1974 OHIPCParcel *parcel2 = OH_IPCParcel_Create(); in HWTEST_F() local
1976 ASSERT_NE(parcel2, nullptr); in HWTEST_F()
1984 ASSERT_EQ(OH_NativeWindow_WriteToParcel(nativeWindow, parcel2), GSERROR_OK); in HWTEST_F()
1998 ASSERT_EQ(OH_NativeWindow_ReadFromParcel(parcel2, &readWindow1), GSERROR_OK); in HWTEST_F()
2003 ", parcel2 read id is " << readId1 << endl; in HWTEST_F()
2007 OH_IPCParcel_Destroy(parcel2); in HWTEST_F()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Ddistributeddb_mock_sync_module_test.cpp1458 Parcel parcel2(buffer2.data(), buffer2.size()); in HWTEST_F()
1460 EXPECT_EQ(packet.Serialization(parcel2), -E_INVALID_ARGS); in HWTEST_F()
1504 Parcel parcel2(buffer1.data(), buffer1.size()); in HWTEST_F()
1506 ConstructPacel(parcel2, 1, bigKey, ""); in HWTEST_F()

Completed in 18 milliseconds