summaryrefslogtreecommitdiff
path: root/fastboot/fuzzy_fastboot/main.cpp
AgeCommit message (Collapse)Author
2021-03-17fuzzy_fastboot: Add tests for fetch:vendor_bootYifan Hong
Test: run test against bootloader Test: run test against fastbootd Bug: 173654501 Change-Id: Ia3182b4f4390048139d2cafe9b1654b6fb92eb7b
2021-03-17fuzzy_fastboot: Add conformance test for getvar:max-fetch-size.Yifan Hong
Test: run against bootloader Test: run against fastbootd Bug: 173654501 Change-Id: Ide38eee6b801110fef52f0f9213c038a72c775f2
2020-07-23Use more inclusive language for #inclusivefixitHongguang Chen
Updating language to comply with Android’s inclusive language guidance. See https://source.android.com/setup/contribute/respectful-code for reference. Bug: 161896447 Test: Trivial changes Change-Id: Ia84d47930b5d9ca4a5f7c809777c886bece4f512
2020-03-11Restore fastboot delete-logical-partition command for VTSyongcheol.lee
1. delete-logical-partition was deleted - After merge "Don't require bootloader fastboot for VTS compliance." commit, delete-logical-partition sequence was deleted in LogicalPartitionCompliance test. "create-logical-partition failed" is occurred when run vts fastbootverification module. So restore this sequence. Signed-off-by: Yongcheol LEE <yongcheol09.lee@lge.com> Test: VTS Test: run vts -m VtsFastbootVerification Change-Id: I00366b281eafa5677b0941419a86f2702fb3484b
2020-02-06Don't require bootloader fastboot for VTS compliance.David Anderson
Bug: 144820025 Test: vts Change-Id: Ib99ddbe611645fe0f89134a628ddb486b02df170
2020-01-21Allow fuzzy_fastboot test devices over internetsteven_fann
Bug: 144667236 Test: fuzzy_fastboot --serial=192.168.1.104:5555 --gtest_filter=*Logical* Change-Id: I02e62f706d0a3a19a9b7b56788abe05759d2d63d
2019-05-14Allow CreateResizeDeleteLP test case to run on non-A/B devicesHridya Valsaraju
Test: fuzzy_fastboot --gtest_filter=*Logical* Bug: 117220134 Change-Id: Ic7c2b246b7c5646d3589f8f57eceb9ba5feeef2b
2019-04-11Merge "Allow fuzzy_fastboot number to run for a specific device serial number"Treehugger Robot
2019-04-11Allow fuzzy_fastboot number to run for a specific device serial numberHridya Valsaraju
Test: ./fuzzy_fastboot --serial=826X003L --gtest_filter=*Logical* Bug: 117181762 Change-Id: I9dec510aa604b7994f25ce26edb87d7f6ec3e875
2019-04-05Test is-logical command for vendor and boot partitions.Hridya Valsaraju
Vendor must be a logical partition and boot must not be a logical partition. Test: fuzzy_fastboot --gtest_filter=*Logical* Bug: 117220134 Change-Id: Ifc6f2f715ca92cd1fe779e8fce2d6a10a1f140b9
2019-03-19Add more tests for dynamic partitionsHridya Valsaraju
Test: ./fuzzy_fastboot --gtest_filter=LogicalPartitionCompliance* Bug: 117220134 Change-Id: Ica489b0f9b252b2981cd44676bb892ded977de22
2019-03-19Add a test for logical partitions.Hridya Valsaraju
Test: ./fuzzy_fastboot --gtest_filter=LogicalPartitionCompliance* Bug: 117220134 Change-Id: Ib68f98ec5c8c402f9a80139134a0118ab65f8cd3
2018-12-11Fix performance-for-range-copy warningsChih-Hung Hsieh
Bug: 30413223 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance* Change-Id: I3ad102f2b0f971266d57488a3bd57d312f7ee3e6
2018-10-18fastboot: use constants.h valuesMark Salyzyn
Cleanup to utilize all the manifest values in constants.h. If the cli command _and_ the protocol name match, use a common source of convenient truth. This should set a pattern for future additional commands. When the command and the protocol differ, we want to introduce resistance as it results in confusion and maintenance issues. Test: compile Change-Id: Idad413c63cbbfcb6e851856105a5d5a9ef53ef29
2018-10-09Return partition size in hex format.Hridya Valsaraju
This is required to pass fuzzy_fastboot conformance tests. Also, allow for zero sized partitions in fuzzy_fastboot. Test: ./fuzzy_fastboot --gtest_filter=Conformance.Slots Bug: 117220134 Change-Id: Ifb12994a7796b081215084cb68b37674210aaa12
2018-10-05Allow Conformance tests to verify userspace fastboot.Hridya Valsaraju
Bug: 117220134 Test: ./fuzzy_fastboot --gtest_filter=Conformance.* Change-Id: Iab04fdff71e7e90a56d53d24cf14e94c81131009
2018-10-02Remove tests for sparse images with CRC from fuzzy_fastbootHridya Valsaraju
Sparse images with CRC are currently not supported by the Android build system. Test: ./fuzzy_fastboot --gtest_filter=Conformance.* Change-Id: I6a73fb0dc5d4c77a3d1a0384c137789eb06fa956
2018-09-05fastbootd: Perform CRC check when flashing sparse images.David Anderson
Bug: 78793464 Test: fuzzy_fastboot Conformance.SparseCRCCheck passes Change-Id: I717fbec42599a43bafafa1f73837e115a9f9109a
2018-09-04fastbootd: Fix partition size testing issues.David Anderson
Partition sizes must be reported with an "0x" prefix for fuzzy_fastboot. Also, with dynamic partitions, the size of a partition can be 0. Bug: 78793464 Test: fuzzy_fastboot Conformance.PartitionInfo does not error on partition sizes when using fastbootd Change-Id: I4148440bd9ed420878940829618cbf8cee85bf6a
2018-09-04fuzzy_fastboot: Use uint64_t for partition sizes.David Anderson
Bug: N/A Test: fuzzy_fastboot Conformance.PartitionInfo passes Change-Id: I27182585a1522d22dd3ddfe83ce22e06dd7fc762
2018-08-29fastboot: remove 'verify'Tom Cherry
This isn't sent by the fastboot client. This isn't in our bootloader requirement document. Neither my hikey nor sailfish respond to this. Test: fastboot still works Change-Id: I11ff0aed818d98f3427ed427605d99b3c76ccb06
2018-08-29fastboot: remove 'powerdown'Tom Cherry
This isn't sent by the fastboot client. This isn't in our bootloader requirement document. Neither my hikey nor sailfish respond to this. The README.md literally uses this as an example for 'unknown command' Test: fastboot still works. Change-Id: Ia442a41de517dae078dd7e73c951aadb97646c73
2018-08-24Added support to fuzzy_fastboot for more sparse testsAaron Wisner
Test: Pixel 2 Change-Id: Ibd491336ace4f346c3900a61bca30ac3023e4f21
2018-08-22Create fuzzy-fastboot pen testerAaron Wisner
Test: Run on Sailfish, Walleye, and other devices Bug: http://b/111126621 Change-Id: I309af79411d0a16d11874a048ce0db024770d7b2