Searched refs:MockCallScreeningService (Results 1 – 5 of 5) sorted by relevance
31 public class MockCallScreeningService extends CallScreeningService { class39 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()
32 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()
333 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()
24 import android.telecom.cts.MockCallScreeningService.CallScreeningServiceCallbacks;73 MockCallScreeningService.disableService(mContext); in tearDown()641 MockCallScreeningService.enableService(mContext); in setupIncomingCallWithCallScreening()642 MockCallScreeningService.setCallbacks(callback); in setupIncomingCallWithCallScreening()
448 MockCallScreeningService.enableService(mContext); in testCallComposerAttachmentsStrippedCorrectly()461 MockCallScreeningService.setCallbacks( in testCallComposerAttachmentsStrippedCorrectly()462 new MockCallScreeningService.CallScreeningServiceCallbacks() { in testCallComposerAttachmentsStrippedCorrectly()486 MockCallScreeningService.disableService(mContext); in testCallComposerAttachmentsStrippedCorrectly()