Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DServiceBinder.java81 if (mServiceConnection == null) { in bind()
135 mServiceConnection = this; in onServiceConnected()
151 mServiceConnection = null; in onServiceDisconnected()
178 private ServiceConnection mServiceConnection; field in ServiceBinder
252 if (mServiceConnection == null) { in unbind()
257 mContext.unbindService(mServiceConnection); in unbind()
258 mServiceConnection = null; in unbind()
DInCallController.java83 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in InCallController.InCallServiceBindingConnection
142 if (!mContext.bindServiceAsUser(intent, mServiceConnection, in connect()
155 mContext.unbindService(mServiceConnection); in disconnect()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java94 private CarrierServiceConnection[] mServiceConnection; field in CarrierConfigLoader
171 mServiceConnection[phoneId] = null;
220 if (mServiceConnection[phoneId] != conn || conn.service == null) {
236 mContext.unbindService(mServiceConnection[phoneId]);
241 mContext.unbindService(mServiceConnection[phoneId]);
249 && mServiceConnection[phoneId] == null) {
290 if (mServiceConnection[phoneId] != conn ||
308 mContext.unbindService(mServiceConnection[phoneId]);
313 mContext.unbindService(mServiceConnection[phoneId]);
321 && mServiceConnection[phoneId] == null) {
[all …]
/packages/services/Car/bluetooth/bt-map-client-lib/src/com/google/android/auto/mapservice/
DBluetoothMapManager.java88 private BluetoothMapServiceConnection mServiceConnection; field in BluetoothMapManager
178 mServiceConnection = new BluetoothMapServiceConnection(); in connect()
188 bound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); in connect()
220 Log.w(TAG, "RemoteException during disconnect for " + mServiceConnection); in disconnect()
427 + " this=" + this + "mServiceConnection=" + mServiceConnection); in onServiceDisconnected()
662 if (mServiceConnection != null) { in forceCloseConnection()
663 mContext.unbindService(mServiceConnection); in forceCloseConnection()
665 mServiceConnection = null; in forceCloseConnection()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DKeyChainServiceTest.java63 private ServiceConnection mServiceConnection = new ServiceConnection() { field in KeyChainServiceTest
86 mServiceConnection, in bindService()
96 unbindService(mServiceConnection); in unbindServices()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothInputDeviceConnector.java42 private BluetoothProfile.ServiceListener mServiceConnection = field in BluetoothInputDeviceConnector
157 if (!adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.INPUT_DEVICE)) { in openConnection()
DBluetoothA2dpConnector.java77 private BluetoothProfile.ServiceListener mServiceConnection = field in BluetoothA2dpConnector
126 if (!adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.A2DP)) { in openConnection()
/packages/services/Car/car-support-lib/src/android/support/car/
DCarServiceLoaderEmbedded.java39 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in CarServiceLoaderEmbedded
60 mCar = android.car.Car.createCar(context, mServiceConnection, looper); in CarServiceLoaderEmbedded()