Home
last modified time | relevance | path

Searched refs:audioState (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java264 CallAudioState audioState = new CallAudioState( in testCallAudioState() local
268 assertEquals(true, audioState.isMuted()); in testCallAudioState()
269 assertEquals(CallAudioState.ROUTE_EARPIECE, audioState.getRoute()); in testCallAudioState()
270 assertEquals(CallAudioState.ROUTE_WIRED_OR_EARPIECE, audioState.getSupportedRouteMask()); in testCallAudioState()
271 assertEquals(0, audioState.describeContents()); in testCallAudioState()
272 assertEquals("EARPIECE", CallAudioState.audioRouteToString(audioState.getRoute())); in testCallAudioState()
277 audioState.writeToParcel(p, 0); in testCallAudioState()
284 assertEquals(audioState, parcelAudioState); in testCallAudioState()
DMockInCallService.java60 public void onCallAudioStateChanged(CallAudioState audioState) {} in onCallAudioStateChanged() argument
289 public void onCallAudioStateChanged(CallAudioState audioState) { in onCallAudioStateChanged() argument
290 super.onCallAudioStateChanged(audioState); in onCallAudioStateChanged()
292 getCallbacks().onCallAudioStateChanged(audioState); in onCallAudioStateChanged()
DBaseTelecomTestWithMockServices.java368 public void onCallAudioStateChanged(CallAudioState audioState) { in setupCallbacks()
369 Log.i(TAG, "onCallAudioStateChanged, audioState: " + audioState); in setupCallbacks()
370 mOnCallAudioStateChangedCounter.invoke(audioState); in setupCallbacks()