/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/ |
D | AudioStreamsProgressCategoryController.java | 75 .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 …]
|
D | AudioStreamPreference.java | 71 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()
|
D | AudioStreamStateHandler.java | 74 == AudioStreamsProgressCategoryController.AudioStreamState in handleStateChange() 112 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum() 113 return AudioStreamsProgressCategoryController.AudioStreamState.UNKNOWN; in getStateEnum()
|
D | AddSourceFailedState.java | 59 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum() 60 return AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_FAILED; in getStateEnum()
|
D | AddSourceBadCodeState.java | 59 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum() 60 return AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_BAD_CODE; in getStateEnum()
|
D | SourceAddedState.java | 97 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum() 98 return AudioStreamsProgressCategoryController.AudioStreamState.SOURCE_ADDED; in getStateEnum()
|
D | AddSourceWaitForResponseState.java | 101 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum() 102 return AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_WAIT_FOR_RESPONSE; in getStateEnum()
|
D | SyncedState.java | 57 AudioStreamsProgressCategoryController.AudioStreamState getStateEnum() { in getStateEnum() 58 return AudioStreamsProgressCategoryController.AudioStreamState.SYNCED; in getStateEnum()
|
D | WaitForSyncState.java | 89 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/ |
D | WaitForSyncStateTest.java | 71 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()
|
D | AddSourceFailedStateTest.java | 51 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum() 55 AudioStreamsProgressCategoryController.AudioStreamState.ADD_SOURCE_FAILED); in testGetStateEnum()
|
D | AddSourceBadCodeStateTest.java | 51 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum() 55 AudioStreamsProgressCategoryController.AudioStreamState in testGetStateEnum()
|
D | SourceAddedStateTest.java | 56 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum() 59 .isEqualTo(AudioStreamsProgressCategoryController.AudioStreamState.SOURCE_ADDED); in testGetStateEnum()
|
D | AudioStreamPreferenceTest.java | 36 ….connecteddevice.audiosharing.audiostreams.AudioStreamsProgressCategoryController.AudioStreamState; 123 AudioStreamState state = AudioStreamState.SOURCE_ADDED; in setAudioStreamState_shouldUpdateState()
|
D | AddSourceWaitForResponseStateTest.java | 75 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum() 79 AudioStreamsProgressCategoryController.AudioStreamState in testGetStateEnum()
|
D | SyncedStateTest.java | 86 AudioStreamsProgressCategoryController.AudioStreamState stateEnum = in testGetStateEnum() 89 .isEqualTo(AudioStreamsProgressCategoryController.AudioStreamState.SYNCED); in testGetStateEnum()
|