Home
last modified time | relevance | path

Searched refs:fastboot (Results 1 – 25 of 29) 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.bp125 "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",
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.cpp104 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", &current_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 …]
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 …]
Dfastboot_driver.h46 namespace fastboot {
/system/core/fs_mgr/tests/
Dadb-remount-test.sh61 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/
Dfastboot_device.h54 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal() { in fastboot_hal()
67 android::sp<android::hardware::fastboot::V1_0::IFastboot> fastboot_hal_;
Dvariables.cpp37 using ::android::hardware::fastboot::V1_0::FileSystemType;
38 using ::android::hardware::fastboot::V1_0::Result;
39 using ::android::hardware::fastboot::V1_0::Status;
Dfastboot_device.cpp34 using ::android::hardware::fastboot::V1_0::IFastboot;
Dcommands.cpp46 using ::android::hardware::fastboot::V1_0::Result;
47 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 …]
Dusb_transport_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()
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 …]
Dextensions.h36 namespace fastboot {
Dfixtures.h36 namespace fastboot {
Dtest_utils.cpp33 namespace fastboot { namespace
Dusb_transport_sniffer.cpp9 namespace fastboot { namespace
Dfixtures.cpp60 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
1331 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/private/
Dadbd.te22 # Allows reboot fastboot to enter fastboot directly
/system/sepolicy/prebuilts/api/29.0/public/
Drecovery.te121 # Set sys.usb.config when switching into fastboot.

12