Searched refs:isDeviceConnected (Results 1 – 12 of 12) sorted by relevance
103 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_inCall_addPreference()116 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_notInCall_removePreference()129 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_inCall_removePreference()142 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_notInCall_addPreference()155 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_addPreference()168 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_removePreference()181 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_removePreference()194 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_addPreference()208 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_addPreference()221 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_addPreference()
103 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_notInCall_addPreference()116 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_inCall_removePreference()129 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_notInCall_removePreference()142 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_inCall_addPreference()155 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_addPreference()168 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_removePreference()181 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_removePreference()194 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_addPreference()208 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_removePreference()222 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_removePreference()
190 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isTrue(); in isDeviceConnected_deviceConnected()198 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isFalse(); in isDeviceConnected_deviceNotConnected()
132 public synchronized boolean isDeviceConnected() { in isDeviceConnected() method in MtpDeviceIndex196 if (!isDeviceConnected() || mResults != null) { in getIndexRunnable()
67 if (isDeviceConnected(cachedDevice)) { in isFilterMatched()
287 public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected() method in BluetoothDeviceUpdater
277 public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected() method in BluetoothDeviceUpdater
87 public static boolean isDeviceConnected(UsbManager usbManager, UsbDevice device) { in isDeviceConnected() method in UsbUtil
80 return (mModel != null) && mModel.isDeviceConnected(); in deviceConnected()