Home
last modified time | relevance | path

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

/frameworks/native/vulkan/libvulkan/
Dlayers_extensions.cpp78 : path_(path), in LayerLibrary()
85 : path_(std::move(other.path_)), in LayerLibrary()
122 const std::string path_; member in vulkan::api::__anoncb86fe150111::LayerLibrary
136 ALOGV("opening layer library '%s'", path_.c_str()); in Open()
144 !android::base::StartsWith(path_, kSystemLayerLibraryDir)) { in Open()
147 app_namespace, path_.c_str(), &native_bridge_, &error_msg); in Open()
149 ALOGE("failed to load layer library '%s': %s", path_.c_str(), error_msg); in Open()
155 dlhandle_ = dlopen(path_.c_str(), RTLD_NOW | RTLD_LOCAL); in Open()
157 ALOGE("failed to load layer library '%s': %s", path_.c_str(), in Open()
170 ALOGV("closing layer library '%s'", path_.c_str()); in Close()
[all …]
/frameworks/base/libs/androidfw/
DApkAssets.cpp46 : zip_handle_(unmanaged_handle, ::CloseArchive), path_(path), last_mod_time_(last_mod_time) { in ApkAssets()
177 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset, in Open()
179 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open()
192 if (!map->create(path_.c_str(), ::GetFileDescriptor(zip_handle_.get()), entry.offset, in Open()
194 LOG(ERROR) << "Failed to mmap file '" << path << "' in APK '" << path_ << "'"; in Open()
200 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/
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/native/cmds/dumpstate/
Dutils.cpp135 path_(path) { in Progress()
136 if (!path_.empty()) { in Progress()
142 MYLOGD("Loading stats from %s\n", path_.c_str()); in Load()
144 if (!android::base::ReadFileToString(path_, &content)) { in Load()
145 MYLOGI("Could not read stats from %s; using max of %d\n", path_.c_str(), max_); in Load()
149 MYLOGE("No stats (empty file) on %s; using max of %d\n", path_.c_str(), max_); in Load()
155 MYLOGE("Invalid stats on file %s: not enough lines (%d). Using max of %d\n", path_.c_str(), in Load()
164 MYLOGE("Invalid stats line on file %s: %s\n", path_.c_str(), lines[0].c_str()); in Load()
179 path_.c_str()); in Save()
180 if (path_.empty()) { in Save()
[all …]
Ddumpstate.cpp2092 ds.path_ = ds.GetPath(".zip"); in PrepareToWriteToFile()
2093 MYLOGD("Creating initial .zip file (%s)\n", ds.path_.c_str()); in PrepareToWriteToFile()
2094 create_parent_dirs(ds.path_.c_str()); in PrepareToWriteToFile()
2095 ds.zip_file.reset(fopen(ds.path_.c_str(), "wb")); in PrepareToWriteToFile()
2097 MYLOGE("fopen(%s, 'wb'): %s\n", ds.path_.c_str(), strerror(errno)); in PrepareToWriteToFile()
2146 if (ds.path_ != new_path) { in FinalizeFile()
2147 MYLOGD("Renaming zip file from %s to %s\n", ds.path_.c_str(), new_path.c_str()); in FinalizeFile()
2148 if (rename(ds.path_.c_str(), new_path.c_str())) { in FinalizeFile()
2149 MYLOGE("rename(%s, %s): %s\n", ds.path_.c_str(), new_path.c_str(), in FinalizeFile()
2152 ds.path_ = new_path; in FinalizeFile()
[all …]
Ddumpstate.h146 std::string path_; variable
442 std::string path_; variable
DDumpstateService.cpp214 dprintf(fd, "path: %s\n", ds_->path_.c_str()); in dump()
/frameworks/base/libs/androidfw/include/androidfw/
DApkAssets.h75 return path_; in GetPath()
105 const std::string path_; variable
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Ddefault_value_objectwriter.h169 const vector<string>& path() const { return path_; } in path()
217 std::vector<string> path_; variable
Ddefault_value_objectwriter.cc198 path_(path), in Node()
311 if (!path_.empty()) { in PopulateChildren()
312 path.insert(path.begin(), path_.begin(), path_.end()); in PopulateChildren()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dprinter_unittest.cc191 : file_(file), path_(path) {} in MockDescriptor()
201 void GetLocationPath(std::vector<int>* output) const { *output = path_; } in GetLocationPath()
204 vector<int> path_; member in google::protobuf::io::__anon715e3c7b0111::MockDescriptor
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs5383 path_ = other.path_.Clone(); in Location()
5399 private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField<int>(); field in Google.Protobuf.Reflection.SourceCodeInfo.Types.Location
5427 get { return path_; }
5541 if(!path_.Equals(other.path_)) return false; in Equals()
5552 hash ^= path_.GetHashCode(); in GetHashCode()
5567 path_.WriteTo(output, _repeated_path_codec); in WriteTo()
5583 size += path_.CalculateSize(_repeated_path_codec); in CalculateSize()
5600 path_.Add(other.path_); in MergeFrom()
5621 path_.AddEntriesFrom(input, _repeated_path_codec); in MergeFrom()
5796 path_ = other.path_.Clone(); in Annotation()
[all …]
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1371 ReadFileToString(path_, &out); in CaptureFdOut()
1375 path_ = kTestDataPath + name; in CreateFd()
1376 MYLOGD("Creating fd for file %s\n", path_.c_str()); in CreateFd()
1378 fd = TEMP_FAILURE_RETRY(open(path_.c_str(), in CreateFd()
1381 ASSERT_GE(fd, 0) << "could not create FD for path " << path_; in CreateFd()
1421 std::string path_; member in android::os::dumpstate::DumpstateUtilTest
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.pb.h3503 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
3735 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > path_;
7486 return path_.size(); in path_size()
7489 path_.Clear(); in clear_path()
7493 return path_.Get(index); in path()
7496 path_.Set(index, value); in set_path()
7500 path_.Add(value); in add_path()
7506 return path_; in path()
7511 return &path_; in mutable_path()
7747 return path_.size(); in path_size()
[all …]
Ddescriptor.pb.cc532 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(SourceCodeInfo_Location, path_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
566 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, path_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
13916 path_.Clear(); in Clear()
14270 path_.MergeFrom(from.path_); in MergeFrom()
14312 path_.UnsafeArenaSwap(&other->path_); in InternalSwap()
14579 return path_.size(); in path_size()
14582 path_.Clear(); in clear_path()
14586 return path_.Get(index); in path()
14589 path_.Set(index, value); in set_path()
14593 path_.Add(value); in add_path()
[all …]
/frameworks/native/cmds/installd/
Dutils.cpp872 std::string path_ = path; in validate_system_app_path() local