Home
last modified time | relevance | path

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

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallScreeningServiceFilterTest.java220 ServiceConnection serviceConnection = verifyBindingIntent(); in testAllowCall() local
222 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testAllowCall()
229 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testAllowCall()
250 ServiceConnection serviceConnection = verifyBindingIntent(); in testDisallowCall() local
252 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testDisallowCall()
263 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testDisallowCall()
281 ServiceConnection serviceConnection = verifyBindingIntent(); in testSilenceCall() local
283 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testSilenceCall()
291 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testSilenceCall()
309 ServiceConnection serviceConnection = verifyBindingIntent(); in testScreenCallFurther() local
[all …]
DInCallControllerTests.java476 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_SystemDialer_Crash() local
477 serviceConnection.onServiceDisconnected(bindIntent.getComponent()); in testBindToService_SystemDialer_Crash()
558 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_DefaultDialer_FallBackToSystem() local
566 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testBindToService_DefaultDialer_FallBackToSystem()
570 serviceConnection.onServiceDisconnected(defDialerComponentName); in testBindToService_DefaultDialer_FallBackToSystem()
611 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_NullBinding_FallBackToSystem() local
619 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testBindToService_NullBinding_FallBackToSystem()
621 serviceConnection.onNullBinding(defDialerComponentName); in testBindToService_NullBinding_FallBackToSystem()
715 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testUnbindDueToCallDisconnect() local
721 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testUnbindDueToCallDisconnect()
[all …]
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/
DShadowCar.java49 protected static Car createCar(Context context, ServiceConnection serviceConnection) { in createCar() argument
51 if (serviceConnection != null) { in createCar()
53 serviceConnection.onServiceConnected(null, null); in createCar()
57 serviceConnection.onServiceDisconnected(null); in createCar()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCar.java49 protected static Car createCar(Context context, ServiceConnection serviceConnection) { in createCar() argument
50 if (serviceConnection != null) { in createCar()
52 serviceConnection.onServiceConnected(null, null); in createCar()
56 serviceConnection.onServiceDisconnected(null); in createCar()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallScreeningServiceHelper.java123 ServiceConnection serviceConnection = new ServiceConnection() { in bindAndGetCallIdentification() local
161 if (!bindCallScreeningService(mContext, mUserHandle, mPackageName, serviceConnection)) { in bindAndGetCallIdentification()
194 String packageName, ServiceConnection serviceConnection) { in bindCallScreeningService() argument
227 serviceConnection, in bindCallScreeningService()
DPhoneAccountSuggestionHelper.java75 ServiceConnection serviceConnection = new ServiceConnection() { in bindAndGetSuggestions() local
127 if (!context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE)) { in bindAndGetSuggestions()