Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java521 public interface ActionListener { interface in WifiP2pManager
722 ((ActionListener) listener).onFailure(message.arg1); in handleMessage()
748 ((ActionListener) listener).onSuccess(); in handleMessage()
930 public void discoverPeers(Channel c, ActionListener listener) { in discoverPeers()
946 public void stopPeerDiscovery(Channel c, ActionListener listener) { in stopPeerDiscovery()
973 public void connect(Channel c, WifiP2pConfig config, ActionListener listener) { in connect()
990 public void cancelConnect(Channel c, ActionListener listener) { in cancelConnect()
1014 public void createGroup(Channel c, ActionListener listener) { in createGroup()
1031 public void removeGroup(Channel c, ActionListener listener) { in removeGroup()
1037 public void listen(Channel c, boolean enable, ActionListener listener) { in listen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DAccessPointControllerImpl.java22 import android.net.wifi.WifiManager.ActionListener;
161 private final ActionListener mConnectListener = new ActionListener() {
/frameworks/base/docs/html/training/connect-devices-wirelessly/
Dnsd-wifi-direct.jd76 WifiP2pServiceInfo, WifiP2pManager.ActionListener) addLocalService()} to register the local
97 mManager.addLocalService(channel, serviceInfo, new ActionListener() {
191 WifiP2pServiceRequest, WifiP2pManager.ActionListener) addServiceRequest()}.
198 new ActionListener() {
213 WifiP2pManager.ActionListener) discoverServices()}.</p>
216 mManager.discoverServices(channel, new ActionListener() {
236 {@link android.net.wifi.p2p.WifiP2pManager.ActionListener} as an argument, and
239 android.net.wifi.p2p.WifiP2pManager.ActionListener#onFailure(int) onFailure()}. The error code
Dwifi-direct.jd183 WifiP2pManager.ActionListener) discoverPeers()}. This method takes the
188 <li>An implementation of {@link android.net.wifi.p2p.WifiP2pManager.ActionListener} with methods
193 mManager.discoverPeers(mChannel, new WifiP2pManager.ActionListener() {
213 WifiP2pManager.ActionListener) discoverPeers()} method starts the discovery process and then
284 WifiP2pConfig, WifiP2pManager.ActionListener) connect()}
297 mManager.connect(mChannel, config, new ActionListener() {
313 <p>The {@link android.net.wifi.p2p.WifiP2pManager.ActionListener} implemented in
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointManager.java135 public interface ActionListener { interface in WifiPasspointManager
306 ((ActionListener) listener).onSuccess(); in handleMessage()
316 ((ActionListener) listener).onFailure(message.arg1); in handleMessage()
455 ActionListener listener) { in requestAnqpInfo()
481 int resolution, ActionListener listener) { in requestOsuIcons()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java40 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
291 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState()
319 mWifiP2pManager.setWFDInfo(mWifiP2pChannel, wfdInfo, new ActionListener() { in updateWfdEnableState()
388 mWifiP2pManager.discoverPeers(mWifiP2pChannel, new ActionListener() { in tryDiscoverPeers()
416 mWifiP2pManager.stopPeerDiscovery(mWifiP2pChannel, new ActionListener() { in stopPeerDiscovery()
597 mWifiP2pManager.removeGroup(mWifiP2pChannel, new ActionListener() { in updateConnection()
635 mWifiP2pManager.cancelConnect(mWifiP2pChannel, new ActionListener() { in updateConnection()
695 mWifiP2pManager.connect(mWifiP2pChannel, config, new ActionListener() { in updateConnection()
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java1840 public interface ActionListener {
1920 ((ActionListener) listener).onFailure(message.arg1);
1929 ((ActionListener) listener).onSuccess();
2144 public void connect(WifiConfiguration config, ActionListener listener) {
2166 public void connect(int networkId, ActionListener listener) {
2190 public void save(WifiConfiguration config, ActionListener listener) {
2209 public void forget(int netId, ActionListener listener) {
2224 public void disable(int netId, ActionListener listener) {
DWifiScanner.java90 public static interface ActionListener { interface in WifiScanner
415 public interface ScanListener extends ActionListener {
596 public interface WifiChangeListener extends ActionListener {
635 public static interface BssidListener extends ActionListener {
972 ((ActionListener) listener).onSuccess(); in handleMessage()
976 ((ActionListener) listener).onFailure(result.reason, result.description); in handleMessage()
/frameworks/base/docs/html/guide/topics/connectivity/
Dwifip2p.jd61 provide a {@link android.net.wifi.p2p.WifiP2pManager.ActionListener} to a call to {@link
63 notified with the {@link android.net.wifi.p2p.WifiP2pManager.ActionListener#onSuccess
64ActionListener.onSuccess()} and {@link android.net.wifi.p2p.WifiP2pManager.ActionListener#onFailure
65 ActionListener.onFailure()}
145 <td>{@link android.net.wifi.p2p.WifiP2pManager.ActionListener}</td>
397 android.net.wifi.p2p.WifiP2pManager.ActionListener#onSuccess onSuccess()} and {@link
398 android.net.wifi.p2p.WifiP2pManager.ActionListener#onFailure onFailure()} if you created a
399 {@link android.net.wifi.p2p.WifiP2pManager.ActionListener}. The
400 …{@link android.net.wifi.p2p.WifiP2pManager.ActionListener#onSuccess onSuccess()} method only notif…
404 mManager.discoverPeers(channel, new WifiP2pManager.ActionListener() {
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java347 new WifiManager.ActionListener() { in connectToWifiWithConfiguration()
380 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/docs/html/about/versions/
Dandroid-4.1.jd527 …rviceRequest()}. When the {@link android.net.wifi.p2p.WifiP2pManager.ActionListener} you pass to t…
Dandroid-4.0.jd650 <li>The {@link android.net.wifi.p2p.WifiP2pManager.ActionListener} interface allows you to receive
/frameworks/base/api/
Dsystem-current.txt21189 public static abstract interface WifiScanner.ActionListener {
21202 …stract interface WifiScanner.BssidListener implements android.net.wifi.WifiScanner.ActionListener {
21246 …bstract interface WifiScanner.ScanListener implements android.net.wifi.WifiScanner.ActionListener {
21264 …t interface WifiScanner.WifiChangeListener implements android.net.wifi.WifiScanner.ActionListener {
21371 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
21372 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
21373 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
21374 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
21375 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
21376 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
Dcurrent.txt19440 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19441 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19442 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19443 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19444 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19445 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19446 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19447 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19448 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
19450 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
/frameworks/base/docs/html/
Dsitemap.txt2929 http://developer.android.com/reference/android/net/wifi/p2p/WifiP2pManager.ActionListener.html
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...