/system/extras/libperfmgr/tests/ |
D | NodeLooperThreadTest.cc | 41 files_.emplace_back(std::move(tf)); in SetUp() 46 files_.emplace_back(std::move(tf)); in SetUp() 51 files_.clear(); in TearDown() 54 std::vector<std::unique_ptr<TemporaryFile>> files_; member in android::perfmgr::NodeLooperThreadTest 69 _VerifyPathValue(files_[0]->path, ""); in TEST_F() 70 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F() 85 _VerifyPathValue(files_[0]->path, "n0_value0"); in TEST_F() 86 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F() 88 _VerifyPathValue(files_[0]->path, "n0_value2"); in TEST_F() 89 _VerifyPathValue(files_[1]->path, "n1_value1"); in TEST_F() [all …]
|
D | HintManagerTest.cc | 138 files_.emplace_back(std::move(tf)); in SetUp() 143 files_.emplace_back(std::move(tf)); in SetUp() 162 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp() 163 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp() 169 json_doc_.replace(start_pos, from.length(), files_[0 + 2]->path); in SetUp() 172 json_doc_.replace(start_pos, from.length(), files_[1 + 2]->path); in SetUp() 180 files_.clear(); in TearDown() 186 std::vector<std::unique_ptr<TemporaryFile>> files_; member in android::perfmgr::HintManagerTest 219 _VerifyPathValue(files_[0]->path, ""); in TEST_F() 220 _VerifyPathValue(files_[1]->path, "n1_value2"); in TEST_F() [all …]
|
/system/update_engine/payload_generator/ |
D | squashfs_filesystem.cc | 192 files_.emplace_back(file); in Init() 197 std::sort(files_.begin(), files_.end(), [](const File& a, const File& b) { in Init() 203 for (auto first = files_.begin(), in Init() 204 second = first + (first == files_.end() ? 0 : 1); in Init() 205 first != files_.end() && second != files_.end(); in Init() 213 first = files_.erase(first); in Init() 217 second = files_.erase(second); in Init() 220 first = files_.erase(first); in Init() 234 for (const auto& file : files_) { in Init() 247 files_.emplace_back(file); in Init() [all …]
|
D | fake_filesystem.cc | 35 *files = files_; in GetFiles() 48 files_.push_back(file); in AddFile()
|
D | fake_filesystem.h | 59 std::vector<File> files_; variable
|
D | squashfs_filesystem.h | 114 std::vector<File> files_; variable
|
/system/core/fs_mgr/libfiemap/ |
D | split_fiemap_writer.cpp | 97 if (out->files_.size() >= kMaxFilePieces) { in Create() 103 android::base::StringPrintf("%s.%04d", file_path.c_str(), (int)out->files_.size()); in Create() 131 for (const auto& writer : out->files_) { in Create() 203 for (const auto& file : files_) { in HasPinnedExtents() 213 for (const auto& file : files_) { in extents() 223 FiemapWriter* file = files_[cursor_index_].get(); in Write() 231 if (cursor_index_ == files_.size() - 1) { in Write() 240 file = files_[++cursor_index_].get(); in Write() 277 for (const auto& file : files_) { in Flush() 298 for (auto&& file : files_) { in ~SplitFiemap() [all …]
|
/system/libziparchive/ |
D | zip_writer.cc | 107 files_(std::move(writer.files_)), in ZipWriter() 119 files_ = std::move(writer.files_); in operator =() 208 if (files_.size() == std::numeric_limits<uint16_t>::max()) { in StartAlignedEntryWithTime() 295 if (state_ != State::kWritingZip || files_.empty()) { in DiscardLastEntry() 299 FileEntry& last_entry = files_.back(); in DiscardLastEntry() 304 files_.pop_back(); in DiscardLastEntry() 311 if (files_.empty()) { in GetLastEntry() 314 *out_entry = files_.back(); in GetLastEntry() 506 files_.emplace_back(std::move(current_file_entry_)); in FinishEntry() 517 for (FileEntry& file : files_) { in Finish() [all …]
|
/system/core/adb/client/ |
D | incremental_server.cpp | 201 : adb_fd_(std::move(adb_fd)), output_fd_(std::move(output_fd)), files_(std::move(files)) { in IncrementalServer() 254 std::vector<File> files_; member in incremental::IncrementalServer 353 auto& file = files_[fileId]; in SendTreeBlocksForDataBlock() 389 const auto& file = files_[fileId]; in SendTreeBlock() 411 auto& file = files_[fileId]; in SendDataBlock() 561 std::all_of(files_.begin(), files_.end(), [](const File& f) { in Serve() 597 if (fileId < 0 || fileId >= (FileId)files_.size() || blockIdx < 0 || in Serve() 598 blockIdx >= (BlockIdx)files_[fileId].sentBlocks.size()) { in Serve() 607 auto& file = files_[fileId]; in Serve() 625 prefetches_.emplace_front(files_[fileId], blockIdx + 1, 7); in Serve() [all …]
|
/system/core/libunwindstack/ |
D | DexFiles.cpp | 146 auto entry = files_.find(dex_file_offset); in GetDexFile() 147 if (entry == files_.end()) { in GetDexFile() 150 files_[dex_file_offset] = std::move(new_dex_file); in GetDexFile()
|
/system/core/libunwindstack/include/unwindstack/ |
D | DexFiles.h | 69 std::unordered_map<uint64_t, std::unique_ptr<DexFile>> files_; variable
|
/system/core/fs_mgr/libfiemap/include/libfiemap/ |
D | split_fiemap_writer.h | 90 std::vector<FiemapUniquePtr> files_; variable
|
/system/libziparchive/include/ziparchive/ |
D | zip_writer.h | 182 std::vector<FileEntry> files_; variable
|
/system/core/init/ |
D | service_parser.cpp | 470 auto old = std::find_if(service_->files_.begin(), service_->files_.end(), in ParseFile() 473 if (old != service_->files_.end()) { in ParseFile() 477 service_->files_.emplace_back(std::move(file)); in ParseFile()
|
D | service.h | 166 std::vector<FileDescriptor> files_; variable
|
D | service.cpp | 357 for (const auto& file : files_) { in DumpState() 491 for (const auto& file : files_) { in Start()
|