Home
last modified time | relevance | path

Searched refs:getAudioStreamState (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DAudioStreamStateHandler.java50 if (preference.getAudioStreamState() == newState) { in handleStateChange()
61 + preference.getAudioStreamState() in handleStateChange()
DAudioStreamsProgressCategoryController.java73 p.getAudioStreamState()
208 var fromState = existingPreference.getAudioStreamState(); in handleSourceFound()
286 + existingPreference.getAudioStreamState() in handleSourceFromQrCodeIfExists()
327 if (preference.getAudioStreamState() == AudioStreamState.SOURCE_ADDED in handleSourceRemoved()
392 if (existingPreference.getAudioStreamState() == AudioStreamState.WAIT_FOR_SYNC in handleSourceConnected()
DAddSourceWaitForResponseState.java72 && preference.getAudioStreamState() == getStateEnum()) { in performAction()
DWaitForSyncState.java61 && preference.getAudioStreamState() == getStateEnum()) { in performAction()
DAudioStreamPreference.java104 AudioStreamsProgressCategoryController.AudioStreamState getAudioStreamState() { in getAudioStreamState() method in AudioStreamPreference
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/audiostreams/
DWaitForSyncStateTest.java80 when(mMockPreference.getAudioStreamState()) in testPerformAction_timeout_stateNotMatching_doNothing()
92 when(mMockPreference.getAudioStreamState()) in testPerformAction_timeout_stateMatching_sourceLost()
DAddSourceWaitForResponseStateTest.java108 when(mMockPreference.getAudioStreamState()).thenReturn(mInstance.getStateEnum()); in testPerformAction_timeout_addSource_sourceFailedToConnect()
DAudioStreamPreferenceTest.java126 assertThat(p.getAudioStreamState()).isEqualTo(state); in setAudioStreamState_shouldUpdateState()