Searched refs:mValidForRestriction (Results 1 – 2 of 2) sorted by relevance
116 @VisibleForTesting boolean mValidForRestriction = true; field in BatteryDiffEntry288 return mValidForRestriction; in validForRestriction()351 mValidForRestriction = validForRestriction; in loadLabelAndIcon()362 sValidForRestriction.put(getKey(), Boolean.valueOf(mValidForRestriction)); in loadLabelAndIcon()421 mValidForRestriction = false; in updateRestrictionFlagState()428 mValidForRestriction = false; in updateRestrictionFlagState()432 mValidForRestriction = in updateRestrictionFlagState()447 mValidForRestriction = false; in updateRestrictionFlagState()524 String.format("\n\tname=%s restrictable=%b", mAppLabel, mValidForRestriction)); in toString()
221 assertThat(entry.mValidForRestriction).isFalse(); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()247 assertThat(entry.mValidForRestriction).isFalse(); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()273 assertThat(entry.mValidForRestriction).isFalse(); in testGetAppLabel_loadDataFromApplicationInfo()502 assertThat(entry.mValidForRestriction).isFalse(); in testUpdateRestrictionFlagState_updateFlagAsExpected()509 assertThat(entry.mValidForRestriction).isFalse(); in testUpdateRestrictionFlagState_updateFlagAsExpected()516 assertThat(entry.mValidForRestriction).isFalse(); in testUpdateRestrictionFlagState_updateFlagAsExpected()523 assertThat(entry.mValidForRestriction).isTrue(); in testUpdateRestrictionFlagState_updateFlagAsExpected()