Home
last modified time | relevance | path

Searched refs:absolute_path (Results 1 – 11 of 11) sorted by relevance

/aosp12/system/tools/aidl/
H A Dio_delegate_unittest.cpp34 string absolute_path; in TEST() local
35 EXPECT_FALSE(IoDelegate::GetAbsolutePath("", &absolute_path)); in TEST()
36 EXPECT_TRUE(absolute_path.empty()); in TEST()
41 string absolute_path; in TEST() local
42 EXPECT_TRUE(IoDelegate::GetAbsolutePath("foo", &absolute_path)); in TEST()
43 ASSERT_FALSE(absolute_path.empty()); in TEST()
46 EXPECT_TRUE(absolute_path.rfind("/foo") == absolute_path.length() - 4); in TEST()
48 EXPECT_EQ(absolute_path[0], '/'); in TEST()
H A Dio_delegate.cpp50 bool IoDelegate::GetAbsolutePath(const string& path, string* absolute_path) { in GetAbsolutePath() argument
59 *absolute_path = buf; in GetAbsolutePath()
70 *absolute_path = path; in GetAbsolutePath()
81 *absolute_path = buf; in GetAbsolutePath()
82 *absolute_path += OS_PATH_SEPARATOR; in GetAbsolutePath()
83 *absolute_path += path; in GetAbsolutePath()
156 string absolute_path; in CreateDirForPath() local
157 if (!GetAbsolutePath(path, &absolute_path)) { in CreateDirForPath()
161 auto directories = Split(absolute_path, string{OS_PATH_SEPARATOR}); in CreateDirForPath()
H A Dio_delegate.h45 std::string* absolute_path);
/aosp12/art/odrefresh/
H A Dodr_fs_utils.cc72 WARN_UNUSED bool EnsureDirectoryExists(const std::string& absolute_path) { in EnsureDirectoryExists() argument
73 if (absolute_path.empty() || absolute_path[0] != '/') { in EnsureDirectoryExists()
74 LOG(ERROR) << "Path not absolute '" << absolute_path << "'"; in EnsureDirectoryExists()
78 for (const std::string& directory : android::base::Split(absolute_path, "/")) { in EnsureDirectoryExists()
/aosp12/packages/modules/adb/fastdeploy/proto/
H A DApkEntry.proto13 string absolute_path = 4;
23 string absolute_path = 1;
/aosp12/packages/providers/MediaProvider/jni/
H A Dnode.cpp77 const node* node::LookupAbsolutePath(const node* root, const std::string& absolute_path) { in LookupAbsolutePath() argument
78 if (absolute_path.find(root->GetName()) != 0) { in LookupAbsolutePath()
82 std::vector<std::string> segments = GetPathSegments(root->GetName().size(), absolute_path); in LookupAbsolutePath()
H A Dnode-inl.h362 static const node* LookupAbsolutePath(const node* root, const std::string& absolute_path);
/aosp12/packages/modules/adb/fastdeploy/deploypatchgenerator/
H A Ddeploy_patch_generator.cpp75 Log("APK Metadata: %s", metadata.absolute_path().c_str()); in APKMetaDataToLog()
190 const std::string localApkPath = localApkMetadata.absolute_path(); in CreatePatch()
191 const std::string deviceApkPath = deviceApkMetadata.absolute_path(); in CreatePatch()
H A Dpatch_utils.cpp36 apkMetaData.set_absolute_path(apk_dump.absolute_path()); in GetDeviceAPKMetaData()
H A Dpatch_utils_test.cpp101 expected.set_absolute_path(actual.absolute_path()); in TEST()
/aosp12/art/runtime/
H A Doat_file.cc1228 UniqueCPtr<char> absolute_path(realpath(elf_filename.c_str(), nullptr)); in Dlopen()
1229 if (absolute_path == nullptr) { in Dlopen()
1248 absolute_path.get(), in Dlopen()
1250 absolute_path.get()[sizeof(kAndroidArtApexDefaultPath) - 1] != '/') { in Dlopen()
1259 dlopen_handle_ = android_dlopen_ext(absolute_path.get(), RTLD_NOW, &extinfo); in Dlopen()
1330 dlopen_handle_ = dlopen(absolute_path.get(), RTLD_NOW); in Dlopen()