Home
last modified time | relevance | path

Searched defs:expected (Results 1 – 21 of 21) sorted by relevance

/bootable/recovery/tests/unit/
Dbootloader_message_test.cpp67 std::string expected = "recovery\n" + android::base::Join(options, "\n") + "\n"; in TEST() local
107 std::string expected = "recovery\n" + android::base::Join(options, "\n") + "\n"; in TEST() local
Dscreen_ui_test.cpp145 int expected = (i + 1) % 5; in TEST_F() local
157 int expected = (9 - i) % 5; in TEST_F() local
174 int expected = std::min(i + 1, 4); in TEST_F() local
186 int expected = std::max(3 - i, 0); in TEST_F() local
Dfuse_provider_test.cpp102 std::string expected = content.substr(16384, 4096) + content.substr(24576, 15904); in TEST() local
Duncrypt_test.cpp153 void VerifyBootloaderMessage(const std::string& expected) { in VerifyBootloaderMessage()
Dverifier_test.cpp52 int expected) { in VerifyFile()
Dinstall_test.cpp105 std::vector<std::string> expected = { in TEST() local
/bootable/deprecated-ota/tests/unit/
Dapplypatch_test.cpp259 std::vector<std::string> expected = { "last_log", "last_log.1" }; in TEST_F() local
274 std::vector<std::string> expected = { "last_log.1" }; in TEST_F() local
288 std::vector<std::string> expected = { "block.map", "command", "last_install" }; in TEST_F() local
Dedify_test.cpp24 static void expect(const std::string& expr_str, const char* expected) { in expect()
Dupdater_test.cpp61 static void expect(const char* expected, const std::string& expr_str, CauseCode cause_code, in expect()
87 static void expect(const char* expected, const std::string& expr_str, CauseCode cause_code) { in expect()
/bootable/libbootloader/gbl/libc/src/
Dformat_test.cpp105 char expected[64]; in TEST() local
113 char expected[64]; in TEST() local
/bootable/deprecated-ota/tests/unit/host/
Dupdate_simulator_test.cpp79 static void RunSimulation(std::string_view src_tf, std::string_view ota_package, bool expected) { in RunSimulation()
186 std::vector<std::vector<string>> expected = { in TEST_F() local
/bootable/recovery/minadbd/
Dminadbd_services_test.cpp69 std::vector<uint8_t> expected(kMinadbdMessageSize, '\0'); in ReadAndCheckCommandMessage() local
/bootable/libbootloader/gbl/libbootparams/src/
Dcommandline.rs246 let expected = in test_add_with_incremental() localVariable
/bootable/libbootloader/gbl/libgbl/src/slots/
Dandroid.rs398 let expected: Vec<Slot> = ('a'..='d') in test_slot_block_defaults() localVariable
418 let expected: Vec<Slot> = ('a'..='b') in test_slot_block_fewer_slots() localVariable
Dfuchsia.rs310 let expected: Vec<Slot> = vec![ in test_slot_block_defaults() localVariable
/bootable/libbootloader/gbl/libsafemath/src/
Dlib.rs487 let expected = var - 1; localVariable
/bootable/libbootloader/gbl/libstorage/src/
Dlib.rs613 let mut expected = data[rw_off..][..rw_sz].to_vec(); in write_test_helper() localVariable
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dmod.rs1231 let expected = disk[off.try_into().unwrap()..][..size.try_into().unwrap()].to_vec(); in check_blk_upload() localVariable
1271 let expected = in check_part_upload() localVariable
2180 let expected = [ in test_fuchsia_fastboot_mdns_packet() localVariable
/bootable/libbootloader/gbl/libgbl/src/
Dpartition.rs627 let mut expected = vec![0u8; raw.len()]; in test_write_sparse() localVariable
/bootable/deprecated-ota/updater/
Dblockimg.cpp653 static int VerifyBlocks(const std::string& expected, const std::vector<uint8_t>& buffer, in VerifyBlocks()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs1630 let expected: &[&[u8]] = &[ in test_fastboot_tcp() localVariable