/system/bt/stack/test/ |
D | ad_parser_unittest.cc | 24 EXPECT_TRUE(AdvertiseDataParser::IsValid(data0)); in TEST() 28 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST() 34 EXPECT_FALSE(AdvertiseDataParser::IsValid(data0)); in TEST() 38 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST() 42 EXPECT_FALSE(AdvertiseDataParser::IsValid(data2)); in TEST() 46 EXPECT_FALSE(AdvertiseDataParser::IsValid(data3)); in TEST() 51 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST() 56 EXPECT_FALSE(AdvertiseDataParser::IsValid(data1)); in TEST() 62 EXPECT_TRUE(AdvertiseDataParser::IsValid(data0)); in TEST() 66 EXPECT_TRUE(AdvertiseDataParser::IsValid(data1)); in TEST() [all …]
|
/system/bt/service/test/ |
D | advertise_data_unittest.cc | 28 EXPECT_TRUE(adv0.IsValid()); in TEST() 33 EXPECT_FALSE(adv1.IsValid()); in TEST() 40 EXPECT_FALSE(adv0.IsValid()); in TEST() 45 EXPECT_FALSE(adv1.IsValid()); in TEST() 50 EXPECT_FALSE(adv2.IsValid()); in TEST() 55 EXPECT_FALSE(adv3.IsValid()); in TEST() 62 EXPECT_TRUE(adv0.IsValid()); in TEST() 67 EXPECT_TRUE(adv0.IsValid()); in TEST() 74 EXPECT_FALSE(adv0.IsValid()); in TEST() 80 EXPECT_FALSE(adv1.IsValid()); in TEST() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/test/ |
D | bt_address_unittest.cc | 45 TEST_F(BtAddressTest, IsValid) { in TEST_F() argument 46 EXPECT_FALSE(BtAddress::IsValid("")); in TEST_F() 47 EXPECT_FALSE(BtAddress::IsValid("000000000000")); in TEST_F() 48 EXPECT_FALSE(BtAddress::IsValid("00:00:00:00:0000")); in TEST_F() 49 EXPECT_FALSE(BtAddress::IsValid("00:00:00:00:00:0")); in TEST_F() 50 EXPECT_FALSE(BtAddress::IsValid("00:00:00:00:00:0;")); in TEST_F() 51 EXPECT_FALSE(BtAddress::IsValid("00:00:000:00:00:0;")); in TEST_F() 52 EXPECT_TRUE(BtAddress::IsValid("00:00:00:00:00:00")); in TEST_F() 53 EXPECT_FALSE(BtAddress::IsValid("aB:cD:eF:Gh:iJ:Kl")); in TEST_F() 54 EXPECT_TRUE(BtAddress::IsValid(kTestAddr1)); in TEST_F() [all …]
|
/system/bt/packet/tests/avrcp/ |
D | set_absolute_volume_packet_test.cc | 54 ASSERT_TRUE(test_packet->IsValid()); in TEST() 61 ASSERT_FALSE(test_packet->IsValid()); in TEST() 65 ASSERT_FALSE(test_packet->IsValid()); in TEST() 70 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | register_notification_packet_test.cc | 40 ASSERT_TRUE(test_packet->IsValid()); in TEST() 47 ASSERT_FALSE(test_packet->IsValid()); in TEST() 51 ASSERT_FALSE(test_packet->IsValid()); in TEST() 77 ASSERT_TRUE(test_packet->IsValid()); in TEST() 84 ASSERT_FALSE(test_packet->IsValid()); in TEST() 88 ASSERT_FALSE(test_packet->IsValid()); in TEST() 93 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | pass_through_packet_test.cc | 56 ASSERT_TRUE(test_packet->IsValid()); in TEST() 59 ASSERT_TRUE(test_packet->IsValid()); in TEST() 66 ASSERT_FALSE(test_packet->IsValid()); in TEST() 70 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | set_addressed_player_packet_test.cc | 48 ASSERT_TRUE(test_packet->IsValid()); in TEST() 55 ASSERT_FALSE(test_packet->IsValid()); in TEST() 59 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | play_item_packet_test.cc | 48 ASSERT_TRUE(test_packet->IsValid()); in TEST() 55 ASSERT_FALSE(test_packet->IsValid()); in TEST() 59 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | set_browsed_player_packet_test.cc | 59 ASSERT_TRUE(test_packet->IsValid()); in TEST() 66 ASSERT_FALSE(test_packet->IsValid()); in TEST() 70 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | get_total_number_of_items_packet_test.cc | 59 ASSERT_TRUE(test_packet->IsValid()); in TEST() 66 ASSERT_FALSE(test_packet->IsValid()); in TEST() 69 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | change_path_packet_test.cc | 61 ASSERT_TRUE(test_packet->IsValid()); in TEST() 68 ASSERT_FALSE(test_packet->IsValid()); in TEST() 72 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | get_element_attributes_packet_test.cc | 60 ASSERT_TRUE(test_packet->IsValid()); in TEST() 64 ASSERT_TRUE(test_packet->IsValid()); in TEST() 71 ASSERT_FALSE(test_packet->IsValid()); in TEST() 76 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | avrcp_browse_packet_test.cc | 104 ASSERT_TRUE(test_browse_packet->IsValid()); in TEST() 111 ASSERT_FALSE(test_browse_packet->IsValid()); in TEST() 115 ASSERT_FALSE(test_browse_packet->IsValid()); in TEST()
|
D | get_capabilities_packet_test.cc | 38 ASSERT_TRUE(test_packet->IsValid()); in TEST() 45 ASSERT_FALSE(test_packet->IsValid()); in TEST() 51 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | get_item_attributes_packet_test.cc | 114 ASSERT_TRUE(test_packet->IsValid()); in TEST() 121 ASSERT_FALSE(test_packet->IsValid()); in TEST() 126 ASSERT_FALSE(test_packet->IsValid()); in TEST()
|
D | vendor_packet_test.cc | 125 ASSERT_TRUE(test_packet->IsValid()); in TEST_P() 132 ASSERT_FALSE(test_packet->IsValid()); in TEST_F() 136 ASSERT_FALSE(test_packet->IsValid()); in TEST_F()
|
/system/connectivity/wificond/tests/ |
D | nl80211_packet_unittest.cpp | 96 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 119 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 137 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 180 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 197 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 220 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 238 EXPECT_TRUE(netlink_packet.IsValid()); in TEST() 262 EXPECT_TRUE(netlink_packet.IsValid()); in TEST()
|
/system/connectivity/wificond/net/ |
D | nl80211_attribute.h | 42 virtual bool IsValid() const; 86 bool IsValid() const override { in IsValid() function 87 if (!BaseNL80211Attr::IsValid()) { in IsValid() 194 if (!attribute.IsValid()) { in GetListOfAttributeValues() 232 if (!attribute.IsValid()) { in GetListOfAttributes() 258 if (!attribute->IsValid()) { in GetAttribute()
|
D | nl80211_packet.h | 63 bool IsValid() const; 152 if (!attribute->IsValid()) { in GetAttribute()
|
/system/bt/packet/avrcp/ |
D | get_total_number_of_items.cc | 62 bool GetTotalNumberOfItemsRequest::IsValid() const { in IsValid() function in bluetooth::avrcp::GetTotalNumberOfItemsRequest 63 if (!BrowsePacket::IsValid()) return false; in IsValid()
|
D | set_absolute_volume.cc | 52 bool SetAbsoluteVolumeResponse::IsValid() const { in IsValid() function in bluetooth::avrcp::SetAbsoluteVolumeResponse 53 if (!VendorPacket::IsValid()) return false; in IsValid()
|
D | set_addressed_player.cc | 54 bool SetAddressedPlayerRequest::IsValid() const { in IsValid() function in bluetooth::avrcp::SetAddressedPlayerRequest 55 if (!VendorPacket::IsValid()) return false; in IsValid()
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | bt_address.cc | 26 bool BtAddress::IsValid(const std::string& addr) { in IsValid() function in test_vendor_lib::BtAddress 43 if (!IsValid(str)) return false; in FromString()
|
/system/core/libbacktrace/ |
D | BacktraceCurrent.cpp | 46 if (BacktraceMap::IsValid(map) && map.flags & PROT_READ) { in ReadWord() 59 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read() 87 if (BacktraceMap::IsValid(frame.map)) { in DiscardFrame()
|
D | BacktracePtrace.cpp | 57 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in ReadWord() 72 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read()
|