Home
last modified time | relevance | path

Searched refs:isDeviceConnected (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdaterTest.java103 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()
DConnectedBluetoothDeviceUpdaterTest.java103 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()
DBluetoothDeviceUpdaterTest.java190 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isTrue(); in isDeviceConnected_deviceConnected()
198 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isFalse(); in isDeviceConnected_deviceNotConnected()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java132 public synchronized boolean isDeviceConnected() { in isDeviceConnected() method in MtpDeviceIndex
196 if (!isDeviceConnected() || mResults != null) { in getIndexRunnable()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java67 if (isDeviceConnected(cachedDevice)) { in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java67 if (isDeviceConnected(cachedDevice)) { in isFilterMatched()
DBluetoothDeviceUpdater.java287 public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected() method in BluetoothDeviceUpdater
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DAvailableMediaBluetoothDeviceUpdater.java67 if (isDeviceConnected(cachedDevice)) { in isFilterMatched()
DConnectedBluetoothDeviceUpdater.java67 if (isDeviceConnected(cachedDevice)) { in isFilterMatched()
DBluetoothDeviceUpdater.java277 public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected() method in BluetoothDeviceUpdater
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbUtil.java87 public static boolean isDeviceConnected(UsbManager usbManager, UsbDevice device) { in isDeviceConnected() method in UsbUtil
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/
DMtpAdapter.java80 return (mModel != null) && mModel.isDeviceConnected(); in deviceConnected()