Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pManager.java646 public interface ActionListener { interface in WifiP2pManager
960 ((ActionListener) listener).onFailure(message.arg1); in handleMessage()
988 ((ActionListener) listener).onSuccess(); in handleMessage()
1214 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
1230 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
1258 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
1275 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
1300 public void createGroup(Channel c, ActionListener listener) { in createGroup()
1333 @Nullable ActionListener listener) { in createGroup()
1350 public void removeGroup(Channel c, ActionListener listener) { in removeGroup()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragmentTest.java401 final ArgumentCaptor<WifiManager.ActionListener> wifiCallbackCaptor = in onSuccess_saveTwoNetworks_shouldCallWifiNamagerSaveTwice()
402 ArgumentCaptor.forClass(WifiManager.ActionListener.class); in onSuccess_saveTwoNetworks_shouldCallWifiNamagerSaveTwice()
417 final ArgumentCaptor<WifiManager.ActionListener> wifiCallbackCaptor = in onFailedFirstOne_saveTwoNetworks_shouldAlsoCallWifiNamagerSaveTwice()
418 ArgumentCaptor.forClass(WifiManager.ActionListener.class); in onFailedFirstOne_saveTwoNetworks_shouldAlsoCallWifiNamagerSaveTwice()
432 final ArgumentCaptor<WifiManager.ActionListener> wifiCallbackCaptor = in saveSuccess_shouldEnterShowAndConnectState()
433 ArgumentCaptor.forClass(WifiManager.ActionListener.class); in saveSuccess_shouldEnterShowAndConnectState()
448 final ArgumentCaptor<WifiManager.ActionListener> wifiCallbackCaptor = in saveFailed_shouldEnterFailedState()
450 WifiManager.ActionListener.class); in saveFailed_shouldEnterFailedState()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java220 public static interface ActionListener { interface in WifiScanner
1027 public interface ScanListener extends ActionListener {
1434 public interface WifiChangeListener extends ActionListener {
1477 public static interface BssidListener extends ActionListener {
1643 private int addListener(ActionListener listener) { in addListener()
1650 private int addListener(ActionListener listener, Executor executor) { in addListener()
1810 ActionListener actionListener = (ActionListener) listener; in handleMessage()
1816 ActionListener actionListener = (ActionListener) listener; in handleMessage()
DWifiManager.java4507 public interface ActionListener { interface in WifiManager
5233 private final ActionListener mCallback;
5235 ActionListenerProxy(String actionTag, Looper looper, ActionListener callback) { in ActionListenerProxy()
5263 @Nullable ActionListener listener) { in connectInternal()
5298 public void connect(@NonNull WifiConfiguration config, @Nullable ActionListener listener) { in connect()
5325 public void connect(int networkId, @Nullable ActionListener listener) { in connect()
5402 public void save(@NonNull WifiConfiguration config, @Nullable ActionListener listener) { in save()
5436 public void forget(int netId, @Nullable ActionListener listener) { in forget()
5468 public void disable(int netId, @Nullable ActionListener listener) { in disable()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java249 new WifiP2pManager.ActionListener() { in onActivityCreated()
270 mWifiP2pManager.removeGroup(mChannel, new WifiP2pManager.ActionListener() { in onActivityCreated()
290 new WifiP2pManager.ActionListener() { in onActivityCreated()
313 new WifiP2pManager.ActionListener() { in onActivityCreated()
457 new WifiP2pManager.ActionListener() { in onPreferenceTreeClick()
636 mWifiP2pManager.discoverPeers(mChannel, new WifiP2pManager.ActionListener() { in startSearch()
/packages/apps/Settings/src/com/android/settings/wfd/
DWifiDisplaySettings.java35 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
485 mWifiP2pManager.createGroup(mWifiP2pChannel, new ActionListener() { in startAutoGO()
504 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in stopAutoGO()
523 final ActionListener listener = new ActionListener() { in setListenMode()
550 lc, oc, new ActionListener() { in setWifiP2pChannels()
/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.java57 protected void connect(WifiConfiguration config, WifiManager.ActionListener listener) { in connect()
63 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/src/com/android/car/settings/wifi/
DNetworkPasswordPreferenceController.java67 private final WifiManager.ActionListener mConnectionListener =
68 new WifiManager.ActionListener() {
DAddWifiFragment.java75 private final WifiManager.ActionListener mConnectionListener =
76 new WifiManager.ActionListener() {
DWifiEntryListPreferenceController.java47 private final WifiManager.ActionListener mConnectionListener =
48 new WifiManager.ActionListener() {
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings.java172 private WifiManager.ActionListener mConnectListener;
173 private WifiManager.ActionListener mSaveListener;
174 private WifiManager.ActionListener mForgetListener;
306 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
322 mForgetListener = new WifiManager.ActionListener() { in onActivityCreated()
1052 private class WifiConnectActionListener implements WifiManager.ActionListener {
DWifiConnectListener.java28 public class WifiConnectListener implements WifiManager.ActionListener {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowWifiManager.java65 WifiManager.ActionListener listener) { in connect()
163 protected void forget(int netId, WifiManager.ActionListener listener) { in forget()
/packages/apps/Settings/src/com/android/settings/network/
DNetworkProviderSettings.java190 private WifiManager.ActionListener mConnectListener;
191 private WifiManager.ActionListener mSaveListener;
192 private WifiManager.ActionListener mForgetListener;
352 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
368 mForgetListener = new WifiManager.ActionListener() { in onActivityCreated()
1105 private class WifiConnectActionListener implements WifiManager.ActionListener {
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java49 import android.net.wifi.WifiManager.ActionListener;
273 private static ActionListener createActionListener(BlockingQueue<Integer> blockingQueue, in createActionListener()
275 return new ActionListener() { in createActionListener()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiNetworkListFragment.java68 private WifiManager.ActionListener mSaveListener;
123 mSaveListener = new WifiManager.ActionListener() { in onActivityCreated()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt524 …NonNull android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiManager.ActionListener);
525 …on.NETWORK_STACK}) public void connect(int, @Nullable android.net.wifi.WifiManager.ActionListener);
526 …on.NETWORK_STACK}) public void disable(int, @Nullable android.net.wifi.WifiManager.ActionListener);
529 …ion.NETWORK_STACK}) public void forget(int, @Nullable android.net.wifi.WifiManager.ActionListener);
568 …NonNull android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiManager.ActionListener);
665 public static interface WifiManager.ActionListener {
807 public static interface WifiScanner.ActionListener {
820 …ic static interface WifiScanner.BssidListener extends android.net.wifi.WifiScanner.ActionListener {
857 …lic static interface WifiScanner.ScanListener extends android.net.wifi.WifiScanner.ActionListener {
888 …atic interface WifiScanner.WifiChangeListener extends android.net.wifi.WifiScanner.ActionListener {
[all …]
Dcurrent.txt1043 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1044 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1045 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1046 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1047 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1048 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1049 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1050 … android.net.wifi.p2p.WifiP2pConfig, @Nullable android.net.wifi.p2p.WifiP2pManager.ActionListener);
1051 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
1052 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
/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/apps/Nfc/src/com/android/nfc/
DConfirmConnectToWifiNetworkActivity.java104 new WifiManager.ActionListener() { in doConnect()

12