Home
last modified time | relevance | path

Searched refs:fastboot (Results 1 – 25 of 41) 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/fs_mgr/tests/
Dadb-remount-test.sh75 fastboot devices |
403 timeout --preserve-status --signal=KILL ${1} fastboot wait-for-device >/dev/null 2>/dev/null
408 fastboot wait-for-device >/dev/null 2>/dev/null
487 fastboot reboot
538 local O=`fastboot getvar ${1} 2>&1`
851 -f | --wait-fastboot)
988 fastboot reboot &&
1009 fastboot reboot &&
1127 fastboot reboot &&
1462 adb reboot fastboot </dev/null ||
[all …]
/system/core/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
DAndroid.bp167 "android.hardware.fastboot@1.1",
239 // on the host fastboot tool, and shared libraries that link against libc++
273 "fastboot.cpp",
296 "-header-filter=(system/core/fastboot/|development/host/windows/usb/api/)",
315 // Build host fastboot / fastboot.exe
319 name: "fastboot",
Dfastboot.cpp109 fastboot::FastBootDriver* fb = nullptr;
705 if (fb->GetVar(var, &var_value) != fastboot::SUCCESS) { in CheckRequirement()
786 if (fb->GetVar("has-slot:" + partition_name, &has_slot) != fastboot::SUCCESS || in HandlePartitionExists()
805 if (fb->GetVar("product", &cur_product) != fastboot::SUCCESS) { in CheckRequirements()
842 if (fb->GetVar(var, &value) != fastboot::SUCCESS) { in DisplayVarOrError()
881 if (fb->GetVar(var_name, &value_str) != fastboot::SUCCESS || value_str.empty()) { in get_uint_var()
1024 return fb->GetVar("partition-type:vbmeta", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition()
1025 fb->GetVar("partition-type:vbmeta_a", &partition_type) == fastboot::SUCCESS || in has_vbmeta_partition()
1026 fb->GetVar("partition-type:vbmeta_b", &partition_type) == fastboot::SUCCESS; in has_vbmeta_partition()
1031 return fb->GetVar("is-logical:" + partition, &value) == fastboot::SUCCESS && value == "yes"; in is_logical()
[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/fastboot/device/
Dfastboot_device.h57 android::sp<android::hardware::fastboot::V1_1::IFastboot> fastboot_hal() { in fastboot_hal()
71 android::sp<android::hardware::fastboot::V1_1::IFastboot> fastboot_hal_;
Dvariables.cpp45 using ::android::hardware::fastboot::V1_0::FileSystemType;
46 using ::android::hardware::fastboot::V1_0::Result;
47 using ::android::hardware::fastboot::V1_0::Status;
Dfastboot_device.cpp40 using ::android::hardware::fastboot::V1_1::IFastboot;
/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 {
Dmain.cpp61 namespace fastboot { namespace
167 return FastBootTest::MatchFastboot(info, fastboot::FastBootTest::device_serial); in TEST()
693 ASSERT_EQ(fastboot::RetCode::SUCCESS, ret) in TEST_F()
1766 const std::unordered_map<std::string, std::string> args = fastboot::ParseArgs(argc, argv, &err); in main()
1774 fastboot::SEARCH_PATH = (found != args.end()) ? found->second + "/" : ""; in main()
1776 fastboot::OUTPUT_PATH = (found != args.end()) ? found->second + "/" : "/tmp/"; in main()
1777 if (!fastboot::extension::ParseXml(fastboot::SEARCH_PATH + args.at("config"), in main()
1778 &fastboot::config)) { in main()
1783 fastboot::GenerateXmlTests(fastboot::config); in main()
1787 fastboot::FastBootTest::device_serial = args.at("serial"); in main()
[all …]
Dtest_utils.h43 namespace fastboot {
Dextensions.h36 namespace fastboot {
Dfixtures.h36 namespace fastboot {
Dtest_utils.cpp33 namespace fastboot { namespace
Dtransport_sniffer.cpp9 namespace fastboot { namespace
/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/sepolicy/private/
Drecovery.te16 # Set sys.usb.config when switching into fastboot.
/system/sepolicy/prebuilts/api/31.0/private/
Drecovery.te16 # Set sys.usb.config when switching into fastboot.
Dadbd.te22 # Allows reboot fastboot to enter fastboot directly
/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/core/fastboot/testdata/
DAndroid.bp27 visibility: ["//system/core/fastboot"],
/system/sepolicy/prebuilts/api/30.0/private/
Dadbd.te22 # Allows reboot fastboot to enter fastboot directly

12