Searched refs:data1 (Results 1 – 4 of 4) sorted by relevance
/system/bt/service/test/ |
D | advertise_data_unittest.cc | 31 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 …]
|
D | low_energy_advertiser_unittest.cc | 406 const std::vector<uint8_t> data1{0x04, HCI_EIR_MANUFACTURER_SPECIFIC_TYPE, in TEST_F() local 409 AdvertiseData valid_adv(data1); in TEST_F()
|
/system/bt/stack/test/ |
D | ad_parser_unittest.cc | 27 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/ |
D | blockdiff.py | 54 data1 = file1.read(read_length) 56 if len(data1) != len(data2): 58 (len(data1), name1, len(data2), name2)) 60 if data1 != data2: 75 if not data1: 78 max_length -= len(data1)
|