/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 | 1077 std::string path_ = path; in validate_system_app_path() local
|
/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 73 : path_(path), in LayerLibrary() 81 : path_(std::move(other.path_)), in LayerLibrary() 117 const std::string path_; member in vulkan::api::__anon240457cc0111::LayerLibrary 132 ALOGV("opening layer library '%s'", path_.c_str()); in Open() 140 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open() 143 app_namespace, path_.c_str(), &native_bridge_, &error_msg); in Open() 145 ALOGE("failed to load layer library '%s': %s", path_.c_str(), error_msg); in Open() 152 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); in Open() 154 ALOGE("failed to load layer library '%s': %s", path_.c_str(), in Open() 168 ALOGV("closing layer library '%s'", path_.c_str()); in Close() [all …]
|
/frameworks/libs/binary_translation/tools/nogrod/ |
D | elf_reader.cc | 175 std::string path_; member in nogrod::__anona7aeaf9f0111::ElfFileImpl 190 : path_(path), fd_(fd), header_(nullptr), shdr_table_(nullptr), shdr_num_(0) {} in ElfFileImpl() 253 *error_msg = StringPrintf("unable to stat \"%s\": %s", path_.c_str(), strerror(errno)); in Init() 260 *error_msg = StringPrintf("unable to map the file \"%s\"", path_.c_str()); in Init() 267 path_.c_str(), in Init() 287 path_.c_str(), in Init() 296 path_.c_str(), in Init() 313 path_.c_str()); in Init() 319 path_.c_str(), in Init()
|
/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 | 366 path_ = (primary_->GetDebugName() != kEmptyDebugString) ? primary_->GetPath() in MultiAssetsProvider() 393 return path_; in GetPath() 405 path_(std::move(path)) {} in EmptyAssetsProvider() 431 if (path_.has_value()) { in GetPath() 432 return *path_; in GetPath() 438 if (path_.has_value()) { in GetDebugName() 439 return *path_; in GetDebugName()
|
/frameworks/native/cmds/dumpstate/ |
D | dumpstate.cpp | 2851 ds.path_ = ds.GetPath(ds.CalledByApi() ? "-zip.tmp" : ".zip"); in PrepareToWriteToFile() 2852 MYLOGD("Creating initial .zip file (%s)\n", ds.path_.c_str()); in PrepareToWriteToFile() 2853 create_parent_dirs(ds.path_.c_str()); in PrepareToWriteToFile() 2854 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in PrepareToWriteToFile() 2856 MYLOGE("fopen(%s, 'wb'): %s\n", ds.path_.c_str(), strerror(errno)); in PrepareToWriteToFile() 2874 std::string final_path = ds.path_; in FinalizeFile() 2877 android::os::CopyFileToFile(ds.path_, final_path); in FinalizeFile() 2881 android::os::CopyFileToFd(ds.path_, ds.control_socket_fd_); in FinalizeFile() 3124 android::os::CopyFileToFd(path_, options_->bugreport_fd.get()); in RetrieveInternal() 3128 android::os::UnlinkAndLogOnError(path_); in RetrieveInternal() [all …]
|
D | DumpstateService.cpp | 238 ds_->path_ = bugreport_file; in retrieveBugreport() 270 dprintf(fd, "path: %s\n", ds_->path_.c_str()); in dump()
|
D | dumpstate.h | 149 std::string path_; variable 511 std::string path_; variable
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetsProvider.h | 188 std::optional<std::string_view> path_; member 211 std::optional<std::string> path_; member
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | ResourceContainer.cpp | 324 std::string path_; member 329 : state_(std::move(zip_assets)), path_(std::move(path)) { in ApkResourceContainer() 403 return path_; in GetPath()
|
D | FabricatedOverlay.cpp | 419 : overlay_(std::forward<FabricatedOverlay>(overlay)), path_(std::forward<std::string>(path)) { in FabricatedOverlayContainer() 493 return path_; in GetPath()
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | FabricatedOverlay.h | 143 std::string path_; member
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 1306 ReadFileToString(path_, &out); in CaptureFdOut() 1310 path_ = kTestDataPath + name; in CreateFd() 1311 MYLOGD("Creating fd for file %s\n", path_.c_str()); in CreateFd() 1313 fd = TEMP_FAILURE_RETRY(open(path_.c_str(), in CreateFd() 1316 ASSERT_GE(fd, 0) << "could not create FD for path " << path_; in CreateFd() 1348 std::string path_; member in android::os::dumpstate::DumpstateUtilTest
|