#include <cstddef>
#include <cstdint>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>
#include <absl/status/statusor.h>
Go to the source code of this file.
|
| absl::StatusOr< UsbProbe > | symbian::device::InspectUsb (uint16_t vendor, uint16_t product, const std::string &anchor, const std::string &operation, uint32_t limit) |
| | Inspect a serial-matched USB device without changing its stored files.
|
| |
| absl::StatusOr< MtpStageResult > | symbian::device::StageMtpSis (uint16_t vendor, uint16_t product, const std::string &anchor, const std::string &package_path, const std::string &filename, const std::string &expected_sha256) |
| | Stage one SIS on a serial-matched device, checking the readback digest.
|
| |
| absl::StatusOr< std::vector< unsigned char > > | symbian::device::ReadMtpFile (uint16_t vendor, uint16_t product, const std::string &anchor, uint32_t storage_id, std::string_view relative_path, uint32_t max_bytes) |
| | Read one exact relative path from a serial-matched MTP storage.
|
| |
| absl::Status | symbian::device::DeleteMtpFile (uint16_t vendor, uint16_t product, const std::string &anchor, uint32_t storage_id, std::string_view relative_path, std::string_view expected_sha256) |
| | Delete one exact file only after its bytes match the expected SHA-256.
|
| |