Home
last modified time | relevance | path

Searched refs:getUxRestrictions (Results 1 – 20 of 20) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java67 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingParameters()
78 CarUxRestrictions parked = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testParsingNonMovingState()
81 CarUxRestrictions idling = config.getUxRestrictions(DRIVING_STATE_IDLING, 0f); in testParsingNonMovingState()
91 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_NoSpeedRange()
102 CarUxRestrictions r = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_SingleSpeedRange()
113 CarUxRestrictions slow = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testParsingMovingState_MultiSpeedRange()
117 CarUxRestrictions fast = config.getUxRestrictions(DRIVING_STATE_MOVING, 6f); in testParsingMovingState_MultiSpeedRange()
127 CarUxRestrictions moving = config.getUxRestrictions( in testParsingPassengerState()
131 CarUxRestrictions idling = config.getUxRestrictions( in testParsingPassengerState()
135 CarUxRestrictions parked = config.getUxRestrictions( in testParsingPassengerState()
[all …]
DCarUxRestrictionsManagerServiceTest.java178 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()
184 CarUxRestrictions parkedRestrictions = config.getUxRestrictions(DRIVING_STATE_PARKED, in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()
189 CarUxRestrictions idlingRestrictions = config.getUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java100 CarUxRestrictions parkedRestrictions = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testUnspecifiedDrivingStateUsesDefaultRestriction()
105 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testUnspecifiedDrivingStateUsesDefaultRestriction()
116 assertThat(config.getUxRestrictions(DRIVING_STATE_PARKED, 0f) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
118 assertThat(config.getUxRestrictions(DRIVING_STATE_IDLING, 0f) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
195 assertThat(config.getUxRestrictions(DRIVING_STATE_MOVING, 1f, UX_RESTRICTION_MODE_PASSENGER) in testBuilderValidation_PassengerModeCanSpecifySubsetOfSpeedRange()
591 CarUxRestrictions restrictions = config.getUxRestrictions(DRIVING_STATE_PARKED, 0f); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
596 config.getUxRestrictions(DRIVING_STATE_PARKED, 0f, UX_RESTRICTION_MODE_BASELINE))).isTrue(); in testSetUxRestrictions_UnspecifiedModeDefaultsToBaseline()
611 CarUxRestrictions passenger = config.getUxRestrictions( in testSetUxRestrictions_PassengerMode()
615 CarUxRestrictions baseline = config.getUxRestrictions( in testSetUxRestrictions_PassengerMode()
629 CarUxRestrictions passenger = config.getUxRestrictions( in testGetUxRestrictions_WithUndefinedMode_FallbackToBaseline()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBaseTestSettingsFragment.java37 public CarUxRestrictions getUxRestrictions() { in getUxRestrictions() method in BaseTestSettingsFragment
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DDualPaneBaseCarSettingsActivityTest.java96 fragmentB.get().getUxRestrictions().isSameRestrictions(newUxRestrictions)).isTrue(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
129 fragmentA.get().getUxRestrictions().isSameRestrictions(newUxRestrictions)).isTrue(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
DSinglePaneBaseCarSettingsActivityTest.java80 assertThat(((BaseTestSettingsFragment) getCurrentFragment()).getUxRestrictions() in onUxRestrictionsChanged_fragmentHasUpdatedUxRestrictions()
DSettingsFragmentTestCase.java111 assertThat(controller.getUxRestrictions()).isEqualTo(uxRestrictions); in onUxRestrictionsChanged_propagatesToControllers()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiEntryListPreferenceController.java146 } else if (shouldApplyUxRestrictions(getUxRestrictions())) { in fetchWifiEntries()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkEntryPreferenceController.java208 && !getUxRestrictions().isRequiresDistractionOptimization()) { in getActionText()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java146 public CarUxRestrictions getUxRestrictions( in getUxRestrictions() method in CarUxRestrictionsConfiguration
148 return getUxRestrictions(drivingState, currentSpeed, UX_RESTRICTION_MODE_BASELINE); in getUxRestrictions()
163 public CarUxRestrictions getUxRestrictions(@CarDrivingState int drivingState, in getUxRestrictions() method in CarUxRestrictionsConfiguration
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPreferenceController.java257 protected final CarUxRestrictions getUxRestrictions() { in getUxRestrictions() method in PreferenceController
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java330 return CarUxRestrictionsHelper.isNoSetup(getUxRestrictions()); in hasNoSetupUxRestriction()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DBaseCarUserServiceTestCase.java924 protected CarUxRestrictions getUxRestrictions(boolean restricted) { in getUxRestrictions() method in BaseCarUserServiceTestCase
935 CarUxRestrictions restrictions = getUxRestrictions(restricted); in updateUxRestrictions()
943 CarUxRestrictions restrictions = getUxRestrictions(restricted); in mockGetUxRestrictions()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java130 assertThat(mController.getUxRestrictions()).isEqualTo(NO_SETUP_UX_RESTRICTIONS); in onUxRestrictionsChanged_updatesUxRestrictions()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java1047 uxRestrictions = config.getUxRestrictions( in handleDispatchUxRestrictionsLocked()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1157 method TIRAMISU_0 CarUxRestrictions getUxRestrictions(int drivingState, float currentSpeed);
1158 …method TIRAMISU_0 CarUxRestrictions getUxRestrictions(int drivingState, float currentSpeed, String…
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt951 method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, float);
952 …method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, @FloatRan…
/packages/services/Car/car-lib/api/
Dsystem-current.txt951 method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, float);
952 …method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, @FloatRan…
Dtest-current.txt1024 method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, float);
1025 …method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, @FloatRan…
Dsystem-lint-baseline.txt2318 UnflaggedApi: android.car.drivingstate.CarUxRestrictionsConfiguration#getUxRestrictions(int, float):
2319 …gedApi: method android.car.drivingstate.CarUxRestrictionsConfiguration.getUxRestrictions(int,float)
2320 UnflaggedApi: android.car.drivingstate.CarUxRestrictionsConfiguration#getUxRestrictions(int, float,…
2321 …Api: method android.car.drivingstate.CarUxRestrictionsConfiguration.getUxRestrictions(int,float,St…