Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDrivingRestrictionsTest.java141 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testDrivingStateChange()
154 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
162 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_MOVING); in testDrivingStateChange()
174 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChange()
190 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_MOVING); in testDrivingStateChange()
218 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testDrivingStateChangeForMalformedInputs()
230 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_IDLING); in testDrivingStateChangeForMalformedInputs()
239 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_UNKNOWN); in testDrivingStateChangeForMalformedInputs()
266 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_UNKNOWN); in setupDrivingStateUnknown()
283 assertThat(drivingEvent.eventValue).isEqualTo(CarDrivingStateEvent.DRIVING_STATE_PARKED); in testGearUnknown_speedUnknown_ignitionStateOff_drivingStateInferredAsParked()
[all …]
/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarDrivingStateEvent.java77 public final int eventValue; field in CarDrivingStateEvent
88 dest.writeInt(eventValue); in writeToParcel()
107 eventValue = value; in CarDrivingStateEvent()
112 eventValue = in.readInt(); in CarDrivingStateEvent()
118 return eventValue + " " + timeStamp; in toString()
/packages/services/Car/service/src/com/android/car/
DCarDrivingStateService.java128 mCurrentDrivingState.eventValue, mCurrentDrivingState.timeStamp); in init()
316 writer.println("Current Driving State: " + mCurrentDrivingState.eventValue); in dump()
401 + mCurrentDrivingState.eventValue); in handlePropertyEventLocked()
403 if (drivingState != mCurrentDrivingState.eventValue) { in handlePropertyEventLocked()
404 addTransitionLogLocked(TAG, mCurrentDrivingState.eventValue, drivingState, in handlePropertyEventLocked()
603 private static CarDrivingStateEvent createDrivingStateEvent(int eventValue) { in createDrivingStateEvent() argument
604 return new CarDrivingStateEvent(eventValue, SystemClock.elapsedRealtimeNanos()); in createDrivingStateEvent()
DCarLocationService.java226 && 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()
DCarUxRestrictionsManagerService.java455 && currentDrivingStateEvent.eventValue == DRIVING_STATE_PARKED in promoteStagedConfig()
476 || currentDrivingStateEvent.eventValue == DRIVING_STATE_UNKNOWN) { in initializeUxRestrictions()
892 logd("Driving State Changed:" + event.eventValue);
911 int drivingState = event.eventValue; in handleDrivingStateEventOnDisplaysLocked()
977 int currentDrivingState = mDrivingStateService.getCurrentDrivingState().eventValue; in handleSpeedChangeLocked()
DCarShellCommand.java2154 String eventValue = args[argIdx].toLowerCase(Locale.US);
2156 if (eventValue.startsWith("f")) {
2157 inputCode = CUSTOM_INPUT_FUNCTION_ARGS.get(eventValue);
2160 eventValue);
2165 inputCode = Integer.parseInt(eventValue);
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/homeactivities/
DCarUiPortraitDriveStateController.java54 mCurrentDrivingState = carDrivingStateEvent.eventValue; in handleDrivingStateChange()
/packages/apps/Car/Settings/src/com/android/car/settings/admin/
DFactoryResetActivity.java87 switch (state.eventValue) { in showMore()
/packages/services/Car/service/src/com/android/car/bluetooth/
DBluetoothDeviceConnectionPolicy.java245 return event.eventValue == CarDrivingStateEvent.DRIVING_STATE_PARKED; in isParked()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java251 if (event.eventValue == CarDrivingStateEvent.DRIVING_STATE_PARKED in onCarDrivingStateChanged()
252 || event.eventValue == CarDrivingStateEvent.DRIVING_STATE_IDLING) { in onCarDrivingStateChanged()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/wm/
DCarUiPortraitDisplaySystemBarsController.java166 mCurrentDrivingState = event.eventValue; in handleDrivingStateChange()
/packages/services/Car/tests/UxRestrictionsSample/src/com/google/android/car/uxr/sample/
DMainActivity.java223 switch (state.eventValue) { in updateDrivingStateText()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1150 field TIRAMISU_0 int eventValue;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt932 field public final int eventValue;
/packages/services/Car/car-lib/api/
Dsystem-current.txt932 field public final int eventValue;
Dtest-current.txt1004 field public final int eventValue;
Dsystem-lint-baseline.txt2288 UnflaggedApi: android.car.drivingstate.CarDrivingStateEvent#eventValue:
2289 …PI must be flagged with @FlaggedApi: field android.car.drivingstate.CarDrivingStateEvent.eventValue