| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2021 Google Inc. |
| |
| 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. |
| --> |
| <dynamicConfig> |
| <entry key ="expected_failures"> |
| <!-- |
| ! Each value in this section identifies an expected failure and is of the |
| ! form: |
| ! <failure-type>:<signature of class/member> |
| ! |
| ! These entries are loaded by AnnotationTest which uses them to construct |
| ! an ExpectedFailuresFilter which discards them. |
| ! |
| ! e.g. If the test fails with the following error message: |
| ! repackaged.junit.framework.AssertionFailedError: |
| ! extra_class: android.media.MediaParceledListSlice Error: Class annotated with android.annotation.SystemApi does not exist in the documented API |
| ! extra_class: android.media.MediaFrameworkInitializer Error: Class annotated with android.annotation.SystemApi does not exist in the documented API |
| ! extra_interface: android.media.MediaCommunicationManager$SessionCallback Error: Class annotated with android.annotation.SystemApi does not exist in the documented API |
| ! extra_class: android.media.MediaTranscodingManager Error: Class annotated with android.annotation.SystemApi does not exist in the documented API |
| ! ClassLoader hierarchy |
| ! |
| ! The first step is to check that the extra classes are expected (e.g. |
| ! because they have been annotated with the @SystemApi since this version |
| ! of the CTS tests were released and the tests are being run on an |
| ! Android system with a version of the mainline modules that includes |
| ! those changes. |
| ! |
| ! If they are not expected then this must be caused by a partner |
| ! inadvertently adding something to the @SystemApi so the correct |
| ! response is for them to stop doing that. |
| ! |
| ! If they are expected then additional entries should be added to this |
| ! section. That simply requires copying each error message into their own |
| ! <value></value> element and then removing the whitespace after the |
| ! first : and also removing the trailing " Error: ..." part (including |
| ! the leading white space). |
| ! |
| ! See below for some examples. |
| !--> |
| <!-- Bug: 204520502 --> |
| <value>extra_class:android.media.MediaParceledListSlice</value> |
| <value>extra_class:android.media.MediaFrameworkInitializer</value> |
| <value>extra_interface:android.media.MediaCommunicationManager$SessionCallback</value> |
| <value>extra_class:android.media.MediaTranscodingManager</value> |
| <!-- Bug: 202684112 --> |
| <value>extra_class:android.net.TetheringInterface</value> |
| <value>extra_field:public static final java.lang.String android.provider.MediaStore.QUERY_ARG_DEFER_SCAN</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_IS_UID</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_TRUNCATE_TIMESTAMP</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_DEFAULT_STATE</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_PRIMARY_FIELD</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_TRIGGER_STATE_RESET</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_EXCLUSIVE_STATE</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_PRIMARY_FIELD_FIRST_UID</value> |
| <value>extra_field:public static final byte android.util.StatsLog.ANNOTATION_ID_STATE_NESTED</value> |
| </entry> |
| </dynamicConfig> |