Home
last modified time | relevance | path

Searched refs:ConnectCallback (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/tools/rootcanal/net/
Dasync_data_channel_server.h27 using ConnectCallback = std::function<void(std::shared_ptr<AsyncDataChannel>, variable
65 void SetOnConnectCallback(const ConnectCallback& callback) { in SetOnConnectCallback()
70 ConnectCallback callback_;
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DConnectToWifiHandler.java31 import com.android.wifitrackerlib.WifiEntry.ConnectCallback;
73 static class WifiEntryConnectCallback implements WifiEntry.ConnectCallback {
84 if (status == ConnectCallback.CONNECT_STATUS_FAILURE_NO_CONFIG) { in onConnectResult()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/
DWifiDetailsActionButtonsPreferenceController.java38 implements WifiEntry.ConnectCallback {
89 public void onConnectResult(@WifiEntry.ConnectCallback.ConnectStatus int status) { in onConnectResult()
94 } else if (status != WifiEntry.ConnectCallback.CONNECT_STATUS_SUCCESS) { in onConnectResult()
/packages/modules/Bluetooth/tools/rootcanal/hal/
Dbluetooth_hci.h42 using android::net::ConnectCallback;
92 void SetUpHciServer(ConnectCallback on_connect);
93 void SetUpLinkLayerServer(ConnectCallback on_connect);
Dbluetooth_hci.cc298 void BluetoothHci::SetUpHciServer(ConnectCallback connection_callback) { in SetUpHciServer()
309 void BluetoothHci::SetUpLinkLayerServer(ConnectCallback connection_callback) { in SetUpLinkLayerServer()
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dtest_channel_transport.h31 using android::net::ConnectCallback;
43 ConnectCallback connection_callback);
Dtest_channel_transport.cc34 ConnectCallback connection_callback) { in SetUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DConnectToWifiHandlerTest.java33 import com.android.wifitrackerlib.WifiEntry.ConnectCallback;
85 callback.onConnectResult(ConnectCallback.CONNECT_STATUS_FAILURE_NO_CONFIG); in onConnectResult_failNoConfig_shouldStartActivity()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceController.java206 private class WifiEntryConnectCallback implements WifiEntry.ConnectCallback {
221 if (status == WifiEntry.ConnectCallback.CONNECT_STATUS_FAILURE_NO_CONFIG) { in onConnectResult()
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.h43 using android::net::ConnectCallback;
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java94 import com.android.wifitrackerlib.WifiEntry.ConnectCallback;
1482 final ArgumentCaptor<ConnectCallback> connectCallbackCaptor = in testConnectButton_clickConnect_displayAsSuccess()
1483 ArgumentCaptor.forClass(ConnectCallback.class); in testConnectButton_clickConnect_displayAsSuccess()
1510 ConnectCallback.CONNECT_STATUS_SUCCESS); in testConnectButton_clickConnect_displayAsSuccess()
1524 final ArgumentCaptor<ConnectCallback> connectCallbackCaptor = in testConnectButton_clickConnectButFailed_displayFailMessage()
1525 ArgumentCaptor.forClass(ConnectCallback.class); in testConnectButton_clickConnectButFailed_displayFailMessage()
1550 ConnectCallback.CONNECT_STATUS_FAILURE_UNKNOWN); in testConnectButton_clickConnectButFailed_displayFailMessage()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java94 import com.android.wifitrackerlib.WifiEntry.ConnectCallback;
1342 private class WifiEntryConnectCallback implements ConnectCallback {
1360 if (status == ConnectCallback.CONNECT_STATUS_SUCCESS) { in onConnectResult()
1362 } else if (status == ConnectCallback.CONNECT_STATUS_FAILURE_NO_CONFIG) { in onConnectResult()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiPickerTrackerHelper.java143 public boolean connectCarrierNetwork(@Nullable WifiEntry.ConnectCallback callback) { in connectCarrierNetwork()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiPickerTrackerHelperTest.java75 public WifiEntry.ConnectCallback mConnectCallback;
/packages/apps/Settings/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2.java88 import com.android.wifitrackerlib.WifiEntry.ConnectCallback;
113 OnResume, WifiEntryCallback, ConnectCallback, DisconnectCallback, ForgetCallback,
1058 if (status == ConnectCallback.CONNECT_STATUS_SUCCESS) { in onConnectResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DConnectState.java23 import static com.android.wifitrackerlib.WifiEntry.ConnectCallback.CONNECT_STATUS_SUCCESS;