Home
last modified time | relevance | path

Searched refs:DRIVING_STATE_IDLING (Results 1 – 17 of 17) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParserTest.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
81 CarUxRestrictions idling = config.getUxRestrictions(DRIVING_STATE_IDLING, 0f); in testParsingNonMovingState()
132 DRIVING_STATE_IDLING, 0f, UX_RESTRICTION_MODE_PASSENGER); in testParsingPassengerState()
153 DRIVING_STATE_IDLING, 0f, "mode1"); in testParsingMultipleModes()
157 DRIVING_STATE_IDLING, 0f, "mode2"); in testParsingMultipleModes()
185 DRIVING_STATE_IDLING, 0f, UX_RESTRICTION_MODE_BASELINE); in testParsingPassengerMode_ValuesInBaselineAreNotAffected()
324 r = config.getUxRestrictions(DRIVING_STATE_IDLING, 0f); in testParsingConfigurationMultipleRestrictionParametersMultipleDrivingState()
DCarUxRestrictionsManagerServiceTest.java19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
189 CarUxRestrictions idlingRestrictions = config.getUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_UseDefaultConfigWhenNoSavedConfigFileNoXml()
243 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
263 .setUxRestrictions(DRIVING_STATE_IDLING, in testLoadConfig_SupportsLegacyV1()
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarDrivingStateEvent.java52 public static final int DRIVING_STATE_IDLING = 1; field in CarDrivingStateEvent
61 DRIVING_STATE_IDLING,
DCarUxRestrictionsConfiguration.java19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
390 writeRestrictionsList(writer, container.getRestrictionsForDriveState(DRIVING_STATE_IDLING)); in writeRestrictionMode()
546 readRestrictionsList(reader, DRIVING_STATE_IDLING, in readJson()
562 readRestrictionsList(reader, DRIVING_STATE_IDLING, in readJson()
590 readRestrictionsList(reader, DRIVING_STATE_IDLING, mode, builder); in readRestrictionsMode()
740 case DRIVING_STATE_IDLING: in getDrivingStateName()
757 DRIVING_STATE_IDLING,
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java18 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
227 case DRIVING_STATE_IDLING: in updateDrivingStateText()
279 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
283 .setUxRestrictions(DRIVING_STATE_IDLING, in onConfirm()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarUxRestrictionsConfigurationTest.java19 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
118 assertThat(config.getUxRestrictions(DRIVING_STATE_IDLING, 0f) in testBuilderValidation_UnspecifiedStateUsesRestrictiveDefault()
163 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
165 builder.setUxRestrictions(DRIVING_STATE_IDLING, in testBuilderValidation_NonMovingStateHasOneRestriction()
427 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_UxRestrictionMode()
456 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
472 .setUxRestrictions(DRIVING_STATE_IDLING, new DrivingStateRestrictions() in testJsonSerialization_ReadsV1()
505 .setUxRestrictions(DRIVING_STATE_IDLING, true, UX_RESTRICTIONS_NO_VIDEO) in testDump()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java154 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
174 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
230 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChangeForMalformedInputs()
/packages/services/Car/service/src/com/android/car/
DCarDrivingStateService.java488 return CarDrivingStateEvent.DRIVING_STATE_IDLING; in inferDrivingStateLocked()
DCarUxRestrictionsManagerService.java20 import static android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING;
1303 .setUxRestrictions(DRIVING_STATE_IDLING, in createDefaultConfig()
DCarUxRestrictionsConfigurationXmlParser.java383 return CarDrivingStateEvent.DRIVING_STATE_IDLING; in getDrivingState()
/packages/services/Car/tests/carservice_test/src/com/android/car/pm/
DCarPackageManagerServiceTest.java398 mCarDrivingStateManager.injectDrivingState(CarDrivingStateEvent.DRIVING_STATE_IDLING); in setDrivingStateIdling()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java252 || event.eventValue == CarDrivingStateEvent.DRIVING_STATE_IDLING) { in onCarDrivingStateChanged()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1147 field TIRAMISU_0 int DRIVING_STATE_IDLING = 1;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt928 field public static final int DRIVING_STATE_IDLING = 1; // 0x1
/packages/services/Car/car-lib/api/
Dsystem-current.txt928 field public static final int DRIVING_STATE_IDLING = 1; // 0x1
Dtest-current.txt1000 field public static final int DRIVING_STATE_IDLING = 1; // 0x1
Dsystem-lint-baseline.txt2278 UnflaggedApi: android.car.drivingstate.CarDrivingStateEvent#DRIVING_STATE_IDLING:
2279 … flagged with @FlaggedApi: field android.car.drivingstate.CarDrivingStateEvent.DRIVING_STATE_IDLING