Home
last modified time | relevance | path

Searched refs:expected_data (Results 1 – 8 of 8) 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.cc454 brillo::Blob expected_data = in TEST_F() local
456 expected_data.resize(4096); // block size in TEST_F()
461 aop.op.set_data_length(expected_data.size()); in TEST_F()
465 brillo::Blob payload_data = GeneratePayload(expected_data, in TEST_F()
471 EXPECT_EQ(expected_data, ApplyPayload(payload_data, "/dev/null", true)); in TEST_F()
476 brillo::Blob expected_data = in TEST_F() local
478 expected_data.resize(4096); // block size in TEST_F()
483 aop.op.set_data_length(expected_data.size()); in TEST_F()
487 brillo::Blob payload_data = GeneratePayload(expected_data, in TEST_F()
502 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/extras/simpleperf/
Dcmd_inject_test.cpp49 std::string expected_data; in CheckMatchingExpectedData() local
51 GetTestData(std::string("etm") + OS_PATH_SEPARATOR + "perf_inject.data"), &expected_data)); in CheckMatchingExpectedData()
53 ASSERT_EQ(data, expected_data); in CheckMatchingExpectedData()
/system/update_engine/payload_generator/
Dab_generator_unittest.cc302 brillo::Blob expected_data(part_data.begin(), in TestMergeReplaceOrReplaceXzOperations() local
306 ASSERT_TRUE(XzCompress(expected_data, &expected_blob)); in TestMergeReplaceOrReplaceXzOperations()
308 expected_blob = expected_data; in TestMergeReplaceOrReplaceXzOperations()
/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()