Searched refs:mWifiAwareManager (Results 1 – 5 of 5) sorted by relevance
132 private WifiAwareManager mWifiAwareManager; field in SingleDeviceTest623 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 …]
39 protected WifiAwareManager mWifiAwareManager; field in BaseTestCase50 mWifiAwareManager = (WifiAwareManager) mContext.getSystemService( in setUp()58 mWifiAwareManager = null; in tearDown()
45 private WifiAwareManager mWifiAwareManager; field in TestListActivity51 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()
95 mWifiAwareManager.attach(attachCb, identityL, mHandler); in executeAttach()97 mWifiAwareManager.attach(attachCb, mHandler); in executeAttach()
120 mWifiAwareManager.attach(attachCb, identityL, mHandler); in executeTest()