Home
last modified time | relevance | path

Searched refs:inputState (Results 1 – 9 of 9) 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/examples/utils/
DAAudioSimplePlayer.h226 aaudio_stream_state_t inputState = AAUDIO_STREAM_STATE_PAUSING; in waitUntilPaused() local
228 result = AAudioStream_waitForStateChange(mStream, inputState, in waitUntilPaused()
230 inputState = currentState; in waitUntilPaused()
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp29 inputState(idGenerator) {} in Connection()
DConnection.h48 InputState inputState; variable
DInputDispatcher.cpp2330 if (!connection->inputState.trackKey(keyEntry, dispatchEntry->resolvedAction, in enqueueDispatchEntryLocked()
2363 !connection->inputState.isHovering(motionEntry.deviceId, motionEntry.source, in enqueueDispatchEntryLocked()
2381 if (!connection->inputState.trackMotion(motionEntry, dispatchEntry->resolvedAction, in enqueueDispatchEntryLocked()
2808 connection->inputState.synthesizeCancelationEvents(currentTime, options); in synthesizeCancelationEventsForConnectionLocked()
2875 connection->inputState.synthesizePointerDownEvents(currentTime); in synthesizePointerDownEventsForConnectionLocked()
4008 fromConnection->inputState.mergePointerStateTo(toConnection->inputState); in transferTouchFocus()
4823 int32_t fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4825 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4859 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
4893 connection->inputState.removeFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptible()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp157 aaudio_stream_state_t inputState = AAUDIO_STREAM_STATE_UNINITIALIZED; in checkStateTransition() local
174 inputState = AAUDIO_STREAM_STATE_STOPPING; in checkStateTransition()
179 inputState = AAUDIO_STREAM_STATE_PAUSING; in checkStateTransition()
201 if (inputState != AAUDIO_STREAM_STATE_UNINITIALIZED) { in checkStateTransition()
203 inputState, in checkStateTransition()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java316 TvInputState inputState = userState.inputMap.get(info.getId()); in buildTvInputListLocked() local
317 if (inputState == null) { in buildTvInputListLocked()
318 inputState = new TvInputState(); in buildTvInputListLocked()
320 inputState.info = info; in buildTvInputListLocked()
321 inputMap.put(info.getId(), inputState); in buildTvInputListLocked() local
839 TvInputState inputState = userState.inputMap.get(inputId); in updateTvInputInfoLocked() local
840 if (inputState == null) { in updateTvInputInfoLocked()
844 inputState.info = inputInfo; in updateTvInputInfoLocked()
859 TvInputState inputState = userState.inputMap.get(inputId); in setStateLocked() local
860 if (inputState == null) { in setStateLocked()
[all …]
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp307 aaudio_stream_state_t inputState, in AAudioStream_waitForStateChange() argument
313 return audioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1155 aaudio_stream_state_t inputState, aaudio_stream_state_t *nextState,