Home
last modified time | relevance | path

Searched refs:fastboot (Results 1 – 25 of 38) sorted by relevance

12

/system/extras/tests/bootloader/
Dbootloadertest.py19 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/
DAndroid.bp129 "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",
Dfastboot.bash70 local devices=$(command fastboot devices 2> /dev/null | awk '{ print $1 }')
179 complete -F _fastboot fastboot
181 complete -o nospace -F _fastboot fastboot
Dfastboot.cpp106 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 …]
DREADME.md4 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/
Dadb-remount-test.sh75 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/
Dfastboot_device.h56 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal() { in fastboot_hal()
70 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal_;
Dvariables.cpp39 using ::android::hardware::fastboot::V1_0::FileSystemType;
40 using ::android::hardware::fastboot::V1_0::Result;
41 using ::android::hardware::fastboot::V1_0::Status;
Dfastboot_device.cpp40 using ::android::hardware::fastboot::V1_0::IFastboot;
Dcommands.cpp52 using ::android::hardware::fastboot::V1_0::Result;
53 using ::android::hardware::fastboot::V1_0::Status;
/system/core/fastboot/fuzzy_fastboot/
DREADME.md4 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 …]
Dtransport_sniffer.h40 namespace fastboot {
Dtest_utils.h43 namespace fastboot {
Dmain.cpp59 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 …]
Dextensions.h36 namespace fastboot {
Dfixtures.h36 namespace fastboot {
Dtest_utils.cpp33 namespace fastboot { namespace
Dtransport_sniffer.cpp9 namespace fastboot { namespace
Dfixtures.cpp62 namespace fastboot { namespace
/system/sepolicy/private/
Drecovery.te16 # Set sys.usb.config when switching into fastboot.
Dadbd.te22 # Allows reboot fastboot to enter fastboot directly
/system/core/bootstat/
Dboot_reason_test.sh37 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/
DREADME.md6 * 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/
Dadbd.te22 # Allows reboot fastboot to enter fastboot directly
/system/sepolicy/prebuilts/api/30.0/private/
Dadbd.te22 # Allows reboot fastboot to enter fastboot directly

12