Home
last modified time | relevance | path

Searched refs:mCurrentFocusState (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarAudioService.java58 private FocusState mCurrentFocusState = FocusState.STATE_LOSS; field in CarAudioService
129 mCurrentFocusState = currentState; in init()
152 mCurrentFocusState = FocusState.STATE_LOSS; in release()
163 writer.println(" mCurrentFocusState:" + mCurrentFocusState + in dump()
205 if (mFocusReceived.equals(mCurrentFocusState)) { in doHandleCarFocusChange()
214 if (!mFocusReceived.equals(mCurrentFocusState.focusState)) { in doHandleCarFocusChange()
217 mCurrentFocusState = mFocusReceived; in doHandleCarFocusChange()
227 (mCurrentFocusState.streams & mLastFocusRequestToCar.streams) != in doHandleCarFocusChange()
231 Integer.toHexString(mCurrentFocusState.streams)); in doHandleCarFocusChange()
237 (mCurrentFocusState.externalFocus & in doHandleCarFocusChange()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java85 private int mCurrentFocusState = VehicleAudioFocusState.VEHICLE_AUDIO_FOCUS_STATE_LOSS; field in CarEmulator.AudioFocusPropertyHandler
94 mCurrentFocusState = in setAudioFocusControl()
99 int[] values = { mCurrentFocusState, mCurrentFocusStreams, in setAudioFocusControl()
107 mCurrentFocusState = VehicleAudioFocusState.VEHICLE_AUDIO_FOCUS_STATE_LOSS; in setAudioFocusControl()
110 int[] values = { mCurrentFocusState, mCurrentFocusStreams, in setAudioFocusControl()
129 int[] values = { mCurrentFocusState, mCurrentFocusStreams, in onPropertySet()
155 mCurrentFocusState = response; in onPropertySet()
158 int[] values = { mCurrentFocusState, mCurrentFocusStreams, in onPropertySet()
172 int[] values = { mCurrentFocusState, mCurrentFocusStreams, in onPropertyGet()