/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ServReqRemoveRequestTestCase.java | 55 mP2pMgr.addServiceRequest(mChannel, upnpReq1, actionListener); in executeTest() 60 mP2pMgr.addServiceRequest(mChannel, upnpReq2, actionListener); in executeTest() 65 mP2pMgr.addServiceRequest(mChannel, bonjourReq1, actionListener); in executeTest() 70 mP2pMgr.addServiceRequest(mChannel, bonjourReq2, actionListener); in executeTest() 79 mP2pMgr.removeServiceRequest(mChannel, upnpReq1, actionListener); in executeTest() 84 mP2pMgr.removeServiceRequest(mChannel, bonjourReq1, actionListener); in executeTest() 89 mP2pMgr.removeServiceRequest(mChannel, bonjourReq2, actionListener); in executeTest() 105 mP2pMgr.setUpnpServiceResponseListener(mChannel, upnpListener); in executeTest() 106 mP2pMgr.setDnsSdResponseListeners(mChannel, dnsSdListener, txtListener); in executeTest() 111 mP2pMgr.discoverServices(mChannel, actionListener); in executeTest()
|
D | ServReqMultiClientTestCase03.java | 46 mP2pMgr.addServiceRequest(mChannel, bonjourReq, actionListener); in executeTest() 56 mP2pMgr.removeServiceRequest(mSubChannel, bonjourReq, actionListener); in executeTest() 66 mP2pMgr.clearServiceRequests(mSubChannel, actionListener); in executeTest() 91 mP2pMgr.setUpnpServiceResponseListener(mChannel, upnpCh1Listener); in executeTest() 92 mP2pMgr.setDnsSdResponseListeners(mChannel, dnsCh1Listener, txtCh1Listener); in executeTest() 93 mP2pMgr.setUpnpServiceResponseListener(mSubChannel, upnpCh2Listener); in executeTest() 94 mP2pMgr.setDnsSdResponseListeners(mSubChannel, dnsCh2Listener, txtCh2Listener); in executeTest() 99 mP2pMgr.discoverServices(mChannel, actionListener); in executeTest()
|
D | GoTestCase.java | 51 mP2pMgr.addLocalService(mChannel, LocalServices.createRendererService(), in executeTest() 61 mP2pMgr.addLocalService(mChannel, LocalServices.createIppService(), in executeTest() 71 mP2pMgr.addLocalService(mChannel, LocalServices.createAfpService(), in executeTest() 81 mP2pMgr.createGroup(mChannel, listener); in executeTest() 112 if (mP2pMgr != null) { in tearDown() 113 mP2pMgr.cancelConnect(mChannel, null); in tearDown() 114 mP2pMgr.removeGroup(mChannel, null); in tearDown()
|
D | TestCase.java | 52 protected WifiP2pManager mP2pMgr; field in TestCase 145 mP2pMgr = (WifiP2pManager) mContext.getSystemService(Context.WIFI_P2P_SERVICE); in setUp() 147 mChannel = mP2pMgr.initialize(mContext, mContext.getMainLooper(), null); in setUp() 148 mSubChannel = mP2pMgr.initialize(mContext, mContext.getMainLooper(), null); in setUp() 155 mP2pMgr.clearLocalServices(mChannel, null); in tearDown() 156 mP2pMgr.clearServiceRequests(mChannel, null); in tearDown() 157 mP2pMgr.clearLocalServices(mSubChannel, null); in tearDown() 158 mP2pMgr.clearServiceRequests(mSubChannel, null); in tearDown()
|
D | GoNegRespTestCase.java | 50 mP2pMgr.discoverPeers(mChannel, null); in executeTest() 67 if (mP2pMgr != null) { in tearDown() 68 mP2pMgr.cancelConnect(mChannel, null); in tearDown() 69 mP2pMgr.removeGroup(mChannel, null); in tearDown() 96 mP2pMgr.removeGroup(mChannel, null); in onReceive() 101 mP2pMgr.discoverPeers(mChannel, null); in onReceive()
|
D | ServReqMultiClientTestCase02.java | 51 mP2pMgr.addServiceRequest(mChannel, bonjourIppPtrReq, actionListener); in executeTest() 60 mP2pMgr.addServiceRequest(mSubChannel, bonjourAfpTxtReq, actionListener); in executeTest() 85 mP2pMgr.setUpnpServiceResponseListener(mChannel, upnpCh1Listener); in executeTest() 86 mP2pMgr.setDnsSdResponseListeners(mChannel, dnsCh1Listener, txtCh1Listener); in executeTest() 87 mP2pMgr.setUpnpServiceResponseListener(mSubChannel, upnpCh2Listener); in executeTest() 88 mP2pMgr.setDnsSdResponseListeners(mSubChannel, dnsCh2Listener, txtCh2Listener); in executeTest() 93 mP2pMgr.discoverServices(mChannel, actionListener); in executeTest()
|
D | ServReqClearRequestTestCase.java | 55 mP2pMgr.addServiceRequest(mChannel, upnpReq1, actionListener); in executeTest() 60 mP2pMgr.addServiceRequest(mChannel, upnpReq2, actionListener); in executeTest() 65 mP2pMgr.addServiceRequest(mChannel, bonjourReq1, actionListener); in executeTest() 70 mP2pMgr.addServiceRequest(mChannel, bonjourReq2, actionListener); in executeTest() 79 mP2pMgr.clearServiceRequests(mChannel, actionListener); in executeTest() 88 mP2pMgr.discoverServices(mChannel, actionListener); in executeTest()
|
D | ServReqMultiClientTestCase01.java | 51 mP2pMgr.addServiceRequest(mChannel, upnpReq, actionListener); in executeTest() 60 mP2pMgr.addServiceRequest(mSubChannel, bonjourReq, actionListener); in executeTest() 85 mP2pMgr.setUpnpServiceResponseListener(mChannel, upnpCh1Listener); in executeTest() 86 mP2pMgr.setDnsSdResponseListeners(mChannel, dnsCh1Listener, txtCh1Listener); in executeTest() 87 mP2pMgr.setUpnpServiceResponseListener(mSubChannel, upnpCh2Listener); in executeTest() 88 mP2pMgr.setDnsSdResponseListeners(mSubChannel, dnsCh2Listener, txtCh2Listener); in executeTest() 93 mP2pMgr.discoverServices(mChannel, actionListener); in executeTest()
|
D | ServRespTestCase.java | 53 mP2pMgr.addLocalService(mChannel, LocalServices.createRendererService(), in executeTest() 63 mP2pMgr.addLocalService(mChannel, LocalServices.createIppService(), in executeTest() 73 mP2pMgr.addLocalService(mChannel, LocalServices.createAfpService(), in executeTest() 83 mP2pMgr.discoverPeers(mChannel, listenerTest); in executeTest() 95 mP2pMgr.discoverPeers(mChannel, null); in executeTest()
|
D | ConnectReqTestCase.java | 55 methods[i].invoke(mP2pMgr, mChannel, netid, null); in setUp() 74 if (mP2pMgr != null) { in tearDown() 75 mP2pMgr.cancelConnect(mChannel, null); in tearDown() 76 mP2pMgr.removeGroup(mChannel, null); in tearDown() 94 mP2pMgr.discoverPeers(mChannel, actionListener); in connectTest() 128 mP2pMgr.connect(mChannel, config, actionListener); in connectTest() 155 mP2pMgr.removeGroup(mChannel, actionListener); in connectTest()
|
D | ServReqTestCase.java | 68 mP2pMgr.addServiceRequest(mChannel, req, actionListener); in searchTest() 78 mP2pMgr.setUpnpServiceResponseListener(mChannel, upnpListener); in searchTest() 79 mP2pMgr.setDnsSdResponseListeners(mChannel, dnsSdListener, txtListener); in searchTest() 84 mP2pMgr.discoverServices(mChannel, actionListener); in searchTest()
|
D | P2pClientPbcTestCase.java | 61 mP2pMgr.addServiceRequest(mChannel, upnpReq, actionListener); in checkUpnpService() 80 mP2pMgr.setUpnpServiceResponseListener(mChannel, upnpListener); in checkUpnpService() 81 mP2pMgr.setDnsSdResponseListeners(mChannel, dnsListener, txtListener); in checkUpnpService() 86 mP2pMgr.discoverServices(mChannel, actionListener); in checkUpnpService()
|
D | P2pClientPinTestCase.java | 58 mP2pMgr.addServiceRequest(mSubChannel, bonjourReq, actionListener); in checkBonjourService() 77 mP2pMgr.setUpnpServiceResponseListener(mSubChannel, upnpListener); in checkBonjourService() 78 mP2pMgr.setDnsSdResponseListeners(mSubChannel, dnsListener, txtListener); in checkBonjourService() 83 mP2pMgr.discoverServices(mChannel, actionListener); in checkBonjourService()
|
D | P2pBroadcastReceiverTest.java | 41 private WifiP2pManager mP2pMgr; field in P2pBroadcastReceiverTest 49 mP2pMgr = (WifiP2pManager) context.getSystemService(Context.WIFI_P2P_SERVICE); in P2pBroadcastReceiverTest() 202 mP2pMgr.requestPeers(mChannel, this); in onReceive()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | RequesterTestActivity.java | 92 private WifiP2pManager mP2pMgr; field in RequesterTestActivity 121 mP2pMgr = (WifiP2pManager) getSystemService(Context.WIFI_P2P_SERVICE); in onCreate() 122 mChannel = mP2pMgr.initialize(this, getMainLooper(), null); in onCreate() 211 mP2pMgr.discoverPeers(mChannel, null); in searchTarget() 224 mP2pMgr.requestPeers(mChannel, new PeerListListener() { in searchTarget()
|