Searched refs:getDeviceFilterFromXml (Results 1 – 1 of 1) sorted by relevance
128 DeviceFilter deviceFilter = getDeviceFilterFromXml("<usb-device interface-name=\"MTP\"/>"); in testReadFromXml_interfaceNamePresent_propertyIsInitialized()135 DeviceFilter deviceFilter = getDeviceFilterFromXml("<usb-device vendor-id=\"1\" />"); in testReadFromXml_interfaceNameAbsent_propertyIsNull()142 DeviceFilter deviceFilter = getDeviceFilterFromXml("<usb-device interface-name=\"MTP\"/>"); in testWrite_withInterfaceName()152 DeviceFilter deviceFilter = getDeviceFilterFromXml("<usb-device vendor-id=\"1\" />"); in testWrite_withoutInterfaceName()175 DeviceFilter deviceFilter = getDeviceFilterFromXml( in testMatch_interfaceNameMatches_returnTrue()193 DeviceFilter deviceFilter = getDeviceFilterFromXml( in testMatch_interfaceNameMismatch_returnFalse()212 DeviceFilter deviceFilter = getDeviceFilterFromXml( in testMatch_interfaceNameMismatchFlagDisabled_returnTrue()239 private DeviceFilter getDeviceFilterFromXml(String xml) throws Exception { in getDeviceFilterFromXml() method in DeviceFilterTest