Home
last modified time | relevance | path

Searched refs:IsValid (Results 1 – 25 of 80) sorted by relevance

1234

/system/bt/stack/test/
Dad_parser_unittest.cc24 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/
Dadvertise_data_unittest.cc28 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/
Dbt_address_unittest.cc45 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/
Dset_absolute_volume_packet_test.cc54 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()
Dregister_notification_packet_test.cc40 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()
Dpass_through_packet_test.cc56 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()
Dset_addressed_player_packet_test.cc48 ASSERT_TRUE(test_packet->IsValid()); in TEST()
55 ASSERT_FALSE(test_packet->IsValid()); in TEST()
59 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dplay_item_packet_test.cc48 ASSERT_TRUE(test_packet->IsValid()); in TEST()
55 ASSERT_FALSE(test_packet->IsValid()); in TEST()
59 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dset_browsed_player_packet_test.cc59 ASSERT_TRUE(test_packet->IsValid()); in TEST()
66 ASSERT_FALSE(test_packet->IsValid()); in TEST()
70 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dget_total_number_of_items_packet_test.cc59 ASSERT_TRUE(test_packet->IsValid()); in TEST()
66 ASSERT_FALSE(test_packet->IsValid()); in TEST()
69 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dchange_path_packet_test.cc61 ASSERT_TRUE(test_packet->IsValid()); in TEST()
68 ASSERT_FALSE(test_packet->IsValid()); in TEST()
72 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dget_element_attributes_packet_test.cc60 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()
Davrcp_browse_packet_test.cc104 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()
Dget_capabilities_packet_test.cc38 ASSERT_TRUE(test_packet->IsValid()); in TEST()
45 ASSERT_FALSE(test_packet->IsValid()); in TEST()
51 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dget_item_attributes_packet_test.cc114 ASSERT_TRUE(test_packet->IsValid()); in TEST()
121 ASSERT_FALSE(test_packet->IsValid()); in TEST()
126 ASSERT_FALSE(test_packet->IsValid()); in TEST()
Dvendor_packet_test.cc125 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/
Dnl80211_packet_unittest.cpp96 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/
Dnl80211_attribute.h42 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()
Dnl80211_packet.h63 bool IsValid() const;
152 if (!attribute->IsValid()) { in GetAttribute()
/system/bt/packet/avrcp/
Dget_total_number_of_items.cc62 bool GetTotalNumberOfItemsRequest::IsValid() const { in IsValid() function in bluetooth::avrcp::GetTotalNumberOfItemsRequest
63 if (!BrowsePacket::IsValid()) return false; in IsValid()
Dset_absolute_volume.cc52 bool SetAbsoluteVolumeResponse::IsValid() const { in IsValid() function in bluetooth::avrcp::SetAbsoluteVolumeResponse
53 if (!VendorPacket::IsValid()) return false; in IsValid()
Dset_addressed_player.cc54 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/
Dbt_address.cc26 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/
DBacktraceCurrent.cpp46 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()
DBacktracePtrace.cpp57 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in ReadWord()
72 if (!BacktraceMap::IsValid(map) || !(map.flags & PROT_READ)) { in Read()

1234