Home
last modified time | relevance | path

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

/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp73 : path_(path), in LayerLibrary()
79 : path_(std::move(other.path_)), in LayerLibrary()
104 const std::string path_; member in vulkan::api::__anon240457cc0111::LayerLibrary
117 ALOGV("opening layer library '%s'", path_.c_str()); in Open()
125 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open()
129 dlhandle_ = android_dlopen_ext(path_.c_str(), RTLD_NOW | RTLD_LOCAL, in Open()
132 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); in Open()
135 ALOGE("failed to load layer library '%s': %s", path_.c_str(), in Open()
147 ALOGV("closing layer library '%s'", path_.c_str()); in Close()
163 path_.c_str()); in EnumerateLayers()
[all …]
/frameworks/base/libs/androidfw/
DApkAssets.cpp43 : zip_handle_(unmanaged_handle, ::CloseArchive), path_(path) { in ApkAssets()
172 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset, in Open()
174 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open()
187 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset, in Open()
189 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open()
195 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open()
/frameworks/native/services/vr/performanced/
Dcpu_set.cpp199 path_ = name_; in CpuSet()
201 path_ = parent_->name() + name_; in CpuSet()
203 path_ = parent_->path() + "/" + name_; in CpuSet()
227 path_.c_str(), name.c_str(), strerror(errno)); in OpenFilePointer()
234 path_.c_str(), name.c_str(), strerror(errno)); in OpenFilePointer()
253 ALOGE("CpuSet::AttachTask: Failed to open %s/tasks: %s", path_.c_str(), in AttachTask()
Dcpu_set.h27 std::string path() const { return path_; } in path()
52 std::string path_; variable
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp2049 ds.path_ = ds.GetPath(".zip"); in run_main()
2050 MYLOGD("Creating initial .zip file (%s)\n", ds.path_.c_str()); in run_main()
2051 create_parent_dirs(ds.path_.c_str()); in run_main()
2052 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in run_main()
2054 MYLOGE("fopen(%s, 'wb'): %s\n", ds.path_.c_str(), strerror(errno)); in run_main()
2077 dprintf(ds.control_socket_fd_, "BEGIN:%s\n", ds.path_.c_str()); in run_main()
2104 if (chown(ds.path_.c_str(), AID_SHELL, AID_SHELL)) { in run_main()
2105 MYLOGE("Unable to change ownership of zip file %s: %s\n", ds.path_.c_str(), in run_main()
2236 if (ds.path_ != new_path) { in run_main()
2237 MYLOGD("Renaming zip file from %s to %s\n", ds.path_.c_str(), new_path.c_str()); in run_main()
[all …]
Dutils.cpp131 path_(path) { in Progress()
132 if (!path_.empty()) { in Progress()
138 MYLOGD("Loading stats from %s\n", path_.c_str()); in Load()
140 if (!android::base::ReadFileToString(path_, &content)) { in Load()
141 MYLOGI("Could not read stats from %s; using max of %d\n", path_.c_str(), max_); in Load()
145 MYLOGE("No stats (empty file) on %s; using max of %d\n", path_.c_str(), max_); in Load()
151 MYLOGE("Invalid stats on file %s: not enough lines (%d). Using max of %d\n", path_.c_str(), in Load()
160 MYLOGE("Invalid stats line on file %s: %s\n", path_.c_str(), lines[0].c_str()); in Load()
175 path_.c_str()); in Save()
176 if (path_.empty()) { in Save()
[all …]
Ddumpstate.h141 const std::string& path_; variable
351 std::string path_; variable
DDumpstateService.cpp95 dprintf(fd, "path: %s\n", ds_.path_.c_str()); in dump()
/frameworks/base/libs/androidfw/include/androidfw/
DApkAssets.h72 return path_; in GetPath()
96 const std::string path_; variable
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp866 ReadFileToString(path_, &out); in CaptureFdOut()
870 path_ = kTestDataPath + name; in CreateFd()
871 MYLOGD("Creating fd for file %s\n", path_.c_str()); in CreateFd()
873 fd = TEMP_FAILURE_RETRY(open(path_.c_str(), in CreateFd()
876 ASSERT_GE(fd, 0) << "could not create FD for path " << path_; in CreateFd()
916 std::string path_; member in android::os::dumpstate::DumpstateUtilTest
/frameworks/native/cmds/installd/
Dutils.cpp806 std::string path_ = path; in validate_system_app_path() local