Home
last modified time | relevance | path

Searched refs:appControlWrapper (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/telecom-cuj/src/android/telecom/cts/cuj/app/integration/
DSingleCallingTest.java989 private void verifyOutgoingCallStateTransitions(AppControlWrapper appControlWrapper) in verifyOutgoingCallStateTransitions() argument
991 String mo = addOutgoingCallAndVerify(appControlWrapper); in verifyOutgoingCallStateTransitions()
993 if (appControlWrapper.isTransactionalControl() in verifyOutgoingCallStateTransitions()
999 setCallStateAndVerify(appControlWrapper, mo, STATE_ACTIVE); in verifyOutgoingCallStateTransitions()
1000 setCallStateAndVerify(appControlWrapper, mo, STATE_HOLDING); in verifyOutgoingCallStateTransitions()
1001 setCallStateAndVerify(appControlWrapper, mo, STATE_DISCONNECTED); in verifyOutgoingCallStateTransitions()
1004 private void verifyIncomingCallStateTransitions(AppControlWrapper appControlWrapper) in verifyIncomingCallStateTransitions() argument
1006 String mt = addIncomingCallAndVerify(appControlWrapper); in verifyIncomingCallStateTransitions()
1008 setCallStateAndVerify(appControlWrapper, mt, STATE_ACTIVE); in verifyIncomingCallStateTransitions()
1009 setCallStateAndVerify(appControlWrapper, mt, STATE_HOLDING); in verifyIncomingCallStateTransitions()
[all …]
DCallAudioRouteTest.java480 private void verifySwitchEndpoints(AppControlWrapper appControlWrapper) throws Exception { in verifySwitchEndpoints() argument
481 String mo = addOutgoingCallAndVerify(appControlWrapper); in verifySwitchEndpoints()
482 setCallStateAndVerify(appControlWrapper, mo, STATE_ACTIVE); in verifySwitchEndpoints()
485 switchToAnotherCallEndpoint(appControlWrapper, mo); in verifySwitchEndpoints()
486 setCallStateAndVerify(appControlWrapper, mo, STATE_DISCONNECTED); in verifySwitchEndpoints()
490 AppControlWrapper appControlWrapper) throws Exception { in verifyOutgoingCallStateTransitionsWithAudioFocus() argument
491 String mo = addOutgoingCallAndVerify(appControlWrapper); in verifyOutgoingCallStateTransitionsWithAudioFocus()
493 if (appControlWrapper.isTransactionalControl() in verifyOutgoingCallStateTransitionsWithAudioFocus()
499 setCallStateAndVerify(appControlWrapper, mo, STATE_ACTIVE); in verifyOutgoingCallStateTransitionsWithAudioFocus()
502 setCallStateAndVerify(appControlWrapper, mo, STATE_HOLDING); in verifyOutgoingCallStateTransitionsWithAudioFocus()
[all …]
DAudioModeTest.java153 private void verifyOutgoingAudioMode(AppControlWrapper appControlWrapper, in verifyOutgoingAudioMode() argument
155 String mo = addOutgoingCallAndVerify(appControlWrapper); in verifyOutgoingAudioMode()
156 if (appControlWrapper.isTransactionalControl() in verifyOutgoingAudioMode()
163 setCallStateAndVerify(appControlWrapper, mo, STATE_ACTIVE); in verifyOutgoingAudioMode()
165 setCallStateAndVerify(appControlWrapper, mo, STATE_DISCONNECTED); in verifyOutgoingAudioMode()
168 private void verifyIncomingAudioMode(AppControlWrapper appControlWrapper, in verifyIncomingAudioMode() argument
170 String mt = addIncomingCallAndVerify(appControlWrapper); in verifyIncomingAudioMode()
172 setCallStateAndVerify(appControlWrapper, mt, STATE_ACTIVE); in verifyIncomingAudioMode()
174 setCallStateAndVerify(appControlWrapper, mt, STATE_DISCONNECTED); in verifyIncomingAudioMode()
DPhoneAccountTest.java388 private PhoneAccount verifyDefaultAccountIsRegistered(AppControlWrapper appControlWrapper) in verifyDefaultAccountIsRegistered() argument
390 PhoneAccount account = appControlWrapper.getDefaultPhoneAccount(); in verifyDefaultAccountIsRegistered()
393 List<PhoneAccountHandle> handles = appControlWrapper.getAccountHandlesForApp(); in verifyDefaultAccountIsRegistered()
398 private void unregisterDefaultAndVerify(AppControlWrapper appControlWrapper, in unregisterDefaultAndVerify() argument
400 appControlWrapper.unregisterPhoneAccountWithHandle(acct.getAccountHandle()); in unregisterDefaultAndVerify()
402 List<PhoneAccountHandle> handles = appControlWrapper.getAccountHandlesForApp(); in unregisterDefaultAndVerify()
406 private void registerAcctAndVerify(AppControlWrapper appControlWrapper, in registerAcctAndVerify() argument
409 appControlWrapper.registerCustomPhoneAccount(acct); in registerAcctAndVerify()
410 List<PhoneAccountHandle> handles = appControlWrapper.getAccountHandlesForApp(); in registerAcctAndVerify()
415 private void unregisterAcctAndVerify(AppControlWrapper appControlWrapper, in unregisterAcctAndVerify() argument
[all …]
DUnholdableCallTest.java333 private void verifyHoldFails_ConnectionService(AppControlWrapper appControlWrapper) in verifyHoldFails_ConnectionService() argument
335 String mo = addOutgoingCallAndVerify(appControlWrapper, false /* isHoldable */); in verifyHoldFails_ConnectionService()
336 setCallStateAndVerify(appControlWrapper, mo, STATE_ACTIVE); in verifyHoldFails_ConnectionService()
337 setCallState(appControlWrapper, mo, STATE_HOLDING); in verifyHoldFails_ConnectionService()
339 setCallStateAndVerify(appControlWrapper, mo, STATE_DISCONNECTED); in verifyHoldFails_ConnectionService()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DBaseAppVerifierImpl.java441 private void verifyAppIsTransactional(AppControlWrapper appControlWrapper) throws Exception { in verifyAppIsTransactional() argument
442 if (!appControlWrapper.isTransactionalControl()) { in verifyAppIsTransactional()
637 public void verifyNotificationPostedForCall(AppControlWrapper appControlWrapper, String callId){ in verifyNotificationPostedForCall() argument
648 return appControlWrapper.isNotificationPostedForCall(callId); in verifyNotificationPostedForCall()
658 appControlWrapper.getTelecomApps())); in verifyNotificationPostedForCall()