/system/core/fastboot/device/ |
D | commands.h | 24 class FastbootDevice; variable 34 using CommandHandler = std::function<bool(FastbootDevice*, const std::vector<std::string>&)>; 36 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args); 37 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args); 38 bool ShutDownHandler(FastbootDevice* device, const std::vector<std::string>& args); 39 bool RebootHandler(FastbootDevice* device, const std::vector<std::string>& args); 40 bool RebootBootloaderHandler(FastbootDevice* device, const std::vector<std::string>& args); 41 bool RebootFastbootHandler(FastbootDevice* device, const std::vector<std::string>& args); 42 bool RebootRecoveryHandler(FastbootDevice* device, const std::vector<std::string>& args); 43 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args); [all …]
|
D | variables.h | 22 class FastbootDevice; variable 24 bool GetVersion(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 25 bool GetBootloaderVersion(FastbootDevice* device, const std::vector<std::string>& args, 27 bool GetBasebandVersion(FastbootDevice* device, const std::vector<std::string>& args, 29 bool GetProduct(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 30 bool GetSerial(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 31 bool GetSecure(FastbootDevice* device, const std::vector<std::string>& args, std::string* message); 32 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args, 34 bool GetSlotCount(FastbootDevice* device, const std::vector<std::string>& args, 36 bool GetSlotSuccessful(FastbootDevice* device, const std::vector<std::string>& args, [all …]
|
D | variables.cpp | 44 bool GetVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetVersion() argument 50 bool GetBootloaderVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetBootloaderVersion() argument 56 bool GetBasebandVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetBasebandVersion() argument 62 bool GetProduct(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetProduct() argument 68 bool GetSerial(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSerial() argument 74 bool GetSecure(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSecure() argument 80 bool GetVariant(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetVariant() 101 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper() 122 bool GetBatterySoCOk(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetBatterySoCOk() 151 bool GetOffModeChargeState(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetOffModeChargeState() [all …]
|
D | fastboot_device.cpp | 39 FastbootDevice::FastbootDevice() in FastbootDevice() function in FastbootDevice 64 FastbootDevice::~FastbootDevice() { in ~FastbootDevice() 68 void FastbootDevice::CloseDevice() { in CloseDevice() 72 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot() 88 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus() 116 bool FastbootDevice::HandleData(bool read, std::vector<char>* data) { in HandleData() 125 void FastbootDevice::ExecuteCommands() { in ExecuteCommands() 158 bool FastbootDevice::WriteOkay(const std::string& message) { in WriteOkay() 162 bool FastbootDevice::WriteFail(const std::string& message) { in WriteFail() 166 bool FastbootDevice::WriteInfo(const std::string& message) { in WriteInfo()
|
D | utility.h | 54 class FastbootDevice; variable 60 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name); 63 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, 65 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle); 67 std::vector<std::string> ListPartitions(FastbootDevice* device); 71 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name,
|
D | flashing.h | 22 class FastbootDevice; variable 24 int Flash(FastbootDevice* device, const std::string& partition_name); 25 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe);
|
D | commands.cpp | 53 std::function<bool(FastbootDevice*, const std::vector<std::string>&, std::string*)> get; 55 std::function<std::vector<std::vector<std::string>>(FastbootDevice*)> get_all_args; 58 static void GetAllVars(FastbootDevice* device, const std::string& name, in GetAllVars() 81 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args) { in GetVarHandler() 133 bool EraseHandler(FastbootDevice* device, const std::vector<std::string>& args) { in EraseHandler() 152 bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args) { in OemCmdHandler() 170 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args) { in DownloadHandler() 198 bool FlashHandler(FastbootDevice* device, const std::vector<std::string>& args) { in FlashHandler() 215 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args) { in SetActiveHandler() 253 bool ShutDownHandler(FastbootDevice* device, const std::vector<std::string>& /* args */) { in ShutDownHandler() [all …]
|
D | fastboot_device.h | 33 class FastbootDevice { 35 FastbootDevice(); 36 ~FastbootDevice();
|
D | utility.cpp | 51 bool OpenLogicalPartition(FastbootDevice* device, const std::string& partition_name, in OpenLogicalPartition() 71 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle) { in OpenPartition() 114 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, bool* is_zero_length) { in LogicalPartitionExists() 147 std::vector<std::string> ListPartitions(FastbootDevice* device) { in ListPartitions() 203 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata() 218 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name) { in GetSuperSlotSuffix()
|
D | main.cpp | 25 FastbootDevice device; in main()
|
D | flashing.cpp | 47 void WipeOverlayfsForPartition(FastbootDevice* device, const std::string& partition_name) { in WipeOverlayfsForPartition() 121 int Flash(FastbootDevice* device, const std::string& partition_name) { in Flash() 137 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe) { in UpdateSuper()
|
/system/extras/tests/bootloader/ |
D | bootloadertest.py | 29 cls.fastboot = fastboot.FastbootDevice()
|