Home
last modified time | relevance | path

Searched refs:WifiP2pManager (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java55 import android.net.wifi.p2p.WifiP2pManager;
374 case WifiP2pManager.SET_DEVICE_NAME: in handleMessage()
375 case WifiP2pManager.SET_WFD_INFO: in handleMessage()
376 case WifiP2pManager.DISCOVER_PEERS: in handleMessage()
377 case WifiP2pManager.STOP_DISCOVERY: in handleMessage()
378 case WifiP2pManager.CONNECT: in handleMessage()
379 case WifiP2pManager.CANCEL_CONNECT: in handleMessage()
380 case WifiP2pManager.CREATE_GROUP: in handleMessage()
381 case WifiP2pManager.REMOVE_GROUP: in handleMessage()
382 case WifiP2pManager.START_LISTEN: in handleMessage()
[all …]
DSupplicantP2pIfaceHal.java37 import android.net.wifi.p2p.WifiP2pManager;
1676 case WifiP2pManager.MIRACAST_SOURCE: in setMiracastMode()
1680 case WifiP2pManager.MIRACAST_SINK: in setMiracastMode()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java59 import android.net.wifi.p2p.WifiP2pManager;
242 msg.what = WifiP2pManager.UPDATE_CHANNEL_INFO; in sendChannelInfoUpdateMsg()
244 bundle.putString(WifiP2pManager.CALLING_PACKAGE, pkgName); in sendChannelInfoUpdateMsg()
245 bundle.putBinder(WifiP2pManager.CALLING_BINDER, binder); in sendChannelInfoUpdateMsg()
259 msg.what = WifiP2pManager.ADD_LOCAL_SERVICE; in sendAddLocalServiceMsg()
292 msg.what = WifiP2pManager.DISCOVER_PEERS; in sendDiscoverPeersMsg()
305 msg.what = WifiP2pManager.ADD_SERVICE_REQUEST; in sendAddServiceRequestMsg()
319 msg.what = WifiP2pManager.DISCOVER_SERVICES; in sendDiscoverServiceMsg()
332 msg.what = WifiP2pManager.REQUEST_PEERS; in sendRequestPeersMsg()
345 msg.what = WifiP2pManager.REQUEST_GROUP_INFO; in sendRequestGroupInfoMsg()
[all …]
DWifiP2pNativeTest.java37 import android.net.wifi.p2p.WifiP2pManager;
575 mWifiP2pNative.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE); in testSetMiracastMode()
576 verify(mSupplicantP2pIfaceHalMock).setMiracastMode(eq(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode()
DSupplicantP2pIfaceHalTest.java46 import android.net.wifi.p2p.WifiP2pManager;
2057 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_success()
2059 assertTrue(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_success()
2062 assertTrue(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SINK)); in testSetMiracastMode_success()
2078 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_failure()
2091 assertFalse(mDut.setMiracastMode(WifiP2pManager.MIRACAST_SOURCE)); in testSetMiracastMode_exception()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/
DWifiP2pManagerTest.java40 private WifiP2pManager mDut;
56 mDut = new WifiP2pManager(mP2pServiceMock); in setUp()
65 try (WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelFinalize()
77 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, in testChannelClose()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java38 import android.net.wifi.p2p.WifiP2pManager;
40 import android.net.wifi.p2p.WifiP2pManager.ActionListener;
41 import android.net.wifi.p2p.WifiP2pManager.Channel;
42 import android.net.wifi.p2p.WifiP2pManager.GroupInfoListener;
43 import android.net.wifi.p2p.WifiP2pManager.PeerListListener;
97 private final WifiP2pManager mWifiP2pManager;
167 mWifiP2pManager = (WifiP2pManager)context.getSystemService(Context.WIFI_P2P_SERVICE); in WifiDisplayController()
171 intentFilter.addAction(WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION); in WifiDisplayController()
172 intentFilter.addAction(WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION); in WifiDisplayController()
173 intentFilter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in WifiDisplayController()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pUpnpServiceRequest.java19 import android.net.wifi.p2p.WifiP2pManager;
DWifiP2pDnsSdServiceRequest.java19 import android.net.wifi.p2p.WifiP2pManager;
DWifiP2pServiceRequest.java20 import android.net.wifi.p2p.WifiP2pManager;
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java145 public class WifiP2pManager { class
590 public WifiP2pManager(IWifiP2pManager service) { in WifiP2pManager() method in WifiP2pManager
837 WifiP2pManager p2pManager) { in Channel()
848 private final WifiP2pManager mP2pManager;
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java132 import android.net.wifi.p2p.WifiP2pManager;
783 registerService(Context.WIFI_P2P_SERVICE, WifiP2pManager.class, in registerService()
784 new StaticServiceFetcher<WifiP2pManager>() { in registerService()
786 public WifiP2pManager createService() throws ServiceNotFoundException { in registerService()
789 return new WifiP2pManager(service); in registerService()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java106 import android.net.wifi.p2p.WifiP2pManager;
380 filter.addAction(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in startStateMachineUpdaters()
923 } else if (action.equals(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION)) { in onReceive()
1024 (WifiP2pInfo) intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_INFO); in handleWifiP2pAction()
1026 (WifiP2pGroup) intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP); in handleWifiP2pAction()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java123 import android.net.wifi.p2p.WifiP2pManager;
635 when(intent.getAction()).thenReturn(WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION); in sendWifiP2pConnectionChanged()
636 when(intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_INFO)).thenReturn(p2pInfo); in sendWifiP2pConnectionChanged()
637 when(intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP)).thenReturn(group); in sendWifiP2pConnectionChanged()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt46724WifiP2pManager$Channel;-><init>(Landroid/content/Context;Landroid/os/Looper;Landroid/net/wifi/p2p/
46725 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->getListener(I)Ljava/lang/Object;
46726 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->handleDnsSdServiceResponse(Landroid/net/wifi/p2p/nsd…
46727 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->handleServiceResponse(Landroid/net/wifi/p2p/nsd/Wifi…
46728 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->handleUpnpServiceResponse(Landroid/net/wifi/p2p/nsd/…
46729 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->INVALID_LISTENER_KEY:I
46730 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->mBinder:Landroid/os/Binder;
46731 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->mChannelListener:Landroid/net/wifi/p2p/WifiP2pManage…
46732 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->mCloseGuard:Ldalvik/system/CloseGuard;
46733 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->mContext:Landroid/content/Context;
[all …]
Dpreloaded-classes2643 android.net.wifi.p2p.WifiP2pManager
Dboot-image-profile.txt2339 HSPLandroid/app/SystemServiceRegistry$60;->createService()Landroid/net/wifi/p2p/WifiP2pManager;
35067 Landroid/net/wifi/p2p/WifiP2pManager;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt18208 public class WifiP2pManager {
18209 …ce(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, andro…
18210 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceRequest, and…
18211 …public void cancelConnect(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
18212 …c void clearLocalServices(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
18213 …void clearServiceRequests(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
18214 …connect(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pConfig, android.n…
18215 …d public void createGroup(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
18216 …public void discoverPeers(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
18217 …lic void discoverServices(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt30592 public class WifiP2pManager {
30593 …ce(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, andro…
30594 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceRequest, and…
30595 …public void cancelConnect(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30596 …c void clearLocalServices(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30597 …void clearServiceRequests(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30598 …connect(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pConfig, android.n…
30599 …) public void createGroup(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30600 …droid.net.wifi.p2p.WifiP2pManager.Channel, @Nullable android.net.wifi.p2p.WifiP2pConfig, @Nullable…
30601 …public void discoverPeers(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
[all …]
/frameworks/base/api/
Dcurrent.txt30736 public class WifiP2pManager {
30737 …ce(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceInfo, andro…
30738 …t(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.nsd.WifiP2pServiceRequest, and…
30739 …public void cancelConnect(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30740 …c void clearLocalServices(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30741 …void clearServiceRequests(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30742 …connect(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pConfig, android.n…
30743 …) public void createGroup(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
30744 …droid.net.wifi.p2p.WifiP2pManager.Channel, @Nullable android.net.wifi.p2p.WifiP2pConfig, @Nullable…
30745 …public void discoverPeers(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2…
[all …]