1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2021 Google Inc. 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16<dynamicConfig> 17 <entry key ="expected_failures"> 18 <!-- 19 ! Each value in this section identifies an expected failure and is of the 20 ! form: 21 ! <failure-type>:<signature of class/member> 22 ! 23 ! These entries are loaded by AnnotationTest which uses them to construct 24 ! an ExpectedFailuresFilter which discards them. 25 ! 26 ! e.g. If the test fails with the following error message: 27 ! repackaged.junit.framework.AssertionFailedError: 28 ! extra_class: android.media.MediaParceledListSlice Error: Class annotated with android.annotation.SystemApi does not exist in the documented API 29 ! extra_class: android.media.MediaFrameworkInitializer Error: Class annotated with android.annotation.SystemApi does not exist in the documented API 30 ! extra_interface: android.media.MediaCommunicationManager$SessionCallback Error: Class annotated with android.annotation.SystemApi does not exist in the documented API 31 ! extra_class: android.media.MediaTranscodingManager Error: Class annotated with android.annotation.SystemApi does not exist in the documented API 32 ! ClassLoader hierarchy 33 ! 34 ! The first step is to check that the extra classes are expected (e.g. 35 ! because they have been annotated with the @SystemApi since this version 36 ! of the CTS tests were released and the tests are being run on an 37 ! Android system with a version of the mainline modules that includes 38 ! those changes. 39 ! 40 ! If they are not expected then this must be caused by a partner 41 ! inadvertently adding something to the @SystemApi so the correct 42 ! response is for them to stop doing that. 43 ! 44 ! If they are expected then additional entries should be added to this 45 ! section. That simply requires copying each error message into their own 46 ! <value></value> element and then removing the whitespace after the 47 ! first : and also removing the trailing " Error: ..." part (including 48 ! the leading white space). 49 ! 50 ! See below for some examples. 51 !--> 52 <!-- Bug: 204520502 --> 53 <value>extra_class:android.media.MediaParceledListSlice</value> 54 <value>extra_class:android.media.MediaFrameworkInitializer</value> 55 <value>extra_interface:android.media.MediaCommunicationManager$SessionCallback</value> 56 <value>extra_class:android.media.MediaTranscodingManager</value> 57 <!-- Bug: 202684112 --> 58 <value>extra_class:android.net.TetheringInterface</value> 59 <value>extra_field:public static final java.lang.String android.provider.MediaStore.QUERY_ARG_DEFER_SCAN</value> 60 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_IS_UID</value> 61 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_TRUNCATE_TIMESTAMP</value> 62 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_DEFAULT_STATE</value> 63 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_PRIMARY_FIELD</value> 64 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_TRIGGER_STATE_RESET</value> 65 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_EXCLUSIVE_STATE</value> 66 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_PRIMARY_FIELD_FIRST_UID</value> 67 <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_STATE_NESTED</value> 68 <!-- Bug: 202968174 --> 69 <value>extra_interface:android.net.wifi.WifiManager$WifiVerboseLoggingStatusChangedListener</value> 70 <value>extra_class:android.net.wifi.WifiConnectedSessionInfo</value> 71 <value>extra_class:android.net.wifi.WifiManager$CoexCallback</value> 72 <value>extra_class:android.net.wifi.CoexUnsafeChannel</value> 73 <value>extra_class:android.net.wifi.WifiAvailableChannel</value> 74 <value>extra_method:public int android.net.wifi.WifiNetworkSuggestion.getCarrierId()</value> 75 <value>extra_method:public boolean android.net.wifi.WifiNetworkSuggestion.isOemPaid()</value> 76 <value>extra_method:public boolean android.net.wifi.WifiNetworkSuggestion.isOemPrivate()</value> 77 <value>extra_method:public java.util.List android.net.wifi.rtt.RangingRequest.getRttResponders()</value> 78 <value>extra_method:public boolean android.net.wifi.WifiInfo.isCarrierMerged()</value> 79 <value>extra_method:public boolean android.net.wifi.WifiInfo.isOemPrivate()</value> 80 <value>extra_method:public boolean android.net.wifi.WifiInfo.isPrimary()</value> 81 <value>extra_method:public boolean android.net.wifi.WifiInfo.isTrusted()</value> 82 <value>extra_method:public boolean android.net.wifi.WifiInfo.isOemPaid()</value> 83 <value>extra_method:public int android.net.wifi.SoftApConfiguration.getMacRandomizationSetting()</value> 84 <value>extra_method:public boolean android.net.wifi.SoftApConfiguration.isUserConfiguration()</value> 85 <value>extra_method:public android.util.SparseIntArray android.net.wifi.SoftApConfiguration.getChannels()</value> 86 <value>extra_method:public boolean android.net.wifi.SoftApConfiguration.isBridgedModeOpportunisticShutdownEnabled()</value> 87 <value>extra_method:public boolean android.net.wifi.SoftApConfiguration.isIeee80211axEnabled()</value> 88 <value>extra_method:public int android.net.wifi.WifiConfiguration.getDeletionPriority()</value> 89 <value>extra_method:public java.lang.String android.net.wifi.WifiConfiguration.getProfileKey()</value> 90 <value>extra_method:public void android.net.wifi.WifiConfiguration.setDeletionPriority(int) throws java.lang.IllegalArgumentException</value> 91 <value>extra_method:public void android.net.wifi.aware.WifiAwareManager.enableInstantCommunicationMode(boolean)</value> 92 <value>extra_method:public void android.net.wifi.EasyConnectStatusCallback.onBootstrapUriGenerated(android.net.Uri)</value> 93 <value>extra_method:public void android.net.wifi.WifiManager.setCarrierNetworkOffloadEnabled(int,boolean,boolean)</value> 94 <value>extra_method:public void android.net.wifi.WifiManager.setCoexUnsafeChannels(java.util.List,int)</value> 95 <value>extra_method:public void android.net.wifi.WifiManager.unregisterCoexCallback(android.net.wifi.WifiManager$CoexCallback)</value> 96 <value>extra_method:public void android.net.wifi.WifiManager.removeAppState(int,java.lang.String)</value> 97 <value>extra_method:public static int android.net.wifi.WifiManager.getEasyConnectMaxAllowedResponderDeviceInfoLength()</value> 98 <value>extra_method:public void android.net.wifi.WifiManager.stopRestrictingAutoJoinToSubscriptionId()</value> 99 <value>extra_method:public void android.net.wifi.WifiManager.setDefaultCountryCode(java.lang.String)</value> 100 <value>extra_method:public void android.net.wifi.WifiManager.addWifiVerboseLoggingStatusChangedListener(java.util.concurrent.Executor,android.net.wifi.WifiManager$WifiVerboseLoggingStatusChangedListener)</value> 101 <value>extra_method:public boolean android.net.wifi.WifiManager.isStaConcurrencyForRestrictedConnectionsSupported()</value> 102 <value>extra_method:public java.util.List android.net.wifi.WifiManager.getAllowedChannels(int,int)</value> 103 <value>extra_method:public void android.net.wifi.WifiManager.clearOverrideCountryCode()</value> 104 <value>extra_method:public void android.net.wifi.WifiManager.startRestrictingAutoJoinToSubscriptionId(int)</value> 105 <value>extra_method:public void android.net.wifi.WifiManager.restartWifiSubsystem()</value> 106 <value>extra_method:public void android.net.wifi.WifiManager.removeWifiVerboseLoggingStatusChangedListener(android.net.wifi.WifiManager$WifiVerboseLoggingStatusChangedListener)</value> 107 <value>extra_method:public int android.net.wifi.WifiManager.getVerboseLoggingLevel()</value> 108 <value>extra_method:public java.util.List android.net.wifi.WifiManager.getUsableChannels(int,int)</value> 109 <value>extra_method:public void android.net.wifi.WifiManager.setVerboseLoggingLevel(int)</value> 110 <value>extra_method:public void android.net.wifi.WifiManager.setOverrideCountryCode(java.lang.String)</value> 111 <value>extra_method:public boolean android.net.wifi.WifiManager.setWifiScoringEnabled(boolean)</value> 112 <value>extra_method:public void android.net.wifi.WifiManager.startEasyConnectAsEnrolleeResponder(java.lang.String,int,java.util.concurrent.Executor,android.net.wifi.EasyConnectStatusCallback)</value> 113 <value>extra_method:public void android.net.wifi.WifiManager.registerCoexCallback(java.util.concurrent.Executor,android.net.wifi.WifiManager$CoexCallback)</value> 114 <value>extra_method:public android.net.wifi.WifiNetworkSuggestion$Builder android.net.wifi.WifiNetworkSuggestion$Builder.setOemPrivate(boolean)</value> 115 <value>extra_method:public android.net.wifi.WifiNetworkSuggestion$Builder android.net.wifi.WifiNetworkSuggestion$Builder.setOemPaid(boolean)</value> 116 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_MBO_ASSOC_DISALLOWED_AUTH_SERVER_OVERLOADED</value> 117 <value>extra_field:public boolean android.net.wifi.WifiConfiguration.carrierMerged</value> 118 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_DISCONNECTION_AP_BUSY</value> 119 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_OCE_RSSI_BASED_ASSOCIATION_REJECTION</value> 120 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_POOR_CHANNEL_CONDITIONS</value> 121 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_MBO_ASSOC_DISALLOWED_INSUFFICIENT_RSSI</value> 122 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_REFUSED_TEMPORARILY</value> 123 <value>extra_field:public int android.net.wifi.WifiConfiguration.lastConnectUid</value> 124 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RANDOMIZATION_AUTO</value> 125 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_MBO_ASSOC_DISALLOWED_MAX_NUM_STA_ASSOCIATED</value> 126 <value>extra_field:public int android.net.wifi.WifiConfiguration.subscriptionId</value> 127 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RANDOMIZATION_NON_PERSISTENT</value> 128 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_MBO_ASSOC_DISALLOWED_UNSPECIFIED</value> 129 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_NETWORK_NOT_FOUND</value> 130 <value>extra_field:public static final int android.net.wifi.WifiConfiguration.RECENT_FAILURE_MBO_ASSOC_DISALLOWED_AIR_INTERFACE_OVERLOADED</value> 131 <value>extra_field:public static final int android.net.wifi.ScanResult.CIPHER_BIP_GMAC_128</value> 132 <value>extra_field:public static final int android.net.wifi.ScanResult.CIPHER_GCMP_128</value> 133 <value>extra_field:public static final int android.net.wifi.ScanResult.CIPHER_BIP_CMAC_256</value> 134 <value>extra_field:public static final int android.net.wifi.ScanResult.CIPHER_BIP_GMAC_256</value> 135 <value>extra_field:public static final int android.net.wifi.WifiManager.EASY_CONNECT_CRYPTOGRAPHY_CURVE_BRAINPOOLP384R1</value> 136 <value>extra_field:public static final int android.net.wifi.WifiManager.EASY_CONNECT_CRYPTOGRAPHY_CURVE_BRAINPOOLP512R1</value> 137 <value>extra_field:public static final int android.net.wifi.WifiManager.VERBOSE_LOGGING_LEVEL_ENABLED</value> 138 <value>extra_field:public static final int android.net.wifi.WifiManager.EASY_CONNECT_CRYPTOGRAPHY_CURVE_BRAINPOOLP256R1</value> 139 <value>extra_field:public static final int android.net.wifi.WifiManager.VERBOSE_LOGGING_LEVEL_DISABLED</value> 140 <value>extra_field:public static final java.lang.String android.net.wifi.WifiManager.ACTION_REFRESH_USER_PROVISIONING</value> 141 <value>extra_field:public static final int android.net.wifi.WifiManager.EASY_CONNECT_CRYPTOGRAPHY_CURVE_PRIME256V1</value> 142 <value>extra_field:public static final int android.net.wifi.WifiManager.COEX_RESTRICTION_SOFTAP</value> 143 <value>extra_field:public static final int android.net.wifi.WifiManager.EASY_CONNECT_CRYPTOGRAPHY_CURVE_SECP521R1</value> 144 <value>extra_field:public static final int android.net.wifi.WifiManager.VERBOSE_LOGGING_LEVEL_ENABLED_SHOW_KEY</value> 145 <value>extra_field:public static final int android.net.wifi.WifiManager.COEX_RESTRICTION_WIFI_AWARE</value> 146 <value>extra_field:public static final int android.net.wifi.WifiManager.EASY_CONNECT_CRYPTOGRAPHY_CURVE_SECP384R1</value> 147 <value>extra_field:public static final int android.net.wifi.WifiManager.COEX_RESTRICTION_WIFI_DIRECT</value> 148 <value>extra_field:public static final int android.net.wifi.SoftApConfiguration.BAND_60GHZ</value> 149 <value>extra_field:public static final int android.net.wifi.SoftApConfiguration.RANDOMIZATION_PERSISTENT</value> 150 <value>extra_field:public static final int android.net.wifi.SoftApConfiguration.RANDOMIZATION_NONE</value> 151 </entry> 152</dynamicConfig> 153