blob: 09544c11f8b76fbd1626fb4a6275f815ff4b342c [file] [log] [blame]
Tor Norbye68ea0c32018-12-26 19:55:07 -08001// Signature format: 2.0
Zimuzo8236d332018-08-29 10:47:51 +01002package android {
3
4 public static final class Manifest.permission {
Tor Norbye68ea0c32018-12-26 19:55:07 -08005 field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS";
Zimuzo8236d332018-08-29 10:47:51 +01006 }
7
8}
9
Chris Wrena05db382015-06-24 15:18:34 -040010package android.app {
11
Suprabh Shukla169bed72019-05-13 13:54:58 -070012 public class AppOpsManager {
13 method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.GET_APP_OPS_STATS) public java.util.List<android.app.AppOpsManager.PackageOps> getOpsForPackage(int, @NonNull String, @Nullable int[]);
Philip P. Moltmann5892a8f2020-03-03 12:05:55 -080014 method @Deprecated public void setNotedAppOpsCollector(@Nullable android.app.AppOpsManager.AppOpsCollector);
15 }
16
17 @Deprecated public abstract static class AppOpsManager.AppOpsCollector extends android.app.AppOpsManager.OnOpNotedCallback {
18 ctor public AppOpsManager.AppOpsCollector();
19 method @NonNull public java.util.concurrent.Executor getAsyncNotedExecutor();
Suprabh Shukla169bed72019-05-13 13:54:58 -070020 }
21
Chris Wrena05db382015-06-24 15:18:34 -040022 public class Notification implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080023 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
Jeff Sharkey000ce802017-04-29 13:13:27 -060024 }
25
26 public static final class Notification.TvExtender implements android.app.Notification.Extender {
Tor Norbye68ea0c32018-12-26 19:55:07 -080027 method @Deprecated public String getChannel();
Jeff Sharkey000ce802017-04-29 13:13:27 -060028 }
29
Chris Wrena05db382015-06-24 15:18:34 -040030}
31
Suprabh Shukla169bed72019-05-13 13:54:58 -070032package android.app.backup {
33
34 public class RestoreSession {
35 method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]);
36 method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, String[]);
37 }
38
39}
40
41package android.app.prediction {
42
43 public static final class AppTarget.Builder {
44 ctor @Deprecated public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId);
45 method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull String, @NonNull android.os.UserHandle);
46 method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull android.content.pm.ShortcutInfo);
47 }
48
49}
50
Jeff Sharkey8a372a02016-03-16 16:25:45 -060051package android.content {
52
Garfield Tance1d0e92017-03-23 10:52:48 -070053 public class Intent implements java.lang.Cloneable android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080054 field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD";
55 field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR";
56 field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE";
57 field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
58 field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
59 field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator";
60 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long";
61 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short";
62 field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric";
63 field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology";
64 field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState";
65 field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType";
66 field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly";
67 field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration";
68 field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
69 field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost";
70 field @Deprecated public static final String EXTRA_MANUAL = "manual";
71 field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId";
72 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long";
73 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short";
74 field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric";
75 field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId";
76 field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology";
77 field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState";
78 field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType";
Garfield Tance1d0e92017-03-23 10:52:48 -070079 }
80
Jeff Sharkey8a372a02016-03-16 16:25:45 -060081}
82
Suprabh Shukla169bed72019-05-13 13:54:58 -070083package android.content.pm {
84
85 public class PackageItemInfo {
86 field @Deprecated public static final int SAFE_LABEL_FLAG_FIRST_LINE = 4; // 0x4
87 field @Deprecated public static final int SAFE_LABEL_FLAG_SINGLE_LINE = 2; // 0x2
88 field @Deprecated public static final int SAFE_LABEL_FLAG_TRIM = 1; // 0x1
89 }
90
91}
92
Amyd23043a2019-03-18 16:17:20 -070093package android.hardware.hdmi {
94
95 public final class HdmiControlManager {
96 method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevicesList();
97 method @Deprecated public boolean isRemoteDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
98 method @Deprecated public void powerOffRemoteDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
99 method @Deprecated public void powerOnRemoteDevice(android.hardware.hdmi.HdmiDeviceInfo);
100 method @Deprecated public void requestRemoteDeviceToBecomeActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
101 }
102
103}
104
Soonil Nagarkar00fe7e22019-02-28 13:52:27 -0800105package android.location {
106
107 public class LocationManager {
108 method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
109 method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
110 method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
111 method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
Wei Wang114922a2019-01-30 18:19:35 -0800112 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackage(String);
113 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackageEnabled(boolean);
Soonil Nagarkar00fe7e22019-02-28 13:52:27 -0800114 }
115
116}
117
Dongwon Kange12d8102016-03-04 16:45:39 -0800118package android.media.tv {
119
Jeff Sharkeyc204c222017-11-27 15:02:10 -0700120 public final class TvInputManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800121 method @RequiresPermission(android.Manifest.permission.TV_INPUT_HARDWARE) public android.media.tv.TvInputManager.Hardware acquireTvInputHardware(int, android.media.tv.TvInputManager.HardwareCallback, android.media.tv.TvInputInfo);
Jeff Sharkeyc204c222017-11-27 15:02:10 -0700122 }
123
Shubang15985cb2017-08-17 14:58:02 -0700124 public static final class TvInputManager.Hardware {
125 method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent);
126 }
127
Narayan Kamath406e1ed2014-12-10 18:55:12 +0000128}
129
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600130package android.net.wifi {
131
Tor Norbye68ea0c32018-12-26 19:55:07 -0800132 @Deprecated public class BatchedScanResult implements android.os.Parcelable {
Jeff Sharkeyc204c222017-11-27 15:02:10 -0700133 ctor public BatchedScanResult();
134 ctor public BatchedScanResult(android.net.wifi.BatchedScanResult);
135 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
136 field public boolean truncated;
137 }
138
Michael Wright0e0734c2020-03-18 20:07:05 +0000139 public final class ScanResult implements android.os.Parcelable {
Jeff Sharkey84789112017-08-11 14:45:43 -0600140 field public boolean untrusted;
141 }
142
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600143}
144
Ying Wang02937eb2015-01-09 11:51:26 -0800145package android.os {
146
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600147 public class Build {
Philip P. Moltmann6c644e62018-07-18 15:41:24 -0700148 field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true;
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600149 }
150
Svetoslavdbbeeb32015-02-18 19:16:25 -0800151}
152
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600153package android.service.notification {
154
155 public abstract class NotificationListenerService extends android.app.Service {
156 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800157 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600158 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException;
159 method public final void setOnNotificationPostedTrim(int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800160 method public final void snoozeNotification(String, String);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600161 method public void unregisterAsSystemService() throws android.os.RemoteException;
162 field public static final int TRIM_FULL = 0; // 0x0
163 field public static final int TRIM_LIGHT = 1; // 0x1
164 }
165
166 public static class NotificationListenerService.Ranking {
167 method public java.util.List<java.lang.String> getAdditionalPeople();
168 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria();
169 }
170
171}
172
Suprabh Shukla169bed72019-05-13 13:54:58 -0700173package android.telecom {
174
175 public class TelecomManager {
176 method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.WRITE_SECURE_SETTINGS}) public boolean setDefaultDialer(@Nullable String);
177 }
178
179}
180
Hall Liu78b57072018-09-17 18:10:58 -0700181package android.telephony {
182
Michael Wrighteec778c2020-03-30 21:25:02 +0100183 public final class PreciseDataConnectionState implements android.os.Parcelable {
184 method @Deprecated @Nullable public android.net.LinkProperties getDataConnectionLinkProperties();
185 method @Deprecated public int getDataConnectionNetworkType();
186 }
187
Hall Liu78b57072018-09-17 18:10:58 -0700188 public class TelephonyManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800189 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
190 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
191 method @Deprecated public void silenceRinger();
Hall Liu78b57072018-09-17 18:10:58 -0700192 }
193
194}
195
Jack Yu806b6422019-03-18 00:12:03 -0700196package android.telephony.data {
197
198 public final class DataCallResponse implements android.os.Parcelable {
199 ctor public DataCallResponse(int, int, int, int, int, @Nullable String, @Nullable java.util.List<android.net.LinkAddress>, @Nullable java.util.List<java.net.InetAddress>, @Nullable java.util.List<java.net.InetAddress>, @Nullable java.util.List<java.net.InetAddress>, int);
200 }
201
202}
203