Home
last modified time | relevance | path

Searched refs:UNRESTRICTED (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadRestrictionViewModel.java45 UNRESTRICTED, enumConstant
63 new MutableLiveData<>(DialpadUxrMode.UNRESTRICTED);
128 if (mDialPadMode.getValue() != DialpadUxrMode.UNRESTRICTED) { in setCurrentPhoneNumber()
135 ? DialpadUxrMode.UNRESTRICTED : evaluateDialpadRestrictionMode(phoneNumber); in evaluateDialpadMode()
DDialpadFragment.java280 if (dialpadUxrMode == DialpadUxrMode.UNRESTRICTED) { in presentDialedNumber()
313 mMode == MODE_DIAL && dialpadUxrMode == DialpadUxrMode.UNRESTRICTED in presentDialedNumber()
355 mMode == MODE_EMERGENCY || dialpadUxrMode != DialpadUxrMode.UNRESTRICTED; in onDialpadUxrModeChange()
360 mRestrictedDialingLabel, dialpadUxrMode != DialpadUxrMode.UNRESTRICTED); in onDialpadUxrModeChange()
DAbstractDialpadFragment.java222 return mDialpadRestrictionViewModel == null ? DialpadUxrMode.UNRESTRICTED in getDialpadUxrMode()
DKeypadFragment.java107 setKeypadEnabled(dialpadUxrMode == DialpadUxrMode.UNRESTRICTED); in onCreateView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DUnrestrictedPreferenceController.java19 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.UNRESTRICTED;
58 } else if (mBatteryOptimizeUtils.getAppUsageState() == UNRESTRICTED) { in updateState()
82 mBatteryOptimizeUtils.setAppUsageState(UNRESTRICTED); in handlePreferenceTreeClick()
DBatteryOptimizeUtils.java47 UNRESTRICTED, enumConstant
67 return AppUsageState.UNRESTRICTED; in getAppUsageState()
82 case UNRESTRICTED: in setAppUsageState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizeUtilsTest.java21 import static com.android.settings.fuelgauge.BatteryOptimizeUtils.AppUsageState.UNRESTRICTED;
82 assertThat(mBatteryOptimizeUtils.getAppUsageState()).isEqualTo(UNRESTRICTED); in testGetAppUsageState_returnUnrestricted()
131 mBatteryOptimizeUtils.setAppUsageState(UNRESTRICTED); in testSetAppUsageState_Unrestricted_verifyAction()
DUnrestrictedPreferenceControllerTest.java88 BatteryOptimizeUtils.AppUsageState.UNRESTRICTED); in testUpdateState_isUnrestrictedStates_prefChecked()
110 BatteryOptimizeUtils.AppUsageState.UNRESTRICTED); in testHandlePreferenceTreeClick_samePrefKey_verifyAction()