/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | ConnectedBluetoothDeviceUpdaterTest.java | 126 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_notInCall_addPreference() 138 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_hfpDeviceConnected_inCall_removePreference() 150 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_notInCall_removePreference() 162 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onAudioModeChanged_a2dpDeviceConnected_inCall_addPreference() 174 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_addPreference() 187 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_deviceIsNotInList_inCall_invokesRemovePreference() 201 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_removePreference() 214 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_removePreference() 227 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_addPreference() 241 isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in onProfileConnectionStateChanged_ashaHearingAidConnected_inCall_removePreference() [all …]
|
D | AvailableMediaBluetoothDeviceUpdaterTest.java | 142 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onAudioModeChanged_hfpDeviceConnected_inCall_addPreference() 154 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onAudioModeChanged_hfpDeviceConnected_notInCall_removePreference() 166 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onAudioModeChanged_a2dpDeviceConnected_inCall_removePreference() 178 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onAudioModeChanged_a2dpDeviceConnected_notInCall_addPreference() 190 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onProfileConnectionStateChanged_a2dpDeviceConnected_notInCall_addPreference() 203 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onProfileConnectionStateChanged_a2dpDeviceConnected_inCall_removePreference() 216 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onProfileConnectionStateChanged_hfpDeviceConnected_notInCall_removePreference() 229 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onProfileConnectionStateChanged_hfpDeviceConnected_inCall_addPreference() 242 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onProfileConnectionStateChanged_ashaHearingAidConnected_notInCall_addPreference() 257 when(mBluetoothDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))) in onProfileConnectionStateChanged_ashaHearingAidConnected_inCall_addPreference() [all …]
|
D | BluetoothDeviceUpdaterTest.java | 190 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isTrue(); in isDeviceConnected_deviceConnected() 198 assertThat(mBluetoothDeviceUpdater.isDeviceConnected(mCachedBluetoothDevice)).isFalse(); in isDeviceConnected_deviceNotConnected()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AvailableHearingDeviceUpdater.java | 40 && isDeviceConnected(cachedDevice) in isFilterMatched()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingBluetoothDeviceUpdater.java | 53 if (isDeviceConnected(cachedDevice) && isDeviceInCachedDevicesList(cachedDevice)) { in isFilterMatched()
|
D | AudioSharingDeviceVolumeControlUpdater.java | 64 if (isDeviceConnected(cachedDevice) && isDeviceInCachedDevicesList(cachedDevice)) { in isFilterMatched()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpDeviceIndex.java | 132 public synchronized boolean isDeviceConnected() { in isDeviceConnected() method in MtpDeviceIndex 196 if (!isDeviceConnected() || mResults != null) { in getIndexRunnable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/audiosharing/ |
D | AudioSharingBluetoothDeviceUpdaterTest.java | 215 when(mDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(false); in onProfileConnectionStateChanged_leaDeviceDisconnected_removesPref() 281 when(mDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in setupPreferenceMapWithDevice()
|
D | AudioSharingDeviceVolumeControlUpdaterTest.java | 207 when(mDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(false); in onProfileConnectionStateChanged_leaDeviceDisconnected_removesPref() 365 when(mDeviceUpdater.isDeviceConnected(any(CachedBluetoothDevice.class))).thenReturn(true); in setupPreferenceMapWithDevice()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | ConnectedBluetoothDeviceUpdater.java | 70 if (isDeviceConnected(cachedDevice) && isDeviceInCachedDevicesList(cachedDevice)) { in isFilterMatched()
|
D | AvailableMediaBluetoothDeviceUpdater.java | 73 if (isDeviceConnected(cachedDevice) && isDeviceInCachedDevicesList(cachedDevice)) { in isFilterMatched()
|
D | BluetoothDeviceUpdater.java | 313 public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { in isDeviceConnected() method in BluetoothDeviceUpdater
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbUtil.java | 81 public static boolean isDeviceConnected(UsbManager usbManager, UsbDevice device) { in isDeviceConnected() method in UsbUtil
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/adapter/ |
D | MtpAdapter.java | 80 return (mModel != null) && mModel.isDeviceConnected(); in deviceConnected()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/ |
D | MediaControlGattService.java | 1247 public boolean isDeviceConnected(BluetoothDevice device) { in isDeviceConnected() method in MediaControlGattService.BluetoothGattServerProxy 1821 if (!mBluetoothGattServer.isDeviceConnected(device)) return; in notifyCharacteristic()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/ |
D | MediaControlGattServiceTest.java | 121 doReturn(true).when(mMockGattServer).isDeviceConnected(eq(mCurrentDevice)); in prepareConnectedDevice()
|