/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 | 129 "android.hardware.fastboot@1.0", 196 // on the host fastboot tool, and shared libraries that link against libc++ 230 "fastboot.cpp", 261 // Build host fastboot / fastboot.exe 265 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 | 106 fastboot::FastBootDriver* fb = nullptr; 681 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement() 762 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists() 781 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements() 811 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError() 850 if (fb->GetVar("max-download-size", &max_download_size) != fastboot::SUCCESS || in get_target_sparse_limit() 995 return fb->GetVar("partition-type:vbmeta", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition() 996 fb->GetVar("partition-type:vbmeta_a", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition() 997 fb->GetVar("partition-type:vbmeta_b", &partition_type) == fastboot::SUCCESS; in has_vbmeta_partition() 1015 if (fb->GetVar("partition-size:" + partition, &partition_size_str) != fastboot::SUCCESS) { in copy_boot_avb_footer() [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 …]
|
/system/core/fs_mgr/tests/ |
D | adb-remount-test.sh | 75 fastboot devices | 396 timeout --preserve-status --signal=KILL ${1} fastboot wait-for-device >/dev/null 2>/dev/null 401 fastboot wait-for-device >/dev/null 2>/dev/null 480 fastboot reboot 531 local O=`fastboot getvar ${1} 2>&1` 821 -f | --wait-fastboot) 953 fastboot reboot && 974 fastboot reboot && 1092 fastboot reboot && 1427 adb reboot fastboot </dev/null || [all …]
|
/system/core/fastboot/device/ |
D | fastboot_device.h | 56 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal() { in fastboot_hal() 70 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal_;
|
D | variables.cpp | 39 using ::android::hardware::fastboot::V1_0::FileSystemType; 40 using ::android::hardware::fastboot::V1_0::Result; 41 using ::android::hardware::fastboot::V1_0::Status;
|
D | fastboot_device.cpp | 40 using ::android::hardware::fastboot::V1_0::IFastboot;
|
D | commands.cpp | 52 using ::android::hardware::fastboot::V1_0::Result; 53 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 | 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() 1714 const std::unordered_map<std::string, std::string> args = fastboot::ParseArgs(argc, argv, &err); in main() 1722 fastboot::SEARCH_PATH = (found != args.end()) ? found->second + "/" : ""; in main() 1724 fastboot::OUTPUT_PATH = (found != args.end()) ? found->second + "/" : "/tmp/"; in main() 1725 if (!fastboot::extension::ParseXml(fastboot::SEARCH_PATH + args.at("config"), in main() 1726 &fastboot::config)) { in main() 1731 fastboot::GenerateXmlTests(fastboot::config); in main() 1735 fastboot::FastBootTest::device_serial = args.at("serial"); in main() 1740 if (!fastboot::FastBootTest::IsFastbootOverTcp()) { in main() [all …]
|
D | extensions.h | 36 namespace fastboot {
|
D | fixtures.h | 36 namespace fastboot {
|
D | test_utils.cpp | 33 namespace fastboot { namespace
|
D | transport_sniffer.cpp | 9 namespace fastboot { namespace
|
D | fixtures.cpp | 62 namespace fastboot { namespace
|
/system/sepolicy/private/ |
D | recovery.te | 16 # Set sys.usb.config when switching into fastboot.
|
D | adbd.te | 22 # Allows reboot fastboot to enter fastboot directly
|
/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 1339 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/prebuilts/api/30.0/private/ |
D | adbd.te | 22 # Allows reboot fastboot to enter fastboot directly
|