xref: /aosp_15_r20/frameworks/base/test-mock/api/lint-baseline.txt (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker// Baseline format: 1.0
2*d57664e9SAndroid Build Coastguard WorkerArrayReturn: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.ContentValues[]) parameter #1:
3*d57664e9SAndroid Build Coastguard Worker    Method parameter should be Collection<ContentValues> (or subclass) instead of raw array; was `android.content.ContentValues[]`
4*d57664e9SAndroid Build Coastguard WorkerArrayReturn: android.test.mock.MockResources#getTextArray(int):
5*d57664e9SAndroid Build Coastguard Worker    Method should return Collection<CharSequence> (or subclass) instead of raw array; was `java.lang.CharSequence[]`
6*d57664e9SAndroid Build Coastguard Worker
7*d57664e9SAndroid Build Coastguard Worker
8*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockApplication#onConfigurationChanged(android.content.res.Configuration) parameter #0:
9*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `newConfig` in method `onConfigurationChanged`
10*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #0:
11*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `context` in method `attachInfo`
12*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #1:
13*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `info` in method `attachInfo`
14*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.ContentValues[]) parameter #0:
15*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `uri` in method `bulkInsert`
16*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#bulkInsert(android.net.Uri, android.content.ContentValues[]) parameter #1:
17*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `values` in method `bulkInsert`
18*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#getStreamTypes(android.net.Uri, String):
19*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getStreamTypes` return
20*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#getStreamTypes(android.net.Uri, String) parameter #0:
21*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `url` in method `getStreamTypes`
22*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContentProvider#getStreamTypes(android.net.Uri, String) parameter #1:
23*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `mimeTypeFilter` in method `getStreamTypes`
24*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #0:
25*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `service` in method `bindIsolatedService`
26*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #2:
27*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `instanceName` in method `bindIsolatedService`
28*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #3:
29*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `executor` in method `bindIsolatedService`
30*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #4:
31*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `conn` in method `bindIsolatedService`
32*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #0:
33*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `service` in method `bindService`
34*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #2:
35*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `executor` in method `bindService`
36*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #3:
37*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `conn` in method `bindService`
38*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#createWindowContext(int, android.os.Bundle) parameter #1:
39*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `options` in method `createWindowContext`
40*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#getDisplay():
41*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getDisplay` return
42*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#getMainExecutor():
43*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getMainExecutor` return
44*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #0:
45*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `intent` in method `sendOrderedBroadcast`
46*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #1:
47*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `receiverPermission` in method `sendOrderedBroadcast`
48*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #2:
49*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `receiverAppOp` in method `sendOrderedBroadcast`
50*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #3:
51*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `resultReceiver` in method `sendOrderedBroadcast`
52*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #4:
53*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `scheduler` in method `sendOrderedBroadcast`
54*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #6:
55*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `initialData` in method `sendOrderedBroadcast`
56*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#sendOrderedBroadcast(android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle) parameter #7:
57*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `initialExtras` in method `sendOrderedBroadcast`
58*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockContext#updateServiceGroup(android.content.ServiceConnection, int, int) parameter #0:
59*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `conn` in method `updateServiceGroup`
60*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockCursor#getNotificationUris():
61*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getNotificationUris` return
62*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockCursor#setNotificationUris(android.content.ContentResolver, java.util.List<android.net.Uri>) parameter #0:
63*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `cr` in method `setNotificationUris`
64*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockCursor#setNotificationUris(android.content.ContentResolver, java.util.List<android.net.Uri>) parameter #1:
65*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `uris` in method `setNotificationUris`
66*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockPackageManager#getPackageArchiveInfo(String, int):
67*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getPackageArchiveInfo` return
68*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockPackageManager#getPackageArchiveInfo(String, int) parameter #0:
69*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `archiveFilePath` in method `getPackageArchiveInfo`
70*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockPackageManager#hasSigningCertificate(String, byte[], int) parameter #0:
71*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `packageName` in method `hasSigningCertificate`
72*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockPackageManager#hasSigningCertificate(String, byte[], int) parameter #1:
73*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `certificate` in method `hasSigningCertificate`
74*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockPackageManager#hasSigningCertificate(int, byte[], int) parameter #1:
75*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `certificate` in method `hasSigningCertificate`
76*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getAnimation(int):
77*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getAnimation` return
78*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getConfiguration():
79*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getConfiguration` return
80*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getDisplayMetrics():
81*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getDisplayMetrics` return
82*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getIdentifier(String, String, String) parameter #0:
83*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `getIdentifier`
84*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getIdentifier(String, String, String) parameter #1:
85*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `defType` in method `getIdentifier`
86*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getIdentifier(String, String, String) parameter #2:
87*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `defPackage` in method `getIdentifier`
88*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getIntArray(int):
89*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getIntArray` return
90*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getLayout(int):
91*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getLayout` return
92*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getQuantityString(int, int):
93*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getQuantityString` return
94*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getQuantityString(int, int, java.lang.Object...):
95*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getQuantityString` return
96*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getQuantityString(int, int, java.lang.Object...) parameter #2:
97*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `formatArgs` in method `getQuantityString`
98*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getQuantityText(int, int):
99*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getQuantityText` return
100*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getResourceEntryName(int):
101*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getResourceEntryName` return
102*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getResourceName(int):
103*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getResourceName` return
104*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getResourcePackageName(int):
105*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getResourcePackageName` return
106*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getResourceTypeName(int):
107*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getResourceTypeName` return
108*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getString(int):
109*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getString` return
110*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getString(int, java.lang.Object...):
111*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getString` return
112*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getString(int, java.lang.Object...) parameter #1:
113*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `formatArgs` in method `getString`
114*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getStringArray(int):
115*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getStringArray` return
116*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getText(int):
117*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getText` return
118*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getText(int, CharSequence):
119*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getText` return
120*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getText(int, CharSequence) parameter #1:
121*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `def` in method `getText`
122*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getTextArray(int):
123*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getTextArray` return
124*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getValue(String, android.util.TypedValue, boolean) parameter #0:
125*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `getValue`
126*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getValue(String, android.util.TypedValue, boolean) parameter #1:
127*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `outValue` in method `getValue`
128*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getValue(int, android.util.TypedValue, boolean) parameter #1:
129*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `outValue` in method `getValue`
130*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#getXml(int):
131*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getXml` return
132*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#obtainAttributes(android.util.AttributeSet, int[]):
133*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `obtainAttributes` return
134*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#obtainAttributes(android.util.AttributeSet, int[]) parameter #0:
135*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `set` in method `obtainAttributes`
136*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#obtainAttributes(android.util.AttributeSet, int[]) parameter #1:
137*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `attrs` in method `obtainAttributes`
138*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#obtainTypedArray(int):
139*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `obtainTypedArray` return
140*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#openRawResource(int):
141*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `openRawResource` return
142*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.mock.MockResources#openRawResourceFd(int):
143*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `openRawResourceFd` return
144