/frameworks/base/native/android/ |
D | thermal.cpp | 60 sp<ThermalServiceListener> mServiceListener; member 85 mServiceListener(nullptr) { in AThermalManager() 92 if (mServiceListener != nullptr) { in ~AThermalManager() 94 mThermalSvc->unregisterThermalStatusListener(mServiceListener, &success); in ~AThermalManager() 95 mServiceListener = nullptr; in ~AThermalManager() 124 if (mServiceListener != nullptr) { in addListener() 128 mServiceListener = new ThermalServiceListener(this); in addListener() 129 if (mServiceListener == nullptr) { in addListener() 132 auto ret = mThermalSvc->registerThermalStatusListener(mServiceListener, &success); in addListener() 161 if (mServiceListener == nullptr) { in removeListener() [all …]
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothProfileConnector.java | 42 private BluetoothProfile.ServiceListener mServiceListener; field in BluetoothProfileConnector 65 if (mServiceListener != null) { 66 mServiceListener.onServiceConnected(mProfileId, mProfileProxy); 73 if (mServiceListener != null) { 74 mServiceListener.onServiceDisconnected(mProfileId); 137 mServiceListener = listener; in connect() 160 mServiceListener = null; in disconnect()
|
D | BluetoothPbap.java | 103 private ServiceListener mServiceListener; field in BluetoothPbap 138 mServiceListener = l; in BluetoothPbap() 228 mServiceListener = null; in close() 383 if (mServiceListener != null) { 384 mServiceListener.onServiceConnected(BluetoothProfile.PBAP, BluetoothPbap.this); 391 if (mServiceListener != null) { 392 mServiceListener.onServiceDisconnected(BluetoothProfile.PBAP);
|
D | BluetoothHeadset.java | 346 private ServiceListener mServiceListener; field in BluetoothHeadset 369 mServiceListener = l; in BluetoothHeadset() 444 mServiceListener = null; in close() 1421 if (mServiceListener != null) { 1422 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, 1428 if (mServiceListener != null) { 1429 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | PbapClientProfileTest.java | 52 private BluetoothProfile.ServiceListener mServiceListener; field in PbapClientProfileTest 62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 63 mServiceListener.onServiceConnected(BluetoothProfile.PBAP_CLIENT, mService); in setUp()
|
D | SapProfileTest.java | 52 private BluetoothProfile.ServiceListener mServiceListener; field in SapProfileTest 61 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 62 mServiceListener.onServiceConnected(BluetoothProfile.SAP, mService); in setUp()
|
D | HfpClientProfileTest.java | 52 private BluetoothProfile.ServiceListener mServiceListener; field in HfpClientProfileTest 62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 63 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET_CLIENT, mService); in setUp()
|
D | MapClientProfileTest.java | 52 private BluetoothProfile.ServiceListener mServiceListener; field in MapClientProfileTest 62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 63 mServiceListener.onServiceConnected(BluetoothProfile.MAP_CLIENT, mService); in setUp()
|
D | A2dpSinkProfileTest.java | 52 private BluetoothProfile.ServiceListener mServiceListener; field in A2dpSinkProfileTest 62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 63 mServiceListener.onServiceConnected(BluetoothProfile.A2DP_SINK, mService); in setUp()
|
D | HidDeviceProfileTest.java | 52 private BluetoothProfile.ServiceListener mServiceListener; field in HidDeviceProfileTest 62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 63 mServiceListener.onServiceConnected(BluetoothProfile.HID_DEVICE, mService); in setUp()
|
D | HearingAidProfileTest.java | 55 private BluetoothProfile.ServiceListener mServiceListener; field in HearingAidProfileTest 68 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 69 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, mService); in setUp()
|
D | HeadsetProfileTest.java | 40 private BluetoothProfile.ServiceListener mServiceListener; field in HeadsetProfileTest 53 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 54 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, mService); in setUp()
|
D | A2dpProfileTest.java | 60 private BluetoothProfile.ServiceListener mServiceListener; field in A2dpProfileTest 70 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp() 71 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, mBluetoothA2dp); in setUp()
|
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/ |
D | ShadowBluetoothAdapter.java | 39 private BluetoothProfile.ServiceListener mServiceListener; field in ShadowBluetoothAdapter 45 mServiceListener = listener; in getProfileProxy() 50 return mServiceListener; in getServiceListener()
|
/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
D | ServiceWatcherImpl.java | 61 final @Nullable ServiceListener<? super TBoundServiceInfo> mServiceListener; field in ServiceWatcherImpl 87 mServiceListener = serviceListener; in ServiceWatcherImpl() 265 if (mServiceListener != null) { in onServiceConnected() 267 mServiceListener.onBind(binder, mBoundServiceInfo); in onServiceConnected() 287 if (mServiceListener != null) { in onServiceDisconnected() 288 mServiceListener.onUnbind(); in onServiceDisconnected()
|
/frameworks/base/core/java/android/net/ |
D | EthernetManager.java | 49 private final IEthernetServiceListener.Stub mServiceListener = field in EthernetManager 181 mService.addListener(mServiceListener); in addListener() 217 mService.removeListener(mServiceListener); in removeListener()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | BroadcastRadioService.java | 57 private IServiceNotification.Stub mServiceListener = new IServiceNotification.Stub() { field in BroadcastRadioService 127 manager.registerForNotifications(IBroadcastRadio.kInterfaceName, "", mServiceListener); in BroadcastRadioService()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestUtils.java | 348 private BluetoothProfile.ServiceListener mServiceListener = field in BluetoothTestUtils 1610 adapter.getProfileProxy(mContext, mServiceListener, profile); in connectProxy()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 9822 Landroid/bluetooth/BluetoothA2dp;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceList… 9849 Landroid/bluetooth/BluetoothA2dpSink;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Service… 10021 Landroid/bluetooth/BluetoothAvrcpController;->mServiceListener:Landroid/bluetooth/BluetoothProfile$… 10272 Landroid/bluetooth/BluetoothHeadset;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceL… 10388 Landroid/bluetooth/BluetoothHeadsetClient;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Se… 10453 Landroid/bluetooth/BluetoothHealth;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceLi… 10490 Landroid/bluetooth/BluetoothHearingAid;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Servi… 10522 Landroid/bluetooth/BluetoothHidDevice;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Servic… 10572 Landroid/bluetooth/BluetoothHidHost;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceL… 10616 Landroid/bluetooth/BluetoothMap;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceListe… [all …]
|