Searched refs:mWifiService (Results 1 – 1 of 1) sorted by relevance
105 @Mock android.net.wifi.IWifiManager mWifiService; field in WifiManagerTest131 mWifiManager = new WifiManager(mContext, mWifiService, mLooper.getLooper()); in setUp()132 verify(mWifiService).getVerboseLoggingLevel(); in setUp()141 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()144 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()154 when(mWifiService.startSoftAp(eq(null))).thenReturn(true); in testStartSoftApCallsServiceWithNullConfig()157 when(mWifiService.startSoftAp(eq(null))).thenReturn(false); in testStartSoftApCallsServiceWithNullConfig()166 when(mWifiService.stopSoftAp()).thenReturn(true); in testStopSoftApCallsService()169 when(mWifiService.stopSoftAp()).thenReturn(false); in testStopSoftApCallsService()180 when(mWifiService.startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), in testCreationAndCloseOfLocalOnlyHotspotReservation()[all …]