Searched refs:mStateEngine (Results 1 – 1 of 1) sorted by relevance
/packages/services/Car/service/src/com/android/car/evs/ |
D | CarEvsService.java | 546 private final StateMachine mStateEngine = new StateMachine(); field in CarEvsService 623 if (!mStateEngine.checkCurrentStateRequiresActivityLocked() || mLastEvsHalEvent == null || in requestActivityIfNecessaryLocked() 628 mStateEngine.execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_REQUESTED, in requestActivityIfNecessaryLocked() 642 } else if (mStateEngine.getState() == SERVICE_STATE_REQUESTED) { in handleActivityRequestTimeout() 645 mStateEngine.execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE); in handleActivityRequestTimeout() 711 if (mStateEngine.execute(REQUEST_PRIORITY_HIGH, targetState, type) != in onEvent() 763 mStateEngine.execute(REQUEST_PRIORITY_HIGH, SERVICE_STATE_INACTIVE) != ERROR_NONE) { in init() 802 writer.printf("Current state = %s\n", mStateEngine); in dump() 866 return mStateEngine.execute(REQUEST_PRIORITY_NORMAL, SERVICE_STATE_REQUESTED, type); in startActivity() 879 mStateEngine.execute(REQUEST_PRIORITY_NORMAL, SERVICE_STATE_INACTIVE); in stopActivity() [all …]
|