Home
last modified time | relevance | path

Searched refs:is_connected (Results 1 – 25 of 29) sorted by relevance

12

/external/libchrome/libchrome_tools/patches/
Ddbus-Make-Bus-is_connected-mockable.patch4 Subject: [PATCH] dbus: Make Bus::is_connected() mockable
7 Bus::is_connected() because it always returns false. This is currently
48 - bool is_connected() { return connection_ != nullptr; }
61 - if (!bus_->is_connected())
86 - if (bus_->is_connected())
Dpatches16 dbus-Make-Bus-is_connected-mockable.patch
/external/selinux/libsemanage/src/
Dhandle.c272 return sh->is_connected; in semanage_is_connected()
305 if (sh->is_connected) { in semanage_is_managed()
350 sh->is_connected = 1; in semanage_connect()
373 if (!sh->is_connected) { in hidden_def()
380 sh->is_connected = 0; in hidden_def()
404 if (!sh->is_connected) { in hidden_def()
Dmodules.c114 } else if (!sh->is_connected) { in semanage_module_install_hll()
133 } else if (!sh->is_connected) { in semanage_module_install_file()
155 } else if (!sh->is_connected) { in semanage_module_extract()
204 } else if (!sh->is_connected) { in semanage_module_remove()
222 } else if (!sh->is_connected) { in semanage_module_list()
813 } else if (!sh->is_connected) { in hidden_def()
837 } else if (!sh->is_connected) { in semanage_module_set_enabled()
1081 } else if (!sh->is_connected) { in semanage_module_get_module_info()
1101 } else if (!sh->is_connected) { in semanage_module_list_all()
1118 } else if (!sh->is_connected) { in semanage_module_install_info()
[all …]
Dhandle.h61 int is_connected; member
/external/autotest/server/cros/servo/
Dpd_device.py43 def is_connected(self, state=None): member in PDDevice
226 def is_connected(self, state=None): member in PDConsoleDevice
309 connect = self.is_connected()
437 if self.is_connected() == False:
446 if self.is_connected() == False:
564 connect = self.is_connected()
/external/webrtc/examples/peerconnection/client/
Dmain.cc125 if (conductor->connection_active() || client.is_connected()) { in wWinMain()
126 while ((conductor->connection_active() || client.is_connected()) && in wWinMain()
Dpeer_connection_client.cc69 bool PeerConnectionClient::is_connected() const { in is_connected() function in PeerConnectionClient
152 RTC_DCHECK(is_connected()); in SendToPeer()
154 if (!is_connected() || peer_id == -1) in SendToPeer()
354 RTC_DCHECK(is_connected()); in OnRead()
Dconductor.cc404 if (client_->is_connected()) in StartLogin()
411 if (client_->is_connected()) in DisconnectFromServer()
486 if (client_->is_connected()) { in UIThreadCallback()
Dpeer_connection_client.h54 bool is_connected() const;
/external/tensorflow/tensorflow/compiler/xla/service/
Dmulti_output_fusion.cc88 if (is_connected(instruction, user)) { in Run()
217 if (is_fused(instr) || is_connected(fusion, instr)) { in GetNewFusibles()
231 if (instr == fusion || is_fused(instr) || is_connected(fusion, instr)) { in GetNewFusibles()
336 if (is_connected(instr1, instr2)) { in LegalToFuseMainConstraints()
Dmulti_output_fusion.h192 bool is_connected(HloInstruction* instr1, HloInstruction* instr2) { in is_connected() function
/external/perfetto/test/
Dproducer_socket_fuzzer.cc39 PERFETTO_CHECK(connected && self->is_connected()); in OnConnect()
/external/llvm-project/lldb/source/Target/
DPlatform.cpp433 const bool is_connected = IsConnected(); in GetStatus() local
434 if (is_connected) in GetStatus()
436 strm.Printf(" Connected: %s\n", is_connected ? "yes" : "no"); in GetStatus()
468 const bool is_connected = IsConnected(); in GetOSVersion() local
475 if (is_connected && !m_os_version_set_while_connected) in GetOSVersion()
479 fetch = is_connected; in GetOSVersion()
916 const bool is_connected = IsConnected(); in GetSystemArchitecture() local
923 if (is_connected && !m_system_arch_set_while_connected) in GetSystemArchitecture()
927 fetch = is_connected; in GetSystemArchitecture()
/external/webrtc/examples/peerconnection/client/linux/
Dmain.cc50 client_ != NULL && !client_->is_connected()) { in Wait()
/external/libchrome/dbus/
Dbus_unittest.cc405 EXPECT_FALSE(bus->is_connected()); in TEST()
412 EXPECT_TRUE(bus->is_connected()); in TEST()
Dexported_object.cc283 if (!bus_->is_connected()) in OnMethodCompleted()
Dbus.h586 bool is_connected() { return connection_ != nullptr; } in is_connected() function
/external/perfetto/src/ipc/
Dclient_impl.cc86 if (!sock_->is_connected()) { in BindService()
150 PERFETTO_CHECK(res || !sock_->is_connected()); in SendFrame()
/external/perfetto/src/base/
Dunix_socket_unittest.cc92 ASSERT_FALSE(cli->is_connected()); in TEST_F()
165 ASSERT_TRUE(cli->is_connected()); in TEST_F()
232 ASSERT_TRUE(cli->is_connected()); in TEST_F()
542 ASSERT_TRUE(srv_client_conn->is_connected()); in TEST_F()
556 ASSERT_FALSE(srv_client_conn->is_connected()); in TEST_F()
590 ASSERT_TRUE(cli->is_connected()); in TEST_F()
/external/autotest/server/site_tests/firmware_PDVbusRequest/
Dfirmware_PDVbusRequest.py110 if not self.dut_port.is_connected(dut_connect_state):
/external/python/cpython3/Lib/
Dnntplib.py385 is_connected = lambda: hasattr(self, "file") function
386 if is_connected():
392 if is_connected():
/external/perfetto/include/perfetto/ext/base/
Dunix_socket.h346 bool is_connected() const { return state_ == State::kConnected; } in is_connected() function
/external/autotest/server/cros/bluetooth/
Dbluetooth_adapter_audio_tests.py808 is_connected = self._wait_for_condition(check_connection,
811 self.results['peer a2dp connected'] = is_connected
/external/python/cpython3/Lib/test/
Dtest_nntplib.py267 def is_connected(): function
281 self.assertTrue(is_connected())
283 self.assertFalse(is_connected())
290 self.assertFalse(is_connected())

12