Home
last modified time | relevance | path

Searched refs:MockCallScreeningService (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DMockCallScreeningService.java31 public class MockCallScreeningService extends CallScreeningService { class
39 private MockCallScreeningService mService;
43 final public MockCallScreeningService getService() { in getService()
47 final public void setService(MockCallScreeningService service) { in setService()
105 return new ComponentName(context, MockCallScreeningService.class); in getComponentName()
DCallScreeningServiceTest.java32 import android.telecom.cts.MockCallScreeningService.CallScreeningServiceCallbacks;
73 MockCallScreeningService.enableService(mContext); in setUp()
85 MockCallScreeningService.disableService(mContext); in tearDown()
100 MockCallScreeningService.setCallbacks(callbacks); in testTelephonyCall_bindsToCallScreeningService()
126 MockCallScreeningService.setCallbacks(callbacks); in testBindsToCallScreeningServiceWhenContactExist()
155 MockCallScreeningService.setCallbacks(callbacks); in testVerificationFailed()
179 MockCallScreeningService.setCallbacks(callbacks); in testNumberNotVerified()
DConnectionServiceTest.java333 MockCallScreeningService.enableService(mContext); in testCallFilteringCompleteSignalNotInContacts()
347 MockCallScreeningService.setCallbacks(createCallbackForCsTest(response)); in testCallFilteringCompleteSignalNotInContacts()
365 MockCallScreeningService.disableService(mContext); in testCallFilteringCompleteSignalNotInContacts()
378 MockCallScreeningService.enableService(mContext); in testCallFilteringCompleteSignalInContacts()
392 MockCallScreeningService.setCallbacks(createCallbackForCsTest(response)); in testCallFilteringCompleteSignalInContacts()
415 MockCallScreeningService.disableService(mContext); in testCallFilteringCompleteSignalInContacts()
493 private MockCallScreeningService.CallScreeningServiceCallbacks createCallbackForCsTest( in createCallbackForCsTest()
495 return new MockCallScreeningService.CallScreeningServiceCallbacks() { in createCallbackForCsTest()
DBackgroundCallAudioTest.java24 import android.telecom.cts.MockCallScreeningService.CallScreeningServiceCallbacks;
73 MockCallScreeningService.disableService(mContext); in tearDown()
641 MockCallScreeningService.enableService(mContext); in setupIncomingCallWithCallScreening()
642 MockCallScreeningService.setCallbacks(callback); in setupIncomingCallWithCallScreening()
DExtendedInCallServiceTest.java448 MockCallScreeningService.enableService(mContext); in testCallComposerAttachmentsStrippedCorrectly()
461 MockCallScreeningService.setCallbacks( in testCallComposerAttachmentsStrippedCorrectly()
462 new MockCallScreeningService.CallScreeningServiceCallbacks() { in testCallComposerAttachmentsStrippedCorrectly()
486 MockCallScreeningService.disableService(mContext); in testCallComposerAttachmentsStrippedCorrectly()