Home
last modified time | relevance | path

Searched refs:FastbootDevice (Results 1 – 12 of 12) sorted by relevance

/system/core/fastboot/device/
Dvariables.h22 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 GetOsVersion(FastbootDevice* device, const std::vector<std::string>& args,
31 bool GetVndkVersion(FastbootDevice* device, const std::vector<std::string>& args,
33 bool GetProduct(FastbootDevice* device, const std::vector<std::string>& args, std::string* message);
34 bool GetSerial(FastbootDevice* device, const std::vector<std::string>& args, std::string* message);
35 bool GetSecure(FastbootDevice* device, const std::vector<std::string>& args, std::string* message);
36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
[all …]
Dcommands.h24 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 …]
Dvariables.cpp47 bool GetVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetVersion() argument
53 bool GetBootloaderVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetBootloaderVersion() argument
59 bool GetBasebandVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetBasebandVersion() argument
65 bool GetOsVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetOsVersion() argument
71 bool GetVndkVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetVndkVersion() argument
77 bool GetProduct(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetProduct() argument
83 bool GetSerial(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSerial() argument
89 bool GetSecure(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSecure() argument
95 bool GetVariant(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetVariant()
116 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper()
[all …]
Dfastboot_device.cpp45 FastbootDevice::FastbootDevice() in FastbootDevice() function in FastbootDevice
87 FastbootDevice::~FastbootDevice() { in ~FastbootDevice()
91 void FastbootDevice::CloseDevice() { in CloseDevice()
95 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot()
111 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus()
139 bool FastbootDevice::HandleData(bool read, std::vector<char>* data) { in HandleData()
148 void FastbootDevice::ExecuteCommands() { in ExecuteCommands()
181 bool FastbootDevice::WriteOkay(const std::string& message) { in WriteOkay()
185 bool FastbootDevice::WriteFail(const std::string& message) { in WriteFail()
189 bool FastbootDevice::WriteInfo(const std::string& message) { in WriteInfo()
Dutility.h67 class FastbootDevice; variable
73 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name);
76 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name,
78 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle);
80 std::vector<std::string> ListPartitions(FastbootDevice* device);
84 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name,
Dflashing.h22 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);
Dcommands.cpp59 std::function<bool(FastbootDevice*, const std::vector<std::string>&, std::string*)> get;
61 std::function<std::vector<std::vector<std::string>>(FastbootDevice*)> get_all_args;
64 static bool IsSnapshotUpdateInProgress(FastbootDevice* device) { in IsSnapshotUpdateInProgress()
73 static bool IsProtectedPartitionDuringMerge(FastbootDevice* device, const std::string& name) { in IsProtectedPartitionDuringMerge()
82 static void GetAllVars(FastbootDevice* device, const std::string& name, in GetAllVars()
105 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args) { in GetVarHandler()
167 bool EraseHandler(FastbootDevice* device, const std::vector<std::string>& args) { in EraseHandler()
192 bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args) { in OemCmdHandler()
210 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args) { in DownloadHandler()
238 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args) { in SetActiveHandler()
[all …]
Dfastboot_device.h34 class FastbootDevice {
36 FastbootDevice();
37 ~FastbootDevice();
Dutility.cpp52 bool OpenLogicalPartition(FastbootDevice* device, const std::string& partition_name, in OpenLogicalPartition()
80 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle) { in OpenPartition()
123 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, bool* is_zero_length) { in LogicalPartitionExists()
156 std::vector<std::string> ListPartitions(FastbootDevice* device) { in ListPartitions()
212 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata()
227 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name) { in GetSuperSlotSuffix()
Dmain.cpp25 FastbootDevice device; in main()
Dflashing.cpp50 void WipeOverlayfsForPartition(FastbootDevice* device, const std::string& partition_name) { in WipeOverlayfsForPartition()
147 int Flash(FastbootDevice* device, const std::string& partition_name) { in Flash()
171 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe) { in UpdateSuper()
/system/extras/tests/bootloader/
Dbootloadertest.py29 cls.fastboot = fastboot.FastbootDevice()