Searched refs:mWifiService (Results 1 – 1 of 1) sorted by relevance
75 @Mock IWifiManager mWifiService; field in WifiManagerTest95 mWifiManager = new WifiManager(mContext, mWifiService, mLooper.getLooper()); in setUp()104 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(true); in testStartSoftApCallsServiceWithWifiConfig()107 when(mWifiService.startSoftAp(eq(mApConfig))).thenReturn(false); in testStartSoftApCallsServiceWithWifiConfig()117 when(mWifiService.startSoftAp(eq(null))).thenReturn(true); in testStartSoftApCallsServiceWithNullConfig()120 when(mWifiService.startSoftAp(eq(null))).thenReturn(false); in testStartSoftApCallsServiceWithNullConfig()129 when(mWifiService.stopSoftAp()).thenReturn(true); in testStopSoftApCallsService()132 when(mWifiService.stopSoftAp()).thenReturn(false); in testStopSoftApCallsService()143 when(mWifiService.startLocalOnlyHotspot(any(Messenger.class), any(IBinder.class), in testCreationAndCloseOfLocalOnlyHotspotReservation()151 verify(mWifiService).stopLocalOnlyHotspot(); in testCreationAndCloseOfLocalOnlyHotspotReservation()[all …]