Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/SpaPrivileged/tests/src/com/android/settingslib/spaprivileged/template/app/
DAppListPageTest.kt55 val inputState by setContent() in appListState_hasCorrectInitialState() constant
57 val state = inputState!!.state in appListState_hasCorrectInitialState()
64 val inputState by setContent() in canShowSystem() constant
69 val state = inputState!!.state in canShowSystem()
94 val inputState by setContent(noMoreOptions = true) in noMoreOptions_showSystemIsFalse() constant
96 val state = inputState!!.state in noMoreOptions_showSystemIsFalse()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java405 TvInputState inputState = userState.inputMap.get(inputId); in buildTvInputListLocked() local
406 if (inputState == null) { in buildTvInputListLocked()
407 inputState = new TvInputState(); in buildTvInputListLocked()
409 inputState.info = info; in buildTvInputListLocked()
410 inputState.uid = getInputUid(info); in buildTvInputListLocked()
411 inputMap.put(inputId, inputState); in buildTvInputListLocked()
412 inputState.inputNumber = count; in buildTvInputListLocked()
1084 TvInputState inputState = userState.inputMap.get(inputId); in updateTvInputInfoLocked() local
1085 if (inputState == null) { in updateTvInputInfoLocked()
1090 inputState.info = inputInfo; in updateTvInputInfoLocked()
[all …]
/frameworks/native/services/inputflinger/dispatcher/
DConnection.cpp28 inputState(idGenerator) {} in Connection()
DConnection.h47 InputState inputState; variable
DInputDispatcher.cpp3459 if (!connection->inputState.trackKey(keyEntry, keyEntry.flags)) { in enqueueDispatchEntryLocked()
3488 !connection->inputState.isHovering(motionEntry.deviceId, motionEntry.source, in enqueueDispatchEntryLocked()
3526 connection->inputState.getPointersOfLastEvent(motionEntry, in enqueueDispatchEntryLocked()
3575 connection->inputState.cancelConflictingInputStream(*resolvedMotion); in enqueueDispatchEntryLocked()
3594 if (!connection->inputState.trackMotion(*resolvedMotion, in enqueueDispatchEntryLocked()
4188 connection->inputState.synthesizeCancelationEvents(currentTime, options); in synthesizeCancelationEventsForConnectionLocked()
4305 connection->inputState.synthesizePointerDownEvents(downTime); in synthesizePointerDownEventsForConnectionLocked()
5766 fromConnection->inputState.mergePointerStateTo(toConnection->inputState); in transferTouchGesture()
6040 std::string inputStateDump = streamableToString(connection->inputState); in dumpDispatchStateLocked()
6649 std::optional<int32_t> fallbackKeyCode = connection->inputState.getFallbackKey(originalKeyCode); in afterKeyEventLockedInterruptable()
[all …]
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimplePlayer.h251 aaudio_stream_state_t inputState = AAUDIO_STREAM_STATE_PAUSING; in waitUntilPaused() local
253 result = AAudioStream_waitForStateChange(mStream, inputState, in waitUntilPaused()
255 inputState = currentState; in waitUntilPaused()
/frameworks/av/media/libaaudio/tests/
Dtest_various.cpp202 aaudio_stream_state_t inputState = AAUDIO_STREAM_STATE_UNINITIALIZED; in checkStateTransition() local
219 inputState = AAUDIO_STREAM_STATE_STOPPING; in checkStateTransition()
224 inputState = AAUDIO_STREAM_STATE_PAUSING; in checkStateTransition()
246 if (inputState != AAUDIO_STREAM_STATE_UNINITIALIZED) { in checkStateTransition()
248 inputState, in checkStateTransition()
/frameworks/av/media/libaaudio/src/core/
DAAudioAudio.cpp349 aaudio_stream_state_t inputState, in AAudioStream_waitForStateChange() argument
356 return spAudioStream->waitForStateChange(inputState, nextState, timeoutNanoseconds); in AAudioStream_waitForStateChange()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h1679 aaudio_stream_state_t inputState, aaudio_stream_state_t* _Nullable nextState,