Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java72 private ServiceListener mServiceListener; field in BluetoothPbap
146 mServiceListener = l; in BluetoothPbap()
205 mServiceListener = null; in close()
306 if (mServiceListener != null) {
307 mServiceListener.onServiceConnected(BluetoothPbap.this);
313 if (mServiceListener != null) {
314 mServiceListener.onServiceDisconnected();
DBluetoothPan.java121 private ServiceListener mServiceListener; field in BluetoothPan
132 mServiceListener = l; in BluetoothPan()
177 mServiceListener = null; in close()
373 if (mServiceListener != null) {
374 mServiceListener.onServiceConnected(BluetoothProfile.PAN,
381 if (mServiceListener != null) {
382 mServiceListener.onServiceDisconnected(BluetoothProfile.PAN);
DBluetoothPbapClient.java44 private ServiceListener mServiceListener; field in BluetoothPbapClient
98 mServiceListener = l; in BluetoothPbapClient()
157 mServiceListener = null; in close()
292 if (mServiceListener != null) {
293mServiceListener.onServiceConnected(BluetoothProfile.PBAP_CLIENT, BluetoothPbapClient.this);
301 if (mServiceListener != null) {
302 mServiceListener.onServiceDisconnected(BluetoothProfile.PBAP_CLIENT);
DBluetoothA2dpSink.java126 private ServiceListener mServiceListener; field in BluetoothA2dpSink
165 mServiceListener = l; in BluetoothA2dpSink()
192 mServiceListener = null; in close()
486 if (mServiceListener != null) {
487 mServiceListener.onServiceConnected(BluetoothProfile.A2DP_SINK,
494 if (mServiceListener != null) {
495 mServiceListener.onServiceDisconnected(BluetoothProfile.A2DP_SINK);
DBluetoothAvrcpController.java125 private ServiceListener mServiceListener; field in BluetoothAvrcpController
165 mServiceListener = l; in BluetoothAvrcpController()
192 mServiceListener = null; in close()
387 if (mServiceListener != null) {
388 mServiceListener.onServiceConnected(BluetoothProfile.AVRCP_CONTROLLER,
395 if (mServiceListener != null) {
396 mServiceListener.onServiceDisconnected(BluetoothProfile.AVRCP_CONTROLLER);
DBluetoothMap.java44 private ServiceListener mServiceListener; field in BluetoothMap
90 mServiceListener = l; in BluetoothMap()
149 mServiceListener = null; in close()
375 if (mServiceListener != null) {
376 mServiceListener.onServiceConnected(BluetoothProfile.MAP, BluetoothMap.this);
382 if (mServiceListener != null) {
383 mServiceListener.onServiceDisconnected(BluetoothProfile.MAP);
DBluetoothSap.java71 private ServiceListener mServiceListener; field in BluetoothSap
127 mServiceListener = l; in BluetoothSap()
187 mServiceListener = null; in close()
397 if (mServiceListener != null) {
398 mServiceListener.onServiceConnected(BluetoothProfile.SAP, BluetoothSap.this);
404 if (mServiceListener != null) {
405 mServiceListener.onServiceDisconnected(BluetoothProfile.SAP);
DBluetoothA2dp.java116 private ServiceListener mServiceListener; field in BluetoothA2dp
155 mServiceListener = l; in BluetoothA2dp()
182 mServiceListener = null; in close()
539 if (mServiceListener != null) {
540 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, BluetoothA2dp.this);
546 if (mServiceListener != null) {
547 mServiceListener.onServiceDisconnected(BluetoothProfile.A2DP);
DBluetoothHealth.java463 private ServiceListener mServiceListener; field in BluetoothHealth
472 mServiceListener = l; in BluetoothHealth()
519 mServiceListener = null; in close()
527 if (mServiceListener != null) {
528 mServiceListener.onServiceConnected(BluetoothProfile.HEALTH, BluetoothHealth.this);
534 if (mServiceListener != null) {
535 mServiceListener.onServiceDisconnected(BluetoothProfile.HEALTH);
DBluetoothInputDevice.java203 private ServiceListener mServiceListener; field in BluetoothInputDevice
243 mServiceListener = l; in BluetoothInputDevice()
291 mServiceListener = null; in close()
484 if (mServiceListener != null) {
485mServiceListener.onServiceConnected(BluetoothProfile.INPUT_DEVICE, BluetoothInputDevice.this);
491 if (mServiceListener != null) {
492 mServiceListener.onServiceDisconnected(BluetoothProfile.INPUT_DEVICE);
DBluetoothHeadset.java229 private ServiceListener mServiceListener; field in BluetoothHeadset
260 mServiceListener = l; in BluetoothHeadset()
315 mServiceListener = null; in close()
1016 if (mServiceListener != null) {
1017 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET,
1023 if (mServiceListener != null) {
1024 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET);
DBluetoothHeadsetClient.java368 private ServiceListener mServiceListener; field in BluetoothHeadsetClient
408 mServiceListener = l; in BluetoothHeadsetClient()
463 mServiceListener = null; in close()
1172 if (mServiceListener != null) {
1173 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET_CLIENT,
1181 if (mServiceListener != null) {
1182 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET_CLIENT);
/frameworks/base/core/java/android/net/
DEthernetManager.java52 private final IEthernetServiceListener.Stub mServiceListener = field in EthernetManager
130 mService.addListener(mServiceListener); in addListener()
149 mService.removeListener(mServiceListener); in removeListener()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java311 private BluetoothProfile.ServiceListener mServiceListener = field in BluetoothTestUtils
1477 adapter.getProfileProxy(mContext, mServiceListener, profile); in connectProxy()