/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | render_node_graph_loader.cpp | 143 RenderNodeGraphLoader::LoadResult RenderNodeGraphLoader::Load(const string_view uri) in Load() argument 145 IFile::Ptr file = fileManager_.OpenFile(uri); in Load() 147 PLUGIN_LOG_D("Error loading '%s'", string(uri).c_str()); in Load() 155 PLUGIN_LOG_D("Error loading '%s'", string(uri).c_str()); in Load() 159 return LoadString(uri, raw); in Load() 167 RenderNodeGraphLoader::LoadResult RenderNodeGraphLoader::LoadString(const string_view uri, const string_view jsonString) in LoadString() argument 216 finalResult.desc.renderNodeGraphUri = uri; in LoadString()
|
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/include/ |
H A D | js_file_access_ext_ability.h | 84 int OpenFile(const Uri &uri, const int flags, int &fd) override; 100 int Access(const Uri &uri, bool &isExist) override; 101 int Query(const Uri &uri, std::vector<std::string> &columns, std::vector<std::string> &results) override; 102 int StartWatcher(const Uri &uri) override; 103 int StopWatcher(const Uri &uri) override; 120 static int Notify(Uri &uri, NotifyType notifyType); 137 static napi_status ConstructQueryArg(napi_env &env, napi_value *argv, size_t &argc, const Uri &uri,
|
/foundation/distributeddatamgr/data_share/frameworks/native/common/src/ |
H A D | datashare_itypes_utils.cpp | 53 return ITypesUtil::Marshal(parcel, result.uri, result.codes); in Marshalling() 59 return ITypesUtil::Unmarshal(parcel, result.uri, result.codes); in Unmarshalling() 193 auto uri = std::shared_ptr<Uri>(parcel.ReadParcelable<Uri>()); in Unmarshalling() local 194 if (uri == nullptr) { in Unmarshalling() 197 node = *uri; in Unmarshalling() 217 operationStatement.uri, operationStatement.valuesBucket, operationStatement.predicates); in Marshalling() 228 return ITypesUtil::Unmarshal(parcel, operationStatement.uri, in Unmarshalling()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/ |
H A D | ability.h | 272 const Uri &uri, const std::string &method, const std::string &arg, const AppExecFwk::PacMap &pacMap); 326 * @param uri Indicates the path of the file to open. 334 virtual int OpenRawFile(const Uri &uri, const std::string &mode); 339 * @param uri Indicates the database table storing the data to update. 347 const Uri &uri, const NativeRdb::ValuesBucket &value, const NativeRdb::DataAbilityPredicates &predicates); 506 * @param uri Indicates the URI of the data. 508 * @return Returns the MIME type that matches the data specified by uri. 510 virtual std::string GetType(const Uri &uri); 515 * @param uri Indicates the position where the data is to insert. 520 virtual int Insert(const Uri &uri, cons [all...] |
/foundation/ability/ability_base/test/unittest/want/ |
H A D | want_test.cpp | 1125 std::string uri = wantOrigin.ToUri(); in HWTEST_F() local 1127 head = uri.find(WantBaseTest::URI_STRING_HEAD, pos); in HWTEST_F() 1133 content = uri.find(WantBaseTest::URI_STRING_END, pos); in HWTEST_F() 1139 EXPECT_EQ(uri.length(), pos); in HWTEST_F() 1141 Want *wantNew = Want::ParseUri(uri); in HWTEST_F() 1181 std::string uri = wantOrigin.ToUri(); in HWTEST_F() local 1182 Want *wantNew = Want::ParseUri(uri); in HWTEST_F() 1220 std::string uri = wantOrigin.ToUri(); in HWTEST_F() local 1223 result = uri.find(search, pos); in HWTEST_F() 1231 result = uri in HWTEST_F() 1290 std::string uri = wantOrigin.ToUri(); HWTEST_F() local 1379 std::string uri = wantOrigin.ToUri(); HWTEST_F() local 1454 std::string uri = wantOrigin.ToUri(); HWTEST_F() local 1539 std::string uri; HWTEST_F() local 1558 std::string uri = "#Intent;action=;entity=;device=;bundle=;ability=;flag=;end"; HWTEST_F() local 1585 std::string uri = "#Intent;action=want.action.VIEW;flag=\\"123\\";end"; HWTEST_F() local 1604 std::string uri = "action=want.action.VIEW;end"; HWTEST_F() local 1623 std::string uri = "#Intent;flag=;end"; HWTEST_F() local 1644 std::string uri = "#Intent;flag=0X12345678;end"; HWTEST_F() local 1676 std::string uri = wantOrigin.ToUri(); HWTEST_F() local 1701 std::string uri = "#Intent;action;end"; HWTEST_F() local 3874 std::string uri = "url"; HWTEST_F() local 4106 std::string uri = "#Intent;action;end"; HWTEST_F() local [all...] |
/foundation/multimedia/player_framework/frameworks/native/system_sound_manager/ |
H A D | system_sound_manager_impl.cpp | 278 MEDIA_LOGW("InitDefaultRingtoneUriMap: failed to load uri of preset_ringtone_sim1"); in InitDefaultRingtoneUriMap() 287 MEDIA_LOGW("InitDefaultRingtoneUriMap: failed to load uri of preset_ringtone_sim2"); in InitDefaultRingtoneUriMap() 332 MEDIA_LOGW("InitDefaultSystemToneUriMap: failed to load uri of preset_ringtone_sms"); in InitDefaultSystemToneUriMap() 343 MEDIA_LOGW("InitDefaultSystemToneUriMap: failed to load uri of preset_ringtone_notification"); in InitDefaultSystemToneUriMap() 355 MEDIA_LOGW("ReadDefaultToneHaptics: failed to load uri of [%{public}s]", paramName); in ReadDefaultToneHaptics() 408 int32_t SystemSoundManagerImpl::WriteUriToDatabase(const std::string &key, const std::string &uri) in WriteUriToDatabase() argument 410 int32_t result = AudioStandard::AudioSystemManager::GetInstance()->SetSystemSoundUri(key, uri); in WriteUriToDatabase() 411 MEDIA_LOGI("WriteUriToDatabase: key: %{public}s, uri: %{public}s, result: %{public}d", in WriteUriToDatabase() 412 key.c_str(), uri.c_str(), result); in WriteUriToDatabase() 418 std::string uri in GetUriFromDatabase() local 497 SetRingtoneUri(const shared_ptr<Context> &context, const string &uri, RingtoneType ringtoneType) SetRingtoneUri() argument 542 std::string uri = ""; GetRingtoneUriByType() local 760 SetSystemToneUri(const shared_ptr<Context> &context, const string &uri, SystemToneType systemToneType) SetSystemToneUri() argument 819 std::string uri = ""; GetShotToneUriByType() local 841 std::string uri = ""; GetPresetShotToneUriByType() local 863 std::string uri = ""; GetNotificationToneUriByType() local 885 std::string uri = ""; GetPresetNotificationToneUri() local 1102 SetAlarmToneUri(const std::shared_ptr<AbilityRuntime::Context> &context, const std::string &uri) SetAlarmToneUri() argument 1248 OpenAlarmTone(const std::shared_ptr<AbilityRuntime::Context> &context, const std::string &uri) OpenAlarmTone() argument 1426 RemoveCustomizedTone( const std::shared_ptr<AbilityRuntime::Context> &context, const std::string &uri) RemoveCustomizedTone() argument [all...] |
/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test_management.cpp | 54 Uri parentUri(info[i].uri); in HWTEST_F() 165 Uri parentUri(info[i].uri); in HWTEST_F() 178 static void CreateFileTdd(shared_ptr<FileAccessHelper> fahs, Uri uri, std::string displayName, Uri newFile) in CreateFileTdd() argument 183 int ret = fahs->CreateFile(uri, displayName, newFile); in CreateFileTdd() 213 Uri parentUri(info[i].uri); in HWTEST_F() 222 Uri newDelete(info[i].uri + "/" + displayName); in HWTEST_F() 251 std::string str = info[i].uri; in HWTEST_F() 288 Uri parentUri(info[i].uri); in HWTEST_F() 320 Uri parentUri(info[0].uri); in HWTEST_F() 360 Uri parentUri(info[0].uri); in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/frameworks/native/ability/native/ |
H A D | ability_impl.cpp | 337 std::vector<std::string> AbilityImpl::GetFileTypes(const Uri &uri, const std::string &mimeTypeFilter) in GetFileTypes() argument 344 int AbilityImpl::OpenFile(const Uri &uri, const std::string &mode) in OpenFile() argument 350 int AbilityImpl::OpenRawFile(const Uri &uri, const std::string &mode) in OpenRawFile() argument 356 int AbilityImpl::Insert(const Uri &uri, const NativeRdb::ValuesBucket &value) in Insert() argument 363 const Uri &uri, const std::string &method, const std::string &arg, const AppExecFwk::PacMap &pacMap) in Call() 370 const Uri &uri, const NativeRdb::ValuesBucket &value, const NativeRdb::DataAbilityPredicates &predicates) in Update() 376 int AbilityImpl::Delete(const Uri &uri, const NativeRdb::DataAbilityPredicates &predicates) in Delete() argument 383 const Uri &uri, std::vector<std::string> &columns, const NativeRdb::DataAbilityPredicates &predicates) in Query() 389 std::string AbilityImpl::GetType(const Uri &uri) in GetType() argument 395 bool AbilityImpl::Reload(const Uri &uri, cons argument 362 Call( const Uri &uri, const std::string &method, const std::string &arg, const AppExecFwk::PacMap &pacMap) Call() argument 369 Update( const Uri &uri, const NativeRdb::ValuesBucket &value, const NativeRdb::DataAbilityPredicates &predicates) Update() argument 382 Query( const Uri &uri, std::vector<std::string> &columns, const NativeRdb::DataAbilityPredicates &predicates) Query() argument 400 BatchInsert(const Uri &uri, const std::vector<NativeRdb::ValuesBucket> &values) BatchInsert() argument 406 SetUriString(const std::string &uri) SetUriString() argument 475 NormalizeUri(const Uri &uri) NormalizeUri() argument 481 DenormalizeUri(const Uri &uri) DenormalizeUri() argument [all...] |
/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | want.h | 23 #include "uri.h" 209 * @param uri Indicates the URI to parse. 212 static Want *WantParseUri(const char *uri); 217 * @param uri Indicates the URI to parse. 220 static Want *ParseUri(const std::string &uri); 236 * @param uri Indicates the URI description. 239 Want &SetUri(const std::string &uri); 243 * @param uri Indicates the URI description. 246 Want &SetUri(const Uri &uri); 250 * @param uri Indicate [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | picture_handle_client.cpp | 46 std::string uri = PhotoColumn::PHOTO_REQUEST_PICTURE;
in RequestPicture() local 47 MediaFileUtils::UriAppendKeyValue(uri, MediaColumn::MEDIA_ID, std::to_string(fileId));
in RequestPicture() 48 Uri requestUri(uri);
in RequestPicture() 64 std::string uri = PAH_FINISH_REQUEST_PICTURE;
in FinishRequestPicture() local 65 MediaLibraryNapiUtils::UriAppendKeyValue(uri, API_VERSION, std::to_string(MEDIA_API_VERSION_V10));
in FinishRequestPicture() 66 Uri finishRequestPictureUri(uri);
in FinishRequestPicture() 385 std::string uri = PhotoColumn::PHOTO_REQUEST_PICTURE_BUFFER;
in RequestBufferHandlerFd() local 386 MediaFileUtils::UriAppendKeyValue(uri, "fd", std::to_string(fd));
in RequestBufferHandlerFd() 387 MEDIA_DEBUG_LOG("PictureHandlerClient::RequestBufferHandlerFd uri: %{public}s", uri in RequestBufferHandlerFd() [all...] |
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | setting_datashare.cpp | 29 #include "uri.h" 159 auto uri = AssembleUri(observer->GetKey(), strUri); in RegisterObserver() local 165 helper->RegisterObserver(uri, observer); in RegisterObserver() 166 helper->NotifyChange(uri); in RegisterObserver() 182 auto uri = AssembleUri(observer->GetKey(), strUri); in UnregisterObserver() local 188 helper->UnregisterObserver(uri, observer); in UnregisterObserver() 209 Uri uri(AssembleUri(key, strUri)); in GetStringValue() 210 auto resultSet = helper->Query(uri, predicates, columns); in GetStringValue() 254 Uri uri(AssembleUri(key, strUri)); in PutStringValue() 255 if (helper->Update(uri, predicate in PutStringValue() [all...] |
/foundation/filemanagement/dfs_service/interfaces/kits/js/cloudfilesync/ |
H A D | cloud_file_cache_napi.cpp | 111 auto [succ, uri, ignore] = NVal(env, funcArg[(int)NARG_POS::FIRST]).ToUTF8String(); in CleanCloudFileCache() 113 LOGE("Get uri error"); in CleanCloudFileCache() 118 int32_t ret = CloudSyncManager::GetInstance().CleanCache(uri.get()); in CleanCloudFileCache() 149 auto [succUri, uri, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in StartFileCache() 151 LOGE("Start get uri parameter failed!"); in StartFileCache() 156 auto cbExec = [uri = string(uri.get())]() -> NError { in StartFileCache() 157 int32_t ret = CloudSyncManager::GetInstance().StartFileCache(uri); in StartFileCache() 186 auto [succ, uri, ignore] = NVal(env, funcArg[NARG_POS::FIRST]).ToUTF8String(); in StopFileCache() 188 LOGE("Stop get uri paramete in StopFileCache() [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | data_ability_impl_file_secondpart_test.cpp | 78 Uri uri("nullptr"); in HWTEST_F() 80 ret = dataabilityimpl->BatchInsert(uri, values); in HWTEST_F() 97 Uri uri("nullptr"); in HWTEST_F() 99 ret = dataabilityimpl->BatchInsert(uri, values); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/udmf/ |
H A D | udmf_impl.h | 45 bool GetFileUriRecord(const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri) override; 46 bool AddFileUriRecord(const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri) override; 53 void AddImageRecord(const RefPtr<UnifiedData>& unifiedData, const std::string& uri) override; 57 int32_t GetVideoRecordUri(const RefPtr<UnifiedData>& unifiedData, std::string& uri) override;
|
/foundation/arkui/ace_engine/adapter/ohos/capability/udmf/ |
H A D | udmf_impl.h | 48 bool GetFileUriRecord(const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri) override; 49 bool AddFileUriRecord(const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri) override; 56 void AddImageRecord(const RefPtr<UnifiedData>& unifiedData, const std::string& uri) override; 60 int32_t GetVideoRecordUri(const RefPtr<UnifiedData>& unifiedData, std::string& uri) override;
|
/foundation/arkui/ace_engine/frameworks/core/common/udmf/ |
H A D | udmf_client.h | 57 virtual bool GetFileUriRecord(const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri) = 0; 58 virtual bool AddFileUriRecord(const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri) = 0; 65 virtual void AddImageRecord(const RefPtr<UnifiedData>& unifiedData, const std::string& uri) = 0; 69 virtual int32_t GetVideoRecordUri(const RefPtr<UnifiedData>& unifiedData, std::string& uri) = 0;
|
/foundation/arkui/ace_engine/test/mock/core/common/ |
H A D | mock_udmf.h | 47 (const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri), (override)); 49 (const RefPtr<UnifiedData>& unifiedData, std::vector<std::string>& uri), (override)); 56 MOCK_METHOD(void, AddImageRecord, (const RefPtr<UnifiedData>& unifiedData, const std::string& uri), (override)); 61 MOCK_METHOD(int32_t, GetVideoRecordUri, (const RefPtr<UnifiedData>& unifiedData, std::string& uri), (override));
|
/foundation/multimedia/player_framework/services/services/recorder/server/ |
H A D | media_library_adapter.cpp | 173 bool CreateMediaLibrary(int32_t &fd, std::string &uri)
in CreateMediaLibrary() argument 202 uri = photoAssetProxy->GetPhotoAssetUri();
in CreateMediaLibrary() 203 MEDIA_LOGD("video uri:%{public}s", uri.c_str());
in CreateMediaLibrary() 204 fd = mediaLibraryManager->OpenAsset(uri, "rw");
in CreateMediaLibrary()
|
/foundation/distributeddatamgr/data_share/frameworks/js/napi/observer/include/ |
H A D | napi_subscriber_manager.h | 34 NapiRdbObserverMapKey(const std::string &uri, const TemplateId &templateId) : uri_(uri), templateId_(templateId){}; in NapiRdbObserverMapKey() 78 NapiPublishedObserverMapKey(const std::string &uri, int64_t subscriberId) : uri_(uri), in NapiPublishedObserverMapKey()
|
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/ |
H A D | video_napi.cpp | 33 DECLARE_NAPI_GETTER_SETTER("uri", FileNapi::GetUri, FileNapi::SetUri), in Constructor() 89 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, "set video uri failed!"); in GetVideoUri() 97 std::string uri; in SetVideoUri() local 98 auto input = [env, ctxt, &uri](size_t argc, napi_value *argv) { in SetVideoUri() 101 ctxt->status = NapiDataUtils::GetValue(env, argv[0], uri); in SetVideoUri() 103 Status::E_INVALID_PARAMETERS, "Parameter error: parameter uri type must be string"); in SetVideoUri() 110 video->value_->SetUri(uri); in SetVideoUri()
|
H A D | image_napi.cpp | 33 DECLARE_NAPI_GETTER_SETTER("uri", FileNapi::GetUri, FileNapi::SetUri), in Constructor() 89 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, "set image uri failed!"); in GetImageUri() 97 std::string uri; in SetImageUri() local 98 auto input = [env, ctxt, &uri](size_t argc, napi_value *argv) { in SetImageUri() 101 ctxt->status = NapiDataUtils::GetValue(env, argv[0], uri); in SetImageUri() 110 image->value_->SetUri(uri); in SetImageUri()
|
H A D | audio_napi.cpp | 33 DECLARE_NAPI_GETTER_SETTER("uri", FileNapi::GetUri, FileNapi::SetUri), in Constructor() 89 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, "set audio uri failed!"); in GetAudioUri() 97 std::string uri; in SetAudioUri() local 98 auto input = [env, ctxt, &uri](size_t argc, napi_value *argv) { in SetAudioUri() 101 ctxt->status = NapiDataUtils::GetValue(env, argv[0], uri); in SetAudioUri() 110 audio->value_->SetUri(uri); in SetAudioUri()
|
H A D | folder_napi.cpp | 33 DECLARE_NAPI_GETTER_SETTER("uri", FileNapi::GetUri, FileNapi::SetUri), in Constructor() 89 ASSERT_ERR(ctxt->env, ctxt->status == napi_ok, Status::E_ERROR, "set folder uri failed!"); in GetFolderUri() 97 std::string uri; in SetFolderUri() local 98 auto input = [env, ctxt, &uri](size_t argc, napi_value *argv) { in SetFolderUri() 101 ctxt->status = NapiDataUtils::GetValue(env, argv[0], uri); in SetFolderUri() 110 folder->value_->SetUri(uri); in SetFolderUri()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/ |
H A D | cloud_sync_service_proxy.h | 44 int32_t StartDownloadFile(const std::string &uri) override; 47 int32_t StopDownloadFile(const std::string &uri, bool needClean = false) override; 62 int32_t DeleteAsset(const int32_t userId, const std::string &uri) override; 64 int32_t CleanCacheInner(const std::string &uri) override;
|
H A D | cloud_sync_manager_impl.h | 48 int32_t StartDownloadFile(const std::string &uri) override; 49 int32_t StartFileCache(const std::string &uri) override; 51 int32_t StopDownloadFile(const std::string &uri, bool needClean = false) override; 56 int32_t CleanCache(const std::string &uri) override;
|