Home
last modified time | relevance | path

Searched refs:dataMessageParcel (Results 1 - 25 of 39) sorted by relevance

12

/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulergetworkstatus_fuzzer/
H A Dworkschedulergetworkstatus_fuzzer.cpp38 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
39 dataMessageParcel.WriteInterfaceToken(WORK_SCHEDULER_STUB_TOKEN); in DoSomethingInterestingWithMyAPI()
40 dataMessageParcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
41 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
51 if (!dataMessageParcel.WriteParcelable(&workInfo)) { in DoSomethingInterestingWithMyAPI()
60 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopandcancelwork_fuzzer/
H A Dworkschedulerstopandcancelwork_fuzzer.cpp38 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
39 dataMessageParcel.WriteInterfaceToken(WORK_SCHEDULER_STUB_TOKEN); in DoSomethingInterestingWithMyAPI()
40 dataMessageParcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
41 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
52 if (!dataMessageParcel.WriteParcelable(&workInfo)) { in DoSomethingInterestingWithMyAPI()
64 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerstopwork_fuzzer/
H A Dworkschedulerstopwork_fuzzer.cpp38 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
39 dataMessageParcel.WriteInterfaceToken(WORK_SCHEDULER_STUB_TOKEN); in DoSomethingInterestingWithMyAPI()
40 dataMessageParcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
41 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
52 if (!dataMessageParcel.WriteParcelable(&workInfo)) { in DoSomethingInterestingWithMyAPI()
64 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulergetallrunningworks_fuzzer/
H A Dworkschedulergetallrunningworks_fuzzer.cpp36 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
37 dataMessageParcel.WriteInterfaceToken(WORK_SCHEDULER_STUB_TOKEN); in DoSomethingInterestingWithMyAPI()
38 dataMessageParcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
39 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
49 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerislastworktimeout_fuzzer/
H A Dworkschedulerislastworktimeout_fuzzer.cpp36 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
37 dataMessageParcel.WriteInterfaceToken(WORK_SCHEDULER_STUB_TOKEN); in DoSomethingInterestingWithMyAPI()
38 dataMessageParcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
39 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
49 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workschedulerobtainallworks_fuzzer/
H A Dworkschedulerobtainallworks_fuzzer.cpp36 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
37 dataMessageParcel.WriteInterfaceToken(WORK_SCHEDULER_STUB_TOKEN); in DoSomethingInterestingWithMyAPI()
38 dataMessageParcel.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
39 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
51 workSchedulerService_->OnRemoteRequest(code, dataMessageParcel, reply, option); in DoSomethingInterestingWithMyAPI()
/foundation/multimedia/av_session/frameworks/native/session/test/fuzztest/avsessionservicestub_fuzzer/
H A Davsession_servicestub_fuzzer.cpp52 MessageParcel dataMessageParcel; in FuzzOnRemoteRequest() local
55 dataMessageParcel.WriteInterfaceToken(avSessionService->GetDescriptor()); in FuzzOnRemoteRequest()
57 dataMessageParcel.WriteBuffer(data + sizeof(uint32_t), size); in FuzzOnRemoteRequest()
58 dataMessageParcel.RewindRead(0); in FuzzOnRemoteRequest()
59 int32_t ret = avSessionService->OnRemoteRequest(code, dataMessageParcel, reply, option); in FuzzOnRemoteRequest()
69 MessageParcel dataMessageParcel; in FuzzTests() local
71 avSessionService->CheckBeforeHandleStartCast(dataMessageParcel, outputDeviceInfo); in FuzzTests()
104 avSessionService->CheckBeforeHandleStartCast(dataMessageParcel, outputDeviceInfo); in FuzzTests()
/foundation/resourceschedule/soc_perf/test/fuzztest/socperf_fuzzer/
H A Dsocperf_fuzzer.cpp64 MessageParcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
65 if (!dataMessageParcel.WriteInterfaceToken(IRemoteStub<ISocPerfService>::GetDescriptor())) { in DoSomethingInterestingWithMyAPI()
72 dataMessageParcel.WriteBuffer(data + sizeof(uint32_t), size); in DoSomethingInterestingWithMyAPI()
73 dataMessageParcel.RewindRead(0); in DoSomethingInterestingWithMyAPI()
75 onRemoteRequest(code, dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/resourceschedule/work_scheduler/test/fuzztest/workscheduleservice_fuzzer/
H A Dworkscheduleservice_fuzzer.cpp64 MessageParcel dataMessageParcel; in IpcFuzzTest() local
65 if (!dataMessageParcel.WriteInterfaceToken(WorkSchedServiceStub::GetDescriptor())) { in IpcFuzzTest()
75 dataMessageParcel.WriteBuffer(data + sizeof(uint32_t), size); in IpcFuzzTest()
76 dataMessageParcel.RewindRead(0); in IpcFuzzTest()
82 OnRemoteRequest(code, dataMessageParcel); in IpcFuzzTest()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/apprunningcontrolruleresult_fuzzer/
H A Dapprunningcontrolruleresult_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!oldRule.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto rulePtr = AppRunningControlRuleResult::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
46 bool ret = readRule->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/apprunningcontrolrule_fuzzer/
H A Dapprunningcontrolrule_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!oldRule.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto rulePtr = AppRunningControlRule::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = readRule->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/permissiondef_fuzzer/
H A Dpermissiondef_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto infoPtr = PermissionDef::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = realInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/applicationinfo_fuzzer/
H A Dapplicationinfo_fuzzer.cpp28 Parcel dataMessageParcel; in fuzzapplicationinfounmarshalling() local
32 auto application = ApplicationInfo::Unmarshalling(dataMessageParcel); in fuzzapplicationinfounmarshalling()
39 if (!oldApplicationInfo.Marshalling(dataMessageParcel)) { in fuzzapplicationinfounmarshalling()
46 bool ret = info->ReadFromParcel(dataMessageParcel); in fuzzapplicationinfounmarshalling()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundleuserinfo_fuzzer/
H A Dbundleuserinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
34 if (!oldRule.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
37 auto rulePtr = BundleUserInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
47 bool ret = readRule->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/hapmoduleinfo_fuzzer/
H A Dhapmoduleinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 info.Marshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
33 auto rulePtr = HapModuleInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
43 bool ret = hapModuleInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/remoteabilityinfo_fuzzer/
H A Dremoteabilityinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto infoPtr = RemoteAbilityInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = realInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/moduleinfo_fuzzer/
H A Dmoduleinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto infoPtr = ModuleInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = realInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/extensionabilityinfo_fuzzer/
H A Dextensionabilityinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 info.Marshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
33 auto rulePtr = ExtensionAbilityInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
44 extensionAbilityInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/compatibleabilityinfo_fuzzer/
H A Dcompatibleabilityinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto infoPtr = CompatibleAbilityInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = realInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/forminfo_fuzzer/
H A Dforminfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto infoPtr = FormInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = realInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/compatibleapplicationinfo_fuzzer/
H A Dcompatibleapplicationinfo_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
39 auto infoPtr = CompatibleApplicationInfo::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
50 bool ret = compatibleApplicationInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/installparam_fuzzer/
H A Dinstallparam_fuzzer.cpp28 Parcel dataMessageParcel; in DoSomethingInterestingWithMyAPI() local
32 if (!info.Marshalling(dataMessageParcel)) { in DoSomethingInterestingWithMyAPI()
35 auto infoPtr = InstallParam::Unmarshalling(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
45 bool ret = realInfo->ReadFromParcel(dataMessageParcel); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/commonevent_fuzzer/
H A Dcommonevent_fuzzer.cpp24 Parcel dataMessageParcel; in fuzzelcommoneventinfounmarshalling() local
26 if (!oldCommonEventInfo.Marshalling(dataMessageParcel)) { in fuzzelcommoneventinfounmarshalling()
33 bool ret = info->ReadFromParcel(dataMessageParcel); in fuzzelcommoneventinfounmarshalling()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/elementname_fuzzer/
H A Delementname_fuzzer.cpp25 Parcel dataMessageParcel; in fuzzelementnameunmarshalling() local
27 if (!oldElementName.Marshalling(dataMessageParcel)) { in fuzzelementnameunmarshalling()
34 bool ret = info->ReadFromParcel(dataMessageParcel); in fuzzelementnameunmarshalling()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/installparamunmarshalling_fuzzer/
H A Dinstallparamunmarshalling_fuzzer.cpp26 Parcel dataMessageParcel; in fuzzinstallparamunmarshalling() local
28 if (!oldInstallParam.Marshalling(dataMessageParcel)) { in fuzzinstallparamunmarshalling()
35 bool ret = info->ReadFromParcel(dataMessageParcel); in fuzzinstallparamunmarshalling()

Completed in 6 milliseconds

12