Home
last modified time | relevance | path

Searched refs:uri (Results 626 - 650 of 1835) sorted by relevance

1...<<21222324252627282930>>...74

/foundation/ability/dmsfwk/services/dtbschedmgr/include/distributedWant/
H A Ddistributed_want.h27 #include "uri.h"
191 * @param uri Indicates the URI description.
194 DistributedWant& SetUri(const std::string& uri);
198 * @param uri Indicates the URI description.
201 DistributedWant& SetUri(const OHOS::Uri& uri);
205 * @param uri Indicates the URI description.
209 DistributedWant& SetUriAndType(const OHOS::Uri& uri, const std::string& type);
215 * @param uri Indicates the string of URI to format.
216 * @return Returns this DistributedWant object that contains the formatted uri attribute.
218 DistributedWant& FormatUri(const std::string& uri);
[all...]
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Drender_data_configuration_loader.cpp194 IFileManager& fileManager, const string_view uri) in LoadPostProcess()
198 IFile::Ptr file = fileManager.OpenFile(uri); in LoadPostProcess()
200 PLUGIN_LOG_E("Error loading '%s'", string(uri).c_str()); in LoadPostProcess()
211 PLUGIN_LOG_E("Error loading '%s'", string(uri).c_str()); in LoadPostProcess()
226 IFileManager& fileManager, const string_view uri) in LoadPostProcess()
228 return RenderDataConfigurationLoader::LoadPostProcess(fileManager, uri); in LoadPostProcess()
193 LoadPostProcess( IFileManager& fileManager, const string_view uri) LoadPostProcess() argument
225 LoadPostProcess( IFileManager& fileManager, const string_view uri) LoadPostProcess() argument
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dentity_collection.h30 EntityCollection(CORE_NS::IEcs& ecs, BASE_NS::string_view uri, BASE_NS::string_view contextUri);
40 BASE_NS::string_view uri, BASE_NS::string_view contextUri) override;
44 void SetUri(const BASE_NS::string& uri) override;
76 int32_t GetSubCollectionIndex(BASE_NS::string_view uri) const override;
79 BASE_NS::string_view uri, BASE_NS::string_view contextUri, bool serializable) override;
80 IEntityCollection& AddSubCollectionClone(IEntityCollection& collection, BASE_NS::string_view uri) override;
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/
H A Dimage_loader_manager.cpp76 ImageLoaderManager::LoadResult ImageLoaderManager::LoadImage(const string_view uri, uint32_t loadFlags) in LoadImage() argument
78 CORE_CPU_PERF_SCOPE("Image", "loadImage()", uri); in LoadImage()
81 IFile::Ptr file = fileManager_.OpenFile(uri); in LoadImage()
131 ImageLoaderManager::LoadAnimatedResult ImageLoaderManager::LoadAnimatedImage(const string_view uri, uint32_t loadFlags) in LoadAnimatedImage() argument
133 CORE_CPU_PERF_SCOPE("Image", "loadAnimatedImage()", uri); in LoadAnimatedImage()
136 IFile::Ptr file = fileManager_.OpenFile(uri); in LoadAnimatedImage()
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/
H A Dplaylist_downloader.cpp118 std::string uri = url; in DoOpenNative() local
119 ParseUriInfo(uri); in DoOpenNative()
134 bool PlayListDownloader::ParseUriInfo(const std::string& uri) in ParseUriInfo() argument
136 if (uri.empty()) { in ParseUriInfo()
137 MEDIA_LOG_E("uri is empty"); in ParseUriInfo()
140 MEDIA_LOG_D("uri: "); in ParseUriInfo()
142 FALSE_RETURN_V_MSG_E(std::regex_match(uri, fdUriMatch, std::regex("^fd://(.*)\\?offset=(.*)&size=(.*)")) || in ParseUriInfo()
143 std::regex_match(uri, fdUriMatch, std::regex("^fd://(.*)")), in ParseUriInfo()
144 false, "Invalid fd uri format"); in ParseUriInfo()
146 false, "Invalid fd uri forma in ParseUriInfo()
[all...]
/foundation/multimedia/av_session/frameworks/js/napi/session/src/
H A Dnapi_avcall_meta_data.cpp182 std::string uri; in GetMediaImage() local
183 status = NapiUtils::GetValue(env, property, uri); in GetMediaImage()
185 out.SetMediaImageUri(uri); in GetMediaImage()
218 auto uri = in.GetMediaImageUri(); in SetMediaImageUri() local
219 if (uri.empty()) { in SetMediaImageUri()
220 SLOGI("media image uri empty"); in SetMediaImageUri()
225 auto status = NapiUtils::SetValue(env, uri, property); in SetMediaImageUri()
/foundation/multimedia/camera_framework/services/camera_service/binder/server/src/
H A Dhcapture_session_stub.cpp273 std::string uri; in HandleCreateMediaLibrary() local
276 int32_t ret = CreateMediaLibrary(photoProxy, uri, cameraShotType, burstKey, timestamp); in HandleCreateMediaLibrary()
277 CHECK_AND_RETURN_RET_LOG(reply.WriteString(uri) && reply.WriteInt32(cameraShotType) && reply.WriteString(burstKey), in HandleCreateMediaLibrary()
278 IPC_STUB_WRITE_PARCEL_ERR, "HCaptureSessionStub HandleCreateMediaLibrary Write uri and cameraShotType failed"); in HandleCreateMediaLibrary()
293 std::string uri; in HandleCreateMediaLibraryForPicture() local
296 int32_t ret = CreateMediaLibrary(std::move(picture), photoProxy, uri, cameraShotType, burstKey, timestamp); in HandleCreateMediaLibraryForPicture()
297 CHECK_AND_RETURN_RET_LOG(reply.WriteString(uri) && reply.WriteInt32(cameraShotType) && reply.WriteString(burstKey), in HandleCreateMediaLibraryForPicture()
298 IPC_STUB_WRITE_PARCEL_ERR, "HCaptureSessionStub HandleCreateMediaLibrary Write uri and cameraShotType failed"); in HandleCreateMediaLibraryForPicture()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Dbundle_mgr_proxy.cpp184 extensionInfo.uri = std::move(item.uri); in ConvertExtensionAbility()
195 ZLOGE("Profile unmarshall error.uri: %{public}s", URIUtils::Anonymous(extensionInfo.uri).c_str()); in ConvertExtensionAbility()
216 data.uri = std::move(proxyData.uri); in ConvertHapModuleInfo()
228 ZLOGE("Profile unmarshall error.uri: %{public}s", URIUtils::Anonymous(data.uri).c_str()); in ConvertHapModuleInfo()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dweb_controller_test.cpp135 const std::string uri = "file:///data/storage/el2/distributedfiles/temp.png"; in HWTEST_F() local
154 auto newUri = std::make_shared<OHOS::Uri>(uri); in HWTEST_F()
177 const std::string uri = "file:///data/storage/el2/distributedfiles/temp.png"; in HWTEST_F() local
198 auto newUri = std::make_shared<OHOS::Uri>(uri); in HWTEST_F()
259 const std::string uri = "file:///data/storage/el2/distributedfiles/temp.png"; in HWTEST_F() local
279 auto newUri = std::make_shared<OHOS::Uri>(uri); in HWTEST_F()
/foundation/filemanagement/user_file_service/services/native/file_access_service/src/
H A Dfile_access_service_proxy.cpp121 int32_t FileAccessServiceProxy::OnChange(Uri uri, NotifyType notifyType) in OnChange() argument
131 if (!data.WriteParcelable(&uri)) { in OnChange()
132 HILOG_ERROR("fail to WriteParcelable uri"); in OnChange()
164 int32_t FileAccessServiceProxy::RegisterNotify(Uri uri, bool notifyForDescendants, in RegisterNotify() argument
175 if (!data.WriteParcelable(&uri)) { in RegisterNotify()
176 HILOG_ERROR("fail to WriteParcelable uri"); in RegisterNotify()
249 int32_t FileAccessServiceProxy::UnregisterNotify(Uri uri, const sptr<IFileAccessObserver> &observer, in UnregisterNotify() argument
260 if (!data.WriteParcelable(&uri)) { in UnregisterNotify()
261 HILOG_ERROR("fail to WriteParcelable uri"); in UnregisterNotify()
/third_party/python/Lib/xml/dom/
H A Dxmlbuilder.py180 def parseURI(self, uri):
182 input = self.entityResolver.resolveEntity(None, uri)
184 input = DOMEntityResolver().resolveEntity(None, uri)
301 def _set_baseURI(self, uri):
302 self.baseURI = uri
353 def load(self, uri):
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_datamanager_test/src/
H A Dmedialibrary_datamanager_test.cpp29 #include "uri.h"
944 string uri = MEDIALIBRARY_DATA_ABILITY_PREFIX + networkId + MEDIALIBRARY_DATA_URI_IDENTIFIER; in GetFileMediaTypeUri() local
947 return uri + MEDIALIBRARY_TYPE_AUDIO_URI; in GetFileMediaTypeUri()
949 return uri + MEDIALIBRARY_TYPE_VIDEO_URI; in GetFileMediaTypeUri()
951 return uri + MEDIALIBRARY_TYPE_IMAGE_URI; in GetFileMediaTypeUri()
954 return uri + MEDIALIBRARY_TYPE_FILE_URI; in GetFileMediaTypeUri()
970 string uri = GetFileMediaTypeUri(MEDIA_TYPE_FILE, "") + SLASH_CHAR + to_string(fileId); in HWTEST_F() local
972 auto ret = UriPermissionOperations::CheckUriPermission(uri, inputMode); in HWTEST_F()
991 string uri = GetFileMediaTypeUri(MEDIA_TYPE_FILE, "") + SLASH_CHAR + to_string(fileId); in HWTEST_F() local
993 auto ret = UriPermissionOperations::CheckUriPermission(uri, inputMod in HWTEST_F()
1025 string uri = ""; HWTEST_F() local
1119 string uri = "GetThumbnail"; HWTEST_F() local
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/
H A Dmedialibrary_photo_operations_test.cpp50 #include "uri.h"
125 MEDIA_DEBUG_LOG("medialib_ListFile_test_001 file.uri: %s, file.fileName: %s, file.mode: %d, file.mimeType: %s", in DisplayFileList()
126 t.uri.c_str(), t.fileName.c_str(), t.mode, t.mimeType.c_str()); in DisplayFileList()
452 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; in OpenCacheFile() local
453 MediaFileUtils::UriAppendKeyValue(uri, URI_PARAM_API_VERSION, to_string(MEDIA_API_VERSION_V10)); in OpenCacheFile()
454 Uri openCacheUri(uri); in OpenCacheFile()
774 Uri uri(uriString); in TestPhotoOpenParamsApi10()
775 MediaLibraryCommand cmd(uri); in TestPhotoOpenParamsApi10()
790 Uri uri(uriString); in TestPhotoOpenEditParamsApi10()
791 MediaLibraryCommand cmd(uri); in TestPhotoOpenEditParamsApi10()
801 TestPhotoCloseParamsApi10(string uri, ExceptIntFunction func) TestPhotoCloseParamsApi10() argument
2077 string uri = MediaLibraryAssetOperations::CreateExtUriForV10Asset(*fileAssetPtr); HWTEST_F() local
2588 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2606 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2629 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + unsupportedFileName; HWTEST_F() local
2647 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2679 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2718 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2747 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2825 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2864 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2903 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
2939 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
3018 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
3047 string uri = PhotoColumn::PHOTO_CACHE_URI_PREFIX + fileName; HWTEST_F() local
[all...]
/foundation/ability/ability_lite/frameworks/want_lite/src/
H A Dwant.cpp38 const char *key; /* key of uri property */
39 uint8_t keyLen; /* key length of uri property */
40 UriKeyType type; /* key type of uri property */
354 Want *WantParseUri(const char *uri)
356 if (uri == nullptr) {
359 char *parseUri = OHOS::Utils::Strdup(uri);
449 char *uri = reinterpret_cast<char *>(AdapterMalloc(len + 1));
450 if (uri == nullptr) {
453 if (strncpy_s(uri, len + 1, uriString.c_str(), len) < 0) {
454 AdapterFree(uri);
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/font/
H A Drosen_font_loader.cpp192 std::string RosenFontLoader::RemovePathHead(const std::string& uri) in RemovePathHead() argument
194 auto iter = uri.find_first_of(':'); in RemovePathHead()
197 return uri; in RemovePathHead()
199 std::string head = uri.substr(0, iter); in RemovePathHead()
200 if ((head == "file" && uri.size() > FILE_HEAD_LENGTH) || (head == "memory" && uri.size() > MEMORY_HEAD_LENGTH) || in RemovePathHead()
201 (head == "internal" && uri.size() > INTERNAL_FILE_HEAD_LENGTH)) { in RemovePathHead()
202 // the file uri format is like "file:///data/data...", in RemovePathHead()
203 // the memory uri format is like "memory://font.ttf" for example, in RemovePathHead()
205 return uri in RemovePathHead()
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/serialization/
H A Dimporter.cpp58 if (auto obj = interface_pointer_cast<CORE_NS::IInterface>(ImportRef(d.uri))) { in Import()
61 CORE_LOG_W("Failed to resolve deferred ref uri"); in Import()
91 CORE_LOG_W("Missing base object for ref uri [%s]", ref.ToString().c_str()); in ImportRef()
95 auto uri = ref.RelativeUri(); in ImportRef() local
97 uri.SetAbsoluteInterpretation(true); in ImportRef()
98 if (auto ret = obj->Resolve(uri)) { in ImportRef()
102 CORE_LOG_W("Failed to find object for ref uri [%s]", ref.ToString().c_str()); in ImportRef()
375 // defer resolving the ref uri, might point to object that has not been imported yet. in ImportWeakPtrInAny()
379 CORE_LOG_F("Cannot import something else than ref uri to weak ptr"); in ImportWeakPtrInAny()
429 IObject::Ptr Importer::ResolveRefUri(const RefUri& uri) in ResolveRefUri() argument
495 ResolveRefUri(const RefUri& uri) ResolveRefUri() argument
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/notify_test/src/
H A Dnotify_test.cpp87 Uri uri(uriStr); in CheckFileNotify()
92 sDataShareHelper_->RegisterObserverExt(uri, obs, true); in CheckFileNotify()
139 Uri uri(albumStr); in CheckAlbumNotify()
144 sDataShareHelper_->RegisterObserverExt(uri, obs, true); in CheckAlbumNotify()
166 Uri uri(uriStr); in CheckCloseAssetNotify()
171 sDataShareHelper_->RegisterObserverExt(uri, obs, true); in CheckCloseAssetNotify()
255 Uri uri(uriStr); in CheckCloudSyncNotify()
263 uris.push_back(uri); in CheckCloudSyncNotify()
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_dualfwk_restore.cpp141 static void MediaUriAppendKeyValue(string &uri, const string &key, const string &value) in MediaUriAppendKeyValue() argument
144 if (uri.find(uriKey) != string::npos) { in MediaUriAppendKeyValue()
148 char queryMark = (uri.find('?') == string::npos) ? '?' : '&'; in MediaUriAppendKeyValue()
151 size_t posJ = uri.find('#'); in MediaUriAppendKeyValue()
153 uri += append; in MediaUriAppendKeyValue()
155 uri.insert(posJ, append); in MediaUriAppendKeyValue()
212 Uri uri(queryFileUri); in QueryMediaLibForFileInfo()
214 resultSet = mediaDataShare_->Query(uri, predicates, columns); in QueryMediaLibForFileInfo()
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/
H A Dringtone_data_manager.cpp90 Uri uri(RINGTONE_PATH_URI); in DeleteRingtoneRowById()
91 RingtoneDataCommand cmd(uri, RINGTONE_TABLE, RingtoneOperationType::DELETE); in DeleteRingtoneRowById()
352 RINGTONE_INFO_LOG("openfile uri %{public}s", cmd.GetUri().ToString().c_str()); in OpenFile()
371 string RingtoneDataManager::GetIdFromUri(Uri &uri, const std::string &uriPath) in GetIdFromUri() argument
374 uri.GetPathSegments(segments); in GetIdFromUri()
390 Uri uri(""); in GetRingtoneAssetFromId()
391 RingtoneDataCommand cmd(uri, RINGTONE_TABLE, RingtoneOperationType::QUERY); in GetRingtoneAssetFromId()
414 Uri uri(""); in GetVibrateAssetFromId()
415 RingtoneDataCommand cmd(uri, VIBRATE_TABLE, RingtoneOperationType::QUERY); in GetVibrateAssetFromId()
/foundation/multimedia/ringtone_library/test/unittest/ringtone_helper_test/src/
H A Dringtone_fetch_result_test.cpp165 Uri uri(RINGTONE_PATH_URI); in HWTEST_F()
173 RingtoneDataCommand cmd(uri, RINGTONE_TABLE, RingtoneOperationType::INSERT); in HWTEST_F()
180 RingtoneDataCommand cmdQuery(uri, RINGTONE_TABLE, RingtoneOperationType::QUERY); in HWTEST_F()
199 RingtoneDataCommand cmdDelete(uri, RINGTONE_TABLE, RingtoneOperationType::DELETE); in HWTEST_F()
207 Uri uri(RINGTONE_PATH_URI); in HWTEST_F()
215 RingtoneDataCommand cmd(uri, RINGTONE_TABLE, RingtoneOperationType::INSERT); in HWTEST_F()
228 RingtoneDataCommand cmdQuery(uri, RINGTONE_TABLE, RingtoneOperationType::QUERY); in HWTEST_F()
247 RingtoneDataCommand cmdDelete(uri, RINGTONE_TABLE, RingtoneOperationType::DELETE); in HWTEST_F()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_profile_config.cpp40 SetValue(node[GET_NAME(uri)], uri); in Marshal()
49 bool ret = GetValue(node, GET_NAME(uri), uri); in Unmarshal()
269 profileInfos[item.uri] = profileInfo.profile; in GetProfileInfo()
279 if (item.uri == tableUri) { in GetAccessCrossMode()
283 if (item.uri == storeUri) { in GetAccessCrossMode()
287 if (item.uri == "*") { in GetAccessCrossMode()
/foundation/distributeddatamgr/data_share/frameworks/native/proxy/src/
H A Dpublished_data_subscriber_manager.cpp35 std::for_each(uris.begin(), uris.end(), [&keys, &subscriberId](auto &uri) { in AddObservers()
36 keys.emplace_back(uri, subscriberId); in AddObservers()
60 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str()); in AddObservers()
105 std::for_each(uris.begin(), uris.end(), [&keys, &subscriberId](auto &uri) { in DelObservers()
106 keys.emplace_back(uri, subscriberId); in DelObservers()
132 std::for_each(uris.begin(), uris.end(), [&keys, &subscriberId](auto &uri) {
133 keys.emplace_back(uri, subscriberId);
154 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str());
171 std::for_each(uris.begin(), uris.end(), [&keys, &subscriberId](auto &uri) {
172 keys.emplace_back(uri, subscriberI
[all...]
H A Drdb_subscriber_manager.cpp46 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) { in AddObservers()
47 keys.emplace_back(uri, templateId); in AddObservers()
71 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str()); in AddObservers()
93 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) { in DelObservers()
94 keys.emplace_back(uri, templateId); in DelObservers()
139 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) {
140 keys.emplace_back(uri, templateId);
161 LOG_WARN("registered failed, uri is %{public}s", subResult.key_.c_str());
178 std::for_each(uris.begin(), uris.end(), [&keys, &templateId](auto &uri) {
179 keys.emplace_back(uri, templateI
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dvalue_proxy_test.cpp137 DistributedDB::Asset dbAsset0 { .name = "dbname", .uri = "dburi" }; in HWTEST_F()
138 DistributedDB::Asset dbAsset1 { .name = "dbname", .uri = "dburi" }; in HWTEST_F()
166 NormalAsset nAsset0 { .name = "name", .uri = "uri" }; in HWTEST_F()
167 NormalAsset nAsset1 { .name = "name", .uri = "uri" }; in HWTEST_F()
195 RdbAsset dbAsset0 { .name = "dbname", .uri = "dburi" }; in HWTEST_F()
196 RdbAsset dbAsset1 { .name = "dbname", .uri = "dburi" }; in HWTEST_F()
226 NormalAsset nAsset0 { .name = "name", .uri = "uri" }; in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/cj/src/
H A Drelational_store_utils.cpp51 .uri = value.asset.uri, in ValueTypeToValueObjectAsset()
71 .uri = asset.uri, in ValueTypeToValueObjectAssets()
132 .uri = MallocCString(val.uri), in ValueObjectToValueTypeAsset()
153 .uri = MallocCString(val[i].uri), in ValueObjectToValueTypeAssets()

Completed in 20 milliseconds

1...<<21222324252627282930>>...74