Home
last modified time | relevance | path

Searched refs:mServiceListener (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothProfileConnector.java36 private BluetoothProfile.ServiceListener mServiceListener; field in BluetoothProfileConnector
59 if (mServiceListener != null) {
60 mServiceListener.onServiceConnected(mProfileId, mProfileProxy);
67 if (mServiceListener != null) {
68 mServiceListener.onServiceDisconnected(mProfileId);
121 mServiceListener = listener; in connect()
134 mServiceListener = null; in disconnect()
DBluetoothPbap.java98 private ServiceListener mServiceListener; field in BluetoothPbap
131 mServiceListener = l; in BluetoothPbap()
209 mServiceListener = null; in close()
346 if (mServiceListener != null) {
347 mServiceListener.onServiceConnected(BluetoothProfile.PBAP, BluetoothPbap.this);
354 if (mServiceListener != null) {
355 mServiceListener.onServiceDisconnected(BluetoothProfile.PBAP);
DBluetoothHeadset.java331 private ServiceListener mServiceListener; field in BluetoothHeadset
352 mServiceListener = l; in BluetoothHeadset()
416 mServiceListener = null; in close()
1257 if (mServiceListener != null) {
1258 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET,
1264 if (mServiceListener != null) {
1265 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
DShadowBluetoothAdapter.java32 private BluetoothProfile.ServiceListener mServiceListener; field in ShadowBluetoothAdapter
37 mServiceListener = listener; in getProfileProxy()
42 return mServiceListener; in getServiceListener()
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowBluetoothAdapter.java38 private BluetoothProfile.ServiceListener mServiceListener; field in ShadowBluetoothAdapter
43 mServiceListener = listener; in getProfileProxy()
48 return mServiceListener; in getServiceListener()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHfpClientProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener; field in HfpClientProfileTest
62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
63 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET_CLIENT, mService); in setUp()
DHidDeviceProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener; field in HidDeviceProfileTest
62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
63 mServiceListener.onServiceConnected(BluetoothProfile.HID_DEVICE, mService); in setUp()
DSapProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener; field in SapProfileTest
61 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
62 mServiceListener.onServiceConnected(BluetoothProfile.SAP, mService); in setUp()
DPbapClientProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener; field in PbapClientProfileTest
62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
63 mServiceListener.onServiceConnected(BluetoothProfile.PBAP_CLIENT, mService); in setUp()
DMapClientProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener; field in MapClientProfileTest
62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
63 mServiceListener.onServiceConnected(BluetoothProfile.MAP_CLIENT, mService); in setUp()
DA2dpSinkProfileTest.java52 private BluetoothProfile.ServiceListener mServiceListener; field in A2dpSinkProfileTest
62 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
63 mServiceListener.onServiceConnected(BluetoothProfile.A2DP_SINK, mService); in setUp()
DHearingAidProfileTest.java55 private BluetoothProfile.ServiceListener mServiceListener; field in HearingAidProfileTest
68 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
69 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, mService); in setUp()
DHeadsetProfileTest.java40 private BluetoothProfile.ServiceListener mServiceListener; field in HeadsetProfileTest
53 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
54 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, mService); in setUp()
DA2dpProfileTest.java60 private BluetoothProfile.ServiceListener mServiceListener; field in A2dpProfileTest
70 mServiceListener = mShadowBluetoothAdapter.getServiceListener(); in setUp()
71 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, mBluetoothA2dp); in setUp()
/frameworks/base/core/java/android/net/
DEthernetManager.java60 private final IEthernetServiceListener.Stub mServiceListener = field in EthernetManager
161 mService.addListener(mServiceListener); in addListener()
195 mService.removeListener(mServiceListener); in removeListener()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DBroadcastRadioService.java57 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/
DBluetoothTestUtils.java348 private BluetoothProfile.ServiceListener mServiceListener = field in BluetoothTestUtils
1610 adapter.getProfileProxy(mContext, mServiceListener, profile); in connectProxy()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9831 Landroid/bluetooth/BluetoothA2dp;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceList…
9858 Landroid/bluetooth/BluetoothA2dpSink;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Service…
10030 Landroid/bluetooth/BluetoothAvrcpController;->mServiceListener:Landroid/bluetooth/BluetoothProfile$…
10281 Landroid/bluetooth/BluetoothHeadset;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceL…
10397 Landroid/bluetooth/BluetoothHeadsetClient;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Se…
10462 Landroid/bluetooth/BluetoothHealth;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceLi…
10499 Landroid/bluetooth/BluetoothHearingAid;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Servi…
10531 Landroid/bluetooth/BluetoothHidDevice;->mServiceListener:Landroid/bluetooth/BluetoothProfile$Servic…
10581 Landroid/bluetooth/BluetoothHidHost;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceL…
10625 Landroid/bluetooth/BluetoothMap;->mServiceListener:Landroid/bluetooth/BluetoothProfile$ServiceListe…
[all …]