Searched refs:isBatteryCharging (Results 1 – 4 of 4) sorted by relevance
82 when(mHotspotNetworkEntry.isBatteryCharging()).thenReturn(false); in setWifiEntry_hotspotNetworkEntryWifi_postValueCorrect()92 assertThat(data.isBatteryCharging()).isEqualTo(false); in setWifiEntry_hotspotNetworkEntryWifi_postValueCorrect()101 when(mHotspotNetworkEntry.isBatteryCharging()).thenReturn(true); in setWifiEntry_hotspotNetworkEntryMobileData_postValueCorrect()111 assertThat(data.isBatteryCharging()).isEqualTo(true); in setWifiEntry_hotspotNetworkEntryMobileData_postValueCorrect()118 when(mHotspotNetworkEntry.isBatteryCharging()).thenReturn(true); in setWifiEntry_hotspotNetworkEntryEthernet_postValueCorrect()127 assertThat(data.isBatteryCharging()).isEqualTo(true); in setWifiEntry_hotspotNetworkEntryEthernet_postValueCorrect()
57 entry.isBatteryCharging()); in setWifiEntry()76 boolean isBatteryCharging) { in HotspotNetworkData() argument80 mIsBatteryCharging = isBatteryCharging; in HotspotNetworkData()99 public boolean isBatteryCharging() { in isBatteryCharging() method in WifiNetworkDetailsViewModel.HotspotNetworkData
414 updateBattery(data.isBatteryCharging(), data.getBatteryPercentage()); in onHotspotNetworkChanged()
121 doReturn(true).when(mHotspotNetworkData).isBatteryCharging(); in setUp()242 verify(mFragment).updateBattery(mHotspotNetworkData.isBatteryCharging(), in onHotspotNetworkChanged_dataNotNull_hotspotSetVisibleTrue()