/foundation/ability/form_fwk/services/src/ |
H A D | form_render_connection.cpp | 60 std::string cacheData; in OnAbilityConnectDone() 61 std::map<std::string, std::pair<sptr<FormAshmem>, int32_t>> imageDataMap; in OnAbilityConnectDone() 74 FormTaskMgr::GetInstance().PostRenderForm(newRecord, std::move(want), remoteObject); in OnAbilityConnectDone()
|
/foundation/ability/form_fwk/test/fuzztest/formrendermgr_fuzzer/ |
H A D | formrendermgr_fuzzer.cpp | 52 std::vector<FormRecord> formRecords;
in DoSomethingInterestingWithMyAPI() 54 std::string bundleName(data, size);
in DoSomethingInterestingWithMyAPI() 56 formRenderMgr.ReloadForm(std::move(formRecords), bundleName, userId);
in DoSomethingInterestingWithMyAPI() 57 std::string compId(data, size);
in DoSomethingInterestingWithMyAPI() 62 sptr<FormRenderConnection> connection = new (std::nothrow) FormRenderConnection(formRecord, wantParams);
in DoSomethingInterestingWithMyAPI()
|
/foundation/ai/intelligent_voice_framework/frameworks/native/ |
H A D | enroll_intell_voice_engine.cpp | 22 using namespace std; 149 std::string EnrollIntellVoiceEngine::GetParameter(const std::string &key) in GetParameter() 159 int32_t EnrollIntellVoiceEngine::Evaluate(const std::string &word, EvaluationResultInfo &info) in Evaluate() 191 callback_ = sptr<EngineCallbackInner>(new (std::nothrow) EngineCallbackInner(callback)); in SetCallback()
|
/foundation/ability/form_fwk/test/fuzztest/formdatamgrone_fuzzer/ |
H A D | formdatamgrone_fuzzer.cpp | 43 std::vector<int> formUserUids; in DoSomethingInterestingWithMyAPI() 54 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI() 55 std::vector<FormRecord> formInfos; in DoSomethingInterestingWithMyAPI() 61 std::vector<FormHostRecord> formHostRecords; in DoSomethingInterestingWithMyAPI() 66 std::vector<int64_t> removedFormIds; in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/fuzztest/forminfomgr_fuzzer/ |
H A D | forminfomgr_fuzzer.cpp | 42 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI() 47 std::vector<FormInfo> formInfos; in DoSomethingInterestingWithMyAPI() 51 std::string moduleName(data, size); in DoSomethingInterestingWithMyAPI() 56 std::string formName(data, size); in DoSomethingInterestingWithMyAPI() 66 std::string formInfoStoragesJson(data, size); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/form_fwk/test/fuzztest/formsharemgr_fuzzer/ |
H A D | formsharemgr_fuzzer.cpp | 42 std::string deviceId(data, size); in DoSomethingInterestingWithMyAPI() 53 std::string bundleName(data, size); in DoSomethingInterestingWithMyAPI() 54 std::string moduleName(data, size); in DoSomethingInterestingWithMyAPI() 56 std::string formShareInfoKey(data, size); in DoSomethingInterestingWithMyAPI() 58 std::shared_ptr<FormFreeInstallOperator> freeInstallOperator = nullptr; in DoSomethingInterestingWithMyAPI()
|
/foundation/ai/ai_engine/services/server/server_executor/source/ |
H A D | engine.cpp | 29 Engine::Engine(std::shared_ptr<Plugin> &plugin, std::shared_ptr<Thread> &thread, in Engine() 30 std::shared_ptr<Queue<Task>> &queue) in Engine() 45 static bool IsSyncMode(const std::shared_ptr<Plugin> &plugin) in IsSyncMode() 54 std::shared_ptr<Plugin> Engine::GetPlugin() const in GetPlugin()
|
/foundation/CastEngine/castengine_cast_framework/interfaces/inner_api/include/ |
H A D | i_stream_player.h | 42 virtual void OnPlayerError(int errorCode, const std::string &errorMsg) = 0; 49 virtual void OnImageChanged(std::shared_ptr<Media::PixelMap> pixelMap) = 0; 50 virtual void OnAlbumCoverChanged(std::shared_ptr<Media::PixelMap> pixelMap) = 0; 62 virtual int32_t RegisterListener(std::shared_ptr<IStreamPlayerListener> listener) = 0; 64 virtual int32_t SetSurface(const std::string &surfaceId) = 0;
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | idle_time.cpp | 30 auto now = std::chrono::steady_clock::now().time_since_epoch(); in GetSysTimeNs() 31 return std::chrono::duration_cast<std::chrono::nanoseconds>(now).count(); in GetSysTimeNs() 35 IdleTime::IdleTime(const std::shared_ptr<EventHandler> &eventHandler, IdleTimeCallback idleTimeCallback) in IdleTime() 105 std::weak_ptr<IdleTime> weak(shared_from_this()); in PostTask()
|
/foundation/ability/ability_runtime/test/unittest/ability_extension_config_test/ |
H A D | ability_extension_config_test.cpp | 45 static std::shared_ptr<AAFwk::ExtensionConfig> extensionConfig_; 48 std::shared_ptr<AAFwk::ExtensionConfig> AbilityExtensionConfigTest::extensionConfig_ = 72 std::string extensionTypeName = EXTENSION_TYPE_NAME; in HWTEST_F() 104 std::string extensionTypeName = "aa"; in HWTEST_F() 121 std::string extensionTypeName = "aa"; in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/src/ |
H A D | mock_app_mgr_service_inner.cpp | 27 int32_t AppMgrServiceInner::MakeKiaProcess(std::shared_ptr<AAFwk::Want> want, bool &isKia, in MakeKiaProcess() 28 std::string &watermarkBusinessName, bool &isWatermarkEnabled, in MakeKiaProcess() 29 bool &isFileUri, std::string &processName) in MakeKiaProcess() 57 int32_t AppMgrServiceInner::ProcessKia(bool isKia, std::shared_ptr<AppRunningRecord> appRecord, in ProcessKia() 58 const std::string& watermarkBusinessName, bool isWatermarkEnabled) in ProcessKia()
|
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ |
H A D | extension_plugin_info_test.cpp | 91 std::vector<std::string> files; in HWTEST_F() 112 std::vector<std::string> files; in HWTEST_F() 133 std::string fileName = ""; in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/client/include/ |
H A D | stream_player_listener_impl_stub.h | 33 explicit StreamPlayerListenerImplStub(std::shared_ptr<IStreamPlayerListener> userListener); 60 void OnPlayerError(int errorCode, const std::string &errorMsg) override; 69 void OnImageChanged(std::shared_ptr<Media::PixelMap> pixelMap) override; 70 void OnAlbumCoverChanged(std::shared_ptr<Media::PixelMap> pixelMap) override; 72 std::shared_ptr<IStreamPlayerListener> userListener_;
|
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtcp/include/ |
H A D | rtcp_context.h | 89 std::map<uint32_t, uint32_t> rtt_; // ssrc, rtt 90 std::map<uint32_t, uint32_t> xrXrrtrRecvLastRr_; // ssrc, last rr 91 std::map<uint32_t, uint64_t> senderReportNtp_; // last sr, lsr ntp stamp 92 std::map<uint32_t, uint64_t> xrRrtrRecvSysStamp_; // ssrc, xr rrtr sys stamp 97 using Ptr = std::shared_ptr<RtcpReceiverContext>;
|
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
H A D | napi_context.h | 30 std::vector<std::string> permission_list; 54 void CallOnRequestPermissionsFromUserResult(int requestCode, const std::vector<std::string> &permissions, 55 const std::vector<int> &grantResults, OHOS::AppExecFwk::CallbackInfo callbackInfo);
|
H A D | napi_common_ability_wrap_utils.h | 125 napi_value WrapProperties(napi_env env, const std::vector<std::string> properties, const std::string &proName, 147 void SaveAppVersionInfo(AppVersionInfo &appVersionInfo, const std::string appName, const std::string versionName,
|
/foundation/ability/ability_runtime/services/common/src/ |
H A D | event_handler_wrap.cpp | 26 eventMutex_ = std::make_unique<ffrt::mutex>(); in EventHandlerWrap() 29 EventHandlerWrap::EventHandlerWrap(std::shared_ptr<TaskHandlerWrap> taskHandler) in EventHandlerWrap() 32 eventMutex_ = std::make_unique<ffrt::mutex>(); in EventHandlerWrap() 61 std::lock_guard<ffrt::mutex> guard(*eventMutex_); in SendEvent() 91 std::lock_guard<ffrt::mutex> guard(*eventMutex_); in RemoveEvent()
|
/foundation/CastEngine/castengine_wifi_display/services/network/eventhandler/ |
H A D | event_descriptor_listener.cpp | 49 bool EventDescriptorListener::AddFdListener(int32_t fd, const std::shared_ptr<FileDescriptorListener> &listener, in AddFdListener() 50 const std::shared_ptr<OHOS::AppExecFwk::EventHandler> &handler, in AddFdListener() 51 const std::string &taskName, uint32_t events) in AddFdListener() 71 const std::shared_ptr<OHOS::AppExecFwk::EventHandler> &handler) in RemoveFdListener() 100 auto spBuf = std::make_shared<DataBuffer>(); in OnReadable()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | ability_debug_response_stub.cpp | 41 std::vector<sptr<IRemoteObject>> tokens; in HandleOnAbilitysDebugStarted() 62 std::vector<sptr<IRemoteObject>> tokens; in HandleOnAbilitysDebugStoped() 83 std::vector<sptr<IRemoteObject>> tokens; in HandleOnAbilitysAssertDebugChange() 101 std::u16string descriptor = AbilityDebugResponseStub::GetDescriptor(); in OnRemoteRequest() 102 std::u16string remoteDescriptor = data.ReadInterfaceToken(); in OnRemoteRequest()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_mapper.cpp | 43 bool FileMapper::CreateFileMapper(const std::string &fileName, bool compress, in CreateFileMapper() 85 bool FileMapper::CreateFileMapper(std::shared_ptr<ZipFileReader> fileReader, const std::string &fileName, in CreateFileMapper() 97 dataPtr_ = std::make_unique<uint8_t[]>(len); in CreateFileMapper() 127 std::string FileMapper::GetFileName() in GetFileName()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_presentation_layout_algorithm.h | 41 SheetPresentationLayoutAlgorithm(int32_t id, const std::string& tag, SheetType sheetType) in SheetPresentationLayoutAlgorithm() 90 std::string targetTag_; 120 std::unordered_map<Placement, DirectionCheckFunc> directionCheckFunc_; 122 std::unordered_map<Placement, PlacementCheckFunc> placementCheckFunc_; 124 std::unordered_map<Placement, OffsetGetFunc> getOffsetFunc_;
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animatable_path.cpp | 46 void AnimatablePath::AnimateTo(std::string endValue) in AnimateTo() 79 animation->AddListener(std::bind(&AnimatablePath::OnAnimationCallback, this, std::placeholders::_1)); in AnimateTo() 136 std::string AnimatablePath::FormatPathString(const std::string& path) in FormatPathString()
|
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/ |
H A D | navigation_bar_element.cpp | 96 menuSelectedEvent_ = AceAsyncEvent<void(const std::string&)>::Create(menuSuccessEvent, context_); in BindClickEventToOptions() 99 std::string eventId = menuItem.second.clickEvent.GetData().eventId; in BindClickEventToOptions() 116 std::string selected = menuItemIter->second.value; in BindClickEventToOptions() 117 std::string param = std::string(R"("selected", {"value":")").append(selected.append("\"}, null")); in BindClickEventToOptions()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/adapter/ |
H A D | skia_image_data.cpp | 65 RefPtr<SvgDomBase> SkiaImageData::MakeSvgDom(const std::optional<Color>& svgFillColor) in MakeSvgDom() 67 const auto svgStream = std::make_unique<SkMemoryStream>(skData_); in MakeSvgDom() 90 std::pair<SizeF, int32_t> SkiaImageData::Parse() const in Parse() 119 std::string SkiaImageData::ToString() const in ToString() 121 return "SkiaImageData Size" + std::to_string(skData_->size()) + "(B)"; in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/ |
H A D | hyperlink_model_ng.cpp | 22 void HyperlinkModelNG::Create(const std::string& address, const std::string& content) in Create() 47 const RefPtr<FrameNode>& hyperlinkNode, const std::string& content, const std::string& address) in SetTextStyle() 107 FrameNode* frameNode, const std::vector<DimensionRect>& regions, bool isUserSetResponseRegion) in SetResponseRegion()
|