/frameworks/native/vulkan/libvulkan/ |
D | layers_extensions.cpp | 79 : path_(path), in LayerLibrary() 86 : path_(std::move(other.path_)), in LayerLibrary() 121 const std::string path_; member in vulkan::api::__anon240457cc0111::LayerLibrary 135 ALOGV("opening layer library '%s'", path_.c_str()); in Open() 143 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open() 146 app_namespace, path_.c_str(), &native_bridge_, &error_msg); in Open() 148 ALOGE("failed to load layer library '%s': %s", path_.c_str(), error_msg); in Open() 154 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); in Open() 156 ALOGE("failed to load layer library '%s': %s", path_.c_str(), in Open() 169 ALOGV("closing layer library '%s'", path_.c_str()); in Close() [all …]
|
/frameworks/base/libs/androidfw/ |
D | ApkAssets.cpp | 46 : zip_handle_(unmanaged_handle, ::CloseArchive), path_(path), last_mod_time_(last_mod_time) { in ApkAssets() 178 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset, in Open() 180 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open() 193 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset, in Open() 195 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open() 201 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open() 257 return last_mod_time_ == getFileModDate(path_.c_str()); in IsUpToDate()
|
/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/native/cmds/dumpstate/ |
D | dumpstate.cpp | 2163 ds.path_ = ds.GetPath(".zip"); in PrepareToWriteToFile() 2164 MYLOGD("Creating initial .zip file (%s)\n", ds.path_.c_str()); in PrepareToWriteToFile() 2165 create_parent_dirs(ds.path_.c_str()); in PrepareToWriteToFile() 2166 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in PrepareToWriteToFile() 2168 MYLOGE("fopen(%s, 'wb'): %s\n", ds.path_.c_str(), strerror(errno)); in PrepareToWriteToFile() 2217 if (ds.path_ != new_path) { in FinalizeFile() 2218 MYLOGD("Renaming zip file from %s to %s\n", ds.path_.c_str(), new_path.c_str()); in FinalizeFile() 2219 if (rename(ds.path_.c_str(), new_path.c_str())) { in FinalizeFile() 2220 MYLOGE("rename(%s, %s): %s\n", ds.path_.c_str(), new_path.c_str(), in FinalizeFile() 2223 ds.path_ = new_path; in FinalizeFile() [all …]
|
D | dumpstate.h | 148 std::string path_; variable 441 std::string path_; variable
|
D | DumpstateService.cpp | 213 dprintf(fd, "path: %s\n", ds_->path_.c_str()); in dump()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | ApkAssets.h | 75 return path_; in GetPath() 105 const std::string path_; variable
|
/frameworks/native/cmds/dumpstate/tests/ |
D | dumpstate_test.cpp | 1329 ReadFileToString(path_, &out); in CaptureFdOut() 1333 path_ = kTestDataPath + name; in CreateFd() 1334 MYLOGD("Creating fd for file %s\n", path_.c_str()); in CreateFd() 1336 fd = TEMP_FAILURE_RETRY(open(path_.c_str(), in CreateFd() 1339 ASSERT_GE(fd, 0) << "could not create FD for path " << path_; in CreateFd() 1371 std::string path_; member in android::os::dumpstate::DumpstateUtilTest
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 875 std::string path_ = path; in validate_system_app_path() local
|