/frameworks/native/cmds/installd/ |
D | unique_file.cpp | 33 : 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()
|
D | unique_file.h | 74 return path_; in path() 92 std::string path_; variable
|
D | utils.cpp | 872 std::string path_ = path; in validate_system_app_path() local
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 72 : 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/ |
D | cpu_set.cpp | 195 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()
|
D | cpu_set.h | 28 std::string path() const { return path_; } in path() 53 std::string path_; variable
|
/frameworks/base/libs/androidfw/ |
D | AssetsProvider.cpp | 355 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/ |
D | dumpstate.cpp | 2501 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 …]
|
D | dumpstate.h | 153 std::string path_; variable 496 std::string path_; variable
|
D | DumpstateService.cpp | 201 dprintf(fd, "path: %s\n", ds_->path_.c_str()); in dump()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetsProvider.h | 177 std::optional<std::string_view> path_; member 200 std::optional<std::string> path_; member
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | FabricatedOverlay.h | 103 std::string path_; member
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceContainer.cpp | 321 std::string path_; member 326 : state_(std::move(zip_assets)), path_(std::move(path)) { in ApkResourceContainer() 400 return path_; in GetPath()
|
D | FabricatedOverlay.cpp | 234 : overlay_(std::forward<FabricatedOverlay>(overlay)), path_(std::forward<std::string>(path)) { in FabricatedOverlayContainer() 299 return path_; in GetPath()
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 1284 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
|