Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 15 of 15) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dsparse.rs282 let raw = include_bytes!("../../testdata/sparse_test_raw.bin"); in test_sparse_write() localVariable
285 let mut out = vec![0u8; 2 * raw.len()]; in test_sparse_write()
292 raw.len().try_into().unwrap() in test_sparse_write()
294 assert_eq!(out[..raw.len()].to_vec(), raw); in test_sparse_write()
299 let raw = include_bytes!("../../testdata/sparse_test_raw.bin"); in test_sparse_write_non_default_block_size() localVariable
302 let mut out = vec![0u8; 2 * raw.len()]; in test_sparse_write_non_default_block_size()
309 raw.len().try_into().unwrap() in test_sparse_write_non_default_block_size()
311 assert_eq!(out[..raw.len()].to_vec(), raw); in test_sparse_write_non_default_block_size()
Dmod.rs529 let raw = include_bytes!("../../testdata/sparse_test_raw.bin"); in test_flash_partition_sparse() localVariable
532 TestMultiBlockDevices(vec![TestBlockDeviceBuilder::new().set_size(raw.len()).build()]); in test_flash_partition_sparse()
539 assert_eq!(fetch(&mut fb, ":0".into(), 0, raw.len().try_into().unwrap()).unwrap(), raw); in test_flash_partition_sparse()
/bootable/libbootloader/gbl/
DREADME.md77 -drive if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd \
78 -drive format=raw,file=fat:rw:/tmp/esp
86 -drive if=pflash,format=raw,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd \
87 -drive format=raw,file=fat:rw:/tmp/esp
96 -drive format=raw,file=fat:rw:/tmp/esp,id=blk0 \
/bootable/libbootloader/gbl/docs/
Dgbl_fastboot.md20 "partition" is defined to represent both GPT partitions or raw storage of any
57 of the raw data on the block device with ID `block_id`. `offset` defaults to
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/
DFileDownloaderTest.java65 Files.copy(mTestContext.getResources().openRawResource(R.raw.ota_002_package), in download_downloadsChunkOfZip()
DPayloadSpecsTest.java80 java.nio.file.Files.copy(mTestContext.getResources().openRawResource(R.raw.ota_002_package), in forNonStreaming_works()
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/
DUpdateConfigTest.java66 mJsonStreaming001 = readResource(R.raw.update_config_001_stream); in setUp()
DUpdateManagerTest.java78 UpdateConfig.fromJson(readResource(R.raw.update_config_002_stream)); in setUp()
/bootable/libbootloader/gbl/libfdt/
DBUILD35 "--raw-line",
/bootable/libbootloader/gbl/libboot/
DBUILD50 "--raw-line",
/bootable/libbootloader/gbl/libbootimg/
DBUILD59 "--raw-line",
/bootable/libbootloader/gbl/libefi/
DBUILD71 "--raw-line",
/bootable/libbootloader/gbl/libavb/
DBUILD.avb.bazel152 "--raw-line",
/bootable/deprecated-ota/tests/unit/host/
Dimgdiff_test.cpp50 size_t raw = 0; in verify_patch_header() local
68 raw++; in verify_patch_header()
79 if (num_raw != nullptr) *num_raw = raw; in verify_patch_header()
/bootable/recovery/updater_sample/
DREADME.md25 at `res/raw/sample.json`.