Home
last modified time | relevance | path

Searched refs:mWifiAwareManager (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java132 private WifiAwareManager mWifiAwareManager; field in SingleDeviceTest
623 mWifiAwareManager = (WifiAwareManager) getContext().getSystemService( in setUp()
625 assertNotNull("Wi-Fi Aware Manager", mWifiAwareManager); in setUp()
651 if (!mWifiAwareManager.isAvailable()) { in setUp()
654 assertTrue("Wi-Fi Aware is not available (should be)", mWifiAwareManager.isAvailable()); in setUp()
691 Characteristics characteristics = mWifiAwareManager.getCharacteristics(); in testCharacteristics()
706 mWifiAwareManager.enableInstantCommunicationMode(true)); in testCharacteristics()
707 assertEquals(mWifiAwareManager.isInstantCommunicationModeEnabled(), in testCharacteristics()
710 mWifiAwareManager.enableInstantCommunicationMode(false)); in testCharacteristics()
731 AwareResources resources = mWifiAwareManager.getAvailableAwareResources(); in testAvailableAwareResources()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DBaseTestCase.java39 protected WifiAwareManager mWifiAwareManager; field in BaseTestCase
50 mWifiAwareManager = (WifiAwareManager) mContext.getSystemService( in setUp()
58 mWifiAwareManager = null; in tearDown()
DTestListActivity.java45 private WifiAwareManager mWifiAwareManager; field in TestListActivity
51 mWifiAwareManager = (WifiAwareManager) getSystemService(Context.WIFI_AWARE_SERVICE); in onCreate()
52 if (mWifiAwareManager == null) { in onCreate()
236 if (mWifiAwareManager.isSetChannelOnDataPathSupported()) { in onCreate()
269 if (!mWifiAwareManager.isAvailable()) { in handleItemClick()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDiscoveryBaseTestCase.java95 mWifiAwareManager.attach(attachCb, identityL, mHandler); in executeAttach()
97 mWifiAwareManager.attach(attachCb, mHandler); in executeAttach()
DDataPathOutOfBandTestCase.java120 mWifiAwareManager.attach(attachCb, identityL, mHandler); in executeTest()