Home
last modified time | relevance | path

Searched refs:std (Results 11851 - 11875 of 35823) sorted by relevance

1...<<471472473474475476477478479480>>...1433

/foundation/ability/ability_runtime/test/fuzztest/abilitystubunregisterconnectionobserver_fuzzer/
H A Dabilitystubunregisterconnectionobserver_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubunregistercollaborator_fuzzer/
H A Dabilitystubunregistercollaborator_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/releasedataability_fuzzer/
H A Dreleasedataability_fuzzer.cpp40 std::shared_ptr<AbilityRecord> abilityRecord = AbilityRecord::CreateAbilityRecord(abilityRequest); in GetFuzzAbilityToken()
58 std::cout << "Get ability token failed." << std::endl; in DoSomethingInterestingWithMyAPI()
75 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
86 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
92 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/startcontinuation_fuzzer/
H A Dstartcontinuation_fuzzer.cpp43 std::shared_ptr<AbilityRecord> abilityRecord = AbilityRecord::CreateAbilityRecord(abilityRequest); in GetFuzzAbilityToken()
61 std::cout << "Get ability token failed." << std::endl; in DoSomethingInterestingWithMyAPI()
90 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
101 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
107 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dextension_second_test.cpp42 std::shared_ptr<AbilityRuntime::Extension> extension_;
55 std::shared_ptr<AbilityInfo> info = std::make_shared<AbilityInfo>(); in SetUp()
57 auto record = std::make_shared<AbilityLocalRecord>(info, token, nullptr, 0); in SetUp()
58 auto application = std::make_shared<AppExecFwk::OHOSApplication>(); in SetUp()
59 std::shared_ptr<EventRunner> runner; in SetUp()
60 auto handler = std::make_shared<AppExecFwk::AbilityHandler>(runner); in SetUp()
61 extension_ = std::make_shared<AbilityRuntime::Extension>(); in SetUp()
77 auto extension = std::make_shared<AbilityRuntime::Extension>(); in HWTEST_F()
H A Dability_local_record_test.cpp62 auto record = std::make_shared<OHOS::AppExecFwk::AbilityLocalRecord>(nullptr, nullptr, nullptr, 0); in HWTEST_F()
77 std::shared_ptr<AAFwk::Want> want; in HWTEST_F()
78 auto record = std::make_shared<OHOS::AppExecFwk::AbilityLocalRecord>(nullptr, nullptr, want, 0); in HWTEST_F()
91 auto info = std::make_shared<OHOS::AppExecFwk::AbilityInfo>(); in HWTEST_F()
92 sptr<IRemoteObject> token = new (std::nothrow) MockAbilityToken(); in HWTEST_F()
93 auto record = std::make_shared<OHOS::AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F()
106 auto info = std::make_shared<OHOS::AppExecFwk::AbilityInfo>(); in HWTEST_F()
107 sptr<IRemoteObject> token = new (std::nothrow) MockAbilityToken(); in HWTEST_F()
108 auto record = std::make_shared<OHOS::AppExecFwk::AbilityLocalRecord>(info, token, nullptr, 0); in HWTEST_F()
/foundation/ability/ability_runtime/interfaces/inner_api/uri_permission/include/
H A Duri_permission_manager_proxy.h31 const std::string targetBundleName, int32_t appIndex = 0, uint32_t initiatorTokenId = 0,
34 virtual int GrantUriPermission(const std::vector<Uri> &uriVec, unsigned int flag,
35 const std::string targetBundleName, int32_t appIndex = 0, uint32_t initiatorTokenId = 0,
38 virtual int32_t GrantUriPermissionPrivileged(const std::vector<Uri> &uriVec, uint32_t flag,
39 const std::string &targetBundleName, int32_t appIndex, uint32_t initiatorTokenId,
43 virtual int RevokeUriPermissionManually(const Uri &uri, const std::string bundleName,
46 virtual std::vector<bool> CheckUriAuthorization(const std::vector<std::string> &uriVec,
/foundation/ability/ability_runtime/services/appmgr/include/
H A Dability_running_record.h31 AbilityRunningRecord(std::shared_ptr<AbilityInfo> info, sptr<IRemoteObject> token,
40 const std::string &GetName() const;
47 const std::string &GetBundleName() const;
54 const std::string &GetModuleName() const;
61 const std::shared_ptr<AbilityInfo> &GetAbilityInfo() const;
68 const std::shared_ptr<AAFwk::Want> &GetWant() const;
70 void SetWant(const std::shared_ptr<AAFwk::Want> &want);
157 std::shared_ptr<AbilityInfo> info_;
158 std::shared_ptr<AAFwk::Want> want_ = nullptr;
/foundation/ability/ability_runtime/test/fuzztest/abilitystubabilityrecovery_fuzzer/
H A Dabilitystubabilityrecovery_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubconnectabilitywithtype_fuzzer/
H A Dabilitystubconnectabilitywithtype_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetabilitystatebypersistentid_fuzzer/
H A Dabilitystubgetabilitystatebypersistentid_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgetprocessrunninginfo_fuzzer/
H A Dabilitystubgetprocessrunninginfo_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubgettopability_fuzzer/
H A Dabilitystubgettopability_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubnotifycontinuationresult_fuzzer/
H A Dabilitystubnotifycontinuationresult_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubnotifysaveasresult_fuzzer/
H A Dabilitystubnotifysaveasresult_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubsendresulttoability_fuzzer/
H A Dabilitystubsendresulttoability_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubsendwantsender_fuzzer/
H A Dabilitystubsendwantsender_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubstartusertest_fuzzer/
H A Dabilitystubstartusertest_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubstartuser_fuzzer/
H A Dabilitystubstartuser_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilitystubunregistermissionlistener_fuzzer/
H A Dabilitystubunregistermissionlistener_fuzzer.cpp34 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.aafwk.AbilityManager";
47 std::make_shared<SubManagersHelper>(nullptr, nullptr); in DoSomethingInterestingWithMyAPI()
49 std::make_shared<UIAbilityLifecycleManager>(); in DoSomethingInterestingWithMyAPI()
61 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
72 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
78 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/delegatordoabilityforeground_fuzzer/
H A Ddelegatordoabilityforeground_fuzzer.cpp40 std::shared_ptr<AbilityRecord> abilityRecord = AbilityRecord::CreateAbilityRecord(abilityRequest); in GetFuzzAbilityToken()
62 std::cout << "Get ability token failed." << std::endl; in DoSomethingInterestingWithMyAPI()
79 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
90 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
96 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/getmissionidbytoken_fuzzer/
H A Dgetmissionidbytoken_fuzzer.cpp40 std::shared_ptr<AbilityRecord> abilityRecord = AbilityRecord::CreateAbilityRecord(abilityRequest); in GetFuzzAbilityToken()
62 std::cout << "Get ability token failed." << std::endl; in DoSomethingInterestingWithMyAPI()
80 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
91 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
97 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/renderstateobserverproxy_fuzzer/
H A Drenderstateobserverproxy_fuzzer.cpp46 const std::u16string APPMGR_INTERFACE_TOKEN = u"ohos.aafwk.AppManager";
57 auto renderStateObserverProxy = std::make_shared<RenderStateObserverProxy>(impl); in DoSomethingInterestingWithMyAPI()
58 std::string bundle(data, size); in DoSomethingInterestingWithMyAPI()
81 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
92 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
98 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilityconnectionstub_fuzzer/
H A Dabilityconnectionstub_fuzzer.cpp39 const std::u16string ABILITYMGR_INTERFACE_TOKEN = u"ohos.abilityshell.DistributedConnection";
71 std::shared_ptr<AbilityConnectionStub> abilityconnectionstub = std::make_shared<AbilityConnectionStubFuzzTest>(); in DoSomethingInterestingWithMyAPI()
84 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
95 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
101 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/abilityfirstframestateobservermanager_fuzzer/
H A Dabilityfirstframestateobservermanager_fuzzer.cpp52 std::string strParam(data, size); in DoSomethingInterestingWithMyAPI()
53 std::shared_ptr<AbilityRecord> abilityRecord; in DoSomethingInterestingWithMyAPI()
57 std::make_shared<AbilityFirstFrameStateObserverSet>(boolParam); in DoSomethingInterestingWithMyAPI()
79 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
88 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
93 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()

Completed in 18 milliseconds

1...<<471472473474475476477478479480>>...1433