Home
last modified time | relevance | path

Searched refs:Connect (Results 1 – 25 of 84) sorted by relevance

1234

/system/bt/service/test/
Da2dp_sink_unittest.cc35 MOCK_METHOD1(Connect, bt_status_t(RawAddress));
140 void Connect(const std::string& addr) { in Connect() function in bluetooth::__anon3081c9550111::A2dpSinkPostRegisterTest
144 EXPECT_CALL(*mock_handler_, Connect(hal_addr)) in Connect()
147 EXPECT_TRUE(a2dp_sink_->Connect(addr)); in Connect()
202 TEST_F(A2dpSinkPostRegisterTest, Connect) { in TEST_F() argument
204 Connect(kTestAddr); in TEST_F()
211 Connect(kTestAddr); in TEST_F()
222 Connect(kTestAddr); in TEST_F()
237 Connect(kTestAddr); in TEST_F()
Da2dp_source_unittest.cc35 MOCK_METHOD1(Connect, bt_status_t(RawAddress));
137 void Connect(const std::string& addr) { in Connect() function in bluetooth::__anondbec48710111::A2dpSourcePostRegisterTest
141 EXPECT_CALL(*mock_handler_, Connect(hal_addr)) in Connect()
144 EXPECT_TRUE(a2dp_source_->Connect(addr)); in Connect()
199 TEST_F(A2dpSourcePostRegisterTest, Connect) { in TEST_F() argument
201 Connect(kTestAddr); in TEST_F()
212 Connect(kTestAddr); in TEST_F()
Dlow_energy_client_unittest.cc45 MOCK_METHOD4(Connect, bt_status_t(int, const RawAddress&, bool, int));
254 TEST_F(LowEnergyClientPostRegisterTest, Connect) { in TEST_F() argument
267 Connect(le_client_->GetInstanceId(), BitEq(kTestAddress), in TEST_F()
277 EXPECT_TRUE(le_client_->Connect(kTestAddressStr, kTestDirect)); in TEST_F()
/system/core/fastboot/
Dtcp.h45 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
52 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
Dtcp_test.cpp41 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
51 EXPECT_NE(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
60 EXPECT_EQ(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
70 EXPECT_EQ(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
80 EXPECT_EQ(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
90 EXPECT_EQ(nullptr, tcp::internal::Connect(std::move(mock), &error)); in TEST()
103 transport_ = tcp::internal::Connect(std::unique_ptr<Socket>(mock_), &error); in SetUp()
Dudp.h43 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
74 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
Dtcp.cpp186 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() function
187 return internal::Connect(Socket::NewClient(Socket::Protocol::kTcp, hostname, port, error), in Connect()
193 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect() function
Dudp.cpp378 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect() function
379 return internal::Connect(Socket::NewClient(Socket::Protocol::kUdp, hostname, port, error), in Connect()
385 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect() function
/system/nvram/hal/
Dtesting_nvram_implementation.cpp47 bool Connect();
77 bool TestingNvramImplementation::Connect() { in Connect() function in __anonb2a572810111::TestingNvramImplementation
96 if (!Connect()) { in SendRequest()
/system/sepolicy/prebuilts/api/26.0/private/
Dnet.te8 # Connect to ports.
23 # Connect to mdnsd via mdnsd socket.
/system/sepolicy/prebuilts/api/28.0/private/
Dnet.te8 # Connect to ports.
23 # Connect to mdnsd via mdnsd socket.
/system/sepolicy/prebuilts/api/27.0/private/
Dnet.te8 # Connect to ports.
23 # Connect to mdnsd via mdnsd socket.
/system/sepolicy/prebuilts/api/29.0/public/
Dnet.te14 # Connect to ports.
29 # Connect to mdnsd via mdnsd socket.
/system/bt/service/hal/
Dfake_bluetooth_av_interface.h33 virtual bt_status_t Connect(RawAddress bda) = 0;
41 virtual bt_status_t Connect(RawAddress bda) = 0;
Dfake_bluetooth_av_interface.cc43 if (g_a2dp_source_handler) return g_a2dp_source_handler->Connect(bd_addr); in FakeConnect()
44 if (g_a2dp_sink_handler) return g_a2dp_sink_handler->Connect(bd_addr); in FakeConnect()
/system/sepolicy/public/
Dnet.te14 # Connect to ports.
38 # Connect to mdnsd via mdnsd socket.
/system/sepolicy/prebuilts/api/30.0/public/
Dnet.te14 # Connect to ports.
38 # Connect to mdnsd via mdnsd socket.
/system/bt/service/common/android/bluetooth/
DIBluetoothA2dpSink.aidl27 boolean Connect(String device_address); in Connect() method
DIBluetoothA2dpSource.aidl28 boolean Connect(String device_address); in Connect() method
DIBluetoothLowEnergy.aidl29 boolean Connect(int client_id, String address, boolean is_direct); in Connect() method
/system/bt/btif/src/
Dbtif_hearing_aid.cc85 void Connect(const RawAddress& address) override { in Connect() function in __anon547f3a460211::HearingAidInterfaceImpl
87 do_in_main_thread(FROM_HERE, Bind(&HearingAid::Connect, in Connect()
/system/bt/include/hardware/
Dbt_hearing_aid.h57 virtual void Connect(const RawAddress& address) = 0;
/system/bt/service/ipc/binder/
Dbluetooth_low_energy_binder_server.cc65 Status BluetoothLowEnergyBinderServer::Connect(int client_id, in Connect() function in ipc::binder::BluetoothLowEnergyBinderServer
81 client->Connect(std::string(String8(address).string()), is_direct); in Connect()
Dbluetooth_a2dp_sink_binder_server.cc83 Status BluetoothA2dpSinkBinderServer::Connect(const String16& device_address, in Connect() function in ipc::binder::BluetoothA2dpSinkBinderServer
93 if (!a2dp_sink->Connect(String8(device_address).string())) { in Connect()
/system/bt/gd/security/channel/
Dsecurity_manager_channel.h59 void Connect(hci::Address address);

1234