xref: /aosp_15_r20/frameworks/base/test-runner/api/lint-baseline.txt (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1*d57664e9SAndroid Build Coastguard Worker// Baseline format: 1.0
2*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityInstrumentationTestCase#setUp():
3*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
4*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityInstrumentationTestCase#tearDown():
5*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
6*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityInstrumentationTestCase2#runTest():
7*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Throwable`)
8*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityInstrumentationTestCase2#setUp():
9*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
10*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityInstrumentationTestCase2#tearDown():
11*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
12*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityUnitTestCase#setUp():
13*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
14*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ActivityUnitTestCase#tearDown():
15*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
16*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ApplicationTestCase#setUp():
17*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
18*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ApplicationTestCase#tearDown():
19*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
20*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ProviderTestCase#setUp():
21*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
22*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ProviderTestCase#tearDown():
23*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
24*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ProviderTestCase2#setUp():
25*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
26*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ProviderTestCase2#tearDown():
27*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
28*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ServiceTestCase#setUp():
29*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
30*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.ServiceTestCase#tearDown():
31*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
32*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.SingleLaunchActivityTestCase#setUp():
33*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
34*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.SingleLaunchActivityTestCase#tearDown():
35*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
36*d57664e9SAndroid Build Coastguard WorkerGenericException: android.test.SyncBaseInstrumentation#setUp():
37*d57664e9SAndroid Build Coastguard Worker    Methods must not throw generic exceptions (`java.lang.Exception`)
38*d57664e9SAndroid Build Coastguard Worker
39*d57664e9SAndroid Build Coastguard Worker
40*d57664e9SAndroid Build Coastguard WorkerIntentBuilderName: android.test.IsolatedContext#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter):
41*d57664e9SAndroid Build Coastguard Worker    Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiver`
42*d57664e9SAndroid Build Coastguard Worker
43*d57664e9SAndroid Build Coastguard Worker
44*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.ComparisonFailure#getMessage():
45*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getMessage` return
46*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.InstrumentationTestRunner#onCreate(android.os.Bundle) parameter #0:
47*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `arguments` in method `onCreate`
48*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #0:
49*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `service` in method `bindIsolatedService`
50*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #2:
51*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `instanceName` in method `bindIsolatedService`
52*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #3:
53*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `executor` in method `bindIsolatedService`
54*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #4:
55*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `conn` in method `bindIsolatedService`
56*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, android.content.ServiceConnection, int) parameter #0:
57*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `service` in method `bindService`
58*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, android.content.ServiceConnection, int) parameter #1:
59*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `conn` in method `bindService`
60*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #0:
61*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `service` in method `bindService`
62*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #2:
63*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `executor` in method `bindService`
64*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection) parameter #3:
65*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `conn` in method `bindService`
66*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, String, String, int, int, int) parameter #0:
67*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `uri` in method `checkUriPermission`
68*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, String, String, int, int, int) parameter #1:
69*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `readPermission` in method `checkUriPermission`
70*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, String, String, int, int, int) parameter #2:
71*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `writePermission` in method `checkUriPermission`
72*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#checkUriPermission(android.net.Uri, int, int, int) parameter #0:
73*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `uri` in method `checkUriPermission`
74*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#getContentResolver():
75*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getContentResolver` return
76*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#getFilesDir():
77*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getFilesDir` return
78*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#getSystemService(String):
79*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getSystemService` return
80*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#getSystemService(String) parameter #0:
81*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `getSystemService`
82*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter):
83*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `registerReceiver` return
84*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter) parameter #0:
85*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `receiver` in method `registerReceiver`
86*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#registerReceiver(android.content.BroadcastReceiver, android.content.IntentFilter) parameter #1:
87*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `filter` in method `registerReceiver`
88*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#sendBroadcast(android.content.Intent) parameter #0:
89*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `intent` in method `sendBroadcast`
90*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#sendOrderedBroadcast(android.content.Intent, String) parameter #0:
91*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `intent` in method `sendOrderedBroadcast`
92*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#sendOrderedBroadcast(android.content.Intent, String) parameter #1:
93*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `receiverPermission` in method `sendOrderedBroadcast`
94*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.IsolatedContext#unregisterReceiver(android.content.BroadcastReceiver) parameter #0:
95*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `receiver` in method `unregisterReceiver`
96*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#databaseList():
97*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `databaseList` return
98*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#deleteDatabase(String) parameter #0:
99*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `deleteDatabase`
100*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#deleteFile(String) parameter #0:
101*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `deleteFile`
102*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#fileList():
103*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `fileList` return
104*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#getCacheDir():
105*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getCacheDir` return
106*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#getDatabasePath(String):
107*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getDatabasePath` return
108*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#getDatabasePath(String) parameter #0:
109*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `getDatabasePath`
110*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#getFileStreamPath(String):
111*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `getFileStreamPath` return
112*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#getFileStreamPath(String) parameter #0:
113*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `getFileStreamPath`
114*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openFileInput(String):
115*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `openFileInput` return
116*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openFileInput(String) parameter #0:
117*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `openFileInput`
118*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openFileOutput(String, int):
119*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `openFileOutput` return
120*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openFileOutput(String, int) parameter #0:
121*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `openFileOutput`
122*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory):
123*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `openOrCreateDatabase` return
124*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory) parameter #0:
125*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `openOrCreateDatabase`
126*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory) parameter #2:
127*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `factory` in method `openOrCreateDatabase`
128*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler):
129*d57664e9SAndroid Build Coastguard Worker    Missing nullability on method `openOrCreateDatabase` return
130*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler) parameter #0:
131*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `name` in method `openOrCreateDatabase`
132*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler) parameter #2:
133*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `factory` in method `openOrCreateDatabase`
134*d57664e9SAndroid Build Coastguard WorkerMissingNullability: android.test.RenamingDelegatingContext#openOrCreateDatabase(String, int, android.database.sqlite.SQLiteDatabase.CursorFactory, android.database.DatabaseErrorHandler) parameter #3:
135*d57664e9SAndroid Build Coastguard Worker    Missing nullability on parameter `errorHandler` in method `openOrCreateDatabase`
136*d57664e9SAndroid Build Coastguard Worker
137*d57664e9SAndroid Build Coastguard Worker
138*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityInstrumentationTestCase#setUp():
139*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase.setUp()}
140*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityInstrumentationTestCase#tearDown():
141*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase.tearDown()}
142*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityInstrumentationTestCase2#runTest():
143*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase2.runTest()}
144*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityInstrumentationTestCase2#setUp():
145*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase2.setUp()}
146*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityInstrumentationTestCase2#tearDown():
147*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityInstrumentationTestCase2.tearDown()}
148*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityUnitTestCase#setUp():
149*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityUnitTestCase.setUp()}
150*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ActivityUnitTestCase#tearDown():
151*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ActivityUnitTestCase.tearDown()}
152*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ApplicationTestCase#setUp():
153*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ApplicationTestCase.setUp()}
154*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ApplicationTestCase#tearDown():
155*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ApplicationTestCase.tearDown()}
156*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ProviderTestCase#setUp():
157*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ProviderTestCase.setUp()}
158*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ProviderTestCase#tearDown():
159*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ProviderTestCase.tearDown()}
160*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ProviderTestCase2#setUp():
161*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ProviderTestCase2.setUp()}
162*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ProviderTestCase2#tearDown():
163*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ProviderTestCase2.tearDown()}
164*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ServiceTestCase#setUp():
165*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ServiceTestCase.setUp()}
166*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.ServiceTestCase#tearDown():
167*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.ServiceTestCase.tearDown()}
168*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.SingleLaunchActivityTestCase#setUp():
169*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.SingleLaunchActivityTestCase.setUp()}
170*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.SingleLaunchActivityTestCase#tearDown():
171*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.SingleLaunchActivityTestCase.tearDown()}
172*d57664e9SAndroid Build Coastguard WorkerProtectedMember: android.test.SyncBaseInstrumentation#setUp():
173*d57664e9SAndroid Build Coastguard Worker    Protected methods not allowed; must be public: method android.test.SyncBaseInstrumentation.setUp()}
174