Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 1 | // Baseline format: 1.0 |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 2 | AcronymName: android.net.NetworkCapabilities#setSSID(String): |
| 3 | Acronyms should not be capitalized in method names: was `setSSID`, should this be `setSsid`? |
| 4 | |
| 5 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 6 | ActionValue: android.location.Location#EXTRA_NO_GPS_LOCATION: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 7 | |
David Su | f7ef955 | 2019-11-05 13:44:12 -0800 | [diff] [blame] | 8 | ActionValue: android.net.wifi.WifiManager#ACTION_LINK_CONFIGURATION_CHANGED: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 9 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 10 | |
markchien | 40898ca | 2020-01-21 13:11:06 +0800 | [diff] [blame] | 11 | // Tethering broadcast action / extras cannot change name for backwards compatibility |
| 12 | ActionValue: android.net.TetheringManager#ACTION_TETHER_STATE_CHANGED: |
| 13 | Inconsistent action value; expected `android.net.action.TETHER_STATE_CHANGED`, was `android.net.conn.TETHER_STATE_CHANGED` |
| 14 | ActionValue: android.net.TetheringManager#EXTRA_ACTIVE_TETHER: |
| 15 | Inconsistent extra value; expected `android.net.extra.ACTIVE_TETHER`, was `tetherArray` |
| 16 | ActionValue: android.net.TetheringManager#EXTRA_AVAILABLE_TETHER: |
| 17 | Inconsistent extra value; expected `android.net.extra.AVAILABLE_TETHER`, was `availableArray` |
| 18 | ActionValue: android.net.TetheringManager#EXTRA_ERRORED_TETHER: |
| 19 | Inconsistent extra value; expected `android.net.extra.ERRORED_TETHER`, was `erroredArray` |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 20 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 21 | ArrayReturn: android.bluetooth.BluetoothCodecStatus#BluetoothCodecStatus(android.bluetooth.BluetoothCodecConfig, android.bluetooth.BluetoothCodecConfig[], android.bluetooth.BluetoothCodecConfig[]) parameter #1: |
| 22 | Method parameter should be Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.bluetooth.BluetoothCodecConfig[]` |
| 23 | ArrayReturn: android.bluetooth.BluetoothCodecStatus#BluetoothCodecStatus(android.bluetooth.BluetoothCodecConfig, android.bluetooth.BluetoothCodecConfig[], android.bluetooth.BluetoothCodecConfig[]) parameter #2: |
| 24 | Method parameter should be Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.bluetooth.BluetoothCodecConfig[]` |
| 25 | ArrayReturn: android.bluetooth.BluetoothCodecStatus#getCodecsLocalCapabilities(): |
| 26 | Method should return Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.bluetooth.BluetoothCodecConfig[]` |
| 27 | ArrayReturn: android.bluetooth.BluetoothCodecStatus#getCodecsSelectableCapabilities(): |
| 28 | Method should return Collection<BluetoothCodecConfig> (or subclass) instead of raw array; was `android.bluetooth.BluetoothCodecConfig[]` |
| 29 | ArrayReturn: android.bluetooth.BluetoothUuid#containsAnyUuid(android.os.ParcelUuid[], android.os.ParcelUuid[]) parameter #0: |
| 30 | Method parameter should be Collection<ParcelUuid> (or subclass) instead of raw array; was `android.os.ParcelUuid[]` |
| 31 | ArrayReturn: android.bluetooth.BluetoothUuid#containsAnyUuid(android.os.ParcelUuid[], android.os.ParcelUuid[]) parameter #1: |
| 32 | Method parameter should be Collection<ParcelUuid> (or subclass) instead of raw array; was `android.os.ParcelUuid[]` |
| 33 | ArrayReturn: android.media.tv.tuner.Tuner.FilterCallback#onFilterEvent(android.media.tv.tuner.Tuner.Filter, android.media.tv.tuner.filter.FilterEvent[]) parameter #1: |
| 34 | Method parameter should be Collection<FilterEvent> (or subclass) instead of raw array; was `android.media.tv.tuner.filter.FilterEvent[]` |
| 35 | ArrayReturn: android.net.NetworkScoreManager#requestScores(android.net.NetworkKey[]) parameter #0: |
| 36 | Method parameter should be Collection<NetworkKey> (or subclass) instead of raw array; was `android.net.NetworkKey[]` |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 37 | ArrayReturn: android.view.contentcapture.ViewNode#getAutofillOptions(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 38 | |
| 39 | |
| 40 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 41 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#deletePersistentGroup(android.net.wifi.p2p.WifiP2pManager.Channel, int, android.net.wifi.p2p.WifiP2pManager.ActionListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 42 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 43 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#factoryReset(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.ActionListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 44 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 45 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#listen(android.net.wifi.p2p.WifiP2pManager.Channel, boolean, android.net.wifi.p2p.WifiP2pManager.ActionListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 46 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 47 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#requestPersistentGroupInfo(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pManager.PersistentGroupInfoListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 48 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 49 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#setDeviceName(android.net.wifi.p2p.WifiP2pManager.Channel, String, android.net.wifi.p2p.WifiP2pManager.ActionListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 50 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 51 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#setWfdInfo(android.net.wifi.p2p.WifiP2pManager.Channel, android.net.wifi.p2p.WifiP2pWfdInfo, android.net.wifi.p2p.WifiP2pManager.ActionListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 52 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 53 | ExecutorRegistration: android.net.wifi.p2p.WifiP2pManager#setWifiP2pChannels(android.net.wifi.p2p.WifiP2pManager.Channel, int, int, android.net.wifi.p2p.WifiP2pManager.ActionListener): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 54 | |
Etan Cohen | 5abc6d9 | 2019-12-18 10:54:28 -0800 | [diff] [blame] | 55 | |
David Su | b73c737 | 2019-10-25 11:22:41 -0700 | [diff] [blame] | 56 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 57 | GenericException: android.app.prediction.AppPredictor#finalize(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 58 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 59 | GenericException: android.hardware.location.ContextHubClient#finalize(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 60 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 61 | GenericException: android.net.IpSecManager.IpSecTunnelInterface#finalize(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 62 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 63 | GenericException: android.service.autofill.augmented.FillWindow#finalize(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 64 | |
| 65 | |
| 66 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 67 | IntentBuilderName: android.content.Context#registerReceiverForAllUsers(android.content.BroadcastReceiver, android.content.IntentFilter, String, android.os.Handler): |
| 68 | Methods creating an Intent should be named `create<Foo>Intent()`, was `registerReceiverForAllUsers` |
| 69 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 70 | |
| 71 | KotlinKeyword: android.app.Notification#when: |
| 72 | |
| 73 | |
| 74 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 75 | KotlinOperator: android.telephony.CbGeoUtils.Geometry#contains(android.telephony.CbGeoUtils.LatLng): |
| 76 | Method can be invoked as a "in" operator from Kotlin: `contains` (this is usually desirable; just make sure it makes sense for this type of object) |
| 77 | |
| 78 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 79 | MissingNullability: android.hardware.soundtrigger.SoundTrigger.ModuleProperties#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 80 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 81 | MissingNullability: android.hardware.soundtrigger.SoundTrigger.ModuleProperties#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 82 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 83 | MissingNullability: android.media.session.MediaSessionManager.Callback#onAddressedPlayerChanged(android.content.ComponentName) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 84 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 85 | MissingNullability: android.media.session.MediaSessionManager.Callback#onAddressedPlayerChanged(android.media.session.MediaSession.Token) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 86 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 87 | MissingNullability: android.media.session.MediaSessionManager.Callback#onMediaKeyEventDispatched(android.view.KeyEvent, android.content.ComponentName) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 88 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 89 | MissingNullability: android.media.session.MediaSessionManager.Callback#onMediaKeyEventDispatched(android.view.KeyEvent, android.content.ComponentName) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 90 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 91 | MissingNullability: android.media.session.MediaSessionManager.Callback#onMediaKeyEventDispatched(android.view.KeyEvent, android.media.session.MediaSession.Token) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 92 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 93 | MissingNullability: android.media.session.MediaSessionManager.Callback#onMediaKeyEventDispatched(android.view.KeyEvent, android.media.session.MediaSession.Token) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 94 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 95 | MissingNullability: android.media.soundtrigger.SoundTriggerDetectionService#onUnbind(android.content.Intent) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 96 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 97 | MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 98 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 99 | MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 100 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 101 | MissingNullability: android.media.tv.TvRecordingClient.RecordingCallback#onEvent(String, String, android.os.Bundle) parameter #2: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 102 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 103 | MissingNullability: android.net.wifi.rtt.RangingRequest.Builder#addResponder(android.net.wifi.rtt.ResponderConfig): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 104 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 105 | MissingNullability: android.printservice.recommendation.RecommendationService#attachBaseContext(android.content.Context) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 106 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 107 | MissingNullability: android.provider.ContactsContract.MetadataSync#CONTENT_URI: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 108 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 109 | MissingNullability: android.provider.ContactsContract.MetadataSync#METADATA_AUTHORITY_URI: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 110 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 111 | MissingNullability: android.provider.ContactsContract.MetadataSyncState#CONTENT_URI: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 112 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 113 | MissingNullability: android.provider.SearchIndexablesProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 114 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 115 | MissingNullability: android.provider.SearchIndexablesProvider#attachInfo(android.content.Context, android.content.pm.ProviderInfo) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 116 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 117 | MissingNullability: android.service.autofill.augmented.AugmentedAutofillService#onUnbind(android.content.Intent) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 118 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 119 | MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 120 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 121 | MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 122 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 123 | MissingNullability: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #2: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 124 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 125 | MissingNullability: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 126 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 127 | MissingNullability: android.telecom.CallScreeningService.CallResponse.Builder#setShouldScreenCallFurther(boolean): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 128 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 129 | MissingNullability: android.telephony.CallerInfo#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 130 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 131 | MissingNullability: android.telephony.CellBroadcastService#onBind(android.content.Intent): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 132 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 133 | MissingNullability: android.telephony.CellBroadcastService#onBind(android.content.Intent) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 134 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 135 | MissingNullability: android.telephony.CellBroadcastService#onCdmaCellBroadcastSms(int, byte[]) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 136 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 137 | MissingNullability: android.telephony.CellBroadcastService#onCdmaCellBroadcastSms(int, byte[], int) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 138 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 139 | MissingNullability: android.telephony.CellBroadcastService#onGsmCellBroadcastSms(int, byte[]) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 140 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 141 | MissingNullability: android.telephony.ModemActivityInfo#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 142 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 143 | MissingNullability: android.telephony.ModemActivityInfo#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 144 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 145 | MissingNullability: android.telephony.ModemActivityInfo.TransmitPower#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 146 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 147 | MissingNullability: android.telephony.NetworkService#onUnbind(android.content.Intent) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 148 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 149 | MissingNullability: android.telephony.SmsCbCmasInfo#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 150 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 151 | MissingNullability: android.telephony.SmsCbCmasInfo#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 152 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 153 | MissingNullability: android.telephony.SmsCbEtwsInfo#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 154 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 155 | MissingNullability: android.telephony.SmsCbEtwsInfo#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 156 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 157 | MissingNullability: android.telephony.SmsCbLocation#equals(Object) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 158 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 159 | MissingNullability: android.telephony.SmsCbLocation#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 160 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 161 | MissingNullability: android.telephony.SmsCbLocation#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 162 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 163 | MissingNullability: android.telephony.SmsCbMessage#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 164 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 165 | MissingNullability: android.telephony.SmsCbMessage#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 166 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 167 | MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringDaily(java.time.ZonedDateTime) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 168 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 169 | MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringMonthly(java.time.ZonedDateTime) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 170 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 171 | MissingNullability: android.telephony.SubscriptionPlan.Builder#createRecurringWeekly(java.time.ZonedDateTime) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 172 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 173 | MissingNullability: android.telephony.cdma.CdmaSmsCbProgramData#toString(): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 174 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 175 | MissingNullability: android.telephony.cdma.CdmaSmsCbProgramData#writeToParcel(android.os.Parcel, int) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 176 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 177 | MissingNullability: android.telephony.data.DataService#onUnbind(android.content.Intent) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 178 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 179 | MissingNullability: android.telephony.ims.stub.ImsSmsImplBase#onSmsStatusReportReceived(int, String, byte[]) parameter #1: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 180 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 181 | MissingNullability: android.telephony.ims.stub.ImsSmsImplBase#onSmsStatusReportReceived(int, String, byte[]) parameter #2: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 182 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 183 | MissingNullability: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 184 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 185 | MissingNullability: android.telephony.mbms.DownloadRequest.Builder#setServiceId(String) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 186 | |
| 187 | |
| 188 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 189 | MutableBareField: android.net.IpConfiguration#httpProxy: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 190 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 191 | MutableBareField: android.net.IpConfiguration#ipAssignment: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 192 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 193 | MutableBareField: android.net.IpConfiguration#proxySettings: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 194 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 195 | MutableBareField: android.net.IpConfiguration#staticIpConfiguration: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 196 | |
Adrian Roos | 60b98071 | 2019-11-01 18:52:32 +0100 | [diff] [blame] | 197 | MutableBareField: android.net.wifi.WifiConfiguration#allowAutojoin: |
| 198 | |
| 199 | MutableBareField: android.net.wifi.WifiConfiguration#carrierId: |
| 200 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 201 | MutableBareField: android.net.wifi.WifiConfiguration#fromWifiNetworkSpecifier: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 202 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 203 | MutableBareField: android.net.wifi.WifiConfiguration#fromWifiNetworkSuggestion: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 204 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 205 | MutableBareField: android.net.wifi.WifiConfiguration#macRandomizationSetting: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 206 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 207 | MutableBareField: android.net.wifi.WifiConfiguration#meteredOverride: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 208 | |
David Su | 381ba3e | 2020-01-27 17:45:29 -0800 | [diff] [blame] | 209 | MutableBareField: android.net.wifi.WifiConfiguration#requirePmf: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 210 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 211 | MutableBareField: android.net.wifi.WifiConfiguration#saePasswordId: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 212 | |
David Su | 36491ea | 2019-10-28 14:50:28 -0700 | [diff] [blame] | 213 | MutableBareField: android.net.wifi.WifiConfiguration#shared: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 214 | |
David Su | ace322e | 2019-11-25 16:03:05 -0800 | [diff] [blame] | 215 | MutableBareField: android.net.wifi.WifiScanner.ScanSettings#type: |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 216 | |
Adrian Roos | 60b98071 | 2019-11-01 18:52:32 +0100 | [diff] [blame] | 217 | |
| 218 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 219 | NoClone: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]) parameter #0: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 220 | |
| 221 | |
| 222 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 223 | NotCloseable: android.bluetooth.BluetoothA2dpSink: |
| 224 | Classes that release resources (finalize()) should implement AutoClosable and CloseGuard: class android.bluetooth.BluetoothA2dpSink |
| 225 | NotCloseable: android.bluetooth.BluetoothMap: |
| 226 | Classes that release resources (finalize()) should implement AutoClosable and CloseGuard: class android.bluetooth.BluetoothMap |
| 227 | NotCloseable: android.bluetooth.BluetoothPan: |
| 228 | Classes that release resources (finalize()) should implement AutoClosable and CloseGuard: class android.bluetooth.BluetoothPan |
| 229 | NotCloseable: android.bluetooth.BluetoothPbap: |
| 230 | Classes that release resources (finalize()) should implement AutoClosable and CloseGuard: class android.bluetooth.BluetoothPbap |
| 231 | |
| 232 | |
| 233 | OnNameExpected: android.content.ContentProvider#checkUriPermission(android.net.Uri, int, int): |
| 234 | If implemented by developer, should follow the on<Something> style; otherwise consider marking final |
| 235 | |
| 236 | |
Etan Cohen | 804d94a | 2020-02-15 17:33:27 -0800 | [diff] [blame] | 237 | PairedRegistration: android.net.wifi.nl80211.WifiNl80211Manager#registerApCallback(String, java.util.concurrent.Executor, android.net.wifi.nl80211.WifiNl80211Manager.SoftApCallback): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 238 | |
| 239 | |
| 240 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 241 | ProtectedMember: android.printservice.recommendation.RecommendationService#attachBaseContext(android.content.Context): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 242 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 243 | ProtectedMember: android.service.contentcapture.ContentCaptureService#dump(java.io.FileDescriptor, java.io.PrintWriter, String[]): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 244 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 245 | ProtectedMember: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context): |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 246 | |
| 247 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 248 | |
Sarah Chin | a63e69c | 2020-01-22 15:41:53 -0800 | [diff] [blame] | 249 | ResourceValueFieldName: android.R.array#config_sms_enabled_locking_shift_tables: |
| 250 | Expected resource name in `android.R.array` to be in the `fooBarBaz` style, was `config_sms_enabled_locking_shift_tables` |
| 251 | ResourceValueFieldName: android.R.array#config_sms_enabled_single_shift_tables: |
| 252 | Expected resource name in `android.R.array` to be in the `fooBarBaz` style, was `config_sms_enabled_single_shift_tables` |
| 253 | |
| 254 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 255 | SamShouldBeLast: android.accounts.AccountManager#addAccount(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 256 | |
| 257 | SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean): |
| 258 | |
| 259 | SamShouldBeLast: android.accounts.AccountManager#addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener, android.os.Handler, boolean, String[]): |
| 260 | |
| 261 | SamShouldBeLast: android.accounts.AccountManager#confirmCredentials(android.accounts.Account, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 262 | |
| 263 | SamShouldBeLast: android.accounts.AccountManager#editProperties(String, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 264 | |
| 265 | SamShouldBeLast: android.accounts.AccountManager#finishSession(android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 266 | |
| 267 | SamShouldBeLast: android.accounts.AccountManager#getAccountsByTypeAndFeatures(String, String[], android.accounts.AccountManagerCallback<android.accounts.Account[]>, android.os.Handler): |
| 268 | |
| 269 | SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 270 | |
| 271 | SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, android.os.Bundle, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 272 | |
| 273 | SamShouldBeLast: android.accounts.AccountManager#getAuthToken(android.accounts.Account, String, boolean, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 274 | |
| 275 | SamShouldBeLast: android.accounts.AccountManager#getAuthTokenByFeatures(String, String, String[], android.app.Activity, android.os.Bundle, android.os.Bundle, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 276 | |
| 277 | SamShouldBeLast: android.accounts.AccountManager#hasFeatures(android.accounts.Account, String[], android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler): |
| 278 | |
| 279 | SamShouldBeLast: android.accounts.AccountManager#isCredentialsUpdateSuggested(android.accounts.Account, String, android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler): |
| 280 | |
| 281 | SamShouldBeLast: android.accounts.AccountManager#removeAccount(android.accounts.Account, android.accounts.AccountManagerCallback<java.lang.Boolean>, android.os.Handler): |
| 282 | |
| 283 | SamShouldBeLast: android.accounts.AccountManager#removeAccount(android.accounts.Account, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 284 | |
| 285 | SamShouldBeLast: android.accounts.AccountManager#renameAccount(android.accounts.Account, String, android.accounts.AccountManagerCallback<android.accounts.Account>, android.os.Handler): |
| 286 | |
| 287 | SamShouldBeLast: android.accounts.AccountManager#startAddAccountSession(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 288 | |
| 289 | SamShouldBeLast: android.accounts.AccountManager#startUpdateCredentialsSession(android.accounts.Account, String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 290 | |
| 291 | SamShouldBeLast: android.accounts.AccountManager#updateCredentials(android.accounts.Account, String, android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback<android.os.Bundle>, android.os.Handler): |
| 292 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 293 | SamShouldBeLast: android.app.AlarmManager#set(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.Handler): |
| 294 | |
| 295 | SamShouldBeLast: android.app.AlarmManager#setExact(int, long, String, android.app.AlarmManager.OnAlarmListener, android.os.Handler): |
| 296 | |
| 297 | SamShouldBeLast: android.app.AlarmManager#setWindow(int, long, long, String, android.app.AlarmManager.OnAlarmListener, android.os.Handler): |
| 298 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 299 | SamShouldBeLast: android.app.WallpaperInfo#dump(android.util.Printer, String): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 300 | |
| 301 | SamShouldBeLast: android.app.WallpaperManager#addOnColorsChangedListener(android.app.WallpaperManager.OnColorsChangedListener, android.os.Handler): |
| 302 | SAM-compatible parameters (such as parameter 1, "listener", in android.app.WallpaperManager.addOnColorsChangedListener) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 303 | SamShouldBeLast: android.app.admin.DevicePolicyManager#installSystemUpdate(android.content.ComponentName, android.net.Uri, java.util.concurrent.Executor, android.app.admin.DevicePolicyManager.InstallSystemUpdateCallback): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 304 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 305 | SamShouldBeLast: android.content.Context#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection): |
| 306 | |
| 307 | SamShouldBeLast: android.content.Context#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection): |
| 308 | |
| 309 | SamShouldBeLast: android.content.ContextWrapper#bindIsolatedService(android.content.Intent, int, String, java.util.concurrent.Executor, android.content.ServiceConnection): |
| 310 | |
| 311 | SamShouldBeLast: android.content.ContextWrapper#bindService(android.content.Intent, int, java.util.concurrent.Executor, android.content.ServiceConnection): |
| 312 | |
| 313 | SamShouldBeLast: android.content.IntentFilter#dump(android.util.Printer, String): |
| 314 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 315 | SamShouldBeLast: android.content.pm.ApplicationInfo#dump(android.util.Printer, String): |
| 316 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 317 | SamShouldBeLast: android.content.pm.LauncherApps#registerPackageInstallerSessionCallback(java.util.concurrent.Executor, android.content.pm.PackageInstaller.SessionCallback): |
| 318 | |
| 319 | SamShouldBeLast: android.content.pm.PackageItemInfo#dumpBack(android.util.Printer, String): |
| 320 | |
| 321 | SamShouldBeLast: android.content.pm.PackageItemInfo#dumpFront(android.util.Printer, String): |
| 322 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 323 | SamShouldBeLast: android.content.pm.ResolveInfo#dump(android.util.Printer, String): |
| 324 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 325 | SamShouldBeLast: android.location.Location#dump(android.util.Printer, String): |
| 326 | |
| 327 | SamShouldBeLast: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessageListener, android.os.Handler): |
| 328 | |
| 329 | SamShouldBeLast: android.location.LocationManager#registerGnssMeasurementsCallback(java.util.concurrent.Executor, android.location.GnssMeasurementsEvent.Callback): |
| 330 | |
| 331 | SamShouldBeLast: android.location.LocationManager#registerGnssNavigationMessageCallback(java.util.concurrent.Executor, android.location.GnssNavigationMessage.Callback): |
| 332 | |
| 333 | SamShouldBeLast: android.location.LocationManager#registerGnssStatusCallback(java.util.concurrent.Executor, android.location.GnssStatus.Callback): |
| 334 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 335 | SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(String, long, float, android.location.LocationListener, android.os.Looper): |
| 336 | SAM-compatible parameters (such as parameter 4, "listener", in android.location.LocationManager.requestLocationUpdates) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 337 | SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(String, long, float, java.util.concurrent.Executor, android.location.LocationListener): |
| 338 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 339 | SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(android.location.LocationRequest, java.util.concurrent.Executor, android.location.LocationListener): |
| 340 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 341 | SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper): |
| 342 | SAM-compatible parameters (such as parameter 4, "listener", in android.location.LocationManager.requestLocationUpdates) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 343 | SamShouldBeLast: android.location.LocationManager#requestLocationUpdates(long, float, android.location.Criteria, java.util.concurrent.Executor, android.location.LocationListener): |
| 344 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 345 | SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(String, android.location.LocationListener, android.os.Looper): |
| 346 | SAM-compatible parameters (such as parameter 2, "listener", in android.location.LocationManager.requestSingleUpdate) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions |
| 347 | SamShouldBeLast: android.location.LocationManager#requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.Looper): |
| 348 | SAM-compatible parameters (such as parameter 2, "listener", in android.location.LocationManager.requestSingleUpdate) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 349 | SamShouldBeLast: android.media.AudioFocusRequest.Builder#setOnAudioFocusChangeListener(android.media.AudioManager.OnAudioFocusChangeListener, android.os.Handler): |
| 350 | |
| 351 | SamShouldBeLast: android.media.AudioManager#requestAudioFocus(android.media.AudioManager.OnAudioFocusChangeListener, int, int): |
| 352 | |
| 353 | SamShouldBeLast: android.media.AudioRecord#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler): |
| 354 | |
| 355 | SamShouldBeLast: android.media.AudioRecord#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback): |
| 356 | |
| 357 | SamShouldBeLast: android.media.AudioRecordingMonitor#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback): |
| 358 | |
| 359 | SamShouldBeLast: android.media.AudioRouting#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler): |
| 360 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 361 | SamShouldBeLast: android.media.MediaRecorder#addOnRoutingChangedListener(android.media.AudioRouting.OnRoutingChangedListener, android.os.Handler): |
| 362 | |
| 363 | SamShouldBeLast: android.media.MediaRecorder#registerAudioRecordingCallback(java.util.concurrent.Executor, android.media.AudioManager.AudioRecordingCallback): |
| 364 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 365 | SamShouldBeLast: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, android.content.ComponentName): |
| 366 | |
| 367 | SamShouldBeLast: android.media.session.MediaSessionManager#addOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener, android.content.ComponentName, android.os.Handler): |
| 368 | |
| 369 | SamShouldBeLast: android.media.session.MediaSessionManager#addOnSession2TokensChangedListener(android.media.session.MediaSessionManager.OnSession2TokensChangedListener, android.os.Handler): |
| 370 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 371 | SamShouldBeLast: android.media.session.MediaSessionManager#registerCallback(java.util.concurrent.Executor, android.media.session.MediaSessionManager.Callback): |
| 372 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 373 | SamShouldBeLast: android.net.ConnectivityManager#createSocketKeepalive(android.net.Network, android.net.IpSecManager.UdpEncapsulationSocket, java.net.InetAddress, java.net.InetAddress, java.util.concurrent.Executor, android.net.SocketKeepalive.Callback): |
| 374 | |
Patrik Fimml | c7c962f | 2019-09-10 15:35:09 +0200 | [diff] [blame] | 375 | SamShouldBeLast: android.net.wifi.WifiManager#startLocalOnlyHotspot(android.net.wifi.SoftApConfiguration, java.util.concurrent.Executor, android.net.wifi.WifiManager.LocalOnlyHotspotCallback): |
| 376 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 377 | SamShouldBeLast: android.net.wifi.rtt.WifiRttManager#startRanging(android.net.wifi.rtt.RangingRequest, java.util.concurrent.Executor, android.net.wifi.rtt.RangingResultCallback): |
| 378 | |
| 379 | SamShouldBeLast: android.nfc.NfcAdapter#enableReaderMode(android.app.Activity, android.nfc.NfcAdapter.ReaderCallback, int, android.os.Bundle): |
| 380 | |
| 381 | SamShouldBeLast: android.nfc.NfcAdapter#ignore(android.nfc.Tag, int, android.nfc.NfcAdapter.OnTagRemovedListener, android.os.Handler): |
| 382 | |
| 383 | SamShouldBeLast: android.nfc.NfcAdapter#setBeamPushUrisCallback(android.nfc.NfcAdapter.CreateBeamUrisCallback, android.app.Activity): |
| 384 | |
| 385 | SamShouldBeLast: android.nfc.NfcAdapter#setNdefPushMessageCallback(android.nfc.NfcAdapter.CreateNdefMessageCallback, android.app.Activity, android.app.Activity...): |
| 386 | |
| 387 | SamShouldBeLast: android.nfc.NfcAdapter#setOnNdefPushCompleteCallback(android.nfc.NfcAdapter.OnNdefPushCompleteCallback, android.app.Activity, android.app.Activity...): |
| 388 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 389 | SamShouldBeLast: android.os.Binder#attachInterface(android.os.IInterface, String): |
| 390 | |
| 391 | SamShouldBeLast: android.os.Binder#linkToDeath(android.os.IBinder.DeathRecipient, int): |
| 392 | |
| 393 | SamShouldBeLast: android.os.Binder#unlinkToDeath(android.os.IBinder.DeathRecipient, int): |
| 394 | |
| 395 | SamShouldBeLast: android.os.Handler#dump(android.util.Printer, String): |
| 396 | |
| 397 | SamShouldBeLast: android.os.Handler#postAtTime(Runnable, Object, long): |
| 398 | |
| 399 | SamShouldBeLast: android.os.Handler#postAtTime(Runnable, long): |
| 400 | |
| 401 | SamShouldBeLast: android.os.Handler#postDelayed(Runnable, Object, long): |
| 402 | |
| 403 | SamShouldBeLast: android.os.Handler#postDelayed(Runnable, long): |
| 404 | |
| 405 | SamShouldBeLast: android.os.Handler#removeCallbacks(Runnable, Object): |
| 406 | |
| 407 | SamShouldBeLast: android.os.IBinder#linkToDeath(android.os.IBinder.DeathRecipient, int): |
| 408 | |
| 409 | SamShouldBeLast: android.os.IBinder#unlinkToDeath(android.os.IBinder.DeathRecipient, int): |
| 410 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 411 | SamShouldBeLast: android.os.RecoverySystem#verifyPackage(java.io.File, android.os.RecoverySystem.ProgressListener, java.io.File): |
| 412 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 413 | SamShouldBeLast: android.telephony.MbmsDownloadSession#addProgressListener(android.telephony.mbms.DownloadRequest, java.util.concurrent.Executor, android.telephony.mbms.DownloadProgressListener): |
| 414 | |
| 415 | SamShouldBeLast: android.telephony.MbmsDownloadSession#addStatusListener(android.telephony.mbms.DownloadRequest, java.util.concurrent.Executor, android.telephony.mbms.DownloadStatusListener): |
| 416 | |
| 417 | SamShouldBeLast: android.telephony.MbmsDownloadSession#create(android.content.Context, java.util.concurrent.Executor, android.telephony.mbms.MbmsDownloadSessionCallback): |
| 418 | |
| 419 | SamShouldBeLast: android.telephony.MbmsDownloadSession#create(android.content.Context, java.util.concurrent.Executor, int, android.telephony.mbms.MbmsDownloadSessionCallback): |
| 420 | |
| 421 | SamShouldBeLast: android.telephony.MbmsGroupCallSession#create(android.content.Context, int, java.util.concurrent.Executor, android.telephony.mbms.MbmsGroupCallSessionCallback): |
| 422 | |
| 423 | SamShouldBeLast: android.telephony.MbmsGroupCallSession#create(android.content.Context, java.util.concurrent.Executor, android.telephony.mbms.MbmsGroupCallSessionCallback): |
| 424 | |
| 425 | SamShouldBeLast: android.telephony.MbmsGroupCallSession#startGroupCall(long, java.util.List<java.lang.Integer>, java.util.List<java.lang.Integer>, java.util.concurrent.Executor, android.telephony.mbms.GroupCallCallback): |
| 426 | |
| 427 | SamShouldBeLast: android.telephony.MbmsStreamingSession#create(android.content.Context, java.util.concurrent.Executor, android.telephony.mbms.MbmsStreamingSessionCallback): |
| 428 | |
| 429 | SamShouldBeLast: android.telephony.MbmsStreamingSession#create(android.content.Context, java.util.concurrent.Executor, int, android.telephony.mbms.MbmsStreamingSessionCallback): |
| 430 | |
| 431 | SamShouldBeLast: android.telephony.MbmsStreamingSession#startStreaming(android.telephony.mbms.StreamingServiceInfo, java.util.concurrent.Executor, android.telephony.mbms.StreamingServiceCallback): |
| 432 | |
| 433 | SamShouldBeLast: android.telephony.SmsManager#getSmsMessagesForFinancialApp(android.os.Bundle, java.util.concurrent.Executor, android.telephony.SmsManager.FinancialSmsCallback): |
| 434 | |
| 435 | SamShouldBeLast: android.telephony.SubscriptionManager#addOnOpportunisticSubscriptionsChangedListener(java.util.concurrent.Executor, android.telephony.SubscriptionManager.OnOpportunisticSubscriptionsChangedListener): |
| 436 | |
| 437 | SamShouldBeLast: android.telephony.TelephonyManager#requestCellInfoUpdate(java.util.concurrent.Executor, android.telephony.TelephonyManager.CellInfoCallback): |
| 438 | |
| 439 | SamShouldBeLast: android.telephony.TelephonyManager#requestNetworkScan(android.telephony.NetworkScanRequest, java.util.concurrent.Executor, android.telephony.TelephonyScanManager.NetworkScanCallback): |
| 440 | |
| 441 | SamShouldBeLast: android.telephony.TelephonyManager#setPreferredOpportunisticDataSubscription(int, boolean, java.util.concurrent.Executor, java.util.function.Consumer<java.lang.Integer>): |
| 442 | |
| 443 | SamShouldBeLast: android.telephony.TelephonyManager#updateAvailableNetworks(java.util.List<android.telephony.AvailableNetworkInfo>, java.util.concurrent.Executor, java.util.function.Consumer<java.lang.Integer>): |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 444 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 445 | SamShouldBeLast: android.view.View#postDelayed(Runnable, long): |
| 446 | |
| 447 | SamShouldBeLast: android.view.View#postOnAnimationDelayed(Runnable, long): |
| 448 | |
| 449 | SamShouldBeLast: android.view.View#scheduleDrawable(android.graphics.drawable.Drawable, Runnable, long): |
| 450 | |
| 451 | SamShouldBeLast: android.view.Window#addOnFrameMetricsAvailableListener(android.view.Window.OnFrameMetricsAvailableListener, android.os.Handler): |
| 452 | |
| 453 | SamShouldBeLast: android.view.accessibility.AccessibilityManager#addAccessibilityStateChangeListener(android.view.accessibility.AccessibilityManager.AccessibilityStateChangeListener, android.os.Handler): |
| 454 | |
| 455 | SamShouldBeLast: android.view.accessibility.AccessibilityManager#addTouchExplorationStateChangeListener(android.view.accessibility.AccessibilityManager.TouchExplorationStateChangeListener, android.os.Handler): |
| 456 | |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 457 | SamShouldBeLast: android.webkit.WebChromeClient#onShowFileChooser(android.webkit.WebView, android.webkit.ValueCallback<android.net.Uri[]>, android.webkit.WebChromeClient.FileChooserParams): |
| 458 | |
| 459 | SamShouldBeLast: android.webkit.WebView#setWebViewRenderProcessClient(java.util.concurrent.Executor, android.webkit.WebViewRenderProcessClient): |
| 460 | |
| 461 | |
| 462 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 463 | ServiceName: android.Manifest.permission#BIND_ATTENTION_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 464 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 465 | ServiceName: android.Manifest.permission#BIND_AUGMENTED_AUTOFILL_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 466 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 467 | ServiceName: android.Manifest.permission#BIND_CELL_BROADCAST_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 468 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 469 | ServiceName: android.Manifest.permission#BIND_CONTENT_CAPTURE_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 470 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 471 | ServiceName: android.Manifest.permission#BIND_CONTENT_SUGGESTIONS_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 472 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 473 | ServiceName: android.Manifest.permission#BIND_EUICC_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 474 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 475 | ServiceName: android.Manifest.permission#BIND_EXTERNAL_STORAGE_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 476 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 477 | ServiceName: android.Manifest.permission#BIND_IMS_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 478 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 479 | ServiceName: android.Manifest.permission#BIND_NETWORK_RECOMMENDATION_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 480 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 481 | ServiceName: android.Manifest.permission#BIND_NOTIFICATION_ASSISTANT_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 482 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 483 | ServiceName: android.Manifest.permission#BIND_PHONE_ACCOUNT_SUGGESTION_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 484 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 485 | ServiceName: android.Manifest.permission#BIND_PRINT_RECOMMENDATION_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 486 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 487 | ServiceName: android.Manifest.permission#BIND_RESOLVER_RANKER_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 488 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 489 | ServiceName: android.Manifest.permission#BIND_RUNTIME_PERMISSION_PRESENTER_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 490 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 491 | ServiceName: android.Manifest.permission#BIND_SETTINGS_SUGGESTIONS_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 492 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 493 | ServiceName: android.Manifest.permission#BIND_SOUND_TRIGGER_DETECTION_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 494 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 495 | ServiceName: android.Manifest.permission#BIND_TELEPHONY_DATA_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 496 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 497 | ServiceName: android.Manifest.permission#BIND_TELEPHONY_NETWORK_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 498 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 499 | ServiceName: android.Manifest.permission#BIND_TEXTCLASSIFIER_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 500 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 501 | ServiceName: android.Manifest.permission#BIND_TV_REMOTE_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 502 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 503 | ServiceName: android.Manifest.permission#PROVIDE_RESOLVER_RANKER_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 504 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 505 | ServiceName: android.Manifest.permission#REQUEST_NOTIFICATION_ASSISTANT_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 506 | |
Adrian Roos | 2ff65cd | 2019-10-14 16:27:41 +0200 | [diff] [blame] | 507 | ServiceName: android.provider.DeviceConfig#NAMESPACE_PACKAGE_MANAGER_SERVICE: |
Adrian Roos | 51c34e8 | 2019-10-12 17:46:15 +0200 | [diff] [blame] | 508 | |
Jay Aliomer | 15d8554 | 2019-12-07 12:14:26 -0500 | [diff] [blame] | 509 | |
| 510 | |
| 511 | UserHandle: android.companion.CompanionDeviceManager#isDeviceAssociated(String, android.net.MacAddress, android.os.UserHandle): |
| 512 | When a method overload is needed to target a specific UserHandle, callers should be directed to use Context.createPackageContextAsUser() and re-obtain the relevant Manager, and no new API should be added |
| 513 | |
| 514 | |
| 515 | UserHandleName: android.telephony.CellBroadcastIntents#sendOrderedBroadcastForBackgroundReceivers(android.content.Context, android.os.UserHandle, android.content.Intent, String, String, android.content.BroadcastReceiver, android.os.Handler, int, String, android.os.Bundle): |
| 516 | Method taking UserHandle should be named `doFooAsUser` or `queryFooForUser`, was `sendOrderedBroadcastForBackgroundReceivers` |