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.java218 ServiceConnection serviceConnection = verifyBindingIntent(); in testExceptionInScreeningService() local
219 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testExceptionInScreeningService()
228 ServiceConnection serviceConnection = verifyBindingIntent(); in testAllowCall() local
229 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testAllowCall()
240 ServiceConnection serviceConnection = verifyBindingIntent(); in testSilenceCall() local
241 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testSilenceCall()
261 ServiceConnection serviceConnection = verifyBindingIntent(); in testDisallowCallForCarrierDefined() local
262 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testDisallowCallForCarrierDefined()
294 ServiceConnection serviceConnection = verifyBindingIntent(); in testDisallowCallForDefaultDialer() local
295 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testDisallowCallForDefaultDialer()
[all …]
DInCallControllerTests.java421 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_DefaultDialer_FallBackToSystem() local
429 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testBindToService_DefaultDialer_FallBackToSystem()
433 serviceConnection.onServiceDisconnected(defDialerComponentName); in testBindToService_DefaultDialer_FallBackToSystem()
525 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testUnbindDueToCallDisconnect() local
531 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testUnbindDueToCallDisconnect()
533 verify(mMockContext, never()).unbindService(serviceConnection); in testUnbindDueToCallDisconnect()
727 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindingFuture() local
733 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testBindingFuture()
/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.java117 ServiceConnection serviceConnection = new ServiceConnection() { in bindAndGetCallIdentification() local
155 if (!bindCallScreeningService(mContext, mUserHandle, mPackageName, serviceConnection)) { in bindAndGetCallIdentification()
188 String packageName, ServiceConnection serviceConnection) { in bindCallScreeningService() argument
221 serviceConnection, in bindCallScreeningService()
DPhoneAccountSuggestionHelper.java75 ServiceConnection serviceConnection = new ServiceConnection() { in bindAndGetSuggestions() local
127 if (!context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE)) { in bindAndGetSuggestions()