Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java631 public interface ActionListener { interface in WifiP2pManager
939 ((ActionListener) listener).onFailure(message.arg1); in handleMessage()
967 ((ActionListener) listener).onSuccess(); in handleMessage()
1192 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
1208 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
1236 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
1253 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
1278 public void createGroup(Channel c, ActionListener listener) { in createGroup()
1311 @Nullable ActionListener listener) { in createGroup()
1328 public void removeGroup(Channel c, ActionListener listener) { in removeGroup()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java22 import android.net.wifi.WifiManager.ActionListener;
158 private final ActionListener mConnectListener = new ActionListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMediaController.java61 public interface ActionListener { interface in PipMediaController
110 private ArrayList<ActionListener> mListeners = new ArrayList<>();
144 public void addListener(ActionListener listener) { in addListener()
154 public void removeListener(ActionListener listener) { in removeListener()
DPipMenuActivityController.java41 import com.android.systemui.pip.phone.PipMediaController.ActionListener;
194 private ActionListener mMediaActionListener = new ActionListener() {
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java40 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
290 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState()
318 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState()
387 mWifiP2pManager.discoverPeers(mWifiP2pChannel, new ActionListener() { in tryDiscoverPeers()
415 mWifiP2pManager.stopPeerDiscovery(mWifiP2pChannel, new ActionListener() { in stopPeerDiscovery()
596 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in updateConnection()
634 mWifiP2pManager.cancelConnect(mWifiP2pChannel, new ActionListener() { in updateConnection()
694 mWifiP2pManager.connect(mWifiP2pChannel, config, new ActionListener() { in updateConnection()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java95 public static interface ActionListener { interface in WifiScanner
723 public interface ScanListener extends ActionListener {
1072 public interface WifiChangeListener extends ActionListener {
1115 public static interface BssidListener extends ActionListener {
1280 private int addListener(ActionListener listener) { in addListener()
1420 ((ActionListener) listener).onSuccess(); in handleMessage()
1424 ((ActionListener) listener).onFailure(result.reason, result.description); in handleMessage()
DWifiManager.java3014 public interface ActionListener {
3539 ((ActionListener) listener).onFailure(message.arg1); in dispatchMessageToListeners()
3548 ((ActionListener) listener).onSuccess(); in dispatchMessageToListeners()
3636 public void connect(@NonNull WifiConfiguration config, @Nullable ActionListener listener) { in connect()
3662 public void connect(int networkId, @Nullable ActionListener listener) { in connect()
3693 public void save(@NonNull WifiConfiguration config, @Nullable ActionListener listener) { in save()
3717 public void forget(int netId, @Nullable ActionListener listener) { in forget()
3737 public void disable(int netId, @Nullable ActionListener listener) { in disable()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java341 new WifiManager.ActionListener() { in connectToWifiWithConfiguration()
374 mWifiManager.forget(netId, new WifiManager.ActionListener() { in disconnectAP()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java575 mWifiManager.connect(config, new WifiManager.ActionListener() { in connectToWifiWithConfiguration()
629 mWifiManager.forget(netId, new WifiManager.ActionListener() { in disconnectAP()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java223 private WifiManager.ActionListener mConnectListener;
1171 public void startOsuProvisioning(@Nullable WifiManager.ActionListener connectListener) { in startOsuProvisioning()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java106 @Mock private WifiManager.ActionListener mMockConnectListener;
/frameworks/base/api/
Dsystem-current.txt4678 …NonNull android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiManager.ActionListener);
4679 …n.NETWORK_STACK"}) public void connect(int, @Nullable android.net.wifi.WifiManager.ActionListener);
4680 …n.NETWORK_STACK"}) public void disable(int, @Nullable android.net.wifi.WifiManager.ActionListener);
4681 …on.NETWORK_STACK"}) public void forget(int, @Nullable android.net.wifi.WifiManager.ActionListener);
4693 …NonNull android.net.wifi.WifiConfiguration, @Nullable android.net.wifi.WifiManager.ActionListener);
4732 public static interface WifiManager.ActionListener {
4787 public static interface WifiScanner.ActionListener {
4800 …ic static interface WifiScanner.BssidListener extends android.net.wifi.WifiScanner.ActionListener {
4836 …lic static interface WifiScanner.ScanListener extends android.net.wifi.WifiScanner.ActionListener {
4856 …atic interface WifiScanner.WifiChangeListener extends android.net.wifi.WifiScanner.ActionListener {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...