Home
last modified time | relevance | path

Searched refs:GetFileStat (Results 1 - 20 of 20) sorted by relevance

/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_ext_manage_test.cpp111 struct stat GetFileStat(const string &pathTestFile) in GetFileStat() function
197 info.emplace(testFileHexName, make_tuple(pathTestFile, sta = GetFileStat(pathTestFile), true)); in HWTEST_F()
255 info.emplace(testFile1HexName, make_tuple(pathTestFile1, GetFileStat(pathTestFile1), true)); in HWTEST_F()
256 info.emplace(testFile2HexName, make_tuple(pathTestFile2, GetFileStat(pathTestFile2), true)); in HWTEST_F()
257 info.emplace(testFile3HexName, make_tuple(pathTestFile3, GetFileStat(pathTestFile3), true)); in HWTEST_F()
318 info.emplace(testFile1HexName, make_tuple(pathTestFile1, GetFileStat(pathTestFile1), true)); in HWTEST_F()
319 info.emplace(testFile2HexName, make_tuple(pathTestFile2, GetFileStat(pathTestFile2), true)); in HWTEST_F()
320 info.emplace(testFile3HexName, make_tuple(pathTestFile3, GetFileStat(pathTestFile3), true)); in HWTEST_F()
382 info.emplace(testFile1HexName, make_tuple(pathTestFile1, GetFileStat(pathTestFile1), true)); in HWTEST_F()
383 info.emplace(testFile2HexName, make_tuple(pathTestFile2, sta = GetFileStat(pathTestFile in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp283 ErrCode InstalldClient::GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::InstalldClient
290 return CallService(&IInstalld::GetFileStat, file, fileStat); in GetFileStat()
H A Dmock_installd_host_impl.cpp157 ErrCode InstalldHostImpl::GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::InstalldHostImpl
H A Dmock_install_client.cpp176 ErrCode InstalldClient::GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::InstalldClient
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp341 ErrCode InstalldClient::GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::InstalldClient
348 return CallService(&IInstalld::GetFileStat, file, fileStat); in GetFileStat()
H A Duser_unlocked_event_subscriber.cpp86 if (InstalldClient::GetInstance()->GetFileStat(path, fileStat) != ERR_OK) { in CheckPathAttribute()
87 APP_LOGE("GetFileStat path(%{public}s) failed", path.c_str()); in CheckPathAttribute()
H A Dbundle_mgr_service_event_handler.cpp456 if (InstalldClient::GetInstance()->GetFileStat(userDataBundlePath, fileStat) != ERR_OK) { in AnalyzeUserData()
457 LOG_E(BMS_TAG_DEFAULT, "GetFileStat path(%{public}s) failed", userDataBundlePath.c_str()); in AnalyzeUserData()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/installd/
H A Dinstalld_host_impl.h174 virtual ErrCode GetFileStat(const std::string &file, FileStat &fileStat) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dinstalld_client.h160 ErrCode GetFileStat(const std::string &file, FileStat &fileStat);
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dinstalld_interface.h293 virtual ErrCode GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::IInstalld
H A Dinstalld_proxy.h175 virtual ErrCode GetFileStat(const std::string &file, FileStat &fileStat) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/
H A Dbms_install_daemon_test.cpp657 * @tc.name: Test GetFileStat, a param is empty
658 * @tc.desc: 1.Test the GetFileStat of InstalldClient
667 ErrCode ret = InstalldClient::GetInstance()->GetFileStat("", fileStat); in HWTEST_F()
669 ret = InstalldClient::GetInstance()->GetFileStat("data/test/wrongpath", fileStat); in HWTEST_F()
H A Dbms_install_daemon_ipc_test.cpp400 * @tc.desc: 1. calling GetFileStat of proxy
409 auto ret = proxy->GetFileStat(TEST_STRING, fileStat); in HWTEST_F()
H A Dbms_install_daemon_host_impl_test.cpp323 * @tc.desc: 1. calling GetFileStat of hostImpl
332 auto ret = hostImpl->GetFileStat(TEST_STRING, fileStat); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp889 * @tc.name: GetFileStat
890 * @tc.desc: Test whether GetFileStat is called normally.(file is empty)
897 ErrCode result = installClient_->GetFileStat(file, fileStat); in HWTEST_F()
904 * @tc.name: GetFileStat
905 * @tc.desc: Test whether GetFileStat is called normally.
912 ErrCode result = installClient_->GetFileStat(file, fileStat); in HWTEST_F()
913 EXPECT_EQ(result, installClient_->CallService(&IInstalld::GetFileStat, file, fileStat)); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_installer_permission_test.cpp434 * @tc.name: test GetFileStat
435 * @tc.desc: test GetFileStat of InstalldHostImpl without permission
442 ErrCode ret = installdHostImpl.GetFileStat(file, fileStat); in HWTEST_F()
H A Dbms_bundle_installer_test.cpp6344 * @tc.name: test GetFileStat
6345 * @tc.desc: test GetFileStat of InstalldHostImpl
6352 ErrCode ret = hostImpl.GetFileStat(file, fileStat); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dinstalld_host.cpp563 ErrCode result = GetFileStat(file, fileStat); in HandleGetFileStat()
566 LOG_E(BMS_TAG_INSTALLD, "fail to GetFileStat from reply"); in HandleGetFileStat()
H A Dinstalld_proxy.cpp432 ErrCode InstalldProxy::GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::InstalldProxy
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/installd/
H A Dinstalld_host_impl.cpp1120 ErrCode InstalldHostImpl::GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::InstalldHostImpl
1127 LOG_D(BMS_TAG_INSTALLD, "GetFileStat start %{public}s", file.c_str()); in GetFileStat()

Completed in 57 milliseconds