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: 209335798 --> 53 <value>missing_method:android.bluetooth.BluetoothHeadset#setPriority(android.bluetooth.BluetoothDevice, int)</value> 54 </entry> 55</dynamicConfig> 56