/system/extras/tests/bootloader/ |
D | bootloadertest.py | 19 import fastboot 29 cls.fastboot = fastboot.FastbootDevice() 54 val = self.fastboot.getvar(varname) 82 val = self.fastboot.getvar("slot-count") 96 var_all = self.fastboot.getvar_all() 136 self.assertIsNone(self.fastboot.getvar("fhqwhgads")) 181 self.fastboot.set_active(slot) 182 self.assertEqual(slot, self.fastboot.getvar("current-slot")) 183 self.assertEqual("no", self.fastboot.getvar("slot-unbootable:"+slot)) 184 self.assertEqual("no", self.fastboot.getvar("slot-successful:"+slot)) [all …]
|
/system/core/fastboot/ |
D | Android.bp | 125 "android.hardware.fastboot@1.0", 186 // on the host fastboot tool, and shared libraries that link against libc++ 216 "fastboot.cpp", 247 // Build host fastboot / fastboot.exe 251 name: "fastboot",
|
D | fastboot.bash | 70 local devices=$(command fastboot devices 2> /dev/null | awk '{ print $1 }') 179 complete -F _fastboot fastboot 181 complete -o nospace -F _fastboot fastboot
|
D | fastboot.cpp | 104 fastboot::FastBootDriver* fb = nullptr; 659 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement() 740 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists() 759 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements() 789 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError() 828 if (fb->GetVar("max-download-size", &max_download_size) != fastboot::SUCCESS || in get_target_sparse_limit() 990 if (fb->GetVar("current-slot", ¤t_slot) != fastboot::SUCCESS) return ""; in get_current_slot() 997 if (fb->GetVar("slot-count", &var) != fastboot::SUCCESS || in get_slot_count() 1073 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partition() 1106 if (fb->GetVar("has-slot:" + part, &has_slot) != fastboot::SUCCESS) { in do_for_partitions() [all …]
|
D | README.md | 4 The fastboot protocol is a mechanism for communicating with bootloaders 21 * Device will act as the server, fastboot will be the client. 184 fastbootd. Otherwise, it is running fastboot 225 The TCP protocol is designed to be a simple way to use the fastboot protocol 228 The device will open a TCP server on port 5554 and wait for a fastboot client 243 Once the handshake is complete, fastboot data will be sent as follows: 248 fastboot packet. The 8-byte length is intended to provide future-proofing even 249 though currently fastboot packets have a 4-byte maximum length. 252 In this example the fastboot host queries the device for two variables, 268 to ensure no packets are lost, but the general concept of wrapping the fastboot [all …]
|
D | fastboot_driver.h | 46 namespace fastboot {
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 61 fastboot devices | 272 timeout --preserve-status --signal=KILL ${1} fastboot wait-for-device >/dev/null 2>/dev/null 277 fastboot wait-for-device >/dev/null 2>/dev/null 360 local O=`fastboot getvar ${1} 2>&1` 667 fastboot reboot && 1029 adb reboot fastboot || 1034 fastboot flash vendor || 1035 ( fastboot reboot && false) || 1041 ( fastboot reboot && false) || 1047 ( fastboot reboot && false) || [all …]
|
/system/core/fastboot/device/ |
D | fastboot_device.h | 54 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal() { in fastboot_hal() 67 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal_;
|
D | variables.cpp | 37 using ::android::hardware::fastboot::V1_0::FileSystemType; 38 using ::android::hardware::fastboot::V1_0::Result; 39 using ::android::hardware::fastboot::V1_0::Status;
|
D | fastboot_device.cpp | 34 using ::android::hardware::fastboot::V1_0::IFastboot;
|
D | commands.cpp | 46 using ::android::hardware::fastboot::V1_0::Result; 47 using ::android::hardware::fastboot::V1_0::Status;
|
/system/core/fastboot/fuzzy_fastboot/ |
D | README.md | 4 validating device-side fastboot protocol implementations. 7 Any Android device that uses the fastboot protocol should have fuzzy fastboot run on it prior to 8 release to find implementation bugs, make sure it conforms to the fastboot spec, 13 The [fastboot protocol](../README.md) provides an easy way to manage low level 15 great responsibility. An improper or insecure fastboot implementation can 16 open the possibility for critical security exploits on the bootloader via fastboot 19 By checking a bootloader's conformance to the fastboot spec, as well as make sure 23 Additionally, since the fastboot tool itself must support a myriad of fastboot 25 avoid potential incompatibilities with the fastboot command line tool itself. 41 some basic tests that are generic to any fastboot device. These generic tests are [all …]
|
D | usb_transport_sniffer.h | 40 namespace fastboot {
|
D | test_utils.h | 43 namespace fastboot {
|
D | main.cpp | 59 namespace fastboot { namespace 165 return FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in TEST() 1734 const std::unordered_map<std::string, std::string> args = fastboot::ParseArgs(argc, argv, &err); in main() 1742 fastboot::SEARCH_PATH = (found != args.end()) ? found->second + "/" : ""; in main() 1744 fastboot::OUTPUT_PATH = (found != args.end()) ? found->second + "/" : "/tmp/"; in main() 1745 if (!fastboot::extension::ParseXml(fastboot::SEARCH_PATH + args.at("config"), in main() 1746 &fastboot::config)) { in main() 1751 fastboot::GenerateXmlTests(fastboot::config); in main() 1755 fastboot::FastBootTest::device_serial = args.at("serial"); in main() 1761 return fastboot::FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in main() [all …]
|
D | extensions.h | 36 namespace fastboot {
|
D | fixtures.h | 36 namespace fastboot {
|
D | test_utils.cpp | 33 namespace fastboot { namespace
|
D | usb_transport_sniffer.cpp | 9 namespace fastboot { namespace
|
D | fixtures.cpp | 60 namespace fastboot { namespace
|
/system/core/bootstat/ |
D | boot_reason_test.sh | 37 fastboot devices | grep "^${ANDROID_SERIAL}[${SPACE}${TAB}]" > /dev/null 225 fastboot reboot 647 fastboot flashall >&2 755 fastboot format userdata >&2 760 fastboot reboot >&2 1331 fastboot devices
|
/system/extras/partition_tools/ |
D | README.md | 6 * Sparse images, for traditional fastboot. 21 * `--sparse` - If set, the output image will be in sparse format for flashing with fastboot. Otherw…
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | adbd.te | 22 # Allows reboot fastboot to enter fastboot directly
|
/system/sepolicy/private/ |
D | adbd.te | 22 # Allows reboot fastboot to enter fastboot directly
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | recovery.te | 121 # Set sys.usb.config when switching into fastboot.
|