/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarUxRestrictionsConfigurationTest.java | 20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 74 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testConstruction() 78 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 85 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 89 .setUxRestrictions(DRIVING_STATE_MOVING, new DrivingStateRestrictions() in testConstruction() 105 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, 1f); in testUnspecifiedDrivingStateUsesDefaultRestriction() 114 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault() 128 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED); in testBuilderValidation_twoWaysToIdentifyDisplay() 136 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED); in testBuilderValidation_missingDisplayType() 144 .setUxRestrictions(DRIVING_STATE_MOVING, true, UX_RESTRICTIONS_FULLY_RESTRICTED); in testBuilderValidation_missingOccupantZoneId() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarUxRestrictionsConfigurationXmlParserTest.java | 19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 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() 128 DRIVING_STATE_MOVING, 1f, UX_RESTRICTION_MODE_PASSENGER); in testParsingPassengerState() 145 DRIVING_STATE_MOVING, 1f, "mode1"); in testParsingMultipleModes() 149 DRIVING_STATE_MOVING, 1f, "mode2"); in testParsingMultipleModes() 180 DRIVING_STATE_MOVING, 1f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
|
D | CarUxRestrictionsManagerServiceTest.java | 20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 178 CarUxRestrictions movingRestrictions = config.getUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml() 248 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1() 268 .setUxRestrictions(DRIVING_STATE_MOVING, in testLoadConfig_SupportsLegacyV1() 608 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_MOVING, 0)); in setUpMockDrivingStateWithFakeSpeed()
|
D | CarLocationServiceTest.java | 431 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_MOVING, 0)); in testDeletesCacheFileUponSuspendExitWhileMoving() 480 new CarDrivingStateEvent(CarDrivingStateEvent.DRIVING_STATE_MOVING, in testDeletesCacheFileWhenDrivingStateBecomesMoving()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/ |
D | CarUiPortraitDriveStateController.java | 19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 62 return mCurrentDrivingState == DRIVING_STATE_MOVING; in isDrivingStateMoving()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarDrivingStateEvent.java | 56 public static final int DRIVING_STATE_MOVING = 2; field in CarDrivingStateEvent 62 DRIVING_STATE_MOVING})
|
D | CarUxRestrictionsConfiguration.java | 20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 393 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_MOVING)); in writeRestrictionMode() 550 readRestrictionsList(reader, DRIVING_STATE_MOVING, in readJson() 566 readRestrictionsList(reader, DRIVING_STATE_MOVING, in readJson() 593 readRestrictionsList(reader, DRIVING_STATE_MOVING, mode, builder); in readRestrictionsMode() 742 case DRIVING_STATE_MOVING: in getDrivingStateName() 758 DRIVING_STATE_MOVING, 994 if (drivingState != DRIVING_STATE_MOVING && speedRange != null) { in setUxRestrictions() 1131 if (drivingState != DRIVING_STATE_MOVING) { in validateBaselineModeRestrictions() 1167 container.getRestrictionsForDriveState(DRIVING_STATE_MOVING); in validateModeRestrictions()
|
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/ |
D | MainActivity.java | 19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 230 case DRIVING_STATE_MOVING: in updateDrivingStateText() 270 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm() 274 .setUxRestrictions(DRIVING_STATE_MOVING, in onConfirm()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/wm/ |
D | CarUiPortraitDisplaySystemBarsController.java | 19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 310 if (requested && mCurrentDrivingState == DRIVING_STATE_MOVING) { in notifyOnImmersiveRequestedChanged() 322 if (mImmersiveState == STATE_DEFAULT || mCurrentDrivingState != DRIVING_STATE_MOVING) { in onDrivingStateChanged()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarLocationService.java | 226 && event.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING) { 271 if (event != null && event.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING) { in init() 352 && event.eventValue == CarDrivingStateEvent.DRIVING_STATE_MOVING) { in onStateChanged()
|
D | CarUxRestrictionsManagerService.java | 21 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING; 917 } else if (drivingState != DRIVING_STATE_MOVING) { in handleDrivingStateEventOnDisplaysLocked() 929 handleDispatchUxRestrictionsLocked(DRIVING_STATE_MOVING, /* speed= */ MAX_SPEED, in handleDrivingStateEventOnDisplaysLocked() 978 if (currentDrivingState != DRIVING_STATE_MOVING) { in handleSpeedChangeLocked() 1305 .setUxRestrictions(DRIVING_STATE_MOVING, in createDefaultConfig()
|
D | CarDrivingStateService.java | 490 return CarDrivingStateEvent.DRIVING_STATE_MOVING; in inferDrivingStateLocked()
|
D | CarUxRestrictionsConfigurationXmlParser.java | 385 return CarDrivingStateEvent.DRIVING_STATE_MOVING; in getDrivingState()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDrivingRestrictionsTest.java | 162 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_MOVING); in testDrivingStateChange() 190 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_MOVING); in testDrivingStateChange()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | BluetoothDeviceConnectionPolicyTest.java | 429 setDrivingState(CarDrivingStateEvent.DRIVING_STATE_MOVING); in testSeatOnOccupied_driverSeat_driving_doNothing()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/pm/ |
D | CarPackageManagerServiceTest.java | 394 mCarDrivingStateManager.injectDrivingState(CarDrivingStateEvent.DRIVING_STATE_MOVING); in setDrivingStateMoving()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 1148 field TIRAMISU_0 int DRIVING_STATE_MOVING = 2;
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 929 field public static final int DRIVING_STATE_MOVING = 2; // 0x2
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 929 field public static final int DRIVING_STATE_MOVING = 2; // 0x2
|
D | test-current.txt | 1001 field public static final int DRIVING_STATE_MOVING = 2; // 0x2
|
D | system-lint-baseline.txt | 2280 UnflaggedApi: android.car.drivingstate.CarDrivingStateEvent#DRIVING_STATE_MOVING: 2281 … flagged with @FlaggedApi: field android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_MOVING
|