- Extract common part of MDNSFilterPlugin to common utils, MDNSFilteredDiscovery.java (other vendors can use it too) - Refactor Samsung Print Recomendation Plugin to use MDNSFilteredDiscovery.java - Add Mopria devices detection to Samsung Print Recomendation Plugin *Samsung Print Service Plugin supports Mopria printers since v3.00.161011. Test: Tested manually. Test app was developed to make sure that Samsung Print Recommendation plugin can find both Samsung and Mopria devices. Additionally MDNSFilterPlugin was tested on HP printers. Change-Id: Idc0d311171495f879564336370a86f7a8890378b
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2016 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<resources>
|
|
<string name="app_label">Print Service Recommendation Service</string>
|
|
|
|
<!-- HP / Mopria plugin -->
|
|
<string-array name="known_print_vendor_info_for_mopria" translatable="false">
|
|
<item>org.mopria.printplugin</item>
|
|
<item>WFDS</item>
|
|
<!-- no specific mDNS values to list -->
|
|
</string-array>
|
|
|
|
<string-array name="known_print_vendor_info_for_hp" translatable="false">
|
|
<item>com.hp.android.printservice</item>
|
|
<item>HP</item>
|
|
<!-- HP has used these values in mDNS records over the years -->
|
|
<item>HP</item>
|
|
<item>Hewlett-Packard</item>
|
|
<item>Hewlett Packard</item>
|
|
</string-array>
|
|
|
|
<!-- Xerox plugin -->
|
|
<string-array name="known_print_vendor_info_for_xerox" translatable="false">
|
|
<item>com.xerox.printservice</item>
|
|
<item>Xerox</item>
|
|
<item>Xerox</item>
|
|
</string-array>
|
|
|
|
<array name="known_print_plugin_vendors" translatable="false">
|
|
<item>@array/known_print_vendor_info_for_mopria</item>
|
|
<item>@array/known_print_vendor_info_for_hp</item>
|
|
</array>
|
|
|
|
<!-- Samsung plugin -->
|
|
<string name="plugin_package_samsung">com.sec.app.samsungprintservice</string>
|
|
</resources>
|