Searched refs:sChannel (Results 1 – 2 of 2) sorted by relevance
79 @VisibleForTesting static WifiP2pManager.Channel sChannel; field in WifiP2pSettings153 if (mWifiP2pManager != null && sChannel != null) {154 mWifiP2pManager.requestDeviceInfo(sChannel, WifiP2pSettings.this);166 if (mWifiP2pManager != null && sChannel != null) {167 mWifiP2pManager.requestPersistentGroupInfo(sChannel, WifiP2pSettings.this);242 if (mWifiP2pManager != null && sChannel != null) { in onCreateView()256 mWifiP2pManager.setDeviceName(sChannel, in onCreateView()278 if (mWifiP2pManager != null && sChannel != null) { in onCreateView()279 mWifiP2pManager.removeGroup(sChannel, new WifiP2pManager.ActionListener() { in onCreateView()297 if (mWifiP2pManager != null && sChannel != null) { in onCreateView()[all …]
156 mFragment.sChannel = null; in onDeviceInfoAvailable_nullChannel_shouldBeIgnored()351 assertThat(mFragment.sChannel).isNull(); in onStop_notLastGroupFormed_shouldCloseChannel()368 assertThat(mFragment.sChannel).isNotNull(); in peerDiscovery_whenOnStart_shouldInitChannelAgain()539 mFragment.sChannel = null; // Reset channel to re-test onCreateView flow in onCreateView_withNullP2pManager_shouldGetP2pManagerAgain()550 mFragment.sChannel = null; // Reset channel to re-test onCreateView flow in onCreateView_withNullChannel_shouldSetP2pManagerNull()