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="DefaultLocale"
6        message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
7        errorLine1="                                String.format("
8        errorLine2="                                ^">
9        <location
10            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/CustomAudienceSubject.java"
11            line="71"
12            column="33"/>
13    </issue>
14
15    <issue
16        id="DefaultLocale"
17        message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
18        errorLine1="                                String.format("
19        errorLine2="                                ^">
20        <location
21            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/CustomAudienceSubject.java"
22            line="87"
23            column="33"/>
24    </issue>
25
26    <issue
27        id="DefaultLocale"
28        message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
29        errorLine1="                + String.format(&quot;    wait(\&quot;%d\&quot;);\n&quot;, waitTimeMs);"
30        errorLine2="                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31        <location
32            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
33            line="4836"
34            column="19"/>
35    </issue>
36
37    <issue
38        id="DefaultLocale"
39        message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
40        errorLine1="                                String.format("
41        errorLine2="                                ^">
42        <location
43            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/MockWebServerRule.java"
44            line="168"
45            column="33"/>
46    </issue>
47
48    <issue
49        id="DefaultLocale"
50        message="Implicitly using the default locale is a common source of bugs: Use `String.format(Locale, ...)` instead"
51        errorLine1="        return String.format(&quot;%s://localhost:%d&quot;, useHttps() ? &quot;https&quot; : &quot;http&quot;, mPort);"
52        errorLine2="               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
53        <location
54            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/MockWebServerRule.java"
55            line="210"
56            column="16"/>
57    </issue>
58
59    <issue
60        id="InlinedApi"
61        message="Field requires API level 33 (current min is 30): `android.content.Context#RECEIVER_EXPORTED`"
62        errorLine1="            mContext.registerReceiver(mReceiver, filter, Context.RECEIVER_EXPORTED);"
63        errorLine2="                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~">
64        <location
65            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/SimpleActivityBase.java"
66            line="134"
67            column="58"/>
68    </issue>
69
70    <issue
71        id="NewApi"
72        message="Call requires API level 31 (current min is 30): `java.lang.Class#getPackageName`"
73        errorLine1="    private static final String TAG = CustomAudienceTestFixture.class.getPackageName();"
74        errorLine2="                                                                      ~~~~~~~~~~~~~~">
75        <location
76            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/CustomAudienceTestFixture.java"
77            line="39"
78            column="71"/>
79    </issue>
80
81    <issue
82        id="NewApi"
83        message="Call requires API level 31 (current min is 30): `org.json.JSONObject#keySet`"
84        errorLine1="        for (String key : substitutions.keySet()) {"
85        errorLine2="                                        ~~~~~~">
86        <location
87            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ScenarioLoader.java"
88            line="175"
89            column="41"/>
90    </issue>
91
92    <issue
93        id="NewApi"
94        message="Call requires API level 31 (current min is 30): `org.json.JSONObject#keySet`"
95        errorLine1="        for (String key : json.keySet()) {"
96        errorLine2="                               ~~~~~~">
97        <location
98            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/ScenarioLoader.java"
99            line="206"
100            column="32"/>
101    </issue>
102
103    <issue
104        id="NewApi"
105        message="Call requires API level 31 (current min is 30): `java.lang.Class#getPackageName`"
106        errorLine1="                .setClassName(activityClass.getPackageName(), activityClass.getName())"
107        errorLine2="                                            ~~~~~~~~~~~~~~">
108        <location
109            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/SimpleActivityBase.java"
110            line="68"
111            column="45"/>
112    </issue>
113
114    <issue
115        id="VisibleForTests"
116        message="This method should only be accessed from tests or within private scope"
117        errorLine1="        DevContext devContext = DevContextFilter.create(sContext).createDevContext(Process.myUid());"
118        errorLine2="                                                                  ~~~~~~~~~~~~~~~~">
119        <location
120            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/AdSelectionManagerDebuggableTest.java"
121            line="74"
122            column="67"/>
123    </issue>
124
125    <issue
126        id="VisibleForTests"
127        message="This method should only be accessed from tests or within private scope"
128        errorLine1="        boolean isDebuggable = devContextFilter.isDebuggable(devContext.getCallingAppPackageName());"
129        errorLine2="                                                ~~~~~~~~~~~~">
130        <location
131            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/AdSelectionManagerDebuggableTest.java"
132            line="75"
133            column="49"/>
134    </issue>
135
136    <issue
137        id="VisibleForTests"
138        message="This method should only be accessed from tests or within private scope"
139        errorLine1="        boolean isDeveloperMode = devContextFilter.isDeveloperMode();"
140        errorLine2="                                                   ~~~~~~~~~~~~~~~">
141        <location
142            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/AdSelectionManagerDebuggableTest.java"
143            line="76"
144            column="52"/>
145    </issue>
146
147    <issue
148        id="VisibleForTests"
149        message="This method should only be accessed from tests or within private scope"
150        errorLine1="        DevContext devContext = DevContextFilter.create(sContext).createDevContext(Process.myUid());"
151        errorLine2="                                                                  ~~~~~~~~~~~~~~~~">
152        <location
153            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/CustomAudienceCtsDebuggableTest.java"
154            line="67"
155            column="67"/>
156    </issue>
157
158    <issue
159        id="VisibleForTests"
160        message="This method should only be accessed from tests or within private scope"
161        errorLine1="        boolean isDebuggable = devContextFilter.isDebuggable(devContext.getCallingAppPackageName());"
162        errorLine2="                                                ~~~~~~~~~~~~">
163        <location
164            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/CustomAudienceCtsDebuggableTest.java"
165            line="68"
166            column="49"/>
167    </issue>
168
169    <issue
170        id="VisibleForTests"
171        message="This method should only be accessed from tests or within private scope"
172        errorLine1="        boolean isDeveloperMode = devContextFilter.isDeveloperMode();"
173        errorLine2="                                                   ~~~~~~~~~~~~~~~">
174        <location
175            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/CustomAudienceCtsDebuggableTest.java"
176            line="69"
177            column="52"/>
178    </issue>
179
180    <issue
181        id="VisibleForTests"
182        message="This method should only be accessed from tests or within private scope"
183        errorLine1="        DevContext mDevContext = DevContextFilter.create(context).createDevContext(Process.myUid());"
184        errorLine2="                                                                  ~~~~~~~~~~~~~~~~">
185        <location
186            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/DevContextUtils.java"
187            line="41"
188            column="67"/>
189    </issue>
190
191    <issue
192        id="VisibleForTests"
193        message="This method should only be accessed from tests or within private scope"
194        errorLine1="                devContextFilter.isDebuggable(mDevContext.getCallingAppPackageName());"
195        errorLine2="                                 ~~~~~~~~~~~~">
196        <location
197            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/DevContextUtils.java"
198            line="43"
199            column="34"/>
200    </issue>
201
202    <issue
203        id="VisibleForTests"
204        message="This method should only be accessed from tests or within private scope"
205        errorLine1="        boolean isDeveloperMode = devContextFilter.isDeveloperMode();"
206        errorLine2="                                                   ~~~~~~~~~~~~~~~">
207        <location
208            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/DevContextUtils.java"
209            line="44"
210            column="52"/>
211    </issue>
212
213    <issue
214        id="VisibleForTests"
215        message="This method should only be accessed from tests or within private scope"
216        errorLine1="        mDevContext = DevContextFilter.create(sContext).createDevContext(Process.myUid());"
217        errorLine2="                                                        ~~~~~~~~~~~~~~~~">
218        <location
219            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
220            line="502"
221            column="57"/>
222    </issue>
223
224    <issue
225        id="VisibleForTests"
226        message="This method should only be accessed from tests or within private scope"
227        errorLine1="                devContextFilter.isDebuggable(mDevContext.getCallingAppPackageName());"
228        errorLine2="                                 ~~~~~~~~~~~~">
229        <location
230            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
231            line="504"
232            column="34"/>
233    </issue>
234
235    <issue
236        id="VisibleForTests"
237        message="This method should only be accessed from tests or within private scope"
238        errorLine1="        boolean isDeveloperMode = devContextFilter.isDeveloperMode();"
239        errorLine2="                                                   ~~~~~~~~~~~~~~~">
240        <location
241            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
242            line="505"
243            column="52"/>
244    </issue>
245
246    <issue
247        id="VisibleForTests"
248        message="This method should only be accessed from tests or within private scope"
249        errorLine1="                                                AD_SELECTION_PREBUILT_SCHEMA,"
250        errorLine2="                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
251        <location
252            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
253            line="1076"
254            column="49"/>
255    </issue>
256
257    <issue
258        id="VisibleForTests"
259        message="This method should only be accessed from tests or within private scope"
260        errorLine1="                                                AD_SELECTION_USE_CASE,"
261        errorLine2="                                                ~~~~~~~~~~~~~~~~~~~~~">
262        <location
263            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
264            line="1077"
265            column="49"/>
266    </issue>
267
268    <issue
269        id="VisibleForTests"
270        message="This method should only be accessed from tests or within private scope"
271        errorLine1="                                                AD_SELECTION_HIGHEST_BID_WINS,"
272        errorLine2="                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
273        <location
274            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
275            line="1078"
276            column="49"/>
277    </issue>
278
279    <issue
280        id="VisibleForTests"
281        message="This method should only be accessed from tests or within private scope"
282        errorLine1="                                AD_SELECTION_PREBUILT_SCHEMA,"
283        errorLine2="                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
284        <location
285            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
286            line="2676"
287            column="33"/>
288    </issue>
289
290    <issue
291        id="VisibleForTests"
292        message="This method should only be accessed from tests or within private scope"
293        errorLine1="                                AD_SELECTION_PREBUILT_SCHEMA,"
294        errorLine2="                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
295        <location
296            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/FledgeCtsDebuggableTest.java"
297            line="2720"
298            column="33"/>
299    </issue>
300
301    <issue
302        id="VisibleForTests"
303        message="This method should only be accessed from tests or within private scope"
304        errorLine1="        assertThat(commandResult.getOut()).contains(validateAndSerializeBase64(&quot;AAAAAQ==&quot;));"
305        errorLine2="                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~">
306        <location
307            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/GenerateInputForEncodingShellCommandTest.java"
308            line="123"
309            column="53"/>
310    </issue>
311
312    <issue
313        id="VisibleForTests"
314        message="This method should only be accessed from tests or within private scope"
315        errorLine1="        assertThat(commandResult.getOut()).contains(validateAndSerializeBase64(&quot;AAAAAg==&quot;));"
316        errorLine2="                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~">
317        <location
318            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/GenerateInputForEncodingShellCommandTest.java"
319            line="124"
320            column="53"/>
321    </issue>
322
323    <issue
324        id="MissingVersion"
325        message="Should set `android:versionCode` to specify the application version"
326        errorLine1="&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
327        errorLine2=" ~~~~~~~~">
328        <location
329            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/cts/CtsAdExtServicesDebuggableDeviceTestCases/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
330            line="17"
331            column="2"/>
332    </issue>
333
334    <issue
335        id="MissingVersion"
336        message="Should set `android:versionName` to specify the application version"
337        errorLine1="&lt;manifest xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
338        errorLine2=" ~~~~~~~~">
339        <location
340            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/cts/CtsAdExtServicesDebuggableDeviceTestCases/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
341            line="17"
342            column="2"/>
343    </issue>
344
345    <issue
346        id="HardcodedDebugMode"
347        message="Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one"
348        errorLine1="        android:debuggable=&quot;true&quot;"
349        errorLine2="        ~~~~~~~~~~~~~~~~~~~~~~~~~">
350        <location
351            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/cts/CtsAdExtServicesDebuggableDeviceTestCases/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
352            line="56"
353            column="9"/>
354    </issue>
355
356    <issue
357        id="StaticFieldLeak"
358        message="Do not place Android context classes in static fields; this is a memory leak"
359        errorLine1="    protected static final Context sContext = ApplicationProvider.getApplicationContext();"
360        errorLine2="              ~~~~~~">
361        <location
362            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/FledgeScenarioTest.java"
363            line="78"
364            column="15"/>
365    </issue>
366
367    <issue
368        id="StaticFieldLeak"
369        message="Do not place Android context classes in static fields; this is a memory leak"
370        errorLine1="    private static final Context CONTEXT = ApplicationProvider.getApplicationContext();"
371        errorLine2="            ~~~~~~">
372        <location
373            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/FledgeScenarioTest.java"
374            line="84"
375            column="13"/>
376    </issue>
377
378    <issue
379        id="StaticFieldLeak"
380        message="Do not place Android context classes in static fields; this is a memory leak"
381        errorLine1="    protected static final Context sContext = ApplicationProvider.getApplicationContext();"
382        errorLine2="              ~~~~~~">
383        <location
384            file="packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/MeasurementCtsDebuggableTest.java"
385            line="68"
386            column="15"/>
387    </issue>
388
389    <issue
390        id="MissingApplicationIcon"
391        message="Should explicitly set `android:icon`, there is no default"
392        errorLine1="    &lt;application"
393        errorLine2="     ~~~~~~~~~~~">
394        <location
395            file="./out/soong/.intermediates/packages/modules/AdServices/adservices/tests/cts/CtsAdExtServicesDebuggableDeviceTestCases/android_common/737f09fcc0b17bc4650c68e8a26b3dd4/manifest_merger/AndroidManifest.xml"
396            line="54"
397            column="6"/>
398    </issue>
399
400</issues>
401