/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 72 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();
|
D | BluetoothAvrcpController.java | 67 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);
|
D | BluetoothA2dpSink.java | 126 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);
|
D | BluetoothPan.java | 121 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);
|
D | BluetoothMap.java | 44 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);
|
D | BluetoothA2dp.java | 113 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);
|
D | BluetoothHealth.java | 463 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);
|
D | BluetoothInputDevice.java | 203 private ServiceListener mServiceListener; field in BluetoothInputDevice 243 mServiceListener = l; in BluetoothInputDevice() 291 mServiceListener = null; in close() 484 if (mServiceListener != null) { 485 … mServiceListener.onServiceConnected(BluetoothProfile.INPUT_DEVICE, BluetoothInputDevice.this); 491 if (mServiceListener != null) { 492 mServiceListener.onServiceDisconnected(BluetoothProfile.INPUT_DEVICE);
|
D | BluetoothHeadset.java | 226 private ServiceListener mServiceListener; field in BluetoothHeadset 264 mServiceListener = l; in BluetoothHeadset() 319 mServiceListener = null; in close() 938 if (mServiceListener != null) { 939 … mServiceListener.onServiceConnected(BluetoothProfile.HEADSET, BluetoothHeadset.this); 945 if (mServiceListener != null) { 946 mServiceListener.onServiceDisconnected(BluetoothProfile.HEADSET);
|
D | BluetoothHeadsetClient.java | 368 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/ |
D | CameraManager.java | 78 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/ |
D | BluetoothTestUtils.java | 310 private BluetoothProfile.ServiceListener mServiceListener = field in BluetoothTestUtils 1476 adapter.getProfileProxy(mContext, mServiceListener, profile); in connectProxy()
|