Home
last modified time | relevance | path

Searched refs:mServiceListener (Results 1 – 12 of 12) 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();
DBluetoothAvrcpController.java67 private ServiceListener mServiceListener; field in BluetoothAvrcpController
107 mServiceListener = l; in BluetoothAvrcpController()
134 mServiceListener = null; in close()
231 if (mServiceListener != null) {
232 mServiceListener.onServiceConnected(BluetoothProfile.AVRCP_CONTROLLER,
239 if (mServiceListener != null) {
240 mServiceListener.onServiceDisconnected(BluetoothProfile.AVRCP_CONTROLLER);
DBluetoothA2dpSink.java126 private ServiceListener mServiceListener; field in BluetoothA2dpSink
165 mServiceListener = l; in BluetoothA2dpSink()
192 mServiceListener = null; in close()
403 if (mServiceListener != null) {
404 mServiceListener.onServiceConnected(BluetoothProfile.A2DP_SINK,
411 if (mServiceListener != null) {
412 mServiceListener.onServiceDisconnected(BluetoothProfile.A2DP_SINK);
DBluetoothPan.java121 private ServiceListener mServiceListener; field in BluetoothPan
132 mServiceListener = l; in BluetoothPan()
178 mServiceListener = null; in close()
358 if (mServiceListener != null) {
359 mServiceListener.onServiceConnected(BluetoothProfile.PAN,
366 if (mServiceListener != null) {
367 mServiceListener.onServiceDisconnected(BluetoothProfile.PAN);
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);
DBluetoothA2dp.java113 private ServiceListener mServiceListener; field in BluetoothA2dp
152 mServiceListener = l; in BluetoothA2dp()
179 mServiceListener = null; in close()
527 if (mServiceListener != null) {
528 mServiceListener.onServiceConnected(BluetoothProfile.A2DP, BluetoothA2dp.this);
534 if (mServiceListener != null) {
535 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.java226 private ServiceListener mServiceListener; field in BluetoothHeadset
264 mServiceListener = l; in BluetoothHeadset()
319 mServiceListener = null; in close()
938 if (mServiceListener != null) {
939mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, BluetoothHeadset.this);
945 if (mServiceListener != null) {
946 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET);
DBluetoothHeadsetClient.java368 private ServiceListener mServiceListener; field in BluetoothHeadsetClient
408 mServiceListener = l; in BluetoothHeadsetClient()
463 mServiceListener = null; in close()
1137 if (mServiceListener != null) {
1138 mServiceListener.onServiceConnected(BluetoothProfile.HEADSET_CLIENT,
1146 if (mServiceListener != null) {
1147 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET_CLIENT);
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java78 private final CameraServiceListener mServiceListener = new CameraServiceListener(); field in CameraManager
137 mServiceListener.updateCallbackLocked(callback, handler); in registerAvailabilityCallback()
615 cameraService.addListener(mServiceListener); in connectCameraServiceLocked()
662 mServiceListener.onStatusChangedLocked(CameraServiceListener.STATUS_PRESENT, in binderDied()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java310 private BluetoothProfile.ServiceListener mServiceListener = field in BluetoothTestUtils
1476 adapter.getProfileProxy(mContext, mServiceListener, profile); in connectProxy()