Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DServiceBinder.java85 if (mServiceConnection == null) { in bind()
166 mServiceConnection = this; in onServiceConnected()
197 mServiceConnection = null; in handleDisconnect()
219 private ServiceConnection mServiceConnection; field in ServiceBinder
304 if (mServiceConnection == null) { in unbind()
310 mContext.unbindService(mServiceConnection); in unbind()
311 mServiceConnection = null; in unbind()
DCallScreeningServiceHelper.java51 private ServiceConnection mServiceConnection; field in CallScreeningServiceHelper.CallScreeningAdapter
54 mServiceConnection = connection; in CallScreeningAdapter()
79 mContext.unbindService(mServiceConnection); in unbindCallScreeningService()
DInCallController.java199 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in InCallController.InCallServiceBindingConnection
298 if (!mContext.bindServiceAsUser(intent, mServiceConnection, in connect()
328 mContext.unbindService(mServiceConnection); in disconnect()
/packages/services/Telephony/src/com/android/phone/
DCarrierConfigLoader.java103 private CarrierServiceConnection[] mServiceConnection; field in CarrierConfigLoader
280 if (mServiceConnection[phoneId] != conn || conn.service == null) { in handleMessage()
292 if (mServiceConnection[phoneId] != conn) { in handleMessage()
340 if (mServiceConnection[phoneId] != null) { in handleMessage()
343 unbindIfBound(mContext, mServiceConnection[phoneId], phoneId); in handleMessage()
354 && mServiceConnection[phoneId] == null) { in handleMessage()
402 if (mServiceConnection[phoneId] != conn || conn.service == null) { in handleMessage()
414 if (mServiceConnection[phoneId] != conn) { in handleMessage()
463 if (mServiceConnection[phoneId] != null) { in handleMessage()
466 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()
206 mClientContext.unbindService(mServiceConnection); in unbind()
225 mClientContext.unbindService(mServiceConnection); in onNullBinding()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/
DTrustedDeviceAgentService.java51 bindServiceAsUser(intent, mServiceConnection, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in onCreate()
62 unbindService(mServiceConnection); in onDestroy()
95 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in TrustedDeviceAgentService
/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/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/
DRemoteFeature.java69 mContext.bindServiceAsUser(intent, mServiceConnection, Context.BIND_AUTO_CREATE, in start()
86 mContext.unbindService(mServiceConnection); in stop()
214 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in RemoteFeature
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DCarUxRestrictionsHelper.java50 mCar = Car.createCar(context, mServiceConnection); in CarUxRestrictionsHelper()
98 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in CarUxRestrictionsHelper
/packages/apps/Car/Hvac/src/com/android/car/hvac/
DHvacUiService.java216 if (!bindService(bindIntent, mServiceConnection, Context.BIND_AUTO_CREATE)) { in layoutHvacUi()
249 unbindService(mServiceConnection); in onDestroy()
254 private ServiceConnection mServiceConnection = new ServiceConnection() { field in HvacUiService
/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.java77 private BluetoothProfile.ServiceListener mServiceConnection = field in BluetoothA2dpConnector
126 if (!adapter.getProfileProxy(mContext, mServiceConnection, BluetoothProfile.A2DP)) { in openConnection()
/packages/apps/Car/Settings/src/com/android/car/settings/units/
DCarUnitsManager.java41 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in CarUnitsManager
66 mCar = Car.createCar(mContext, mServiceConnection); in CarUnitsManager()
/packages/apps/Car/Settings/src/com/android/car/settings/sound/
DVolumeSettingsPreferenceController.java64 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in VolumeSettingsPreferenceController
101 mCar = Car.createCar(getContext(), mServiceConnection); in VolumeSettingsPreferenceController()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java89 private ServiceConnection mServiceConnection = field in BasicKeyChainServiceTest
354 mServiceConnection, in bindKeyChainService()
362 mContext.getApplicationContext().unbindService(mServiceConnection); in unbindKeyChainService()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ui/
DTrustedDeviceActivity.java125 bindServiceAsUser(intent, mServiceConnection, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in onCreate()
192 unbindService(mServiceConnection); in onDestroy()
451 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in TrustedDeviceActivity