Home
last modified time | relevance | path

Searched refs:deviceFilter (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/
DDeviceFilterTest.java85 DeviceFilter deviceFilter = new DeviceFilter( in testConstructorFromValues_interfaceNameIsInitialized() local
90 verifyDeviceFilterConfigurationExceptInterfaceName(deviceFilter); in testConstructorFromValues_interfaceNameIsInitialized()
91 assertThat(deviceFilter.mInterfaceName).isEqualTo(INTERFACE_NAME); in testConstructorFromValues_interfaceNameIsInitialized()
106 DeviceFilter deviceFilter = new DeviceFilter(usbDevice); in testConstructorFromUsbDevice_interfaceNameIsNull() local
108 verifyDeviceFilterConfigurationExceptInterfaceName(deviceFilter); in testConstructorFromUsbDevice_interfaceNameIsNull()
109 assertThat(deviceFilter.mInterfaceName).isEqualTo(null); in testConstructorFromUsbDevice_interfaceNameIsNull()
119 DeviceFilter deviceFilter = new DeviceFilter(originalDeviceFilter); in testConstructorFromDeviceFilter_interfaceNameIsInitialized() local
121 verifyDeviceFilterConfigurationExceptInterfaceName(deviceFilter); in testConstructorFromDeviceFilter_interfaceNameIsInitialized()
122 assertThat(deviceFilter.mInterfaceName).isEqualTo(INTERFACE_NAME); in testConstructorFromDeviceFilter_interfaceNameIsInitialized()
128 DeviceFilter deviceFilter = getDeviceFilterFromXml("<usb-device interface-name=\"MTP\"/>"); in testReadFromXml_interfaceNamePresent_propertyIsInitialized() local
[all …]
/frameworks/base/core/java/android/companion/
DAssociationRequest.java393 public Builder addDeviceFilter(@Nullable DeviceFilter<?> deviceFilter) { in addDeviceFilter() argument
395 if (deviceFilter != null) { in addDeviceFilter()
396 mDeviceFilters = ArrayUtils.add(mDeviceFilters, deviceFilter); in addDeviceFilter()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...