Searched defs:absolute_path (Results 1 - 4 of 4) sorted by relevance

/system/tools/aidl/
H A Dio_delegate_unittest.cpp29 string absolute_path; local
30 EXPECT_FALSE(IoDelegate::GetAbsolutePath("", &absolute_path));
31 EXPECT_TRUE(absolute_path.empty());
35 string absolute_path; local
36 EXPECT_TRUE(IoDelegate::GetAbsolutePath("foo", &absolute_path));
37 ASSERT_FALSE(absolute_path.empty());
38 // Should find our desired file at the end of |absolute_path|
40 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4);
42 EXPECT_EQ(absolute_path[
[all...]
H A Dio_delegate.cpp44 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) { argument
53 *absolute_path = buf;
65 *absolute_path = path;
76 *absolute_path = buf;
77 *absolute_path += OS_PATH_SEPARATOR;
78 *absolute_path += path;
154 string absolute_path; local
155 if (!GetAbsolutePath(path, &absolute_path)) {
159 auto directories = Split(absolute_path, string{1u, OS_PATH_SEPARATOR});
/system/connectivity/shill/cellular/
H A Dmobile_operator_info.cc59 void MobileOperatorInfo::AddDatabasePath(const FilePath& absolute_path) { argument
60 SLOG(this, 3) << GetLogPrefix(__func__) << "(" << absolute_path.value()
62 impl_->AddDatabasePath(absolute_path);
H A Dmobile_operator_info_impl.cc96 void MobileOperatorInfoImpl::AddDatabasePath(const FilePath& absolute_path) { argument
97 database_paths_.push_back(absolute_path);

Completed in 130 milliseconds