Home
last modified time | relevance | path

Searched refs:mValidForRestriction (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryDiffEntry.java65 @VisibleForTesting boolean mValidForRestriction = true; field in BatteryDiffEntry
141 return mValidForRestriction; in validForRestriction()
170 mValidForRestriction = validForRestriction; in loadLabelAndIcon()
180 sValidForRestriction.put(getKey(), Boolean.valueOf(mValidForRestriction)); in loadLabelAndIcon()
235 mValidForRestriction = true; in updateRestrictionFlagState()
243 mValidForRestriction = false; in updateRestrictionFlagState()
247 mValidForRestriction = in updateRestrictionFlagState()
258 mValidForRestriction = false; in updateRestrictionFlagState()
328 mAppLabel, mValidForRestriction)) in toString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDiffEntryTest.java137 assertThat(entry.mValidForRestriction).isTrue(); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()
163 assertThat(entry.mValidForRestriction).isTrue(); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
191 assertThat(entry.mValidForRestriction).isFalse(); in testGetAppLabel_loadDataFromApplicationInfo()
353 assertThat(entry.mValidForRestriction).isFalse(); in testUpdateRestrictionFlagState_updateFlagAsExpected()
359 assertThat(entry.mValidForRestriction).isFalse(); in testUpdateRestrictionFlagState_updateFlagAsExpected()
365 assertThat(entry.mValidForRestriction).isFalse(); in testUpdateRestrictionFlagState_updateFlagAsExpected()
371 assertThat(entry.mValidForRestriction).isTrue(); in testUpdateRestrictionFlagState_updateFlagAsExpected()