Home
last modified time | relevance | path

Searched refs:path_ (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/cmds/installd/
Dunique_file.cpp33 : value_(value), path_(path), cleanup_(cleanup), do_cleanup_(true), auto_close_(true) {} in UniqueFile()
45 path_ = other.path_; in operator =()
64 cleanup_(path_); in reset()
68 path_ = path; in reset()
74 path_ = ""; in release()
Dunique_file.h74 return path_; in path()
92 std::string path_; variable
Dutils.cpp872 std::string path_ = path; in validate_system_app_path() local
/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp72 : path_(path), in LayerLibrary()
79 : path_(std::move(other.path_)), in LayerLibrary()
114 const std::string path_; member in vulkan::api::__anon6b0d4db30111::LayerLibrary
128 ALOGV("opening layer library '%s'", path_.c_str()); in Open()
136 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open()
139 app_namespace, path_.c_str(), &native_bridge_, &error_msg); in Open()
141 ALOGE("failed to load layer library '%s': %s", path_.c_str(), error_msg); in Open()
147 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); in Open()
149 ALOGE("failed to load layer library '%s': %s", path_.c_str(), in Open()
162 ALOGV("closing layer library '%s'", path_.c_str()); in Close()
[all …]
/frameworks/native/services/vr/performanced/
Dcpu_set.cpp195 path_ = name_; in CpuSet()
197 path_ = parent_->name() + name_; in CpuSet()
199 path_ = parent_->path() + "/" + name_; in CpuSet()
223 path_.c_str(), name.c_str(), strerror(errno)); in OpenFilePointer()
230 path_.c_str(), name.c_str(), strerror(errno)); in OpenFilePointer()
249 ALOGE("CpuSet::AttachTask: Failed to open %s/tasks: %s", path_.c_str(), in AttachTask()
Dcpu_set.h28 std::string path() const { return path_; } in path()
53 std::string path_; variable
/frameworks/base/libs/androidfw/
DAssetsProvider.cpp355 path_ = (primary_->GetDebugName() != kEmptyDebugString) ? primary_->GetPath() in MultiAssetsProvider()
382 return path_; in GetPath()
394 path_(std::move(path)) {} in EmptyAssetsProvider()
420 if (path_.has_value()) { in GetPath()
421 return *path_; in GetPath()
427 if (path_.has_value()) { in GetDebugName()
428 return *path_; in GetDebugName()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2501 ds.path_ = ds.GetPath(ds.CalledByApi() ? "-zip.tmp" : ".zip"); in PrepareToWriteToFile()
2502 MYLOGD("Creating initial .zip file (%s)\n", ds.path_.c_str()); in PrepareToWriteToFile()
2503 create_parent_dirs(ds.path_.c_str()); in PrepareToWriteToFile()
2504 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in PrepareToWriteToFile()
2506 MYLOGE("fopen(%s, 'wb'): %s\n", ds.path_.c_str(), strerror(errno)); in PrepareToWriteToFile()
2524 std::string final_path = ds.path_; in FinalizeFile()
2527 android::os::CopyFileToFile(ds.path_, final_path); in FinalizeFile()
2531 android::os::CopyFileToFd(ds.path_, ds.control_socket_fd_); in FinalizeFile()
2864 dprintf(control_socket_fd_, "BEGIN:%s\n", path_.c_str()); in RunInternal()
2880 if (chown(path_.c_str(), AID_SHELL, AID_SHELL)) { in RunInternal()
[all …]
Ddumpstate.h153 std::string path_; variable
496 std::string path_; variable
DDumpstateService.cpp201 dprintf(fd, "path: %s\n", ds_->path_.c_str()); in dump()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetsProvider.h177 std::optional<std::string_view> path_; member
200 std::optional<std::string> path_; member
/frameworks/base/cmds/idmap2/include/idmap2/
DFabricatedOverlay.h103 std::string path_; member
/frameworks/base/cmds/idmap2/libidmap2/
DResourceContainer.cpp321 std::string path_; member
326 : state_(std::move(zip_assets)), path_(std::move(path)) { in ApkResourceContainer()
400 return path_; in GetPath()
DFabricatedOverlay.cpp234 : overlay_(std::forward<FabricatedOverlay>(overlay)), path_(std::forward<std::string>(path)) { in FabricatedOverlayContainer()
299 return path_; in GetPath()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1284 ReadFileToString(path_, &out); in CaptureFdOut()
1288 path_ = kTestDataPath + name; in CreateFd()
1289 MYLOGD("Creating fd for file %s\n", path_.c_str()); in CreateFd()
1291 fd = TEMP_FAILURE_RETRY(open(path_.c_str(), in CreateFd()
1294 ASSERT_GE(fd, 0) << "could not create FD for path " << path_; in CreateFd()
1326 std::string path_; member in android::os::dumpstate::DumpstateUtilTest