/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_entity_ext_manage_test.cpp | 111 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 D | installd_client.cpp | 283 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 D | mock_installd_host_impl.cpp | 157 ErrCode InstalldHostImpl::GetFileStat(const std::string &file, FileStat &fileStat)
in GetFileStat() function in OHOS::AppExecFwk::InstalldHostImpl
|
H A D | mock_install_client.cpp | 176 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 D | installd_client.cpp | 341 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 D | user_unlocked_event_subscriber.cpp | 86 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 D | bundle_mgr_service_event_handler.cpp | 456 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 D | installd_host_impl.h | 174 virtual ErrCode GetFileStat(const std::string &file, FileStat &fileStat) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | installd_client.h | 160 ErrCode GetFileStat(const std::string &file, FileStat &fileStat);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | installd_interface.h | 293 virtual ErrCode GetFileStat(const std::string &file, FileStat &fileStat) in GetFileStat() function in OHOS::AppExecFwk::IInstalld
|
H A D | installd_proxy.h | 175 virtual ErrCode GetFileStat(const std::string &file, FileStat &fileStat) override;
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_install_daemon_test/ |
H A D | bms_install_daemon_test.cpp | 657 * @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 D | bms_install_daemon_ipc_test.cpp | 400 * @tc.desc: 1. calling GetFileStat of proxy
409 auto ret = proxy->GetFileStat(TEST_STRING, fileStat);
in HWTEST_F()
|
H A D | bms_install_daemon_host_impl_test.cpp | 323 * @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 D | bms_installd_client_test.cpp | 889 * @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 D | bms_bundle_installer_permission_test.cpp | 434 * @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 D | bms_bundle_installer_test.cpp | 6344 * @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 D | installd_host.cpp | 563 ErrCode result = GetFileStat(file, fileStat); in HandleGetFileStat() 566 LOG_E(BMS_TAG_INSTALLD, "fail to GetFileStat from reply"); in HandleGetFileStat()
|
H A D | installd_proxy.cpp | 432 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 D | installd_host_impl.cpp | 1120 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()
|