Home
last modified time | relevance | path

Searched refs:mCurrentDevice (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java107 private BluetoothDevice mCurrentDevice = null; field in A2dpStateMachine
270 if (mCurrentDevice != null || mTargetDevice != null || mIncomingDevice != null) { in enter()
272 + mCurrentDevice + " target = " + mTargetDevice + " incoming = " in enter()
280 if (mCurrentDevice != null || mTargetDevice != null || mIncomingDevice != null) { in processMessage()
281 loge("ERROR: not null state in Disconnected: current = " + mCurrentDevice in processMessage()
283 mCurrentDevice = null; in processMessage()
362 mCurrentDevice = device; in processConnectionEvent()
386 loge("ERROR: enter() inconsistent state in Pending: current = " + mCurrentDevice in enter()
406 if (mCurrentDevice != null && mTargetDevice != null && in processMessage()
440 if ((mCurrentDevice != null) && mCurrentDevice.equals(device)) { in processConnectionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java119 private BluetoothDevice mCurrentDevice = null; field in A2dpSinkStateMachine
178 ProfileService.println(sb, "mCurrentDevice: " + mCurrentDevice); in dump()
193 if (mCurrentDevice != null || mTargetDevice != null || mIncomingDevice != null) { in processMessage()
275 mCurrentDevice = device; in processConnectionEvent()
315 if (mCurrentDevice != null && mTargetDevice != null && in processMessage()
352 log("Devices curr: " + mCurrentDevice + " target: " + mTargetDevice + in processConnectionEvent()
357 if ((mCurrentDevice != null) && mCurrentDevice.equals(device)) { in processConnectionEvent()
358 broadcastConnectionState(mCurrentDevice, in processConnectionEvent()
362 mCurrentDevice = null; in processConnectionEvent()
402 if ((mCurrentDevice != null) && mCurrentDevice.equals(device)) { in processConnectionEvent()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java155 private BluetoothDevice mCurrentDevice = null; field in HeadsetClientStateMachine
167 ProfileService.println(sb, "mCurrentDevice: " + mCurrentDevice); in dump()
251 NativeInterface.queryCurrentCallsNative(getByteAddress(mCurrentDevice)); in queryCallsStart()
397 mCurrentDevice, id, state, number, multiParty, outgoing)); in queryCallsUpdate()
485 if (NativeInterface.handleCallActionNative(getByteAddress(mCurrentDevice), action, 0)) { in acceptCall()
532 if (NativeInterface.handleCallActionNative(getByteAddress(mCurrentDevice), action, 0)) { in rejectCall()
563 if (NativeInterface.handleCallActionNative(getByteAddress(mCurrentDevice), action, 0)) { in holdCall()
582 if (NativeInterface.handleCallActionNative(getByteAddress(mCurrentDevice), action, 0)) { in terminateCall()
601 if (NativeInterface.handleCallActionNative(getByteAddress(mCurrentDevice), in enterPrivateMode()
619 if (NativeInterface.handleCallActionNative(getByteAddress(mCurrentDevice), in explicitCallTransfer()
[all …]
/packages/apps/Camera2/src/com/android/camera/device/
DMultiCameraDeviceLifecycle.java88 private SingleDeviceLifecycle mCurrentDevice; field in MultiCameraDeviceLifecycle
251 if (mCurrentDevice != null) { in shutdown()
260 mCurrentDevice.close(); in shutdown()
290 if (mCurrentDevice == null) { in openDevice()
293 mCurrentDevice = deviceLifecycle; in openDevice()
297 } else if (mCurrentDevice.getId().equals(key)) { in openDevice()
300 (SingleDeviceLifecycle<TDevice, CameraDeviceKey>) mCurrentDevice; in openDevice()
307 mCurrentDevice.close(); in openDevice()
366 (mCurrentDevice == null || (mCurrentDevice.getId().equals(key)))) { in onCameraDeviceShutdown()
370 mCurrentDevice = null; in onCameraDeviceShutdown()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java96 private final BluetoothDevice mCurrentDevice; field in PbapClientStateMachine
109 mCurrentDevice = device; in PbapClientStateMachine()
129 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
142 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
146 mCurrentDevice.sdpSearch(BluetoothUuid.PBAP_PSE); in enter()
158 .setRemoteDevice(mCurrentDevice) in enter()
170 && message.obj.equals(mCurrentDevice)) { in processMessage()
244 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
287 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()
302 ((BluetoothDevice) message.obj).equals(mCurrentDevice)) { in processMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java192 private BluetoothDevice mCurrentDevice = null; field in HeadsetStateMachine
310 ProfileService.println(sb, "mCurrentDevice: " + mCurrentDevice); in dump()
441 mCurrentDevice = device; in processConnectionEvent()
488 if (mCurrentDevice != null && mTargetDevice != null in processMessage()
557 mCurrentDevice = null; in processConnectionEvent()
626 mCurrentDevice = device; in processConnectionEvent()
638 mCurrentDevice = device; in processConnectionEvent()
655 mCurrentDevice = device; in processConnectionEvent()
671 if ((mCurrentDevice != null) && mCurrentDevice.equals(device)) { in processConnectionEvent()
690 if ((mCurrentDevice != null) && mCurrentDevice.equals(device)) { in processConnectionEvent()
[all …]