Searched refs:isVirtual (Results 1 – 15 of 15) sorted by relevance
81 when(mInputDevice.isVirtual()).thenReturn(false); in getAvailabilityStatus_hasDeviceWithVibrator_shouldReturnAvailable()91 when(mInputDevice.isVirtual()).thenReturn(false); in getAvailabilityStatus_hasNoVibratingDevice_shouldReturnDisabled()101 when(mInputDevice.isVirtual()).thenReturn(true); in getAvailabilityStatus_hasNoPhysicalDevice_shouldReturnDisabled()
99 when(device.isVirtual()).thenReturn(false); in updateState_hasKeyboard_setSummaryToKeyboardName()
73 final boolean isVirtual = (docFlags & Document.FLAG_VIRTUAL_DOCUMENT) != 0; in isDocumentEnabled()74 if (isVirtual && state.openableOnly) { in isDocumentEnabled()
40 public static final Predicate<Cursor> VIRTUAL = DocumentFilters::isVirtual;74 private static final boolean isVirtual(Cursor c) { in isVirtual() method in DocumentFilters
226 + ", isVirtual=" + isVirtual() in toString()297 public boolean isVirtual() { in isVirtual() method in DocumentInfo
368 if (src.isVirtual()) { in byteCopyDocument()515 if (src.isVirtual()) { in copyFileHelper()614 if (src.isVirtual()) { in copyFileHelper()
174 if (src.isVirtual()) { in processDocument()
47 .append("virtual: " + doc.isVirtual()).append("\n") in update()
74 if (device != null && !device.isVirtual() && device.getVibrator().hasVibrator()) { in getAvailabilityStatus()
272 if (device == null || device.isVirtual() || !device.isFullKeyboard()) { in getHardKeyboards()
83 put(R.string.debug_is_virtual, info.isVirtual()); in accept()
219 return device != null && !device.isVirtual() && in isFullPhysicalKeyboard()
199 if (!device.isVirtual() && isCompatible) { in hasValidInputDevice()