1<?xml version="1.0" encoding="UTF-8"?>
2<issues format="6" by="lint 8.4.0-alpha08" type="baseline" client="" dependencies="true" name="" variant="all" version="8.4.0-alpha08">
3
4    <issue
5        id="NewApi"
6        message="Call requires API level 31 (current min is 30): `getInstance`"
7        errorLine1="        doReturn(mockedAdServicesJobScheduler).when(AdServicesJobScheduler::getInstance);"
8        errorLine2="                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
9        <location
10            file="packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/AdServicesExtendedMockitoMocker.java"
11            line="57"
12            column="53"/>
13    </issue>
14
15    <issue
16        id="NewApi"
17        message="Call requires API level 31 (current min is 30): `getInstance`"
18        errorLine1="        doReturn(mockedAdServicesJobServiceFactory).when(AdServicesJobServiceFactory::getInstance);"
19        errorLine2="                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
20        <location
21            file="packages/modules/AdServices/adservices/tests/test-util/java/com/android/adservices/mockito/AdServicesExtendedMockitoMocker.java"
22            line="65"
23            column="58"/>
24    </issue>
25
26    <issue
27        id="VisibleForTests"
28        message="This method should only be accessed from tests or within private scope"
29        errorLine1="                        .REQUIRES_LOW_RAM_ASSUMPTION_FAILED_ERROR_MESSAGE);"
30        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
33            line="138"
34            column="26"/>
35    </issue>
36
37    <issue
38        id="VisibleForTests"
39        message="This method should only be accessed from tests or within private scope"
40        errorLine1="                                .REQUIRES_SCREEN_SIZE_ASSUMPTION_FAILED_ERROR_MESSAGE,"
41        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
42        <location
43            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
44            line="161"
45            column="34"/>
46    </issue>
47
48    <issue
49        id="VisibleForTests"
50        message="This method should only be accessed from tests or within private scope"
51        errorLine1="                                .REQUIRES_SCREEN_SIZE_ASSUMPTION_FAILED_ERROR_MESSAGE,"
52        errorLine2="                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
53        <location
54            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
55            line="186"
56            column="34"/>
57    </issue>
58
59    <issue
60        id="VisibleForTests"
61        message="This method should only be accessed from tests or within private scope"
62        errorLine1="                        .REQUIRES_GO_DEVICE_ASSUMPTION_FAILED_ERROR_MESSAGE);"
63        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
64        <location
65            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
66            line="209"
67            column="26"/>
68    </issue>
69
70    <issue
71        id="VisibleForTests"
72        message="This method should only be accessed from tests or within private scope"
73        errorLine1="                        .REQUIRES_LOW_RAM_ASSUMPTION_FAILED_ERROR_MESSAGE);"
74        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
75        <location
76            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
77            line="232"
78            column="26"/>
79    </issue>
80
81    <issue
82        id="VisibleForTests"
83        message="This method should only be accessed from tests or within private scope"
84        errorLine1="                        .REQUIRES_GO_DEVICE_ASSUMPTION_FAILED_ERROR_MESSAGE);"
85        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
86        <location
87            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
88            line="245"
89            column="26"/>
90    </issue>
91
92    <issue
93        id="VisibleForTests"
94        message="This method should only be accessed from tests or within private scope"
95        errorLine1="                        .REQUIRES_GO_DEVICE_ASSUMPTION_FAILED_ERROR_MESSAGE,"
96        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
97        <location
98            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
99            line="259"
100            column="26"/>
101    </issue>
102
103    <issue
104        id="VisibleForTests"
105        message="This method should only be accessed from tests or within private scope"
106        errorLine1="                        .REQUIRES_LOW_RAM_ASSUMPTION_FAILED_ERROR_MESSAGE);"
107        errorLine2="                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
108        <location
109            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
110            line="261"
111            column="26"/>
112    </issue>
113
114    <issue
115        id="VisibleForTests"
116        message="This method should only be accessed from tests or within private scope"
117        errorLine1="                .that(e.getConditionsViolatedReasons())"
118        errorLine2="                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
119        <location
120            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
121            line="369"
122            column="25"/>
123    </issue>
124
125    <issue
126        id="VisibleForTests"
127        message="This method should only be accessed from tests or within private scope"
128        errorLine1="                Locale.ENGLISH, REQUIRES_ANDROID_SERVICE_ASSUMPTION_FAILED_ERROR_MSG, serviceName);"
129        errorLine2="                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
130        <location
131            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesDeviceSupportedRuleTest.java"
132            line="416"
133            column="33"/>
134    </issue>
135
136    <issue
137        id="VisibleForTests"
138        message="This method should only be accessed from tests or within private scope"
139        errorLine1="                mAdServicesShellCommandHelper.parseResultFromDumpsys(SAMPLE_DUMPSYS_WITH_OUT);"
140        errorLine2="                                              ~~~~~~~~~~~~~~~~~~~~~~">
141        <location
142            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
143            line="81"
144            column="47"/>
145    </issue>
146
147    <issue
148        id="VisibleForTests"
149        message="This method should only be accessed from tests or within private scope"
150        errorLine1="                mAdServicesShellCommandHelper.parseResultFromDumpsys(SAMPLE_DUMPSYS_WITH_ERR);"
151        errorLine2="                                              ~~~~~~~~~~~~~~~~~~~~~~">
152        <location
153            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
154            line="93"
155            column="47"/>
156    </issue>
157
158    <issue
159        id="VisibleForTests"
160        message="This method should only be accessed from tests or within private scope"
161        errorLine1="                mAdServicesShellCommandHelper.parseResultFromDumpsys("
162        errorLine2="                                              ~~~~~~~~~~~~~~~~~~~~~~">
163        <location
164            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
165            line="105"
166            column="47"/>
167    </issue>
168
169    <issue
170        id="VisibleForTests"
171        message="This method should only be accessed from tests or within private scope"
172        errorLine1="        CommandResult commandResult = mAdServicesShellCommandHelper.parseResultFromDumpsys(input);"
173        errorLine2="                                                                    ~~~~~~~~~~~~~~~~~~~~~~">
174        <location
175            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
176            line="123"
177            column="69"/>
178    </issue>
179
180    <issue
181        id="VisibleForTests"
182        message="This method should only be accessed from tests or within private scope"
183        errorLine1="            } else if (cmd.equals(ADSERVICES_MANAGER_SERVICE_CHECK)) {"
184        errorLine2="                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
185        <location
186            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
187            line="247"
188            column="35"/>
189    </issue>
190
191    <issue
192        id="VisibleForTests"
193        message="This method should only be accessed from tests or within private scope"
194        errorLine1="                    getDumpsysGetResultShellCommand("
195        errorLine2="                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
196        <location
197            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
198            line="250"
199            column="21"/>
200    </issue>
201
202    <issue
203        id="VisibleForTests"
204        message="This method should only be accessed from tests or within private scope"
205        errorLine1="                                    &quot;%s/%s&quot;, ADEXTSERVICES_PACKAGE_NAME, SHELL_ACTIVITY_NAME)))) {"
206        errorLine2="                                                                         ~~~~~~~~~~~~~~~~~~~">
207        <location
208            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/side-less/com/android/adservices/common/AbstractAdServicesShellCommandHelperTest.java"
209            line="252"
210            column="74"/>
211    </issue>
212
213    <issue
214        id="VisibleForTests"
215        message="This method should only be accessed from tests or within private scope"
216        errorLine1="        mAdServicesSupportHelper = new AdServicesSupportHelper(mSpyContext);"
217        errorLine2="                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
218        <location
219            file="packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/src/com/android/adservices/common/AdServicesSupportHelperTest.java"
220            line="43"
221            column="36"/>
222    </issue>
223
224    <issue
225        id="MissingVersion"
226        message="Should set `android:versionCode` to specify the application version"
227        errorLine1="&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
228        errorLine2=" ~~~~~~~~">
229        <location
230            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/AdServicesTestUtilityTests/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
231            line="17"
232            column="2"/>
233    </issue>
234
235    <issue
236        id="MissingVersion"
237        message="Should set `android:versionName` to specify the application version"
238        errorLine1="&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
239        errorLine2=" ~~~~~~~~">
240        <location
241            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/AdServicesTestUtilityTests/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
242            line="17"
243            column="2"/>
244    </issue>
245
246    <issue
247        id="HardcodedDebugMode"
248        message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one"
249        errorLine1="        android:debuggable=&quot;true&quot;"
250        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~">
251        <location
252            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/AdServicesTestUtilityTests/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
253            line="45"
254            column="9"/>
255    </issue>
256
257    <issue
258        id="ExpiredTargetSdkVersion"
259        message="Google Play requires that apps target API level 33 or higher."
260        errorLine1="        android:targetSdkVersion=&quot;31&quot; />"
261        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
262        <location
263            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/AdServicesTestUtilityTests/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
264            line="22"
265            column="9"/>
266    </issue>
267
268    <issue
269        id="MissingApplicationIcon"
270        message="Should explicitly set `android:icon`, there is no default"
271        errorLine1="    &lt;application"
272        errorLine2="     ~~~~~~~~~~~">
273        <location
274            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/unittest/adservices-test-utility/AdServicesTestUtilityTests/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
275            line="43"
276            column="6"/>
277    </issue>
278
279</issues>
280