Searched refs:isDeviceConnected (Results 1 – 9 of 9) sorted by relevance
110 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_inCall_addPreference()123 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_notInCall_removePreference()136 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_inCall_removePreference()149 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_notInCall_addPreference()162 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_addPreference()175 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_removePreference()188 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_removePreference()201 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_addPreference()215 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_addPreference()228 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_addPreference()
109 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_notInCall_addPreference()122 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_inCall_removePreference()135 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_notInCall_removePreference()148 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_inCall_addPreference()161 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_addPreference()174 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_removePreference()187 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_removePreference()200 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_addPreference()214 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_inCall_removePreference()228 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hearingAidDeviceConnected_notInCall_removePreference()
203 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isTrue(); in isDeviceConnected_deviceConnected()211 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isFalse(); in isDeviceConnected_deviceNotConnected()
132 public synchronized boolean isDeviceConnected() { in isDeviceConnected() method in MtpDeviceIndex196 if (!isDeviceConnected() || mResults != null) { in getIndexRunnable()
69 if (isDeviceConnected(cachedDevice)) { in isFilterMatched()
308 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()