Home
last modified time | relevance | path

Searched refs:ActionListener (Results 1 – 25 of 36) sorted by relevance

12

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/p2p/
DWifiP2pSettings.java239 new WifiP2pManager.ActionListener() { in onActivityCreated()
260 mWifiP2pManager.removeGroup(mChannel, new WifiP2pManager.ActionListener() { in onActivityCreated()
280 new WifiP2pManager.ActionListener() { in onActivityCreated()
303 new WifiP2pManager.ActionListener() { in onActivityCreated()
448 new WifiP2pManager.ActionListener() { in onPreferenceTreeClick()
617 mWifiP2pManager.discoverPeers(mChannel, new WifiP2pManager.ActionListener() { in startSearch()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java242 new WifiP2pManager.ActionListener() { in onActivityCreated()
263 mWifiP2pManager.removeGroup(mChannel, new WifiP2pManager.ActionListener() { in onActivityCreated()
283 new WifiP2pManager.ActionListener() { in onActivityCreated()
306 new WifiP2pManager.ActionListener() { in onActivityCreated()
445 new WifiP2pManager.ActionListener() { in onPreferenceTreeClick()
621 mWifiP2pManager.discoverPeers(mChannel, new WifiP2pManager.ActionListener() { in startSearch()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DSelectFromListWizardFragment.java259 private static interface ActionListener { interface in SelectFromListWizardFragment
316 private final ActionListener mActionListener;
318 public VerticalListAdapter(ActionListener actionListener, List<ListItem> choices) { in VerticalListAdapter()
543 ActionListener actionListener = new ActionListener() {
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowWifiManager.java55 protected void connect(WifiConfiguration config, WifiManager.ActionListener listener) { in connect()
61 protected void save(WifiConfiguration config, WifiManager.ActionListener listener) { in save()
DShadowWifiP2pManager.java34 protected void factoryReset(WifiP2pManager.Channel c, WifiP2pManager.ActionListener listener) { in factoryReset()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java124 public void connectToPublicWifi(AccessPoint accessPoint, WifiManager.ActionListener listener) { in connectToPublicWifi()
130 WifiManager.ActionListener listener) { in connectToSavedWifi()
DShadowWifiManager.java61 protected void forget(int netId, WifiManager.ActionListener listener) { in forget()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wfd/
DWifiDisplaySettings.java35 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
488 mWifiP2pManager.createGroup(mWifiP2pChannel, new ActionListener() { in startAutoGO()
507 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in stopAutoGO()
526 mWifiP2pManager.listen(mWifiP2pChannel, enable, new ActionListener() { in setListenMode()
548 lc, oc, new ActionListener() { in setWifiP2pChannels()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DCarWifiManager.java221 public void connectToPublicWifi(AccessPoint accessPoint, WifiManager.ActionListener listener) { in connectToPublicWifi()
227 public void connectToSavedWifi(AccessPoint accessPoint, WifiManager.ActionListener listener) { in connectToSavedWifi()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java35 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
489 mWifiP2pManager.createGroup(mWifiP2pChannel, new ActionListener() { in startAutoGO()
508 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in stopAutoGO()
527 mWifiP2pManager.listen(mWifiP2pChannel, enable, new ActionListener() { in setListenMode()
549 lc, oc, new ActionListener() { in setWifiP2pChannels()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details/
DWifiDetailPreferenceControllerTest.java1371 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnect_displayAsSuccess()
1388 ArgumentCaptor<WifiManager.ActionListener> connectListenerCaptor = in testConnectButton_clickConnectButFailed_displayFailMessage()
1389 ArgumentCaptor.forClass(WifiManager.ActionListener.class); in testConnectButton_clickConnectButFailed_displayFailMessage()
1449 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnectButTimeout_displayFailMessage()
1478 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnectButTimeout_displayNotInRangeMessage()
1518 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnectWhenWiFiDisabled_displaySuccessMessage()
1557 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWiFi()
1596 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnectWhenWiFiDisabled_failedToConnectWifiBecauseNotInRange()
1656 verify(mockWifiManager, times(1)).connect(anyInt(), any(WifiManager.ActionListener.class)); in testConnectButton_clickConnectAndBackKey_ignoreTimeoutEvent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java139 private WifiManager.ActionListener mConnectListener;
140 private WifiManager.ActionListener mSaveListener;
141 private WifiManager.ActionListener mForgetListener;
269 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
285 mForgetListener = new WifiManager.ActionListener() { in onActivityCreated()
DWifiConnectListener.java28 public class WifiConnectListener implements WifiManager.ActionListener {
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java140 private WifiManager.ActionListener mConnectListener;
141 private WifiManager.ActionListener mSaveListener;
142 private WifiManager.ActionListener mForgetListener;
270 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
286 mForgetListener = new WifiManager.ActionListener() { in onActivityCreated()
DWifiConnectListener.java28 public class WifiConnectListener implements WifiManager.ActionListener {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiNetworkListFragment.java65 private WifiManager.ActionListener mSaveListener;
108 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java65 private WifiManager.ActionListener mSaveListener;
108 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkConfiguration.java46 public void save(WifiManager.ActionListener listener); in save()
DWifiConfig.java47 public void save(WifiManager.ActionListener listener) { in save()
DEthernetConfig.java52 public void save(WifiManager.ActionListener listener) { in save()
DSaveState.java72 implements WifiManager.ActionListener {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/details/
DWifiDetailPreferenceController.java171 private WifiManager.ActionListener mConnectListener;
369 mConnectListener = new WifiManager.ActionListener() { in WifiDetailPreferenceController()
933 mWifiManager.save(dialog.getController().getConfig(), new WifiManager.ActionListener() { in onSubmit()
/packages/apps/Settings/src/com/android/settings/wifi/details/
DWifiDetailPreferenceController.java170 private WifiManager.ActionListener mConnectListener;
350 mConnectListener = new WifiManager.ActionListener() { in WifiDetailPreferenceController()
926 mWifiManager.save(dialog.getController().getConfig(), new WifiManager.ActionListener() { in onSubmit()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
DConnectToWifiHandlerTest.java82 verify(mAccessPoint).startOsuProvisioning(any(WifiManager.ActionListener.class)); in connect_shouldStartOsuProvisioning()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/savedaccesspoints/
DSubscribedAccessPointsPreferenceController.java48 WifiManager.ActionListener {

12