Home
last modified time | relevance | path

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

12

/system/bt/service/test/
Dadvertise_data_unittest.cpp28 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()
82 EXPECT_FALSE(adv1.IsValid()); in TEST()
[all …]
/system/connectivity/shill/net/
Dnetlink_packet.cc47 bool NetlinkPacket::IsValid() const { in IsValid() function in shill::NetlinkPacket
68 CHECK(IsValid()); in GetPayload()
94 CHECK(IsValid()); in GetNlMsgHeader()
118 CHECK(IsValid()); in GetMutableHeader()
123 CHECK(IsValid()); in GetMutablePayload()
Dnetlink_packet_unittest.cc35 EXPECT_FALSE(null_packet.IsValid()); in TEST_F()
42 EXPECT_FALSE(short_packet.IsValid()); in TEST_F()
47 EXPECT_FALSE(invalid_packet.IsValid()); in TEST_F()
56 EXPECT_TRUE(empty_packet.IsValid()); in TEST_F()
68 EXPECT_FALSE(incomplete_packet.IsValid()); in TEST_F()
74 EXPECT_TRUE(complete_packet.IsValid()); in TEST_F()
Dip_address.cc124 CHECK(IsValid()); in GetMinPrefixLength()
256 if (!IsValid()) { in IntoSockAddr()
282 CHECK(IsValid()); in MaskWith()
283 CHECK(b.IsValid()); in MaskWith()
293 CHECK(IsValid()); in MergeWith()
294 CHECK(b.IsValid()); in MergeWith()
Dnetlink_packet.h40 bool IsValid() const;
Dip_address_unittest.cc77 EXPECT_FALSE(bad_addr.IsValid()); in TestAddress()
81 EXPECT_FALSE(bad_addr_from_bytes.IsValid()); in TestAddress()
103 EXPECT_FALSE(from_short_sockaddr.IsValid()); in TestAddress()
105 EXPECT_TRUE(from_sockaddr.IsValid()); in TestAddress()
Dip_address.h104 bool IsValid() const { in IsValid() function
/system/weaved/buffet/
Dap_manager_client.cc31 if (service_path_.IsValid()) { in Start()
51 if (manager_proxy_ && service_path_.IsValid()) { in Stop()
62 CHECK(object_path.IsValid()); in RemoveService()
73 if (service_path_.IsValid()) in OnManagerAdded()
/system/core/include/backtrace/
DBacktraceMap.h64 if (IsValid(map)) { in GetFlags()
84 static inline bool IsValid(const backtrace_map_t& map) { in IsValid() function
89 if (IsValid(map)) { in GetRelativePc()
/system/connectivity/shill/
Dconnection.cc247 if (gateway.IsValid() && properties.default_route) { in UpdateFromIPConfig()
299 has_broadcast_domain_ = !peer.IsValid(); in UpdateFromIPConfig()
431 !entry.dst.IsValid() || in PinPendingRoutes()
441 if (!local().IsValid()) { in GetSubnetName()
458 if (!gateway->IsValid()) { in FixGatewayReachability()
463 if (peer->IsValid()) { in FixGatewayReachability()
568 if (!trusted_ip.IsValid()) { in PinHostRoute()
573 if (!gateway.IsValid()) { in PinHostRoute()
634 if (!gateway_.IsValid()) { in CreateGatewayRoute()
Darp_packet.cc135 if (!local_ip_address_.IsValid() || !remote_ip_address_.IsValid()) { in FormatRequest()
Dicmp.cc69 if (!destination.IsValid()) { in TransmitEchoRequest()
/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()
DUnwindMap.cpp127 if (!IsValid(*map)) { in FillIn()
/system/tpm/attestation/server/
Dpkcs11_key_store.cc73 if (IsValid() && (C_CloseSession(handle_) != CKR_OK)) { in ~ScopedSession()
83 bool IsValid() const { in IsValid() function in attestation::ScopedSession
107 if (!session.IsValid()) { in Read()
149 if (!session.IsValid()) { in Write()
200 if (!session.IsValid()) { in Delete()
222 if (!session.IsValid()) { in DeleteByPrefix()
257 if (!session.IsValid()) { in Register()
407 if (!session.IsValid()) { in RegisterCertificate()
/system/bt/service/common/bluetooth/
Dadvertise_data.h50 bool IsValid() const;
Dadvertise_data.cpp43 bool AdvertiseData::IsValid() const { in IsValid() function in bluetooth::AdvertiseData
/system/update_engine/update_manager/
Dreal_shill_provider.cc94 if (!service_path.IsValid()) { in OnManagerPropertyChanged()
123 bool is_connected = (default_service_path_.IsValid() && in ProcessDefaultService()
/system/update_engine/
Dconnection_manager.cc169 if (!default_service_path.IsValid()) in GetConnectionProperties()
193 return out_path->IsValid(); in GetDefaultServicePath()
/system/webservd/webservd/
Ddbus_protocol_handler.cc164 if (file.IsValid()) { in GetRequestFileData()
191 if (file.IsValid()) { in CompleteRequest()
Drequest.cc104 CHECK(request_data_pipe_out_.IsValid());
148 CHECK(file.IsValid()); in Complete()
175 if (file.IsValid()) { in Complete()
/system/connectivity/shill/wifi/
Dmac80211_monitor_unittest.cc119 CHECK(fake_sysfs_tree_.IsValid()); // Keep tests hermetic. in IsWakeQueuesFileModified()
156 if (fake_sysfs_tree_.IsValid()) { in StartMonitor()
170 CHECK(fake_sysfs_tree_.IsValid()); // Keep tests hermetic. in WakeQueuesIfNeeded()
182 CHECK(fake_sysfs_tree_.IsValid()); // Keep tests hermetic. in FakeUpQueueFiles()
/system/core/adb/
Dfile_sync_client.cpp115 if (!IsValid()) return; in ~SyncConnection()
131 bool IsValid() { return fd >= 0; } in IsValid() function in SyncConnection
587 if (!sc.IsValid()) return false; in do_sync_ls()
723 if (!sc.IsValid()) return false; in do_sync_push()
933 if (!sc.IsValid()) return false; in do_sync_pull()
1042 if (!sc.IsValid()) return false; in do_sync_sync()
/system/media/brillo/audio/audioservice/
Daudio_daemon.cpp45 if (file.IsValid()) { in InitializeHandler()

12