Home
last modified time | relevance | path

Searched refs:data (Results 2426 - 2450 of 10517) sorted by relevance

1...<<919293949596979899100>>...421

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dparcel.h39 int WriteBool(bool data);
40 uint32_t ReadBool(bool &data);
41 int WriteInt(int data);
43 int WriteUInt8(uint8_t data);
45 int WriteDouble(double data);
47 int WriteInt64(int64_t data);
49 int WriteUInt32(uint32_t data);
51 int WriteUInt64(uint64_t data);
53 int WriteVectorChar(const std::vector<uint8_t> &data);
66 int WriteVector(const std::vector<T> &data) in WriteVector() argument
154 GetVectorLen(const std::vector<T> &data) GetVectorLen() argument
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/ndk/ndkpath_fuzzer/
H A Dpath_fuzzer.cpp41 void NativeDrawingPathTest001(const uint8_t* data, size_t size) in NativeDrawingPathTest001() argument
43 if (data == nullptr || size < DATA_MIN_SIZE) { in NativeDrawingPathTest001()
46 g_data = data; in NativeDrawingPathTest001()
72 void NativeDrawingPathTest002(const uint8_t* data, size_t size) in NativeDrawingPathTest002() argument
74 if (data == nullptr || size < DATA_MIN_SIZE) { in NativeDrawingPathTest002()
77 g_data = data; in NativeDrawingPathTest002()
119 void NativeDrawingPathTest003(const uint8_t* data, size_t size) in NativeDrawingPathTest003() argument
121 if (data == nullptr || size < DATA_MIN_SIZE) { in NativeDrawingPathTest003()
124 g_data = data; in NativeDrawingPathTest003()
174 void NativeDrawingPathTest004(const uint8_t* data, size_ argument
230 NativeDrawingPathTest005(const uint8_t* data, size_t size) NativeDrawingPathTest005() argument
278 NativeDrawingPathTest006(const uint8_t* data, size_t size) NativeDrawingPathTest006() argument
330 NativeDrawingPathTest007(const uint8_t* data, size_t size) NativeDrawingPathTest007() argument
387 NativeDrawingPathTest008(const uint8_t* data, size_t size) NativeDrawingPathTest008() argument
420 NativeDrawingPathTest009(const uint8_t* data, size_t size) NativeDrawingPathTest009() argument
464 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/arkui/ui_lite/frameworks/dock/
H A Dvirtual_input_device.cpp22 void VirtualInputDevice::DispatchEvent(const DeviceData& data) in DispatchEvent() argument
24 if (data.state != INVALID_VIRTUAL_INPUT_STATE) { in DispatchEvent()
25 VirtualDeviceEvent event(data.type, data.state); in DispatchEvent()
H A Dkey_input_device.cpp22 void KeyInputDevice::DispatchEvent(const DeviceData& data) in DispatchEvent() argument
24 if (data.state != INVALID_KEY_STATE) { in DispatchEvent()
25 KeyEvent event(data.keyId, data.state); in DispatchEvent()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/small/
H A Dbus_center_server_proxy.c50 void* data; member
90 info->data = (void *)ReadBuffer(reply, infoSize); in OnOnlineNodeInfo()
99 info->data = (void *)ReadBuffer(reply, infoSize); in OnLocalDeviceInfo()
107 info->data = (void *)ReadBuffer(reply, infoSize); in OnNodeKeyInfo()
115 info->data = (void *)ReadString(reply, &infoSize); in OnActiveMetaNode()
137 info->data = (void *)ReadBuffer(reply, infoSize); in OnAllMetaNode()
226 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; in ServerIpcGetAllOnlineNodeInfo() local
228 IpcIoInit(&request, data, MAX_SOFT_BUS_IPC_LEN, 0); in ServerIpcGetAllOnlineNodeInfo()
250 if (reply.data == NULL) { in ServerIpcGetAllOnlineNodeInfo()
259 if (memcpy_s(*info, infoSize, reply.data, infoSiz in ServerIpcGetAllOnlineNodeInfo()
279 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcGetLocalDeviceInfo() local
316 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcGetNodeKeyInfo() local
355 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcSetNodeDataChangeFlag() local
422 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcJoinLNN() local
448 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcLeaveLNN() local
474 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcStartTimeSync() local
502 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcStopTimeSync() local
527 uint8_t data[MAX_SOFT_BUS_IPC_LEN_EX] = {0}; ServerIpcPublishLNN() local
564 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcStopPublishLNN() local
589 uint8_t data[MAX_SOFT_BUS_IPC_LEN_EX] = {0}; ServerIpcRefreshLNN() local
627 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcStopRefreshLNN() local
648 uint8_t data[MAX_SOFT_BUS_IPC_LEN_EX] = {0}; ServerIpcActiveMetaNode() local
683 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcDeactiveMetaNode() local
707 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcGetAllMetaNodeInfo() local
747 uint8_t data[MAX_SOFT_BUS_IPC_LEN] = {0}; ServerIpcShiftLNNGear() local
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_service_stub.cpp55 int KVDBServiceStub::OnRemoteRequest(uint32_t code, MessageParcel &data, MessageParcel &reply) in OnRemoteRequest() argument
59 std::u16string remote = data.ReadInterfaceToken(); in OnRemoteRequest()
71 auto [status, storeInfo] = GetStoreInfo(code, data); in OnRemoteRequest()
76 return (this->*HANDLERS[code])({ storeInfo.bundleName }, { storeInfo.storeId }, data, reply); in OnRemoteRequest()
89 std::pair<int32_t, KVDBServiceStub::StoreInfo> KVDBServiceStub::GetStoreInfo(uint32_t code, MessageParcel &data) in GetStoreInfo() argument
93 if (!ITypesUtil::Unmarshal(data, appId, storeId)) { in GetStoreInfo()
118 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnGetStoreIds()
130 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) in OnBeforeCreate()
133 if (!ITypesUtil::Unmarshal(data, options)) { in OnBeforeCreate()
148 const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParce in OnAfterCreate()
117 OnGetStoreIds( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnGetStoreIds() argument
129 OnBeforeCreate( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnBeforeCreate() argument
147 OnAfterCreate( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnAfterCreate() argument
167 OnDelete(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnDelete() argument
178 OnClose(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnClose() argument
189 OnSync(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnSync() argument
206 OnCloudSync( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnCloudSync() argument
224 OnNotifyDataChange( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnNotifyDataChange() argument
242 OnRegServiceNotifier( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnRegServiceNotifier() argument
261 OnUnregServiceNotifier( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnUnregServiceNotifier() argument
273 OnSetSyncParam( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnSetSyncParam() argument
291 OnGetSyncParam( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnGetSyncParam() argument
304 OnEnableCap( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnEnableCap() argument
316 OnDisableCap( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnDisableCap() argument
328 OnSetCapability( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnSetCapability() argument
347 OnAddSubInfo(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnAddSubInfo() argument
365 OnRmvSubInfo(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnRmvSubInfo() argument
383 OnSubscribe( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnSubscribe() argument
402 OnUnsubscribe( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnUnsubscribe() argument
421 OnGetBackupPassword( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnGetBackupPassword() argument
442 OnPutSwitch( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnPutSwitch() argument
458 OnGetSwitch( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnGetSwitch() argument
477 OnSubscribeSwitchData( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnSubscribeSwitchData() argument
488 OnUnsubscribeSwitchData( const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnUnsubscribeSwitchData() argument
499 OnSetConfig(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnSetConfig() argument
516 OnRemoveDeviceData(const AppId &appId, const StoreId &storeId, MessageParcel &data, MessageParcel &reply) OnRemoveDeviceData() argument
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_profile.cpp186 utility::Message data(msgParsed->event, 0, msgParsed); in ProcessAvdtpCallback()
188 peer->GetStateMachine()->ProcessMessage(data); in ProcessAvdtpCallback()
381 LOG_ERROR("[A2dpProfile] %{public}s no data\n", __func__); in DequeuePacket()
484 void A2dpProfile::BuildCodecInfo(A2dpCodecIndex index, uint8_t *data) in BuildCodecInfo() argument
489 *data++ = A2DP_CODEC_SBC_INFO_LEN; in BuildCodecInfo()
490 *data++ = A2DP_MEDIA_TYPE_AUDIO; in BuildCodecInfo()
491 *data++ = A2DP_CODEC_TYPE_SBC; in BuildCodecInfo()
492 *data++ = A2DP_SBC_SINK_CAPS.sampleFreq | A2DP_SBC_SINK_CAPS.channelMode; in BuildCodecInfo()
493 *data++ = A2DP_SBC_SINK_CAPS.blockLen | A2DP_SBC_SINK_CAPS.numSubbands | in BuildCodecInfo()
495 *data in BuildCodecInfo()
531 A2dpAvdtMsg data = {}; Disable() local
625 A2dpAvdtMsg data = {}; ProcessSDPCallback() local
649 A2dpAvdtMsg data = {}; Disconnect() local
676 A2dpAvdtMsg data = {}; Stop() local
711 A2dpAvdtMsg data = {}; Start() local
766 A2dpAvdtMsg data = {}; Close() local
891 A2dpAvdtMsg data = {}; Reconfigure() local
1145 CleanPacketData(void *data) CleanPacketData() argument
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/pipeline/rsrendernode_fuzzer/
H A Drsrendernode_fuzzer.cpp42 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T)
88 bool RSBaseRenderNodeFuzzTest(const uint8_t* data, size_t size) in RSBaseRenderNodeFuzzTest() argument
90 if (data == nullptr) { in RSBaseRenderNodeFuzzTest()
95 g_data = data; in RSBaseRenderNodeFuzzTest()
99 // get data in RSBaseRenderNodeFuzzTest()
136 bool RSCanvasRenderNodeFuzzTest(const uint8_t* data, size_t size) in RSCanvasRenderNodeFuzzTest() argument
138 if (data == nullptr) { in RSCanvasRenderNodeFuzzTest()
143 g_data = data; in RSCanvasRenderNodeFuzzTest()
167 bool RSContextFuzzTest(const uint8_t* data, size_ argument
187 RSDirtyRegionManagerFuzzTest(const uint8_t* data, size_t size) RSDirtyRegionManagerFuzzTest() argument
226 RSDisplayRenderNodeFuzzTest(const uint8_t* data, size_t size) RSDisplayRenderNodeFuzzTest() argument
279 RSDrawCmdListFuzzTest(const uint8_t* data, size_t size) RSDrawCmdListFuzzTest() argument
308 RSOcclusionConfigFuzzTes(const uint8_t* data, size_t size) RSOcclusionConfigFuzzTes() argument
333 LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) LLVMFuzzerTestOneInput() argument
[all...]
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_manager_callback/src/
H A Ddaudio_manager_callback_test.cpp235 OHOS::HDI::DistributedAudio::Audioext::V2_0::AudioData data; in HWTEST_F() local
236 EXPECT_EQ(HDF_FAILURE, manCallback_->WriteStreamData(streamId_, data)); in HWTEST_F()
251 OHOS::HDI::DistributedAudio::Audioext::V2_0::AudioData data; in HWTEST_F() local
252 data.param.format = 16; in HWTEST_F()
253 data.param.channelCount = 2; in HWTEST_F()
254 data.param.sampleRate = 48000; in HWTEST_F()
255 data.param.period = 2; in HWTEST_F()
256 data.param.frameSize = 4096; in HWTEST_F()
257 data.param.streamUsage = 1; in HWTEST_F()
258 data in HWTEST_F()
281 OHOS::HDI::DistributedAudio::Audioext::V2_0::AudioData data; HWTEST_F() local
297 OHOS::HDI::DistributedAudio::Audioext::V2_0::AudioData data; HWTEST_F() local
[all...]
/foundation/ability/idl_tool/test/native/src/
H A Dtest_service.cpp52 ErrCode TestService::TestIntTransaction(int data) in TestIntTransaction() argument
54 ZLOGE(LABEL, " TestService:read from client data = %{public}d", data); in TestIntTransaction()
58 ErrCode TestService::TestStringTransaction(const std::string &data) in TestStringTransaction() argument
60 ZLOGE(LABEL, "TestService:read string from client data = %{public}s", data.c_str()); in TestStringTransaction()
61 return data.size(); in TestStringTransaction()
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy/
H A Dintell_voice_update_callback_stub.cpp26 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest()
29 if (data.ReadInterfaceToken() != IIntelligentVoiceUpdateCallback::GetDescriptor()) { in OnRemoteRequest()
36 OnUpdateCompleteCallback(data); in OnRemoteRequest()
49 void IntellVoiceUpdateCallbackStub::OnUpdateCompleteCallback(MessageParcel &data) in OnUpdateCompleteCallback() argument
51 OnUpdateComplete(data.ReadInt32()); in OnUpdateCompleteCallback()
25 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/include/
H A Dconnection_observer_stub.h36 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
41 int OnExtensionConnectedInner(MessageParcel &data, MessageParcel &reply);
42 int OnExtensionDisconnectedInner(MessageParcel &data, MessageParcel &reply);
44 int OnDlpAbilityOpenedInner(MessageParcel &data, MessageParcel &reply);
45 int OnDlpAbilityClosedInner(MessageParcel &data, MessageParcel &reply);
/foundation/ability/ability_runtime/frameworks/native/ability/native/dialog_request_callback/
H A Ddialog_request_callback_proxy.cpp26 MessageParcel data; in SendResult() local
31 if (!data.WriteInterfaceToken(IDialogRequestCallback::GetDescriptor())) { in SendResult()
36 if (!data.WriteInt32(resultCode)) { in SendResult()
41 if (!data.WriteParcelable(&want)) { in SendResult()
48 auto errCode = remote->SendRequest(IDialogRequestCallback::CODE_SEND_RESULT, data, reply, option); in SendResult()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/remote_register_service/
H A Dremote_register_service_stub.h32 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) override;
35 int RegisterInner(MessageParcel &data, MessageParcel &reply);
36 int UnregisterInner(MessageParcel &data, MessageParcel &reply);
37 int UpdateConnectStatusInner(MessageParcel &data, MessageParcel &reply);
38 int ShowDeviceListInner(MessageParcel &data, MessageParcel &reply);
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dprepare_terminate_callback_stub.cpp30 uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) in OnRemoteRequest()
32 if (data.ReadInterfaceToken() != IPrepareTerminateCallback::GetDescriptor()) { in OnRemoteRequest()
38 return DoPrepareTerminateInner(data, reply); in OnRemoteRequest()
42 return IPCObjectStub::OnRemoteRequest(code, data, reply, option); in OnRemoteRequest()
45 int32_t PrepareTerminateCallbackStub::DoPrepareTerminateInner(MessageParcel &data, MessageParcel &reply) in DoPrepareTerminateInner() argument
29 OnRemoteRequest( uint32_t code, MessageParcel &data, MessageParcel &reply, MessageOption &option) OnRemoteRequest() argument
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/default_app/
H A Ddefault_app_host.h31 int OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) override;
34 ErrCode HandleIsDefaultApplication(Parcel& data, Parcel& reply);
35 ErrCode HandleGetDefaultApplication(Parcel& data, Parcel& reply);
36 ErrCode HandleSetDefaultApplication(Parcel& data, Parcel& reply);
37 ErrCode HandleResetDefaultApplication(Parcel& data, Parcel& reply);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/quick_fix/
H A Dquick_fix_manager_host.h30 int OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) override;
33 ErrCode HandleDeployQuickFix(MessageParcel& data, MessageParcel& reply);
34 ErrCode HandleSwitchQuickFix(MessageParcel& data, MessageParcel& reply);
35 ErrCode HandleDeleteQuickFix(MessageParcel& data, MessageParcel& reply);
36 ErrCode HandleCreateFd(MessageParcel& data, MessageParcel& reply);
/foundation/arkui/ui_appearance/services/include/
H A Dui_appearance_ability_stub.h29 int32_t OnRemoteRequest(uint32_t code, MessageParcel& data, MessageParcel& reply, MessageOption& option) override;
32 int32_t OnGetFontScaleInner(MessageParcel& data, MessageParcel& reply, MessageOption& option);
33 int32_t OnSetFontScaleInner(MessageParcel& data, MessageParcel& reply, MessageOption& option);
34 int32_t OnGetFontWeightScaleInner(MessageParcel& data, MessageParcel& reply, MessageOption& option);
35 int32_t OnSetFontWeightScaleInner(MessageParcel& data, MessageParcel& reply, MessageOption& option);
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getappinstallcontrolrule_fuzzer/
H A Dgetappinstallcontrolrule_fuzzer.cpp25 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
31 std::string appId (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
33 appControl.GetAppInstallControlRule(controlRuleType, reinterpret_cast<uintptr_t>(data), appIds); in DoSomethingInterestingWithMyAPI()
39 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
41 // Run your code on data. in LLVMFuzzerTestOneInput()
42 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getbundlegids_fuzzer/
H A Dgetbundlegids_fuzzer.cpp25 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
29 std::string bundleName (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
31 gids.push_back(reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
38 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
40 // Run your code on data. in LLVMFuzzerTestOneInput()
41 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/getdisposedstatus_fuzzer/
H A Dgetdisposedstatus_fuzzer.cpp27 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
32 std::string appId (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
33 std::string bundleName (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
43 // Run your code on data. in LLVMFuzzerTestOneInput()
44 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_information/queryallabilityinfos_fuzzer/
H A Dqueryallabilityinfos_fuzzer.cpp27 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
33 std::string bundleName (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
35 bundleMgrProxy.QueryAllAbilityInfos(want, reinterpret_cast<uintptr_t>(data), abilityInfos); in DoSomethingInterestingWithMyAPI()
41 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
43 // Run your code on data. in LLVMFuzzerTestOneInput()
44 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/disabledynamicicon_fuzzer/
H A Ddisabledynamicicon_fuzzer.cpp25 bool fuzzelDisableDynamicIconCaseOne(const uint8_t* data, size_t size) in fuzzelDisableDynamicIconCaseOne() argument
36 bool fuzzelDisableDynamicIconCaseTwo(const uint8_t* data, size_t size) in fuzzelDisableDynamicIconCaseTwo() argument
47 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
49 OHOS::fuzzelDisableDynamicIconCaseOne(data, size); in LLVMFuzzerTestOneInput()
50 OHOS::fuzzelDisableDynamicIconCaseTwo(data, size); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/parse_fuzzer/
H A Dparse_fuzzer.cpp30 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
32 if ((size <= 4) || (data == nullptr)) { in DoSomethingInterestingWithMyAPI()
42 retCode = fputs(reinterpret_cast<const char*>(data), pFile); in DoSomethingInterestingWithMyAPI()
63 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
65 /* Run your code on data */ in LLVMFuzzerTestOneInput()
66 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/addappInstallcontrolrule_fuzzer/
H A DaddappInstallcontrolrule_fuzzer.cpp25 bool DoSomethingInterestingWithMyAPI(const uint8_t* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
31 std::string appId (reinterpret_cast<const char*>(data), size); in DoSomethingInterestingWithMyAPI()
33 appControl.AddAppInstallControlRule(appIds, controlRuleType, reinterpret_cast<uintptr_t>(data)); in DoSomethingInterestingWithMyAPI()
39 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
41 // Run your code on data. in LLVMFuzzerTestOneInput()
42 OHOS::DoSomethingInterestingWithMyAPI(data, size); in LLVMFuzzerTestOneInput()

Completed in 13 milliseconds

1...<<919293949596979899100>>...421