Home
last modified time | relevance | path

Searched refs:AudioStreamState (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamsProgressCategoryController.java75 .AudioStreamState.SOURCE_ADDED)
79 public enum AudioStreamState { enum in AudioStreamsProgressCategoryController
205 AudioStreamState.SYNCED, in handleSourceFound()
209 if (fromState == AudioStreamState.WAIT_FOR_SYNC && mSourceFromQrCode != null) { in handleSourceFound()
218 existingPreference, AudioStreamState.ADD_SOURCE_WAIT_FOR_RESPONSE); in handleSourceFound()
224 if (fromState != AudioStreamState.SOURCE_ADDED) { in handleSourceFound()
279 AudioStreamState.WAIT_FOR_SYNC, in handleSourceFromQrCodeIfExists()
327 if (preference.getAudioStreamState() == AudioStreamState.SOURCE_ADDED in handleSourceRemoved()
339 moveToState(preference, AudioStreamState.SYNCED); in handleSourceRemoved()
390 return addNewPreference(receiveState, AudioStreamState.SOURCE_ADDED); in handleSourceConnected()
[all …]
DAudioStreamPreference.java71 void setAudioStreamState(AudioStreamsProgressCategoryController.AudioStreamState state) { in setAudioStreamState()
104 AudioStreamsProgressCategoryController.AudioStreamState getAudioStreamState() { in getAudioStreamState()
107 : AudioStreamsProgressCategoryController.AudioStreamState.UNKNOWN; in getAudioStreamState()
170 private AudioStreamsProgressCategoryController.AudioStreamState mState =
171 AudioStreamsProgressCategoryController.AudioStreamState.UNKNOWN;
202 private AudioStreamsProgressCategoryController.AudioStreamState getState() { in getState()
215 private void setState(AudioStreamsProgressCategoryController.AudioStreamState state) { in setState()
DAudioStreamStateHandler.java74 == AudioStreamsProgressCategoryController.AudioStreamState in handleStateChange()
112 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
113 return AudioStreamsProgressCategoryController.AudioStreamState.UNKNOWN; in getStateEnum()
DAddSourceFailedState.java59 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
60 return AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_FAILED; in getStateEnum()
DAddSourceBadCodeState.java59 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
60 return AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_BAD_CODE; in getStateEnum()
DSourceAddedState.java97 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
98 return AudioStreamsProgressCategoryController.AudioStreamState.SOURCE_ADDED; in getStateEnum()
DAddSourceWaitForResponseState.java101 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
102 return AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_WAIT_FOR_RESPONSE; in getStateEnum()
DSyncedState.java57 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
58 return AudioStreamsProgressCategoryController.AudioStreamState.SYNCED; in getStateEnum()
DWaitForSyncState.java89 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum()
90 return AudioStreamsProgressCategoryController.AudioStreamState.WAIT_FOR_SYNC; in getStateEnum()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DWaitForSyncStateTest.java71 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum()
74 .isEqualTo(AudioStreamsProgressCategoryController.AudioStreamState.WAIT_FOR_SYNC); in testGetStateEnum()
81 .thenReturn(AudioStreamsProgressCategoryController.AudioStreamState.UNKNOWN); in testPerformAction_timeout_stateNotMatching_doNothing()
93 .thenReturn(AudioStreamsProgressCategoryController.AudioStreamState.WAIT_FOR_SYNC); in testPerformAction_timeout_stateMatching_sourceLost()
DAddSourceFailedStateTest.java51 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum()
55 AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_FAILED); in testGetStateEnum()
DAddSourceBadCodeStateTest.java51 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum()
55 AudioStreamsProgressCategoryController.AudioStreamState in testGetStateEnum()
DSourceAddedStateTest.java56 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum()
59 .isEqualTo(AudioStreamsProgressCategoryController.AudioStreamState.SOURCE_ADDED); in testGetStateEnum()
DAudioStreamPreferenceTest.java36 ….connecteddevice.audiosharing.audiostreams.AudioStreamsProgressCategoryController.AudioStreamState;
123 AudioStreamState state = AudioStreamState.SOURCE_ADDED; in setAudioStreamState_shouldUpdateState()
DAddSourceWaitForResponseStateTest.java75 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum()
79 AudioStreamsProgressCategoryController.AudioStreamState in testGetStateEnum()
DSyncedStateTest.java86 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum()
89 .isEqualTo(AudioStreamsProgressCategoryController.AudioStreamState.SYNCED); in testGetStateEnum()