Home
last modified time | relevance | path

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

/aosp12/system/core/fastboot/device/
H A Dvariables.h22 class FastbootDevice; variable
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,
36 bool GetCurrentSlot(FastbootDevice* device, const std::vector<std::string>& args,
38 bool GetSlotCount(FastbootDevice* device, const std::vector<std::string>& args,
46 bool GetUnlocked(FastbootDevice* device, const std::vector<std::string>& args,
49 bool GetPartitionSize(FastbootDevice* device, const std::vector<std::string>& args,
51 bool GetPartitionType(FastbootDevice* device, const std::vector<std::string>& args,
55 bool GetIsUserspace(FastbootDevice* device, const std::vector<std::string>& args,
[all …]
H A Dcommands.h25 class FastbootDevice; variable
37 bool DownloadHandler(FastbootDevice* device, const std::vector<std::string>& args);
38 bool SetActiveHandler(FastbootDevice* device, const std::vector<std::string>& args);
39 bool ShutDownHandler(FastbootDevice* device, const std::vector<std::string>& args);
40 bool RebootHandler(FastbootDevice* device, const std::vector<std::string>& args);
44 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args);
45 bool EraseHandler(FastbootDevice* device, const std::vector<std::string>& args);
46 bool FlashHandler(FastbootDevice* device, const std::vector<std::string>& args);
51 bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args);
52 bool GsiHandler(FastbootDevice* device, const std::vector<std::string>& args);
[all …]
H A Dvariables.cpp53 bool GetVersion(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetVersion() argument
89 bool GetSerial(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSerial() argument
95 bool GetSecure(FastbootDevice* /* device */, const std::vector<std::string>& /* args */, in GetSecure() argument
101 bool GetVariant(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetVariant()
122 bool GetBatteryVoltageHelper(FastbootDevice* device, int32_t* battery_voltage) { in GetBatteryVoltageHelper()
212 bool GetSlotCount(FastbootDevice* device, const std::vector<std::string>& /* args */, in GetSlotCount()
223 bool GetSlotSuccessful(FastbootDevice* device, const std::vector<std::string>& args, in GetSlotSuccessful()
247 bool GetSlotUnbootable(FastbootDevice* device, const std::vector<std::string>& args, in GetSlotUnbootable()
283 bool GetHasSlot(FastbootDevice* device, const std::vector<std::string>& args, in GetHasSlot()
303 bool GetPartitionSize(FastbootDevice* device, const std::vector<std::string>& args, in GetPartitionSize()
[all …]
H A Dfastboot_device.cpp45 FastbootDevice::FastbootDevice() in FastbootDevice() function in FastbootDevice
88 FastbootDevice::~FastbootDevice() { in ~FastbootDevice()
92 void FastbootDevice::CloseDevice() { in CloseDevice()
96 std::string FastbootDevice::GetCurrentSlot() { in GetCurrentSlot()
112 bool FastbootDevice::WriteStatus(FastbootResult result, const std::string& message) { in WriteStatus()
140 bool FastbootDevice::HandleData(bool read, std::vector<char>* data) { in HandleData()
144 bool FastbootDevice::HandleData(bool read, char* data, uint64_t size) { in HandleData()
159 void FastbootDevice::ExecuteCommands() { in ExecuteCommands()
192 bool FastbootDevice::WriteOkay(const std::string& message) { in WriteOkay()
196 bool FastbootDevice::WriteFail(const std::string& message) { in WriteFail()
[all …]
H A Dcommands.cpp71 std::function<std::vector<std::vector<std::string>>(FastbootDevice*)> get_all_args;
74 static bool IsSnapshotUpdateInProgress(FastbootDevice* device) { in IsSnapshotUpdateInProgress()
92 static void GetAllVars(FastbootDevice* device, const std::string& name, in GetAllVars()
115 bool GetVarHandler(FastbootDevice* device, const std::vector<std::string>& args) { in GetVarHandler()
179 bool OemPostWipeData(FastbootDevice* device) { in OemPostWipeData()
201 bool EraseHandler(FastbootDevice* device, const std::vector<std::string>& args) { in EraseHandler()
237 bool OemCmdHandler(FastbootDevice* device, const std::vector<std::string>& args) { in OemCmdHandler()
433 FastbootDevice* device_;
571 bool FlashHandler(FastbootDevice* device, const std::vector<std::string>& args) { in FlashHandler()
611 bool GsiHandler(FastbootDevice* device, const std::vector<std::string>& args) { in GsiHandler()
[all …]
H A 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,
80 bool OpenPartition(FastbootDevice* device, const std::string& name, PartitionHandle* handle,
84 std::vector<std::string> ListPartitions(FastbootDevice* device);
88 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name,
H A 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);
H A 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()
126 bool LogicalPartitionExists(FastbootDevice* device, const std::string& name, bool* is_zero_length) { in LogicalPartitionExists()
159 std::vector<std::string> ListPartitions(FastbootDevice* device) { in ListPartitions()
210 bool UpdateAllPartitionMetadata(FastbootDevice* device, const std::string& super_name, in UpdateAllPartitionMetadata()
225 std::string GetSuperSlotSuffix(FastbootDevice* device, const std::string& partition_name) { in GetSuperSlotSuffix()
H A Dfastboot_device.h34 class FastbootDevice {
36 FastbootDevice();
37 ~FastbootDevice();
H A Dflashing.cpp51 void WipeOverlayfsForPartition(FastbootDevice* device, const std::string& partition_name) { in WipeOverlayfsForPartition()
148 int Flash(FastbootDevice* device, const std::string& partition_name) { in Flash()
174 bool UpdateSuper(FastbootDevice* device, const std::string& super_name, bool wipe) { in UpdateSuper()
H A Dmain.cpp25 FastbootDevice device; in main()
/aosp12/system/extras/tests/bootloader/
H A Dbootloadertest.py29 cls.fastboot = fastboot.FastbootDevice()