Home
last modified time | relevance | path

Searched refs:file_path_ (Results 1 – 6 of 6) sorted by relevance

/system/extras/libjsonpb/verify/include/jsonpb/
Djson_schema_test.h59 AbstractJsonSchemaTestConfig(const std::string& path) : file_path_(path){}; in AbstractJsonSchemaTestConfig()
63 std::string file_path() const override { return file_path_; } in file_path()
66 std::string file_path_;
82 file_path_ = config->file_path(); in SetUp()
84 if (access(file_path_.c_str(), F_OK) == -1) { in SetUp()
85 ASSERT_EQ(ENOENT, errno) << "File '" << file_path_ << "' is not accessible: " in SetUp()
87 ASSERT_TRUE(config->optional()) << "Missing mandatory file " << file_path_; in SetUp()
90 ASSERT_TRUE(android::base::ReadFileToString(file_path_, &json_)); in SetUp()
91 ASSERT_FALSE(json_.empty()) << "File '" << file_path_ << "' exists but is empty"; in SetUp()
95 ASSERT_TRUE(res.ok()) << "Invalid format of file " << file_path_ in SetUp()
[all …]
/system/core/libprocessgroup/profiles/
Dtask_profiles_test.h42 << "No name for attribute #" << i << " in " << file_path_; in TEST_P()
44 << "No controller for attribute #" << i << " in " << file_path_; in TEST_P()
46 << "No file for attribute #" << i << " in " << file_path_; in TEST_P()
54 << "No name for profile #" << profile_idx << " in " << file_path_; in TEST_P()
59 << "] in " << file_path_; in TEST_P()
Dcgroups_test.h44 << "No controller name for cgroup #" << i << " in " << file_path_; in TEST_P()
45 EXPECT_FALSE(cgroup.path().empty()) << "No path for cgroup #" << i << " in " << file_path_; in TEST_P()
52 << "No path for cgroup2 in " << file_path_; in TEST_P()
61 << "For cgroup controller #" << i << " in " << file_path_; in TEST_P()
67 << "For cgroups2 in " << file_path_; in TEST_P()
Dtest_vendor.cpp36 TestConfig(const std::string& path) : file_path_(path){}; in TestConfig()
40 std::string file_path() const override { return file_path_; } in file_path()
47 std::string file_path_; member in android::profiles::TestConfig
/system/core/fs_mgr/libfiemap_writer/include/libfiemap_writer/
Dfiemap_writer.h72 const std::string& file_path() const { return file_path_; }; in file_path()
87 std::string file_path_;
/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer.cpp669 fmap->file_path_ = abs_path; in Open()