Home
last modified time | relevance | path

Searched refs:std (Results 13901 - 13925 of 65967) sorted by relevance

1...<<551552553554555556557558559560>>...2639

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_datepicker.cpp47 const std::vector<DialogAlignment> DIALOG_ALIGNMENT = { DialogAlignment::TOP, DialogAlignment::CENTER,
51 const std::vector<HoverModeAreaType> HOVER_MODE_AREA_TYPE = { HoverModeAreaType::TOP_SCREEN,
56 const std::string TIMEPICKER_OPTIONS_NUMERIC_VAL = "numeric";
57 const std::string TIMEPICKER_OPTIONS_TWO_DIGIT_VAL = "2-digit";
60 std::unique_ptr<DatePickerModel> DatePickerModel::datePickerInstance_ = nullptr;
61 std::unique_ptr<DatePickerDialogModel> DatePickerDialogModel::datePickerDialogInstance_ = nullptr;
62 std::unique_ptr<TimePickerModel> TimePickerModel::timePickerInstance_ = nullptr;
63 std::unique_ptr<TimePickerDialogModel> TimePickerDialogModel::timePickerDialogInstance_ = nullptr;
64 std::mutex DatePickerModel::mutex_;
65 std
1151 DatePickerDialogShow(const JSRef<JSObject>& paramObj, const std::map<std::string, NG::DialogEvent>& dialogEvent, const std::map<std::string, NG::DialogGestureEvent>& dialogCancelEvent) DatePickerDialogShow() argument
1811 TimePickerDialogShow(const JSRef<JSObject>& paramObj, const std::map<std::string, NG::DialogEvent>& dialogEvent, const std::map<std::string, NG::DialogGestureEvent>& dialogCancelEvent) TimePickerDialogShow() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/
H A Ddraw_cmd.h111 virtual void Dump(std::string& out) const;
113 std::string GetOpDesc() const;
116 std::function<void (std::shared_ptr<Drawing::Image> image)> holdDrawingImagefunc);
117 static std::function<void (std::shared_ptr<Drawing::Image> image)> holdDrawingImagefunc_;
120 std::function<std::shared_ptr<Drawing::Typeface>(uint64_t)> customTypefaceQueryfunc);
121 static std::function<std
[all...]
/applications/standard/calendardata/calendarmanager/native/src/
H A Dnative_calendar_manager.cpp31 auto bundleName_tokeId = "?bundleName=" + bumdleName + "&tokenId=" + std::to_string(tokenId); in CalendarManager()
32 m_calendarUri = std::make_unique<Uri>(calendarUrl + bundleName_tokeId); in CalendarManager()
58 std::shared_ptr<Calendar> CalendarManager::CreateCalendar(const CalendarAccount& account) in CreateCalendar()
67 return std::make_shared<Calendar>(account, index); in CreateCalendar()
81 std::shared_ptr<Calendar> CalendarManager::GetCalendar(const std::optional<CalendarAccount>& account) in GetCalendar()
90 std::vector<std::string> columns = {"_id", "account_name", "account_type", "calendar_displayName"}; in GetCalendar()
100 return std::make_shared<Calendar>(-1); in GetCalendar()
103 return std in GetCalendar()
[all...]
/base/inputmethod/imf/services/include/
H A Dsys_cfg_parser.h29 std::string systemInputMethodConfigAbility;
30 std::string defaultInputMethod;
52 std::string bundleName;
53 std::string subName;
68 std::vector<InputTypeInfo> inputType;
76 std::vector<std::string> style;
93 std::vector<SysPanelAdjust> panelAdjust;
101 std::string appId;
102 std
[all...]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dwrite_controller.cpp39 uint64_t GenerateHash(const std::string& info) in GenerateHash()
57 std::string key; in ConcatenateInfoAsKey()
58 key.append(eventName).append("_").append(func).append("_").append(std::to_string(line)); in ConcatenateInfoAsKey()
68 std::list<uint64_t>::const_iterator iter;
85 std::lock_guard<std::mutex> lock(mutex_); in Get()
96 std::lock_guard<std::mutex> lock(mutex_); in Put()
121 std::mutex mutex_;
122 std
[all...]
/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/
H A Dmemory_decorator.cpp21 const std::string MEM_COLLECTOR_NAME = "MemoryCollector";
36 CollectResult<std::string> MemoryDecorator::CollectRawMemInfo() in CollectRawMemInfo()
42 CollectResult<std::string> MemoryDecorator::ExportMemView() in ExportMemView()
48 CollectResult<std::vector<ProcessMemory>> MemoryDecorator::CollectAllProcessMemory() in CollectAllProcessMemory()
53 CollectResult<std::string> MemoryDecorator::ExportAllProcessMemory() in ExportAllProcessMemory()
59 CollectResult<std::string> MemoryDecorator::CollectRawSlabInfo() in CollectRawSlabInfo()
65 CollectResult<std::string> MemoryDecorator::CollectRawPageTypeInfo() in CollectRawPageTypeInfo()
71 CollectResult<std::string> MemoryDecorator::CollectRawDMA() in CollectRawDMA()
77 CollectResult<std::vector<AIProcessMem>> MemoryDecorator::CollectAllAIProcess() in CollectAllAIProcess()
83 CollectResult<std
[all...]
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_subscribe_manager_test.cpp33 const std::string TEST_BUNDLE_NAME = "com.example.owner";
34 const std::string STRING_OWNER = "com.example.owner";
35 const std::string TEST_OWNER_NAME = "com.bundle.owner";
80 std::vector<std::string> owners; in HWTEST_F()
85 auto subscribeInfoPtr = std::make_shared<AppAccountSubscribeInfo>(subscribeInfo); in HWTEST_F()
132 std::vector<std::string> owners; in HWTEST_F()
135 auto subscribeInfoPtr = std::make_shared<AppAccountSubscribeInfo>(subscribeInfo); in HWTEST_F()
153 std in HWTEST_F()
[all...]
/base/account/os_account/services/accountmgr/include/bundle_manager_adapter/
H A Dbundle_manager_adapter_proxy.h55 bool GetBundleInfo(const std::string &bundleName, BundleFlag flags,
64 int GetUidByBundleName(const std::string &bundleName, const int userId) override;
71 ErrCode GetNameForUid(const int uid, std::string &bundleName) override;
88 std::vector<ExtensionAbilityInfo> &extensionInfos) override;
91 const int32_t &flag, const int32_t &userId, std::vector<ExtensionAbilityInfo> &extensionInfos) override;
95 std::vector<T> &parcelableInfos);
98 const Want &want, int32_t flags, int32_t userId, std::vector<AbilityInfo> &abilityInfos) override;
101 bool ParseStr(const char *buf, const int itemLen, int index, std::string &result);
102 bool ParseExtensionInfo(std::string infoStr, ExtensionAbilityInfo &extensionInfo);
104 nlohmann::json jsonObject, std
[all...]
/base/powermgr/battery_statistics/services/native/src/entities/
H A Dcamera_entity.cpp62 cameraPowerMap_.insert(std::pair<int32_t, double>(uid, cameraOnPowerMah)); in Calculate()
98 std::shared_ptr<StatsHelper::ActiveTimer> CameraEntity::GetOrCreateTimer(const std::string& deviceId, int32_t uid, in GetOrCreateTimer()
101 std::shared_ptr<StatsHelper::ActiveTimer> cmrTimer = nullptr; in GetOrCreateTimer()
112 cmrTimer = std::make_shared<StatsHelper::ActiveTimer>(); in GetOrCreateTimer()
113 cameraIter->second.insert(std::pair<int32_t, std::shared_ptr<StatsHelper::ActiveTimer>>(uid, cmrTimer)); in GetOrCreateTimer()
116 cmrTimer = std::make_shared<StatsHelper::ActiveTimer>(); in GetOrCreateTimer()
117 std::map<int32_t, std in GetOrCreateTimer()
[all...]
/base/powermgr/battery_manager/services/native/include/
H A Dbattery_service.h52 virtual void OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId) override;
59 int32_t Dump(int fd, const std::vector<std::u16string> &args) override;
66 std::string GetTechnology() override;
75 bool ChangePath(const std::string path);
76 BatteryError SetBatteryConfig(const std::string& sceneName, const std::string& value) override;
77 BatteryError GetBatteryConfig(const std::string& sceneName, std::string& result) override;
78 BatteryError IsBatteryConfigSupported(const std
[all...]
/base/powermgr/thermal_manager/services/native/src/thermal_action/
H A Dthermal_action_manager.cpp33 std::shared_ptr<IThermalAction> thermalAction = nullptr; in Init()
35 actionThermalLevel_ = std::make_shared<ActionThermalLevel>(THERMAL_LEVEL_NAME); in Init()
86 std::string configDir = "/data/service/el0/thermal/config/%s"; in CreateActionMockFile()
87 std::string stateDir = "/data/service/el0/thermal/state/%s"; in CreateActionMockFile()
90 std::vector<std::string> actionValueList = {"lcd", "process_ctrl", "configLevel", "shut_down", "sc_current", in CreateActionMockFile()
92 std::vector<std::string> stateValueList = {"scene", "screen", "charge"}; in CreateActionMockFile()
100 FileOperation::CreateNodeFile(static_cast<std::string>(fileBuf)); in CreateActionMockFile()
109 FileOperation::CreateNodeFile(static_cast<std in CreateActionMockFile()
[all...]
/base/telephony/call_manager/frameworks/cj/src/
H A Dtelephony_call_impl.cpp102 std::u16string formatNumber = u""; in FormatPhoneNumberToE164()
103 std::string tmpCountryCode = cCountryCode; in FormatPhoneNumberToE164()
104 std::string tmpPhoneNumber = cPhoneNumber; in FormatPhoneNumberToE164()
105 std::u16string phoneNumber = Str8ToStr16(tmpPhoneNumber); in FormatPhoneNumberToE164()
106 std::u16string countryCode = Str8ToStr16(tmpCountryCode); in FormatPhoneNumberToE164()
110 std::string result = Str16ToStr8(formatNumber); in FormatPhoneNumberToE164()
120 wantParams.SetParam("phoneNumber", AAFwk::String::Box(std::string(phoneNumber))); in MakeCall()
139 std::string temPhoneNumber = cPhoneNumber; in IsEmergencyPhoneNumber()
140 std::u16string phoneNumberU16 = Str8ToStr16(temPhoneNumber); in IsEmergencyPhoneNumber()
170 std in DialCall()
[all...]
/base/telephony/core_service/utils/common/src/
H A Denum_convert.cpp22 std::string GetBoolValue(int32_t value) in GetBoolValue()
24 std::string result = ""; in GetBoolValue()
33 std::string GetSimState(int32_t state) in GetSimState()
35 std::string result = ""; in GetSimState()
61 std::string GetCallState(int32_t state) in GetCallState()
63 std::string result = "CALL_STATUS_IDLE"; in GetCallState()
98 std::string GetCardType(int32_t type) in GetCardType()
100 std::string result = ""; in GetCardType()
138 std::string GetCellularDataConnectionState(int32_t state) in GetCellularDataConnectionState()
140 std in GetCellularDataConnectionState()
[all...]
/base/telephony/cellular_data/services/include/
H A Dcellular_data_service.h50 int32_t Dump(std::int32_t fd, const std::vector<std::u16string>& args) override;
51 std::string GetBeginTime();
52 std::string GetEndTime();
53 std::string GetCellularDataSlotIdDump();
54 std::string GetStateMachineCurrentStatusDump();
55 std::string GetFlowDataInfoDump();
78 int32_t GetApnState(int32_t slotId, const std::string &apnType) override;
83 int32_t GetDataConnIpType(int32_t slotId, std
[all...]
/base/theme/screenlock_mgr/frameworks/js/napi/include/
H A Dnapi_screenlock_ability.h29 : Context(std::move(input), std::move(output)), allowed(false){}; in AsyncScreenLockInfo()
35 std::string eventInfo;
43 : Context(std::move(input), std::move(output)), param(0), eventInfo(""), flag(false), in SendEventInfo()
57 : Context(std::move(input), std::move(output)), disable(false), userId(-1), in ScreenLockDisableInfo()
65 std::string authToken;
72 : Context(std::move(input), std in ScreenLockAuthStatInfo()
[all...]
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dimf_adapter.h102 virtual std::shared_ptr<IMFInputAttributeAdapter> GetInputAttribute() = 0;
104 virtual std::shared_ptr<IMFCursorInfoAdapter> GetCursorInfo() = 0;
106 virtual std::shared_ptr<IMFSelectionRangeAdapter> GetSelectionRange() = 0;
138 virtual void InsertText(const std::u16string& text) = 0;
148 virtual void SendFunctionKey(std::shared_ptr<IMFAdapterFunctionKeyAdapter> functionKey) = 0;
162 virtual std::u16string GetLeftTextOfCursor(int32_t number) = 0;
164 virtual std::u16string GetRightTextOfCursor(int32_t number) = 0;
166 virtual int32_t SetPreviewText(const std::u16string& text, int32_t start, int32_t end) = 0;
173 const std::string& content) {} in AutoFillWithIMFEvent()
182 virtual bool Attach(std
[all...]
/base/useriam/user_auth_framework/services/context/src/
H A Denroll_context.cpp30 EnrollContext::EnrollContext(uint64_t contextId, std::shared_ptr<Enrollment> enroll, in EnrollContext()
31 std::shared_ptr<ContextCallback> callback) in EnrollContext()
73 void EnrollContext::OnResult(int32_t resultCode, const std::shared_ptr<Attributes> &scheduleResultAttr) in OnResult()
77 std::shared_ptr<UpdatePinParamInterface> pinInfo; in OnResult()
78 std::optional<uint64_t> secUserId = std::nullopt; in OnResult()
107 bool EnrollContext::UpdateScheduleResult(const std::shared_ptr<Attributes> &scheduleResultAttr, in UpdateScheduleResult()
108 uint64_t &credentialId, std::shared_ptr<UpdatePinParamInterface> &pinInfo, std::optional<uint64_t> &secUserId) in UpdateScheduleResult()
112 std in UpdateScheduleResult()
[all...]
H A Dcontext_factory.cpp34 std::shared_ptr<Context> ContextFactory::CreateSimpleAuthContext(const Authentication::AuthenticationPara &para, in CreateSimpleAuthContext()
35 const std::shared_ptr<ContextCallback> &callback) in CreateSimpleAuthContext()
47 std::shared_ptr<Context> ContextFactory::CreateIdentifyContext(const Identification::IdentificationPara &para, in CreateIdentifyContext()
48 const std::shared_ptr<ContextCallback> &callback) in CreateIdentifyContext()
59 std::shared_ptr<Context> ContextFactory::CreateEnrollContext(const Enrollment::EnrollmentPara &para, in CreateEnrollContext()
60 const std::shared_ptr<ContextCallback> &callback) in CreateEnrollContext()
73 std::shared_ptr<Context> ContextFactory::CreateWidgetAuthContext(std::shared_ptr<ContextCallback> callback) in CreateWidgetAuthContext()
78 std::shared_ptr<Context> ContextFactory::CreateWidgetContext(const AuthWidgetContextPara &para, in CreateWidgetContext()
79 std in CreateWidgetContext()
[all...]
/foundation/ability/ability_runtime/frameworks/js/napi/insight_intent/insight_intent_driver/
H A Djs_insight_intent_driver.cpp44 public std::enable_shared_from_this<JsInsightIntentExecuteCallbackClient> {
62 std::unique_ptr<NapiAsyncTask> asyncTask = nullptr;
64 asyncTask = std::make_unique<NapiAsyncTask>(nativeDeferred_, nullptr,
65 std::make_unique<NapiAsyncTask::CompleteCallback>(std::move(complete)));
67 asyncTask = std::make_unique<NapiAsyncTask>(callbackRef_, nullptr,
68 std::make_unique<NapiAsyncTask::CompleteCallback>(std::move(complete)));
70 NapiAsyncTask::Schedule("JsInsightIntentDriver::OnExecute", env_, std::move(asyncTask));
86 std in Finalizer()
[all...]
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_bundle_manager_proxy.h38 MOCK_METHOD1(GetAppType, std::string(const std::string &bundleName));
40 ErrCode(const std::string &bundleName, std::vector<AppExecFwk::BaseSharedBundleInfo> &baseSharedBundleInfos,
43 MOCK_METHOD4(GetBundleInfoV9, ErrCode(const std::string&, int32_t, AppExecFwk::BundleInfo&, int32_t));
47 int32_t userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos));
48 MOCK_METHOD5(GetJsonProfile, ErrCode(AppExecFwk::ProfileType, const std::string&, const std::string&,
49 std::string&, int32_t));
50 MOCK_METHOD3(QueryExtensionAbilityInfoByUri, bool(const std
[all...]
H A Dmock_bundle_manager_service.h40 MOCK_METHOD1(GetAppType, std::string(const std::string &bundleName));
42 ErrCode(const std::string &bundleName, std::vector<AppExecFwk::BaseSharedBundleInfo> &baseSharedBundleInfos,
45 MOCK_METHOD4(GetBundleInfoV9, ErrCode(const std::string&, int32_t, AppExecFwk::BundleInfo&, int32_t));
49 int32_t userId, std::vector<AppExecFwk::ExtensionAbilityInfo> &extensionInfos));
50 MOCK_METHOD5(GetJsonProfile, ErrCode(AppExecFwk::ProfileType, const std::string&, const std::string&,
51 std::string&, int32_t));
52 MOCK_METHOD3(QueryExtensionAbilityInfoByUri, bool(const std
[all...]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/
H A Diability_monitor_test.cpp45 const std::string ABILITY_NAME = "com.example.myapplication.MainAbility";
46 const std::string PROPERTY_ABILITY_NAME = "com.example.myapplication.MainAbility";
47 const std::string PROPERTY_ABILITY_NAME1 = "com.example.myapplication.MainAbility1";
111 std::shared_ptr<ADelegatorAbilityProperty> proterty = std::make_shared<ADelegatorAbilityProperty>(); in HWTEST_F()
127 std::shared_ptr<ADelegatorAbilityProperty> proterty = std::make_shared<ADelegatorAbilityProperty>(); in HWTEST_F()
143 std::shared_ptr<ADelegatorAbilityProperty> proterty = std::make_shared<ADelegatorAbilityProperty>(); in HWTEST_F()
159 std in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/test/unittest/mission_list_manager_dump_test/
H A Dmission_list_manager_dump_test.cpp30 const std::string STRING_EMPTY = "";
31 const std::string STRING_PROCESS_NAME = "process_name";
67 auto missionListManager = std::make_shared<MissionListManager>(USER_ID); in HWTEST_F()
71 std::vector<std::string> info; in HWTEST_F()
73 std::string args = STRING_EMPTY; in HWTEST_F()
98 auto abilityRecord = std::make_shared<AbilityRecord>(want, abilityInfo, applicationInfo); in HWTEST_F()
102 auto mission = std::make_shared<Mission>(MISSION_ID, abilityRecord); in HWTEST_F()
105 auto missionList = std::make_shared<MissionList>(); in HWTEST_F()
109 auto missionListManager = std in HWTEST_F()
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ops/
H A Dsplit_builder.cpp23 static const std::string OP_NAME = "Split";
29 OH_NN_ReturnCode SplitBuilder::SetInputAndOutput(const std::vector<uint32_t> &inputsIndex, in SetInputAndOutput()
30 const std::vector<uint32_t> &outputsIndex, const std::vector<std::shared_ptr<NNTensor>> &allTensors) in SetInputAndOutput()
39 bool isOverTensorSize = std::any_of(inputsIndex.begin(), inputsIndex.end(), [allTensorSize](uint32_t index) { in SetInputAndOutput()
47 isOverTensorSize = std::any_of(outputsIndex.begin(), outputsIndex.end(), [allTensorSize](uint32_t index) { in SetInputAndOutput()
64 OH_NN_ReturnCode SplitBuilder::SetAxis(const std::shared_ptr<NNTensor>& tensor) in SetAxis()
86 OH_NN_ReturnCode SplitBuilder::SetOutputNum(const std::shared_ptr<NNTensor>& tensor) in SetOutputNum()
103 OH_NN_ReturnCode SplitBuilder::SetSizeSplits(const std
[all...]
H A Dfullconnection_builder.cpp27 static const std::string OP_NAME = "FullConnection";
33 OH_NN_ReturnCode FullConnectionBuilder::SetFullConnectionInput(const std::vector<uint32_t>& inputsIndex, in SetFullConnectionInput()
34 const std::vector<uint32_t>& outputsIndex, in SetFullConnectionInput()
35 const std::vector<std::shared_ptr<NNTensor>>& allTensors) in SetFullConnectionInput()
43 bool isOverTensorSize = std::any_of(inputsIndex.begin(), inputsIndex.end(), [allTensorsSize](uint32_t index) { in SetFullConnectionInput()
57 OH_NN_ReturnCode FullConnectionBuilder::SetHasBias(const std::shared_ptr<NNTensor>& tensor) in SetHasBias()
79 OH_NN_ReturnCode FullConnectionBuilder::SetUseAxis(const std::shared_ptr<NNTensor>& tensor) in SetUseAxis()
108 OH_NN_ReturnCode FullConnectionBuilder::SetFullConnectionActivation(const std::shared_ptr<NNTensor>& tensor) in SetFullConnectionActivation()
138 OH_NN_ReturnCode FullConnectionBuilder::SetAxis(const std
[all...]

Completed in 30 milliseconds

1...<<551552553554555556557558559560>>...2639