HomeSort by relevance Sort by last modified time
    Searched refs:callAudioState (Results 1 - 2 of 2) sorted by null

  /cts/tests/tests/telecom/src/android/telecom/cts/
ExtendedInCallServiceTest.java 28 import android.telecom.CallAudioState;
109 CallAudioState callAudioState =
110 (CallAudioState) mOnCallAudioStateChangedCounter.getArgs(0)[0];
115 int availableRoutes = callAudioState.getSupportedRouteMask();
116 if ((availableRoutes & CallAudioState.ROUTE_SPEAKER) == 0) {
119 if ((availableRoutes & CallAudioState.ROUTE_WIRED_OR_EARPIECE) == 0) {
124 int secondRoute = (availableRoutes & CallAudioState.ROUTE_EARPIECE) == 0 ?
125 CallAudioState.ROUTE_WIRED_HEADSET : CallAudioState.ROUTE_EARPIECE
    [all...]
SelfManagedConnectionServiceTest.java 26 import android.telecom.CallAudioState;
425 CallAudioState callAudioState = (CallAudioState) counter.getArgs(0)[0];
426 int availableRoutes = callAudioState.getSupportedRouteMask();
430 if ((availableRoutes & CallAudioState.ROUTE_SPEAKER) == 0
431 || (availableRoutes & CallAudioState.ROUTE_WIRED_OR_EARPIECE) == 0) {
436 int secondRoute = (availableRoutes & CallAudioState.ROUTE_EARPIECE) == 0
437 ? CallAudioState.ROUTE_WIRED_HEADSET
438 : CallAudioState.ROUTE_EARPIECE
    [all...]

Completed in 723 milliseconds