Home
last modified time | relevance | path

Searched refs:std (Results 21751 - 21775 of 65967) sorted by relevance

1...<<871872873874875876877878879880>>...2639

/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dquant_param.cpp22 void QuantParams::SetScales(const std::vector<double>& scales) in SetScales()
27 void QuantParams::SetZeroPoints(const std::vector<int32_t>& zeroPoints) in SetZeroPoints()
32 void QuantParams::SetNumBits(const std::vector<uint32_t>& numBits) in SetNumBits()
37 std::vector<double> QuantParams::GetScales() const in GetScales()
42 std::vector<int32_t> QuantParams::GetZeroPoints() const in GetZeroPoints()
47 std::vector<uint32_t> QuantParams::GetNumBits() const in GetNumBits()
52 OH_NN_ReturnCode QuantParams::CopyToCompat(std::vector<OHOS::NeuralNetworkRuntime::QuantParam>& compatQuantParams) const in CopyToCompat()
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/
H A Dmock_bundle_mgr_helper.h27 class BundleMgrHelper : public std::enable_shared_from_this<BundleMgrHelper> {
31 ErrCode GetSandboxBundleInfo(const std::string &bundleName, int32_t appIndex, int32_t userId, BundleInfo &info);
33 bool GetBundleInfo(const std::string &bundleName, const BundleFlag flag, BundleInfo &bundleInfo, int32_t userId);
35 bool GetApplicationInfo(const std::string &appName, uint32_t flags, int32_t userId, ApplicationInfo &appInfo);
37 ErrCode GetCloneBundleInfo(const std::string &bundleName, int32_t flags, int32_t appCloneIndex,
40 std::string GetAppIdByBundleName(const std::string &bundleName, const int32_t userId);
/foundation/ability/idl_tool/idl_tool_2/codegen/SA/
H A Dsa_code_emitter.h26 using TypeEmitterMap = std::unordered_map<TypeKind, AutoPtr<SaTypeEmitter>>;
30 bool OutPut(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode) override;
33 bool ResolveDirectory(const std::string &targetDirectory) override;
35 bool Reset(const AutoPtr<AST> &ast, const std::string &targetDirectory, GenMode mode);
41 std::string domainId_;
42 std::string logTag_;
43 std::string hitraceTag_;
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/continuation_manager/
H A Ddevice_selection_notifier_stub.cpp31 const std::string TAG = "DeviceSelectionNotifierStub";
38 std::u16string descriptor = IDeviceSelectionNotifier::GetDescriptor(); in OnRemoteRequest()
39 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
46 std::vector<ContinuationResult> continuationResults; in OnRemoteRequest()
54 std::vector<ContinuationResult> continuationResults; in OnRemoteRequest()
68 int32_t DeviceSelectionNotifierStub::OnDeviceConnectInner(const std::vector<ContinuationResult>& continuationResults) in OnDeviceConnectInner()
75 int32_t DeviceSelectionNotifierStub::OnDeviceDisconnectInner(const std::vector<ContinuationResult>& continuationResults) in OnDeviceDisconnectInner()
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_core/
H A Dcompiler.h34 virtual OH_NN_ReturnCode SetCacheDir(const std::string& cacheModelPath, uint32_t version) = 0;
47 virtual OH_NN_ReturnCode SetExtensionConfig(const std::unordered_map<std::string, std::vector<char>>& configs) = 0;
48 virtual OH_NN_ReturnCode SetOptions(const std::vector<std::shared_ptr<void>>& options) = 0;
49 virtual OH_NN_ReturnCode GetModelName(std::string& modelName) = 0;
/foundation/ability/form_fwk/interfaces/inner_api/src/
H A Dform_ecological_rule_param.cpp37 auto *info = new (std::nothrow) FormErmsCallerInfo(); in Unmarshalling()
102 std::string FormErmsCallerInfo::ToString() const in ToString()
104 std::string str = "CallerInfo{packageName:" + packageName + ",uid:" + std::to_string(uid) + in ToString()
105 ",pid:" + std::to_string(pid) + ",callerAppType:" + std::to_string(callerAppType) + in ToString()
106 ",targetAppType:" + std::to_string(targetAppType) + "}"; in ToString()
/foundation/ability/ability_runtime/test/unittest/app_preloader_test/
H A Dapp_preloader_test.cpp32 std::shared_ptr<RemoteClientManager> remoteClientManager_ = nullptr;
37 remoteClientManager_ = std::make_shared<RemoteClientManager>(); in SetUp()
38 auto bundleMgrHelper = std::make_shared<BundleMgrHelper>(); in SetUp()
53 auto manager = std::make_shared<AppPreloader>(remoteClientManager_); in HWTEST_F()
56 std::string bundleName = "com.acts.preloadtest"; in HWTEST_F()
72 auto manager = std::make_shared<AppPreloader>(remoteClientManager_); in HWTEST_F()
75 std::string bundleName = "com.acts.preloadtest"; in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/continueability_fuzzer/
H A Dcontinueability_fuzzer.cpp44 std::string deviceId(data, size); in DoSomethingInterestingWithMyAPI()
60 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
71 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
77 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/frameworks/js/napi/mission_manager/
H A Djs_mission_listener.h47 void OnMissionIconUpdated(int32_t missionId, const std::shared_ptr<Media::PixelMap> &icon) override;
50 void CallJsMissionIconUpdated(int32_t missionId, const std::shared_ptr<Media::PixelMap> &icon);
54 void CallJsMethod(const std::string &methodName, int32_t missionId);
55 void CallJsMethodInner(const std::string &methodName, int32_t missionId);
58 std::map<int32_t, std::shared_ptr<NativeReference>> jsListenerObjectMap_;
59 std::shared_ptr<OHOS::AppExecFwk::EventHandler> mainHandler_;
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_cast_session_manager_listener.h36 using NapiArgsGetter = std::function<void(napi_env env, int &argc, napi_value *argv)>;
47 void OnDeviceFound(const std::vector<CastRemoteDevice> &deviceList) override;
48 void OnDeviceOffline(const std::string &deviceId) override;
49 void OnSessionCreated(const std::shared_ptr<ICastSession> &castSession) override;
59 std::mutex lock_;
60 std::shared_ptr<NapiCallback> callback_;
61 std::list<napi_ref> callbacks_[EVENT_TYPE_MAX] {};
/foundation/ability/ability_runtime/test/fuzztest/registerenvironmentcallback_fuzzer/
H A Dregisterenvironmentcallback_fuzzer.cpp47 std::shared_ptr<EnvironmentCallbackFuzz> callback; in DoSomethingInterestingWithMyAPI()
59 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
70 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
76 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/CastEngine/castengine_wifi_display/services/interaction/device_kit/
H A Ddm_kit.cpp21 const std::string PKG_NAME = "sharing_framework";
23 std::vector<OHOS::DistributedHardware::DmDeviceInfo> DmKit::trustedDeviceInfos_ = {};
33 auto callback = std::make_shared<DmKitInitDMCallback>(); in InitDeviceManager()
57 std::vector<OHOS::DistributedHardware::DmDeviceInfo> &DmKit::GetTrustedDevicesInfo() in GetTrustedDevicesInfo()
72 std::string DmKit::GetIpAddrByNetworkId(const std::string &networkId) in GetIpAddrByNetworkId()
79 std::string ipAddr = ""; in GetIpAddrByNetworkId()
/foundation/ability/ability_runtime/test/fuzztest/unregisterenvironmentcallback_fuzzer/
H A Dunregisterenvironmentcallback_fuzzer.cpp47 std::shared_ptr<EnvironmentCallbackFuzz> callback; in DoSomethingInterestingWithMyAPI()
59 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
70 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
76 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/unittest/ability_interceptor_third_test/
H A Dability_interceptor_third_test.cpp61 std::shared_ptr<AbilityInterceptorExecuter> executer = std::make_shared<AbilityInterceptorExecuter>(); in HWTEST_F()
62 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F()
78 std::shared_ptr<AbilityInterceptorExecuter> executer = std::make_shared<AbilityInterceptorExecuter>(); in HWTEST_F()
79 std::shared_ptr<AAFwk::TaskHandlerWrap> taskHandler = AAFwk::TaskHandlerWrap::CreateQueueHandler("SetTaskHandler"); in HWTEST_F()
80 executer->AddInterceptor("CrowdTest", std::make_shared<CrowdTestInterceptor>()); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dfree_install_observer_stub.cpp32 std::string bundleName = data.ReadString(); in OnInstallFinishedInner()
33 std::string abilityName = data.ReadString(); in OnInstallFinishedInner()
34 std::string startTime = data.ReadString(); in OnInstallFinishedInner()
43 std::string startTime = data.ReadString(); in OnInstallFinishedByUrlInner()
44 std::string url = data.ReadString(); in OnInstallFinishedByUrlInner()
54 std::u16string descriptor = FreeInstallObserverStub::GetDescriptor(); in OnRemoteRequest()
55 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
/foundation/CastEngine/castengine_wifi_display/services/interaction/scene/
H A Dbase_scene.h33 using Ptr = std::shared_ptr<BaseScene>;
56 void SetSharingAdapter(std::weak_ptr<ISharingAdapter> sharingAdapter) in SetSharingAdapter()
65 virtual void OnDomainMsg(std::shared_ptr<BaseDomainMsg> &msg) = 0;
66 virtual void SetIpcAdapter(const std::weak_ptr<IpcMsgAdapter> &adapter) = 0;
69 std::string message = "inner error") = 0;
74 std::weak_ptr<IpcMsgAdapter> ipcAdapter_;
75 std::weak_ptr<ISharingAdapter> sharingAdapter_;
/foundation/ability/ability_base/test/unittest/viewdata/
H A Dpage_node_info_test.cpp28 static const std::string TJSON =
61 std::string jsonStr = "jsonStr"; in HWTEST_F()
62 std::shared_ptr<PageNodeInfo> pageNodeInfo = std::make_shared<PageNodeInfo>(); in HWTEST_F()
66 std::string ret = pageNodeInfo->ToJsonString(); in HWTEST_F()
77 std::shared_ptr<AAFwk::SessionInfo> sessioninfo = std::make_shared<AAFwk::SessionInfo>(); in HWTEST_F()
H A Dview_data_test.cpp28 static const std::string TJSON =
60 std::string jsonStr = "jsonStr"; in HWTEST_F()
61 std::shared_ptr<ViewData> viewdata = std::make_shared<ViewData>(); in HWTEST_F()
65 std::string ret = viewdata->ToJsonString(); in HWTEST_F()
76 std::shared_ptr<AAFwk::SessionInfo> sessioninfo = std::make_shared<AAFwk::SessionInfo>(); in HWTEST_F()
H A Drect_test.cpp28 static const std::string tJson = "{\"height\":0.0,\"left\":0.0,\"top\":0.0,\"width\":0.0}";
57 std::string jsonStr = "jsonStr"; in HWTEST_F()
58 std::shared_ptr<Rect> rect = std::make_shared<Rect>(); in HWTEST_F()
62 std::string ret = rect->ToJsonString(); in HWTEST_F()
73 std::shared_ptr<AAFwk::SessionInfo> sessioninfo = std::make_shared<AAFwk::SessionInfo>(); in HWTEST_F()
/foundation/ability/ability_runtime/test/fuzztest/notifycompletecontinuation_fuzzer/
H A Dnotifycompletecontinuation_fuzzer.cpp44 std::string deviceId(data, size); in DoSomethingInterestingWithMyAPI()
60 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
71 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
77 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/ability/ability_runtime/test/fuzztest/startsyncremotemissions_fuzzer/
H A Dstartsyncremotemissions_fuzzer.cpp40 std::string devId(data, size); in DoSomethingInterestingWithMyAPI()
54 std::cout << "invalid data" << std::endl; in LLVMFuzzerTestOneInput()
65 std::cout << "malloc failed." << std::endl; in LLVMFuzzerTestOneInput()
71 std::cout << "copy failed." << std::endl; in LLVMFuzzerTestOneInput()
/foundation/arkui/ace_engine/frameworks/core/components/declaration/richtext/
H A Drich_text_declaration.cpp30 bool RichTextDeclaration::SetSpecializedAttr(const std::pair<std::string, std::string>& attr) in SetSpecializedAttr() argument
32 static const LinearMapNode<void (*)(RichTextDeclaration&, const std::string&)> richTextAttrOperators[] = { in SetSpecializedAttr()
34 [](RichTextDeclaration& declaration, const std::string& data) { declaration.SetData(data); } in SetSpecializedAttr()
45 bool RichTextDeclaration::SetSpecializedEvent(int32_t pageId, const std::string& eventId, const std::string& event) in SetSpecializedEvent()
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/
H A Dxcomponent_delegate.h30 using CreatedCallback = std::function<void()>;
31 using ReleasedCallback = std::function<void(bool)>;
32 using EventCallback = std::function<void()>;
44 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError, const std::string& type) in XComponentDelegate()
45 : XComponentResource(type, context, std::move(onError)), in XComponentDelegate()
67 std::list<CreatedCallback> createdCallbacks_;
68 std::list<ReleasedCallback> releasedCallbacks_;
/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_element.h51 void HandleOptionClickedEvent(std::size_t index);
52 void HandleOptionModifiedEvent(std::size_t index);
62 std::function<void(const std::string&)> onChangeCallback_;
66 std::function<void(std::size_t, std::string)> onSelected_;
/foundation/arkui/ace_engine/frameworks/core/components_ng/layout/
H A Dlayout_wrapper_builder.h40 virtual const std::list<RefPtr<LayoutWrapper>>& GetCachedChildLayoutWrapper() = 0;
42 const std::list<RefPtr<LayoutWrapper>>& ExpandAllChildWrappers();
61 void SetCacheCount(int32_t cacheCount, const std::optional<LayoutConstraintF>& itemConstraint = std::nullopt) in SetCacheCount() argument
79 virtual const std::list<RefPtr<LayoutWrapper>>& OnExpandChildLayoutWrapper() = 0;
81 std::unordered_map<int32_t, RefPtr<LayoutWrapper>> wrapperMap_;
83 std::optional<LayoutConstraintF> itemConstraint_;

Completed in 28 milliseconds

1...<<871872873874875876877878879880>>...2639