/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParserTest.java | 67 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 …]
|
D | CarUxRestrictionsManagerServiceTest.java | 178 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/ |
D | CarUxRestrictionsConfigurationTest.java | 100 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/ |
D | BaseTestSettingsFragment.java | 37 public CarUxRestrictions getUxRestrictions() { in getUxRestrictions() method in BaseTestSettingsFragment
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/ |
D | DualPaneBaseCarSettingsActivityTest.java | 96 fragmentB.get().getUxRestrictions().isSameRestrictions(newUxRestrictions)).isTrue(); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions() 129 fragmentA.get().getUxRestrictions().isSameRestrictions(newUxRestrictions)).isTrue(); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
|
D | SinglePaneBaseCarSettingsActivityTest.java | 80 assertThat(((BaseTestSettingsFragment) getCurrentFragment()).getUxRestrictions() in onUxRestrictionsChanged_fragmentHasUpdatedUxRestrictions()
|
D | SettingsFragmentTestCase.java | 111 assertThat(controller.getUxRestrictions()).isEqualTo(uxRestrictions); in onUxRestrictionsChanged_propagatesToControllers()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiEntryListPreferenceController.java | 146 } else if (shouldApplyUxRestrictions(getUxRestrictions())) { in fetchWifiEntries()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileNetworkEntryPreferenceController.java | 208 && !getUxRestrictions().isRequiresDistractionOptimization()) { in getActionText()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 146 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/ |
D | PreferenceController.java | 257 protected final CarUxRestrictions getUxRestrictions() { in getUxRestrictions() method in PreferenceController
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothBondedDevicesPreferenceController.java | 330 return CarUxRestrictionsHelper.isNoSetup(getUxRestrictions()); in hasNoSetupUxRestriction()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | BaseCarUserServiceTestCase.java | 924 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/ |
D | PreferenceControllerTest.java | 130 assertThat(mController.getUxRestrictions()).isEqualTo(NO_SETUP_UX_RESTRICTIONS); in onUxRestrictionsChanged_updatesUxRestrictions()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarUxRestrictionsManagerService.java | 1047 uxRestrictions = config.getUxRestrictions( in handleDispatchUxRestrictionsLocked()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1157 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/ |
D | system-current.txt | 951 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/ |
D | system-current.txt | 951 method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, float); 952 …method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, @FloatRan…
|
D | test-current.txt | 1024 method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, float); 1025 …method @NonNull public android.car.drivingstate.CarUxRestrictions getUxRestrictions(int, @FloatRan…
|
D | system-lint-baseline.txt | 2318 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…
|