Searched refs:deviceFilter (Results 1 – 3 of 3) sorted by relevance
85 DeviceFilter deviceFilter = new DeviceFilter( in testConstructorFromValues_interfaceNameIsInitialized() local90 verifyDeviceFilterConfigurationExceptInterfaceName(deviceFilter); in testConstructorFromValues_interfaceNameIsInitialized()91 assertThat(deviceFilter.mInterfaceName).isEqualTo(INTERFACE_NAME); in testConstructorFromValues_interfaceNameIsInitialized()106 DeviceFilter deviceFilter = new DeviceFilter(usbDevice); in testConstructorFromUsbDevice_interfaceNameIsNull() local108 verifyDeviceFilterConfigurationExceptInterfaceName(deviceFilter); in testConstructorFromUsbDevice_interfaceNameIsNull()109 assertThat(deviceFilter.mInterfaceName).isEqualTo(null); in testConstructorFromUsbDevice_interfaceNameIsNull()119 DeviceFilter deviceFilter = new DeviceFilter(originalDeviceFilter); in testConstructorFromDeviceFilter_interfaceNameIsInitialized() local121 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 …]
393 public Builder addDeviceFilter(@Nullable DeviceFilter<?> deviceFilter) { in addDeviceFilter() argument395 if (deviceFilter != null) { in addDeviceFilter()396 mDeviceFilters = ArrayUtils.add(mDeviceFilters, deviceFilter); in addDeviceFilter()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...