Home
last modified time | relevance | path

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

/system/update_engine/scripts/
Dblockdiff.py56 data2 = file2.read(read_length)
57 if len(data1) != len(data2):
59 (len(data1), name1, len(data2), name2))
61 if data1 != data2:
/system/bt/service/test/
Dadvertise_data_unittest.cc48 const std::vector<uint8_t> data2{0x02, 0x02, 0x00, 0x02, 0x00}; in TEST() local
49 AdvertiseData adv2(data2); in TEST()
83 const std::vector<uint8_t> data2{ in TEST() local
85 AdvertiseData adv2(data2); in TEST()
Dlow_energy_advertiser_unittest.cc422 const std::vector<uint8_t> data2{0x01, HCI_EIR_MANUFACTURER_SPECIFIC_TYPE}; in TEST_F() local
423 AdvertiseData invalid_mfc(data2); in TEST_F()
/system/bt/stack/test/
Dad_parser_unittest.cc41 const std::vector<uint8_t> data2{0x02, 0x02, 0x00, 0x02, 0x00}; in TEST() local
42 EXPECT_FALSE(AdvertiseDataParser::IsValid(data2)); in TEST()
69 const std::vector<uint8_t> data2{0x03, 0x02, 0x01, 0x02, in TEST() local
71 EXPECT_TRUE(AdvertiseDataParser::IsValid(data2)); in TEST()
/system/unwinding/libunwindstack/
DRegsX86_64.cpp144 uint8_t data2; in StepIfSignalHandler() local
145 if (!elf_memory->ReadFully(elf_offset + 8, &data2, sizeof(data2)) || data2 != 0x05) { in StepIfSignalHandler()
/system/core/fs_mgr/libsnapshot/
Dcow_api_test.cpp192 std::string data2 = "More data!"; in TEST_F() local
193 data2.resize(options.block_size, '\0'); in TEST_F()
194 ASSERT_TRUE(writer.AddRawBlocks(51, data2.data(), data2.size())); in TEST_F()
232 ASSERT_EQ(sink.stream(), data2); in TEST_F()
361 std::string data2 = "More data!"; in TEST_F() local
362 data2.resize(options.block_size, '\0'); in TEST_F()
363 ASSERT_TRUE(writer->AddRawBlocks(51, data2.data(), data2.size())); in TEST_F()
404 ASSERT_EQ(sink.stream(), data2); in TEST_F()
717 std::string data2 = "More data!"; in TEST_F() local
718 data2.resize(options.block_size, '\0'); in TEST_F()
[all …]
/system/bt/gd/storage/
Dconfig_cache_helper_test.cc130 std::vector<uint8_t> data2 = {0xAB, 0x5D, 0x42}; in TEST() local
131 ConfigCacheHelper(config).SetBin("A", "B", data2); in TEST()
133 ASSERT_THAT(ConfigCacheHelper(config).GetBin("A", "B"), Optional(ContainerEq(data2))); in TEST()