Home
last modified time | relevance | path

Searched refs:drivingState (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/car-lib/src/android/car/drivingstate/
DCarUxRestrictionsConfiguration.java119 for (int drivingState : DRIVING_STATES) { in CarUxRestrictionsConfiguration()
120 container.setRestrictionsForDriveState(drivingState, in CarUxRestrictionsConfiguration()
122 entry.getValue().getRestrictionsForDriveState(drivingState))); in CarUxRestrictionsConfiguration()
147 @CarDrivingState int drivingState, float currentSpeed) { in getUxRestrictions()
148 return getUxRestrictions(drivingState, currentSpeed, UX_RESTRICTION_MODE_BASELINE); in getUxRestrictions()
163 public CarUxRestrictions getUxRestrictions(@CarDrivingState int drivingState, in getUxRestrictions() argument
177 mRestrictionModes.get(mode).getRestrictionsForDriveState(drivingState)); in getUxRestrictions()
185 drivingState)); in getUxRestrictions()
192 .getRestrictionsForDriveState(drivingState)); in getUxRestrictions()
198 + getDrivingStateName(drivingState)); in getUxRestrictions()
[all …]
DCarDrivingStateManager.java178 public void injectDrivingState(int drivingState) { in injectDrivingState() argument
180 drivingState, SystemClock.elapsedRealtimeNanos()); in injectDrivingState()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsConfigurationXmlParser.java337 int drivingState = getDrivingState( in mapDrivingStateToRestrictions() local
364 if (!parseAllRestrictions(parser, drivingState, speedRange)) { in mapDrivingStateToRestrictions()
365 Slogf.e(TAG, "Could not parse restrictions for driving state:" + drivingState); in mapDrivingStateToRestrictions()
395 int drivingState, CarUxRestrictionsConfiguration.Builder.SpeedRange speedRange) in parseAllRestrictions() argument
415 if (drivingState != CarDrivingStateEvent.DRIVING_STATE_UNKNOWN in parseAllRestrictions()
422 Slogf.d(TAG, "Map " + drivingState + " : " + restriction); in parseAllRestrictions()
424 getCurrentBuilder().setUxRestrictions(drivingState, restriction); in parseAllRestrictions()
DCarDrivingStateService.java396 int drivingState = inferDrivingStateLocked(); in handlePropertyEventLocked() local
400 Slogf.d(TAG, "Driving state new->old " + drivingState + "->" in handlePropertyEventLocked()
403 if (drivingState != mCurrentDrivingState.eventValue) { in handlePropertyEventLocked()
404 addTransitionLogLocked(TAG, mCurrentDrivingState.eventValue, drivingState, in handlePropertyEventLocked()
407 mCurrentDrivingState = createDrivingStateEvent(drivingState); in handlePropertyEventLocked()
DCarUxRestrictionsManagerService.java911 int drivingState = event.eventValue; in handleDrivingStateEventOnDisplaysLocked() local
916 handleDispatchUxRestrictionsLocked(drivingState, mCurrentMovingSpeed, displayIds); in handleDrivingStateEventOnDisplaysLocked()
917 } else if (drivingState != DRIVING_STATE_MOVING) { in handleDrivingStateEventOnDisplaysLocked()
920 logd("Speed null when driving state is: " + drivingState); in handleDrivingStateEventOnDisplaysLocked()
921 handleDispatchUxRestrictionsLocked(drivingState, /* speed= */ 0f, displayIds); in handleDrivingStateEventOnDisplaysLocked()
926 Slogf.e(TAG, "Unexpected: Speed null when driving state is: " + drivingState); in handleDrivingStateEventOnDisplaysLocked()
927 logd("Treating speed null when driving state is: " + drivingState in handleDrivingStateEventOnDisplaysLocked()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.2.txt239 android.car.drivingstate CarDrivingStateManager void injectDrivingState(int drivingState)
248 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, boolean requir…
249 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange spe…
250 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, DrivingStateRe…
Dcar_hidden_apis_release_33.1.txt239 android.car.drivingstate CarDrivingStateManager void injectDrivingState(int drivingState)
248 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, boolean requir…
249 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange spe…
250 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, DrivingStateRe…
Dcar_hidden_apis.txt313 android.car.drivingstate CarDrivingStateManager void injectDrivingState(int drivingState)
331 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, DrivingStateRe…
332 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange spe…
333 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, boolean requir…
Dcar_hidden_apis_release_33.3.txt262 android.car.drivingstate CarDrivingStateManager void injectDrivingState(int drivingState)
272 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, boolean requir…
273 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, SpeedRange spe…
274 … CarUxRestrictionsConfiguration.Builder Builder setUxRestrictions(int drivingState, DrivingStateRe…
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt1113 method TIRAMISU_0 @hiddenOnly void injectDrivingState(int drivingState);
1157 method TIRAMISU_0 CarUxRestrictions getUxRestrictions(int drivingState, float currentSpeed);
1158 …method TIRAMISU_0 CarUxRestrictions getUxRestrictions(int drivingState, float currentSpeed, String…
1173 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, boolean requiresOptimization, int re…
1174 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, SpeedRange speedRange, boolean requi…
1175 …method TIRAMISU_0 Builder setUxRestrictions(int drivingState, DrivingStateRestrictions drivingStat…