Home
last modified time | relevance | path

Searched refs:expected_data (Results 1 – 7 of 7) sorted by relevance

/system/iorap/src/common/
Dexpected.h56 struct expected_data;
61 struct expected_data<T, E, /*DefineDestructor*/true> {
65 constexpr expected_data(U&& either, expected_tag_right)
69 constexpr expected_data(U&& either, expected_tag_error)
105 ~expected_data() {
114 expected_data(expected_data&& other)
130 expected_data(const expected_data& other) {
141 expected_data& operator=(const expected_data& other) {
169 expected_data& operator=(expected_data&& other) {
210 struct expected_data<T, E, /*DefineDestructor*/false> {
[all …]
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc445 brillo::Blob expected_data = in TEST_F() local
447 expected_data.resize(4096); // block size in TEST_F()
452 aop.op.set_data_length(expected_data.size()); in TEST_F()
456 brillo::Blob payload_data = GeneratePayload(expected_data, in TEST_F()
462 EXPECT_EQ(expected_data, ApplyPayload(payload_data, "/dev/null", true)); in TEST_F()
467 brillo::Blob expected_data = in TEST_F() local
469 expected_data.resize(4096); // block size in TEST_F()
474 aop.op.set_data_length(expected_data.size()); in TEST_F()
478 brillo::Blob payload_data = GeneratePayload(expected_data, in TEST_F()
493 brillo::Blob expected_data = in TEST_F() local
[all …]
Dxz_extent_writer_unittest.cc128 brillo::Blob expected_data(30 * 1024, 'a'); in TEST_F() local
129 EXPECT_EQ(expected_data, fake_extent_writer_->WrittenData()); in TEST_F()
147 brillo::Blob expected_data(30 * 1024, 'a'); in TEST_F() local
148 EXPECT_EQ(expected_data, fake_extent_writer_->WrittenData()); in TEST_F()
Dextent_writer_unittest.cc173 brillo::Blob expected_data(on_disk_count * kBlockSize); in TEST_F() local
178 memcpy(&expected_data[kBlockSize], &big[0], kBlockSize); in TEST_F()
179 memcpy(&expected_data[0], &big[3 * kBlockSize], kBlockSize); in TEST_F()
180 ExpectVectorsEq(expected_data, resultant_data); in TEST_F()
/system/bt/hci/test/
Dpacket_fragmenter_test.cc87 BT_HDR* packet, const char* expected_data, in expect_packet_fragmented() argument
104 int length_remaining = strlen(expected_data) - data_size_sum; in expect_packet_fragmented()
115 length_to_check = strlen(expected_data); in expect_packet_fragmented()
120 EXPECT_EQ(expected_data[expected_data_offset + i], data[i]); in expect_packet_fragmented()
125 EXPECT_TRUE(send_complete == (data_size_sum == strlen(expected_data))); in expect_packet_fragmented()
180 const char* expected_data) { in expect_packet_reassembled() argument
181 uint16_t expected_data_length = strlen(expected_data); in expect_packet_reassembled()
199 EXPECT_EQ(expected_data[i], data[i]); in expect_packet_reassembled()
/system/update_engine/payload_generator/
Dab_generator_unittest.cc302 brillo::Blob expected_data(part_data.begin(), in TestMergeReplaceOrReplaceBzOperations() local
306 ASSERT_TRUE(BzipCompress(expected_data, &expected_blob)); in TestMergeReplaceOrReplaceBzOperations()
308 expected_blob = expected_data; in TestMergeReplaceOrReplaceBzOperations()
/system/bt/stack/test/rfcomm/
Dstack_rfcomm_test.cc102 uint8_t* expected_data = expected_hdr->data + expected_hdr->offset; in MATCHER_P() local
103 return memcmp(arg_data, expected_data, expected_hdr->len) == 0; in MATCHER_P()