1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2021 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16--> 17<resources> 18 <!-- 19 Two array below are Network Preferences, that are set per application. 20 If you want to add application to this list, which already installed 21 on your connected device, please use next command: 22 23 $> adb shell 'pm list packages -f' | sed -e 's/.*=//' | sort 24 25 and find you package name. Then insert it into the list below. 26 27 As of current implementation at 02/04/2021, default policy below 28 is being set every time on boot. To set different policy per network 29 you have to implement personal on boot background service. 30 Alternatively, you can define new policy through this 31 (NetworkPreferenceApp) application and then enable automatic on boot 32 applier. 33 --> 34 <!-- 35 Preference: OEM_NETWORK_PREFERENCE_OEM_PAID 36 37 If an unmetered network is available, use it 38 Otherwise, use network with the OEM_PAID capability if available 39 Otherwise, use the general default network 40 --> 41 <string-array name="config_network_preference_oem_paid_apps" translatable="false"> 42 <!-- <item>full.package.name</item> --> 43 <item>com.android.car.settings</item> 44 <item>com.android.vending</item> 45 <item>com.google.android.apps.automotive.inputmethod</item> 46 <item>com.google.android.apps.maps</item> 47 <item>com.google.android.car.setupwizard</item> 48 <item>com.google.android.carassistant</item> 49 <item>com.google.android.configupdater</item> 50 <item>com.google.android.ext.services</item> 51 <item>com.google.android.ext.shared</item> 52 <item>com.google.android.feedback</item> 53 <item>com.google.android.gms</item> 54 <item>com.google.android.googlequicksearchbox</item> 55 <item>com.google.android.gsf</item> 56 <item>com.google.android.marvin.talkback</item> 57 <item>com.google.android.onetimeinitializer</item> 58 <item>com.google.android.packageinstaller</item> 59 <item>com.google.android.partnersetup</item> 60 <item>com.google.android.permissioncontroller</item> 61 <item>com.google.android.trichromelibrary</item> 62 <item>com.google.android.tts</item> 63 <item>com.google.android.webview</item> 64 </string-array> 65 <!-- 66 Preference: OEM_NETWORK_PREFERENCE_OEM_PAID_NO_FALLBACK 67 68 If an unmetered network is available, use it 69 Otherwise, use network with the OEM_PAID capability if available 70 Otherwise, the app doesn't get a network 71 --> 72 <string-array name="config_network_preference_oem_paid_no_fallback_apps" translatable="false"> 73 <!-- <item>full.package.name</item> --> 74 </string-array> 75 <!-- 76 Preference: OEM_NETWORK_PREFERENCE_OEM_PAID_ONLY 77 78 Prefer only NET_CAPABILITY_OEM_PAID networks. 79 --> 80 <string-array name="config_network_preference_oem_paid_only" translatable="false"> 81 <!-- <item>full.package.name</item> --> 82 </string-array> 83 <!-- 84 Preference: OEM_NETWORK_PREFERENCE_OEM_PRIVATE_ONLY 85 86 Prefer only NET_CAPABILITY_OEM_PRIVATE networks. 87 --> 88 <string-array name="config_network_preference_oem_private_only" translatable="false"> 89 <!-- <item>full.package.name</item> --> 90 <item>com.google.android.car.netdbug</item> 91 </string-array> 92</resources> 93