Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 4 of 4) sorted by relevance

/system/bt/service/test/
Dadvertise_data_unittest.cc31 const std::vector<uint8_t> data1{0x00}; in TEST() local
32 AdvertiseData adv1(data1); in TEST()
43 const std::vector<uint8_t> data1{0x05, 0x02, 0x00, 0x00, 0x00}; in TEST() local
44 AdvertiseData adv1(data1); in TEST()
65 const std::vector<uint8_t> data1{0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x01}; in TEST() local
66 AdvertiseData adv1(data1); in TEST()
77 const std::vector<uint8_t> data1{ in TEST() local
79 AdvertiseData adv1(data1); in TEST()
101 const std::vector<uint8_t> data1{0x02, 0x03, 0x00}; in TEST() local
104 AdvertiseData adv1(data1); in TEST()
[all …]
Dlow_energy_advertiser_unittest.cc408 const std::vector<uint8_t> data1{0x04, HCI_EIR_MANUFACTURER_SPECIFIC_TYPE, in TEST_F() local
411 AdvertiseData valid_adv(data1); in TEST_F()
/system/bt/stack/test/
Dad_parser_unittest.cc27 const std::vector<uint8_t> data1{0x00}; in TEST() local
28 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST()
37 const std::vector<uint8_t> data1{0x05, 0x02, 0x00, 0x00, 0x00}; in TEST() local
38 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST()
51 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST()
56 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST()
65 const std::vector<uint8_t> data1{0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x01}; in TEST() local
66 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST()
119 const std::vector<uint8_t> data1{0x02, 0x02, 0x00, 0x03, 0x00}; in TEST() local
122 data = AdvertiseDataParser::GetFieldByType(data1, 0x02, &p_length); in TEST()
[all …]
/system/update_engine/scripts/
Dblockdiff.py55 data1 = file1.read(read_length)
57 if len(data1) != len(data2):
59 (len(data1), name1, len(data2), name2))
61 if data1 != data2:
76 if not data1:
79 max_length -= len(data1)