Searched refs:mCurrentDevice (Results 1 – 5 of 5) sorted by relevance
164 mCurrentDevice = null; in tearDown()243 mCurrentDevice); in testConnectDevice_connectDeviceBelowLimit()244 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectDevice_connectDeviceBelowLimit()281 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testMessageFromNative_deviceConnected()369 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectDevice_connectDeviceAboveLimit()408 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_withOneDevice()475 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_withMultipleDevices()551 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_connectTwoAudioChannelsShouldFail()678 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testConnectAudio_deviceDisconnected()737 when(mStateMachines.get(mCurrentDevice).getDevice()).thenReturn(mCurrentDevice); in testPhoneStateChange_oneDeviceSaveState()[all …]
88 private SingleDeviceLifecycle mCurrentDevice; field in MultiCameraDeviceLifecycle251 if (mCurrentDevice != null) { in shutdown()260 mCurrentDevice.close(); in shutdown()290 if (mCurrentDevice == null) { in openDevice()293 mCurrentDevice = deviceLifecycle; in openDevice()307 mCurrentDevice.close(); in openDevice()366 (mCurrentDevice == null || (mCurrentDevice.getId().equals(key)))) { in onCameraDeviceShutdown()370 mCurrentDevice = null; in onCameraDeviceShutdown()372 } if (mCurrentDevice != null && mCurrentDevice.getId().equals(key)) { in onCameraDeviceShutdown()380 mCurrentDevice.open(); in onCameraDeviceShutdown()[all …]
180 private BluetoothDevice mCurrentDevice = null; field in HeadsetClientStateMachine204 if (mCurrentDevice == null) return; in dump()845 if (mCurrentDevice != null) { in doQuit()917 mCurrentDevice = null; in enter()924 if (mCurrentDevice != null) { in processMessage()940 mCurrentDevice = device; in processMessage()973 mCurrentDevice = device; in processConnectionEvent()1182 if (mCurrentDevice == null) { in processMessage()1669 if (mCurrentDevice == null) { in processMessage()1929 if (mCurrentDevice == null || !mCurrentDevice.equals(device)) { in getAudioState()[all …]
99 private final BluetoothDevice mCurrentDevice; field in PbapClientStateMachine112 mCurrentDevice = device; in PbapClientStateMachine()132 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()147 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()151 mCurrentDevice.sdpSearch(BluetoothUuid.PBAP_PSE); in enter()163 .setRemoteDevice(mCurrentDevice) in enter()177 mCurrentDevice)) { in processMessage()254 onConnectionStateChanged(mCurrentDevice, mMostRecentState, in enter()369 mService.cleanupDevice(mCurrentDevice); in onQuitting()410 if (device.equals(mCurrentDevice)) { in getConnectionState()[all …]
58 BluetoothDevice mCurrentDevice = null; field in AvrcpVolumeManager216 if (mCurrentDevice == null) { in onAudioDevicesAdded()233 d("Didn't find deferred device in list: device=" + mCurrentDevice); in onAudioDevicesAdded()240 if (!mDeviceMap.containsKey(mCurrentDevice)) { in onAudioDevicesAdded()241 Log.w(TAG, "volumeDeviceSwitched: Device isn't connected: " + mCurrentDevice); in onAudioDevicesAdded()245 switchVolumeDevice(mCurrentDevice); in onAudioDevicesAdded()255 if (device.equals(mCurrentDevice)) { in deviceConnected()261 d("volumeDeviceSwitched: mCurrentDevice=" + mCurrentDevice + " device=" + device); in volumeDeviceSwitched()263 if (Objects.equals(device, mCurrentDevice)) { in volumeDeviceSwitched()268 mCurrentDevice = device; in volumeDeviceSwitched()[all …]