Home
last modified time | relevance | path

Searched refs:std (Results 11376 - 11400 of 67801) sorted by relevance

1...<<451452453454455456457458459460>>...2713

/base/useriam/face_auth/test/unittest/mock/
H A Dmock_iall_in_one_executor.h32 int32_t(const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &frameworkPublicKey,
33 const std::vector<uint8_t> &extraInfo));
35 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
38 int32_t(uint64_t scheduleId, const std::vector<uint64_t> &templateIdList, const std::vector<uint8_t> &extraInfo,
41 int32_t(uint64_t scheduleId, const std::vector<uint8_t> &extraInfo,
43 MOCK_METHOD1(Delete, int32_t(const std::vector<uint64_t> &templateIdList));
46 int32_t(int32_t commandId, const std::vector<uint8_t> &extraInfo, const sptr<IExecutorCallback> &callbackObj));
48 int32_t(const std
[all...]
/base/useriam/user_auth_framework/services/core/inc/
H A Dauthentication.h35 std::vector<uint8_t> challenge;
37 std::string callerName;
48 std::vector<uint8_t> token;
49 std::vector<uint8_t> rootSecret;
56 std::vector<uint8_t> remoteAuthResultMsg;
62 std::vector<uint8_t> msg;
67 virtual void SetChallenge(const std::vector<uint8_t> &challenge) = 0;
70 virtual void SetCollectorUdid(std::string &collectorUdid) = 0;
72 virtual bool Start(std::vector<std
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/include/softbus_adapter/allconnectmgr/
H A Ddsched_all_connect_manager.h34 int32_t PublishServiceState(const std::string &peerNetworkId, const std::string &extraInfo,
36 int32_t ApplyAdvanceResource(const std::string &peerNetworkId,
46 int32_t WaitAllConnectApplyCb(const std::string &peerNetworkId);
47 void NotifyAllConnectDecision(const std::string &peerNetworkId, bool isSupport);
59 static std::queue<std::string> peerConnectCbQueue_;
62 std::mutex allConnectMgrLock_;
71 std::mutex connectDecisionMutex_;
72 std
[all...]
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_union_type.h32 inline void SetName(const std::string &name) override
37 inline std::string GetName() override
59 void AddMember(const AutoPtr<ASTType> &typeName, std::string name);
66 inline std::string GetMemberName(size_t index) in GetMemberName()
69 return std::string(""); in GetMemberName()
71 return std::get<0>(members_[index]); in GetMemberName()
79 return std::get<1>(members_[index]); in GetMemberType()
82 std::string GetSignature() override;
86 std::string Dump(const std
[all...]
H A Dast_struct_type.cpp27 std::vector<std::tuple<std::string, AutoPtr<ASTType>>> parentMembers = parentType->GetMembers(); in SetParentType()
29 AddMember(std::get<1>(member), std::get<0>(member)); in SetParentType()
34 void ASTStructType::AddMember(const AutoPtr<ASTType> &typeName, std::string name) in AddMember()
37 if (std::get<0>(it) == name) { in AddMember()
41 members_.push_back(std::make_tuple(name, typeName)); in AddMember()
48 std::string ASTStructType::GetSignature() in GetSignature()
58 std
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/src/dfx/
H A Ddistributed_sched_dumper.cpp27 const std::string TAG = "DistributedSchedDumper";
28 const std::string HIDUMPER_PROCESS_NAME = "hidumper_service";
29 const std::string ARGS_HELP = "-h";
30 const std::string ARGS_CONNECT_REMOTE_ABILITY = "-connect";
31 const std::string ARGS_CONNECT_CONTINUETIME_ABILITY = "-continueTime";
35 bool DistributedSchedDumper::Dump(const std::vector<std::string>& args, std::string& result) in Dump()
77 bool DistributedSchedDumper::DumpDefault(std::string& result) in DumpDefault()
85 void DistributedSchedDumper::ShowConnectRemoteAbility(std
[all...]
/foundation/ability/form_fwk/services/src/
H A Dform_serial_queue.cpp28 FormSerialQueue::FormSerialQueue(const std::string &queueName): queue_(queueName.c_str()) in FormSerialQueue()
38 bool FormSerialQueue::ScheduleTask(uint64_t ms, std::function<void()> func) in ScheduleTask()
41 if (ms > (std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR)) { in ScheduleTask()
45 std::unique_lock<std::shared_mutex> lock(mutex_); in ScheduleTask()
55 void FormSerialQueue::ScheduleDelayTask(const std::pair<int64_t, int64_t> &eventMsg, in ScheduleDelayTask() argument
56 uint32_t ms, std::function<void()> func) in ScheduleDelayTask()
59 std::unique_lock<std::shared_mutex> lock(mutex_); in ScheduleDelayTask()
65 taskMap_[eventMsg] = std in ScheduleDelayTask()
69 CancelDelayTask(const std::pair<int64_t, int64_t> &eventMsg) CancelDelayTask() argument
[all...]
/foundation/ability/form_fwk/services/form_render_service/src/
H A Dform_render_serial_queue.cpp29 FormRenderSerialQueue::FormRenderSerialQueue(const std::string &queueName): queue_(queueName.c_str()) in FormRenderSerialQueue()
39 bool FormRenderSerialQueue::ScheduleTask(uint64_t ms, std::function<void()> func) in ScheduleTask()
42 if (ms > (std::numeric_limits<uint64_t>::max() / CONVERSION_FACTOR)) { in ScheduleTask()
46 std::unique_lock<std::shared_mutex> lock(mutex_); in ScheduleTask()
56 void FormRenderSerialQueue::ScheduleDelayTask(const std::string &taskName, in ScheduleDelayTask()
57 uint32_t ms, std::function<void()> func) in ScheduleDelayTask()
60 std::unique_lock<std::shared_mutex> lock(mutex_); in ScheduleDelayTask()
66 taskMap_[taskName] = std in ScheduleDelayTask()
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dfree_install_observer_manager.h30 class FreeInstallObserverManager : public std::enable_shared_from_this<FreeInstallObserverManager> {
37 void OnInstallFinished(int32_t recordId, const std::string &bundleName, const std::string &abilityName,
38 const std::string &startTime, const int &resultCode);
40 void OnInstallFinishedByUrl(int32_t recordId, const std::string &startTime, const std::string &url,
46 void HandleOnInstallFinished(int32_t recordId, const std::string &bundleName, const std::string &abilityName,
47 const std::string &startTime, const int &resultCode);
49 void HandleOnInstallFinishedByUrl(int32_t recordId, const std
[all...]
/foundation/ability/ability_runtime/services/quickfixmgr/include/
H A Dquick_fix_manager_apply_task.h27 class QuickFixManagerApplyTask : public std::enable_shared_from_this<QuickFixManagerApplyTask> {
30 std::shared_ptr<AppExecFwk::EventHandler> handler, wptr<QuickFixManagerService> service) in QuickFixManagerApplyTask()
41 void Run(const std::vector<std::string> &quickFixFiles, bool isDebug = false);
46 bool SetQuickFixInfo(const std::shared_ptr<AppExecFwk::QuickFixResult> &result);
60 void InitRevokeTask(const std::string &bundleName, bool isSoContained);
61 std::string GetBundleName();
68 void PostDeployQuickFixTask(const std::vector<std::string> &quickFixFiles, bool isDebug = false);
82 std
[all...]
/foundation/ability/ability_runtime/services/dataobsmgr/include/
H A Ddataobs_mgr_service.h44 public std::enable_shared_from_this<DataObsMgrService> {
67 int Dump(int fd, const std::vector<std::u16string>& args) override;
71 void Dump(const std::vector<std::u16string>& args, std::string& result) const;
72 void ShowHelp(std::string& result) const;
75 static constexpr std::uint32_t TASK_COUNT_MAX = 50;
77 std::uint32_t taskCount_ = 0;
78 std
[all...]
/foundation/CastEngine/castengine_wifi_display/interfaces/innerkits/native/wfd/include/
H A Dwfd_sink.h31 virtual int32_t Play(std::string deviceId) = 0;
32 virtual int32_t Pause(std::string deviceId) = 0;
33 virtual int32_t Close(std::string deviceId) = 0;
35 virtual int32_t Mute(std::string deviceId) = 0;
36 virtual int32_t UnMute(std::string deviceId) = 0;
40 virtual int32_t AppendSurface(std::string deviceId, uint64_t surfaceId) = 0;
41 virtual int32_t RemoveSurface(std::string deviceId, uint64_t surfaceId) = 0;
43 virtual int32_t SetListener(const std::shared_ptr<IWfdEventListener> &listener) = 0;
45 virtual int32_t SetSceneType(std::string deviceId, uint64_t surfaceId, SceneType sceneType) = 0;
46 virtual int32_t SetMediaFormat(std
[all...]
/foundation/ability/ability_runtime/test/moduletest/module_test_dump_util/
H A Dmodule_test_dump_util.h27 using str_vec = std::vector<std::string>;
28 using str_iter = std::vector<std::string>::iterator;
29 using dump_info_map = std::unordered_map<std::string, std::string>;
30 using std::regex;
31 using std::string;
36 static std
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dbundle_container.cpp32 void BundleContainer::LoadBundleInfos(const std::vector<uint8_t> &buffer) in LoadBundleInfos()
34 bundleInfo_ = std::make_shared<InnerBundleInfo>(); in LoadBundleInfos()
45 std::shared_ptr<ApplicationInfo> BundleContainer::GetApplicationInfo() const in GetApplicationInfo()
48 auto appInfo = std::make_shared<ApplicationInfo>(); in GetApplicationInfo()
55 std::shared_ptr<HapModuleInfo> BundleContainer::GetHapModuleInfo(const std::string &modulePackage) const in GetHapModuleInfo()
61 std::optional<HapModuleInfo> hapMouduleInfo = bundleInfo_->FindHapModuleInfo(modulePackage, uid); in GetHapModuleInfo()
63 auto hapInfo = std::make_shared<HapModuleInfo>(); in GetHapModuleInfo()
71 std::shared_ptr<AbilityInfo> BundleContainer::GetAbilityInfo( in GetAbilityInfo()
72 const std in GetAbilityInfo()
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/uri_permission/include/
H A Duri_permission_manager_client.h26 using ClearProxyCallback = std::function<void()>;
39 int GrantUriPermission(const Uri &uri, unsigned int flag, const std::string targetBundleName, int32_t appIndex = 0,
49 int GrantUriPermission(const std::vector<Uri> &uriVec, unsigned int flag, const std::string targetBundleName,
61 int32_t GrantUriPermissionPrivileged(const std::vector<Uri> &uriVec, uint32_t flag,
62 const std::string &targetBundleName, int32_t appIndex = 0, uint32_t initiatorTokenId = 0,
87 int RevokeUriPermissionManually(const Uri &uri, const std::string bundleName, int32_t appIndex = 0);
105 std::vector<bool> CheckUriAuthorization(const std::vector<std
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_document.h43 RefPtr<DOMNode> CreateNodeWithId(const std::string& tag, NodeId nodeId, int32_t itemIndex = -1);
45 RefPtr<DOMProxy> CreateProxyNodeWithId(const std::string& tag, NodeId nodeId);
74 void AddNodeWithId(const std::string& key, const RefPtr<DOMNode>& domNode);
75 void AddNodeWithTarget(const std::string& key, const RefPtr<DOMNode>& domNode);
89 const std::unordered_set<NodeId>& GetProxyRelatedNodes() const in GetProxyRelatedNodes()
103 std::unordered_map<NodeId, RefPtr<DOMNode>> domNodes_;
105 std::unordered_set<NodeId> proxyRelatedNode_;
114 std::vector<std::pair<std
[all...]
H A Ddom_dialog.h28 DOMDialog(NodeId nodeId, const std::string& nodeName);
36 void CallSpecializedMethod(const std::string& method, const std::string& args) override;
40 bool SetSpecializedStyle(const std::pair<std::string, std::string>& style) override;
41 bool AddSpecializedEvent(int32_t pageId, const std::string& event) override;
45 bool SetSpecializedAttr(const std::pair<std::string, std
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Dui_context_helper.cpp23 std::unordered_map<int32_t, panda::Global<panda::JSValueRef>> UIContextHelper::uiContextMap_;
24 std::shared_mutex UIContextHelper::uiContextMapMutex_;
28 std::unique_lock<std::shared_mutex> lock(uiContextMapMutex_); in AddUIContext()
37 std::unique_lock<std::shared_mutex> lock(uiContextMapMutex_); in RemoveUIContext()
43 std::shared_lock<std::shared_mutex> lock(uiContextMapMutex_); in GetUIContext()
58 std::shared_lock<std in HasUIContext()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dlazy_foreach.h43 std::pair<std::string, RefPtr<NG::UINode>> OnGetChildByIndex(
44 int32_t index, std::unordered_map<std::string, std::pair<int32_t, RefPtr<NG::UINode>>>& cachedItems) override;
45 std::pair<std::string, RefPtr<NG::UINode>> OnGetChildByIndexNew(int32_t index,
46 std::map<int32_t, NG::LazyForEachChild>& cachedItems,
47 std::unordered_map<std
[all...]
H A Dinteractable_view.cpp32 static GestureEventFunc GestureEventWrapper(std::function<void(const ClickInfo& clickInfo)> callback) in GestureEventWrapper()
44 void InteractableView::OnClick(std::function<void(const ClickInfo& clickInfo)> callback) in OnClick()
52 void InteractableView::OnTouch(std::function<void(TouchEventInfo& touchInfo)> callback) in OnTouch()
55 ViewAbstractModel::GetInstance()->SetOnTouch(std::move(callback)); in OnTouch()
58 void InteractableView::OnAppear(std::function<void()> callback) in OnAppear()
60 ViewAbstractModel::GetInstance()->SetOnAppear(std::move(callback)); in OnAppear()
63 void InteractableView::OnDisAppear(std::function<void()> callback) in OnDisAppear()
65 ViewAbstractModel::GetInstance()->SetOnDisAppear(std::move(callback)); in OnDisAppear()
68 void InteractableView::OnHover(std::function<void(bool)> callback) in OnHover()
75 void InteractableView::OnKey(std
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dcustom_dialog_controller_model_impl.h25 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
26 std::function<void()>&& buildFunc, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog,
27 std::list<DialogOperation>& dialogOperation) override;
29 std::vector<WeakPtr<AceType>>& dialogs, bool& pending, bool& isShown, std::function<void()>&& cancelTask,
31 std::list<DialogOperation>& dialogOperation) override;
35 std::function<void()>&& cancelTask, RefPtr<AceType>& dialogComponent, RefPtr<AceType>& customDialog,
36 std::list<DialogOperation>& dialogOperation);
38 std
[all...]
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dace_preview_helper.h25 using CallbackTypeIsCurrentRunnerThread = std::function<bool(void)>;
26 using CallbackTypePostTask = std::function<void(const std::function<void()>&, int64_t)>;
27 using CallbackTypeHspBufferTracker = std::function<bool(const std::string&, uint8_t**, size_t*, std::string&)>;
28 using CallbackTypeSetClipboardData = std::function<void(const std::string&)>;
29 using CallbackTypeGetClipboardData = std::function<const std
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dsearch_composed_element.cpp24 const std::unordered_map<std::string, std::function<std::string(const SearchComposedElement&)>> CREATE_JSON_MAP {
33 DumpLog::GetInstance().AddDesc(std::string("search_composed_element")); in Dump()
35 std::string("icon: ").append(GetIcon())); in Dump()
37 std::string("searchButton: ").append(GetSearchButton())); in Dump()
40 std::unique_ptr<OHOS::Ace::JsonValue> SearchComposedElement::ToJsonObject() const in ToJsonObject()
49 std::string SearchComposedElement::GetIcon(void) const in GetIcon()
52 std in GetIcon()
[all...]
H A Dtime_picker_dialog_composed_element.cpp24 const std::unordered_map<std::string,
25 std::function<std::string(const TimePickerDialogComposedElement&)>> CREATE_JSON_MAP {
33 DumpLog::GetInstance().AddDesc(std::string("show: ").append(GetShow())); in Dump()
36 std::unique_ptr<JsonValue> TimePickerDialogComposedElement::ToJsonObject() const in ToJsonObject()
45 std::string TimePickerDialogComposedElement::GetShow() const in GetShow()
55 std::string TimePickerDialogComposedElement::GetSelected() const in GetSelected()
60 std::string selectedDate; in GetSelected()
61 selectedDate += std in GetSelected()
[all...]
H A Dtime_picker_composed_element.cpp24 const std::unordered_map<std::string, std::function<std::string(const TimePickerComposedElement&)>> CREATE_JSON_MAP {
33 DumpLog::GetInstance().AddDesc(std::string("select: ").append(GetSelected())); in Dump()
34 DumpLog::GetInstance().AddDesc(std::string("useMilitaryTime: ").append(GetUseMilitaryTime())); in Dump()
37 std::unique_ptr<JsonValue> TimePickerComposedElement::ToJsonObject() const in ToJsonObject()
46 std::string TimePickerComposedElement::GetSelected() const in GetSelected()
51 std::string selectedDate; in GetSelected()
52 selectedDate += std in GetSelected()
[all...]

Completed in 21 milliseconds

1...<<451452453454455456457458459460>>...2713