Home
last modified time | relevance | path

Searched refs:ActionListener (Results 1 – 18 of 18) 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/
DWifiManager.java1797 public interface ActionListener {
1886 ((ActionListener) listener).onFailure(message.arg1);
1895 ((ActionListener) listener).onSuccess();
2008 public void connect(WifiConfiguration config, ActionListener listener) {
2029 public void connect(int networkId, ActionListener listener) {
2052 public void save(WifiConfiguration config, ActionListener listener) {
2070 public void forget(int netId, ActionListener listener) {
2084 public void disable(int netId, ActionListener listener) {
DWifiScanner.java92 public static interface ActionListener { interface in WifiScanner
631 public interface ScanListener extends ActionListener {
935 public interface WifiChangeListener extends ActionListener {
979 public static interface BssidListener extends ActionListener {
1187 private int addListener(ActionListener listener) { in addListener()
1327 ((ActionListener) listener).onSuccess(); in handleMessage()
1331 ((ActionListener) listener).onFailure(result.reason, result.description); in handleMessage()
/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/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/
Dcompiled-classes-phone2861 android.net.wifi.WifiManager$ActionListener
2865 android.net.wifi.WifiScanner$ActionListener
/frameworks/base/api/
Dsystem-current.txt26933 public static abstract interface WifiScanner.ActionListener {
26946 …stract interface WifiScanner.BssidListener implements android.net.wifi.WifiScanner.ActionListener {
26990 …bstract interface WifiScanner.ScanListener implements android.net.wifi.WifiScanner.ActionListener {
27010 …t interface WifiScanner.WifiChangeListener implements android.net.wifi.WifiScanner.ActionListener {
27117 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
27118 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
27119 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
27120 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
27121 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
27122 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
Dcurrent.txt24690 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24691 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24692 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24693 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24694 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24695 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24696 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24697 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24698 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24700 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
Dtest-current.txt24759 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24760 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24761 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24762 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24763 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24764 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24765 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24766 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24767 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
24769 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18209 …, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18210 …ndroid.net.wifi.p2p.nsd.WifiP2pServiceRequest, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18211 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18212 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18213 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18214 …r.Channel, android.net.wifi.p2p.WifiP2pConfig, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18215 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18216 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18217 …s(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
18219 …p(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener);
[all …]
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...