/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/test/ |
H A D | test_napi.cpp | 196 ASSERT_STREQ(uri.GetAuthority().c_str(), "16.9.5.4:99"); 210 ASSERT_STREQ(uri.GetAuthority().c_str(), "[::168:169:333]:99"); 266 ASSERT_STREQ(uri.GetAuthority().c_str(), "user@hosthost"); 280 ASSERT_STREQ(uri.GetAuthority().c_str(), "user@[::]"); 294 ASSERT_STREQ(uri.GetAuthority().c_str(), "[::192:0:5]"); 308 ASSERT_STREQ(uri.GetAuthority().c_str(), ""); 322 ASSERT_STREQ(uri.GetAuthority().c_str(), ""); 336 ASSERT_STREQ(uri.GetAuthority().c_str(), ""); 350 ASSERT_STREQ(uri.GetAuthority().c_str(), ""); 364 ASSERT_STREQ(uri.GetAuthority().c_str(), ""); [all …]
|
/ohos5.0/foundation/ability/ability_base/test/unittest/want/ |
H A D | uri_test.cpp | 88 auto result = uri_->GetAuthority(); 103 auto result = uri_->GetAuthority(); 117 auto result = uri_->GetAuthority(); 145 auto result = uri_->GetAuthority(); 420 auto result1 = uri_->GetAuthority(); 472 auto result = uri_->GetAuthority();
|
H A D | skills_test.cpp | 247 EXPECT_EQ(skills1->GetAuthority(i), skills1->GetAuthority(i)); in CompareSkills() 325 EXPECT_EQ(empty, base_->GetAuthority(0)); 434 EXPECT_EQ(authority, base_->GetAuthority(0)); 548 EXPECT_EQ(empty, base_->GetAuthority(0)); 566 EXPECT_EQ(empty, base_->GetAuthority(0)); 584 EXPECT_EQ(empty, base_->GetAuthority(0)); 605 EXPECT_EQ(empty, base_->GetAuthority(0)); 642 EXPECT_EQ(empty, base_->GetAuthority(0)); 931 EXPECT_EQ(authorityString, skills.GetAuthority(0)); 932 EXPECT_EQ(entityString1, skills.GetAuthority(index));
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_uri/src/ |
H A D | file_uri.cpp | 72 string bundleName = uri_.GetAuthority(); in GetPath() 88 string bundleName = uri_.GetAuthority(); in GetRealPath() 109 string bundleName = uri_.GetAuthority(); in GetRealPathBySA()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | uri_utils.cpp | 59 if (!uriTemp.GetAuthority().empty()) { in GetBundleNameFromProxyURI() 60 bundleName = uriTemp.GetAuthority(); in GetBundleNameFromProxyURI() 94 uriConfig.authority = uriTemp.GetAuthority(); in GetUriConfig()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/file_uri/ |
H A D | file_uri_n_exporter.cpp | 149 string bundleName = fileuriEntity->fileUri_.uri_.GetAuthority(); in GetFileUriPath() 174 } else if (!uri.GetAuthority().empty()) { in Split() 175 normalizeUri += "//" + uri.GetAuthority(); in Split() 340 napi_value FileUriNExporter::GetAuthority(napi_env env, napi_callback_info info) in GetAuthority() function in OHOS::AppFileService::ModuleFileUri::FileUriNExporter 355 return NVal::CreateUTF8String(env, fileuriEntity->fileUri_.uri_.GetAuthority()).val_; in GetAuthority() 479 NVal::DeclareNapiGetter("authority", GetAuthority), in Export()
|
H A D | file_uri_n_exporter.h | 41 static napi_value GetAuthority(napi_env env, napi_callback_info info);
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/src/ |
H A D | uri.cpp | 136 string Uri::GetAuthority() in GetAuthority() function in OHOS::Uri 193 string authority = GetAuthority(); in ParseUserInfo() 216 string authority = GetAuthority(); in ParseHost() 249 string authority = GetAuthority(); in ParsePort()
|
/ohos5.0/foundation/ability/ability_runtime/services/dataobsmgr/src/ |
H A D | dataobs_mgr_inner_ext.cpp | 40 std::vector<std::string> path = { uri.GetScheme(), uri.GetAuthority() }; in HandleRegisterObserver() 60 std::vector<std::string> path = { uri.GetScheme(), uri.GetAuthority() }; in HandleUnregisterObserver() 92 path.emplace_back(uri.GetAuthority()); in HandleNotifyChange()
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_helper.cpp | 150 std::string path = "/" + uri.GetAuthority() + uri.GetPath(); in GetConnectExtensionInfo() 330 std::string path = "/" + uri.GetAuthority() + uri.GetPath(); in GetProxyByUri() 512 if (sourceFileUri.GetAuthority() != targetParentUri.GetAuthority()) { in Move() 1135 if (sourceFileUri.GetAuthority() != targetParentUri.GetAuthority()) { in MoveItem() 1171 if (sourceFileUri.GetAuthority() != targetParentUri.GetAuthority()) { in MoveFile()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/cj/src/ |
H A D | file_uri.cpp | 52 string bundleName = uri_.GetAuthority(); in GetPath()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | grant_uri_permission.cpp | 169 string authority = uri.GetAuthority(); in DoGrantUriPermission() 194 string authority = uri.GetAuthority(); in CheckValidPublicUri()
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/uri/include/ |
H A D | uri.h | 48 std::string GetAuthority();
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/ |
H A D | remote_file_share.cpp | 381 std::string bundleName = uri.GetAuthority(); in GetDfsUriFromLocal() 439 std::string bundleName = uri.GetAuthority(); in GetDfsUrisFromLocal() 492 std::string bundleName = uri.GetAuthority(); in TransRemoteUriToLocal()
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/uri/ |
H A D | js_uri.h | 120 std::string GetAuthority() const;
|
H A D | native_module_uri.cpp | 255 static napi_value GetAuthority(napi_env env, napi_callback_info info) in GetAuthority() function 262 std::string temp = muri->GetAuthority(); in GetAuthority() 417 DECLARE_NAPI_GETTER("authority", GetAuthority), in UriInit()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_uri.cpp | 162 return uri->GetAuthority(); in CalNetworkId() 336 if (this->GetAuthority() != ML_URI_AUTHORITY && in IsValid() 414 …if (uri.GetAuthority() != ML_URI_AUTHORITY && uri.GetPath().find(MEDIALIBRARY_DATA_URI_IDENTIFIER)… in UriValidCheck()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/innerkits/native/file_share/src/ |
H A D | file_share.cpp | 89 info.providerBundleName_ = uri.GetAuthority(); in GetProviderInfo() 264 string bundleName = uri.GetAuthority(); in UmountDelUris()
|
/ohos5.0/foundation/ability/ability_runtime/services/uripermmgr/src/ |
H A D | uri_permission_manager_stub_impl.cpp | 462 auto &&authority = uriInner.GetAuthority(); in GrantBatchUriPermissionFor2In1Privileged() 548 auto uriAuthority = Uri(iter->first).GetAuthority(); in RevokeAllUriPermissions() 606 auto uriAuthority = uriInner.GetAuthority(); in RevokeUriPermissionManually() 738 auto &&authority = uri_inner.GetAuthority(); in GrantUriPermissionFor2In1Inner() 823 auto &&authority = uri.GetAuthority(); in CheckUriPermission()
|
H A D | file_permission_manager.cpp | 102 if (uriVec[i].GetAuthority() == FILE_MANAGER_AUTHORITY && in CheckUriPersistentPermission()
|
/ohos5.0/foundation/filemanagement/dfs_service/utils/system/src/ |
H A D | dfsu_access_token_helper.cpp | 141 if (bundleName != uri.GetAuthority() && in CheckUriPermission()
|
/ohos5.0/foundation/filemanagement/user_file_service/test/unittest/ |
H A D | external_file_access_test.cpp | 126 std::string curName = uri.GetAuthority(); in ReplaceBundleNameFromPath()
|
/ohos5.0/foundation/distributeddatamgr/data_share/frameworks/native/permission/src/ |
H A D | data_share_called_config.cpp | 89 std::string bundleName = uriTemp.GetAuthority(); in GetProviderInfo()
|
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/common/src/ |
H A D | sandbox_helper.cpp | 346 string bundleName = uri.GetAuthority(); in GetPhysicalPath() 382 string bundleName = uri.GetAuthority(); in GetBackupPhysicalPath()
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/include/ |
H A D | skills.h | 176 std::string GetAuthority(int index) const;
|