Home
last modified time | relevance | path

Searched refs:mServiceConnection (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java80 private HttpsServiceConnection mServiceConnection = null; field in OsuServerConnection
339 if (mServiceConnection != null) { in performSoapMessageExchange()
340 mServiceConnection.disconnect(); in performSoapMessageExchange()
343 mServiceConnection = getServiceConnection(mUrl, mNetwork); in performSoapMessageExchange()
344 if (mServiceConnection == null) { in performSoapMessageExchange()
396 mServiceConnection.disconnect(); in performSoapMessageExchange()
397 mServiceConnection = null; in performSoapMessageExchange()
478 if (mServiceConnection != null) { in getCert()
479 mServiceConnection.disconnect(); in getCert()
481 mServiceConnection = getServiceConnection(serverUrl, mNetwork); in getCert()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DServiceBinder.java85 if (mServiceConnection == null) { in bind()
167 mServiceConnection = this; in onServiceConnected()
198 mServiceConnection = null; in handleDisconnect()
225 private ServiceConnection mServiceConnection; field in ServiceBinder
311 if (mServiceConnection == null) { in unbind()
317 mContext.unbindService(mServiceConnection); in unbind()
318 mServiceConnection = null; in unbind()
DCallScreeningServiceHelper.java51 private ServiceConnection mServiceConnection; field in CallScreeningServiceHelper.CallScreeningAdapter
54 mServiceConnection = connection; in CallScreeningAdapter()
64 mContext.unbindService(mServiceConnection); in unbindCallScreeningService()
DInCallController.java210 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in InCallController.InCallServiceBindingConnection
319 if (!mContext.bindServiceAsUser(intent, mServiceConnection, in connect()
349 mContext.unbindService(mServiceConnection); in disconnect()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsTransport.java34 private ServiceConnection mServiceConnection; field in HttpsTransport
55 if (mServiceConnection == null) { in getServiceConnection()
56 mServiceConnection = new HttpsServiceConnection(mNetwork, mUrl); in getServiceConnection()
58 return mServiceConnection; in getServiceConnection()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallDiagnosticServiceControllerTest.java89 private ServiceConnection mServiceConnection; field in CallDiagnosticServiceControllerTest
102 mServiceConnection = null; in setUp()
162 mServiceConnection = serviceConnectionCaptor.getValue(); in testAddSimCallCausesBind()
178 verify(mContextProxy).unbindService(eq(mServiceConnection)); in testRemoveSimCallCausesRemoveAndUnbind()
193 verify(mContextProxy, never()).unbindService(eq(mServiceConnection)); in testAddTwo()
199 verify(mContextProxy).unbindService(eq(mServiceConnection)); in testAddTwo()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java42 private ServiceConnection mServiceConnection; field in RemoteSocketFactoryClient
55 mServiceConnection = new ServiceConnection() { in bind()
69 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); in bind()
79 mContext.unbindService(mServiceConnection); in unbind()
DMyServiceClient.java36 private ServiceConnection mServiceConnection; field in MyServiceClient
49 mServiceConnection = new ServiceConnection() { in bind()
65 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE in bind()
76 mContext.unbindService(mServiceConnection); in unbind()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java107 private CarrierServiceConnection[] mServiceConnection; field in CarrierConfigLoader
313 if (mServiceConnection[phoneId] != conn || conn.service == null) { in handleMessage()
327 if (mServiceConnection[phoneId] != conn) { in handleMessage()
375 if (mServiceConnection[phoneId] != null) { in handleMessage()
378 unbindIfBound(mContext, mServiceConnection[phoneId], phoneId); in handleMessage()
391 && mServiceConnection[phoneId] == null) { in handleMessage()
443 if (mServiceConnection[phoneId] != conn || conn.service == null) { in handleMessage()
457 if (mServiceConnection[phoneId] != conn) { in handleMessage()
515 if (mServiceConnection[phoneId] != null) { in handleMessage()
518 unbindIfBound(mContext, mServiceConnection[phoneId], phoneId); in handleMessage()
[all …]
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DRadioAppServiceWrapper.java139 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in RadioAppServiceWrapper
192 if (!context.bindService(bindIntent, mServiceConnection, Context.BIND_AUTO_CREATE)) { in bind()
208 mClientContext.unbindService(mServiceConnection); in unbind()
227 mClientContext.unbindService(mServiceConnection); in onNullBinding()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarProjectionService.java64 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in FakeCarProjectionService
79 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in registerProjectionRunner()
84 mContext.unbindService(mServiceConnection); in unregisterProjectionRunner()
/packages/services/Car/service/src/com/android/car/
DCarExperimentalFeatureServiceController.java48 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in CarExperimentalFeatureServiceController
167 return mContext.bindServiceAsUser(intent, mServiceConnection, in bindService()
180 mContext.unbindService(mServiceConnection); in release()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/
DAppFactoryImpl.java43 private final ServiceConnection mServiceConnection = field in AppFactoryImpl
79 intent, factory.mServiceConnection, Context.BIND_AUTO_CREATE); in register()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothInputDeviceConnector.java41 private BluetoothProfile.ServiceListener mServiceConnection = field in BluetoothInputDeviceConnector
156 if (!adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.HID_HOST)) { in openConnection()
DBluetoothA2dpConnector.java128 private BluetoothProfile.ServiceListener mServiceConnection = field in BluetoothA2dpConnector
171 if (!adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.A2DP)) { in openConnection()
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java217 if (!bindService(bindIntent, mServiceConnection, Context.BIND_AUTO_CREATE)) { in layoutHvacUi()
252 unbindService(mServiceConnection); in onDestroy()
257 private ServiceConnection mServiceConnection = new ServiceConnection() { field in HvacUiService
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java93 private ServiceConnection mServiceConnection = field in BasicKeyChainServiceTest
386 mServiceConnection, in bindKeyChainService()
394 mContext.getApplicationContext().unbindService(mServiceConnection); in unbindKeyChainService()