/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallScreeningServiceFilterTest.java | 244 ServiceConnection serviceConnection = verifyBindingIntent(); in testAllowCall() local 246 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testAllowCall() 259 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testAllowCall() 280 ServiceConnection serviceConnection = verifyBindingIntent(); in testDisallowCall() local 282 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testDisallowCall() 297 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testDisallowCall() 317 ServiceConnection serviceConnection = verifyBindingIntent(); in testSilenceCall() local 319 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testSilenceCall() 333 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testSilenceCall() 352 ServiceConnection serviceConnection = verifyBindingIntent(); in testScreenCallFurther() local [all …]
|
D | InCallControllerTests.java | 595 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_SystemDialer_Crash() local 596 serviceConnection.onServiceDisconnected(bindIntent.getComponent()); in testBindToService_SystemDialer_Crash() 677 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_DefaultDialer_FallBackToSystem() local 685 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testBindToService_DefaultDialer_FallBackToSystem() 689 serviceConnection.onServiceDisconnected(defDialerComponentName); in testBindToService_DefaultDialer_FallBackToSystem() 731 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testBindToService_NullBinding_FallBackToSystem() local 739 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testBindToService_NullBinding_FallBackToSystem() 741 serviceConnection.onNullBinding(defDialerComponentName); in testBindToService_NullBinding_FallBackToSystem() 836 ServiceConnection serviceConnection = serviceConnectionCaptor.getValue(); in testUnbindDueToCallDisconnect() local 842 serviceConnection.onServiceConnected(defDialerComponentName, mockBinder); in testUnbindDueToCallDisconnect() [all …]
|
/packages/apps/Car/Notification/tests/robotests/src/com/android/car/notification/testutils/ |
D | ShadowCar.java | 49 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/ |
D | ShadowCar.java | 49 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/modules/NetworkStack/tests/integration/src/android/net/networkstack/ |
D | TestNetworkStackServiceClient.kt | 64 private val serviceConnection = object : ServiceConnection { constant 75 context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE) in onServiceDisconnected() 79 InstrumentationRegistry.getInstrumentation().context.unbindService(serviceConnection) in disconnect()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallScreeningServiceHelper.java | 108 ServiceConnection serviceConnection = new ServiceConnection() { in bindAndGetCallIdentification() local 146 if (!bindCallScreeningService(mContext, mUserHandle, mPackageName, serviceConnection)) { in bindAndGetCallIdentification() 179 String packageName, ServiceConnection serviceConnection) { in bindCallScreeningService() argument 212 serviceConnection, in bindCallScreeningService()
|
D | PhoneAccountSuggestionHelper.java | 75 ServiceConnection serviceConnection = new ServiceConnection() { in bindAndGetSuggestions() local 127 if (!context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE)) { in bindAndGetSuggestions()
|
D | CallDiagnosticServiceController.java | 394 String packageName, CallDiagnosticServiceConnection serviceConnection) { in bindCallDiagnosticService() argument 429 serviceConnection, in bindCallDiagnosticService()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | OsuServerConnection.java | 570 HttpsServiceConnection serviceConnection; in getServiceConnection() local 574 serviceConnection = (HttpsServiceConnection) mHttpsTransport.getServiceConnection(); in getServiceConnection() 575 if (serviceConnection != null) { in getServiceConnection() 576 serviceConnection.setSSLSocketFactory(mSocketFactory); in getServiceConnection() 582 return serviceConnection; in getServiceConnection()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 86 ServiceConnection serviceConnection = invocation.getArgument(1); in setup() local 87 serviceConnection.onServiceConnected( in setup()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/ |
D | StartDpcInsideSuwServiceConnectionTest.java | 587 StartDpcInsideSuwServiceConnection serviceConnection) { in verifyBindServiceCalled() argument 589 verify(activity).bindService(intentCaptor.capture(), eq(serviceConnection), anyInt()); in verifyBindServiceCalled()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 841 CarrierServiceConnection serviceConnection = new CarrierServiceConnection( in bindToConfigPackage() local 844 mServiceConnectionForNoSimConfig[phoneId] = serviceConnection; in bindToConfigPackage() 846 mServiceConnection[phoneId] = serviceConnection; in bindToConfigPackage() 849 if (mContext.bindService(carrierService, serviceConnection, in bindToConfigPackage()
|
/packages/services/Car/experimental/service/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureService.java | 301 for (ServiceConnection serviceConnection : mServiceConnections) { in release() 302 mContext.unbindService(serviceConnection); in release()
|