Searched refs:getCapacity (Results 1 – 8 of 8) sorted by relevance
73 when(mBatteryState.getCapacity()).thenReturn(1f); in setUp()139 when(mBatteryState.getCapacity()).thenReturn(-1f); in displayPreference_invalidCapacity_showsEmptySummary()151 when(mBatteryState.getCapacity()).thenReturn(0.2f); in onBatteryStateChanged_updatesSummary()
235 doReturn(0.5f).when(batteryState).getCapacity(); in onBatteryStateChanged_detectsValidUsi()
93 NumberFormat.getPercentInstance().format(batteryState.getCapacity())); in refresh()114 && batteryState.getCapacity() > 0f; in isValidBatteryState()
210 && mLastBatteryState.isPresent() && mLastBatteryState.getCapacity() > 0f; in isUsiBatteryValid()
106 public synchronized int getCapacity() { in getCapacity() method in GalleryBitmapPool
129 public synchronized int getCapacity() { in getCapacity() method in SparseArrayBitmapPool
634 public int getCapacity() { in getCapacity() method in NetworkDetail
799 Landroid/icu/impl/number/NumberStringBuilder;->getCapacity()I