Home
last modified time | relevance | path

Searched refs:inputState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaDevice.java218 int inputState = (enable && connected) ? 1 : 0; in updateWiredDeviceConnectionState() local
219 if (inputState != mInputState) { in updateWiredDeviceConnectionState()
220 mInputState = inputState; in updateWiredDeviceConnectionState()
222 device, inputState, alsaCardDeviceString, in updateWiredDeviceConnectionState()
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp77 aaudio_stream_state_t inputState = AAUDIO_STREAM_STATE_UNINITIALIZED; in checkStateTransition() local
94 inputState = AAUDIO_STREAM_STATE_STOPPING; in checkStateTransition()
99 inputState = AAUDIO_STREAM_STATE_PAUSING; in checkStateTransition()
105 if (inputState != AAUDIO_STREAM_STATE_UNINITIALIZED) { in checkStateTransition()
107 inputState, in checkStateTransition()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java311 TvInputState inputState = userState.inputMap.get(info.getId()); in buildTvInputListLocked() local
312 if (inputState == null) { in buildTvInputListLocked()
313 inputState = new TvInputState(); in buildTvInputListLocked()
315 inputState.info = info; in buildTvInputListLocked()
316 inputMap.put(info.getId(), inputState); in buildTvInputListLocked() local
811 TvInputState inputState = userState.inputMap.get(inputId); in updateTvInputInfoLocked() local
812 if (inputState == null) { in updateTvInputInfoLocked()
816 inputState.info = inputInfo; in updateTvInputInfoLocked()
829 TvInputState inputState = userState.inputMap.get(inputId); in setStateLocked() local
830 ServiceState serviceState = userState.serviceStateMap.get(inputState.info.getComponent()); in setStateLocked()
[all …]
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp321 aaudio_stream_state_t inputState, in AAudioStream_waitForStateChange() argument
327 return audioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp1931 if (!connection->inputState.trackKey(keyEntry, in enqueueDispatchEntryLocked()
1959 && !connection->inputState.isHovering( in enqueueDispatchEntryLocked()
1976 if (!connection->inputState.trackMotion(motionEntry, in enqueueDispatchEntryLocked()
2269 connection->inputState.synthesizeCancelationEvents(currentTime, in synthesizeCancelationEventsForConnectionLocked()
3161 fromConnection->inputState.copyPointerStateTo(toConnection->inputState); in transferTouchFocus()
3678 int32_t fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
3680 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
3715 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
3752 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
3764 connection->inputState.setFallbackKey(originalKeyCode, fallbackKeyCode); in afterKeyEventLockedInterruptible()
[all …]
DInputDispatcher.h818 InputState inputState; variable
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h963 aaudio_stream_state_t inputState,