Searched refs:fp_ (Results 1 – 9 of 9) sorted by relevance
/system/core/fastboot/ |
D | task.cpp | 63 RebootTask::RebootTask(const FlashingPlan* fp) : fp_(fp){}; in RebootTask() 65 : reboot_target_(reboot_target), fp_(fp){}; in RebootTask() 71 fp_->fb->WaitForDisconnect(); in Run() 74 fp_->fb->RebootTo("recovery"); in Run() 75 fp_->fb->WaitForDisconnect(); in Run() 77 fp_->fb->RebootTo("bootloader"); in Run() 78 fp_->fb->WaitForDisconnect(); in Run() 80 fp_->fb->Reboot(); in Run() 81 fp_->fb->WaitForDisconnect(); in Run() 245 UpdateSuperTask::UpdateSuperTask(const FlashingPlan* fp) : fp_(fp) {} in UpdateSuperTask() [all …]
|
D | task.h | 74 const FlashingPlan* fp_; variable 103 const FlashingPlan* fp_; 113 const FlashingPlan* fp_; 125 const FlashingPlan* fp_; 137 const FlashingPlan* fp_;
|
D | fastboot.cpp | 1774 FlashAllTool::FlashAllTool(FlashingPlan* fp) : fp_(fp) {} in FlashAllTool() 1782 if (fp_->slot_override == "all") { in Flash() 1785 set_active(fp_->slot_override); in Flash() 1795 std::vector<std::unique_ptr<Task>> tasks = ParseFastbootInfo(fp_, stream); in Flash() 1806 if (fp_->wants_wipe) { in Flash() 1808 fp_->wants_wipe = false; in Flash() 1814 if (!fp_->source->ReadFile("android-info.txt", &contents)) { in CheckRequirements() 1817 ::CheckRequirements({contents.data(), contents.size()}, fp_->force_flash); in CheckRequirements() 1821 if (fp_->slot_override.empty()) { in DetermineSlot() 1822 fp_->current_slot = get_current_slot(); in DetermineSlot() [all …]
|
D | fastboot.h | 122 FlashingPlan* fp_; variable
|
/system/extras/simpleperf/ |
D | JITDebugReader_impl.h | 49 if (fwrite(data, size, 1, fp_.get()) != 1) { in WriteEntry() 60 if (fflush(fp_.get()) != 0) { in Flush() 73 TempSymFile(std::string&& path, FILE* fp) : path_(std::move(path)), fp_(fp, fclose) {} in TempSymFile() 78 if (fwrite(magic, sizeof(magic), 1, fp_.get()) != 1) { in WriteHeader() 87 std::unique_ptr<FILE, decltype(&fclose)> fp_; variable
|
D | MapRecordReader.cpp | 101 : map_record_reader_(map_record_reader), fp_(nullptr, fclose) { in MapRecordThread() 104 fp_.reset(fdopen(tmpfile_->release(), "r+")); in MapRecordThread() 116 if (!fp_) { in RunThread() 134 if (fwrite(record->Binary(), record->size(), 1, fp_.get()) != 1) { in WriteRecordToFile() 150 off_t offset = ftello(fp_.get()); in ReadMapRecords() 156 if (fseek(fp_.get(), 0, SEEK_SET) != 0) { in ReadMapRecords() 163 if (fread(buffer.data(), Record::header_size(), 1, fp_.get()) != 1) { in ReadMapRecords() 175 fp_.get()) != 1) { in ReadMapRecords()
|
D | MapRecordReader.h | 71 std::unique_ptr<FILE, decltype(&fclose)> fp_; variable
|
/system/core/init/ |
D | mount_handler.cpp | 167 MountHandler::MountHandler(Epoll* epoll) : epoll_(epoll), fp_(fopen("/proc/mounts", "re"), fclose) { in MountHandler() 168 if (!fp_) PLOG(FATAL) << "Could not open /proc/mounts"; in MountHandler() 170 fileno(fp_.get()), [this]() { this->MountHandlerFunction(); }, EPOLLERR | EPOLLPRI); in MountHandler() 175 if (fp_) epoll_->UnregisterHandler(fileno(fp_.get())); in ~MountHandler() 179 rewind(fp_.get()); in MountHandlerFunction() 184 while (getline(&buf, &len, fp_.get()) != -1) { in MountHandlerFunction()
|
D | mount_handler.h | 54 std::unique_ptr<FILE, decltype(&fclose)> fp_; variable
|