blob: 8f7112266457dd632cae4ab37ee2efec46b90a1b [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
12 public class Notification implements android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080013 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
Jeff Sharkey000ce802017-04-29 13:13:27 -060014 }
15
16 public static final class Notification.TvExtender implements android.app.Notification.Extender {
Tor Norbye68ea0c32018-12-26 19:55:07 -080017 method @Deprecated public String getChannel();
Jeff Sharkey000ce802017-04-29 13:13:27 -060018 }
19
Chris Wrena05db382015-06-24 15:18:34 -040020}
21
phweiss27ee3342016-02-08 16:40:45 +010022package android.app.admin {
23
24 public class DevicePolicyManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080025 method @Deprecated @Nullable public String getDeviceInitializerApp();
26 method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent();
phweiss27ee3342016-02-08 16:40:45 +010027 }
28
29}
30
Jeff Sharkey8a372a02016-03-16 16:25:45 -060031package android.content {
32
Garfield Tance1d0e92017-03-23 10:52:48 -070033 public class Intent implements java.lang.Cloneable android.os.Parcelable {
Tor Norbye68ea0c32018-12-26 19:55:07 -080034 field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD";
35 field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR";
36 field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE";
37 field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
38 field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
39 field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator";
40 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long";
41 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short";
42 field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric";
43 field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology";
44 field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState";
45 field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType";
46 field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly";
47 field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration";
48 field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
49 field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost";
50 field @Deprecated public static final String EXTRA_MANUAL = "manual";
51 field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId";
52 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long";
53 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short";
54 field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric";
55 field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId";
56 field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology";
57 field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState";
58 field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType";
Garfield Tance1d0e92017-03-23 10:52:48 -070059 }
60
Jeff Sharkey8a372a02016-03-16 16:25:45 -060061}
62
Amyd23043a2019-03-18 16:17:20 -070063package android.hardware.hdmi {
64
65 public final class HdmiControlManager {
66 method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevicesList();
67 method @Deprecated public boolean isRemoteDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
68 method @Deprecated public void powerOffRemoteDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
69 method @Deprecated public void powerOnRemoteDevice(android.hardware.hdmi.HdmiDeviceInfo);
70 method @Deprecated public void requestRemoteDeviceToBecomeActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo);
71 }
72
73}
74
Soonil Nagarkar00fe7e22019-02-28 13:52:27 -080075package android.location {
76
77 public class LocationManager {
78 method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
79 method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
80 method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
81 method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
Wei Wang114922a2019-01-30 18:19:35 -080082 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackage(String);
83 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackageEnabled(boolean);
Soonil Nagarkar00fe7e22019-02-28 13:52:27 -080084 }
85
86}
87
Dongwon Kange12d8102016-03-04 16:45:39 -080088package android.media.tv {
89
Jeff Sharkeyc204c222017-11-27 15:02:10 -070090 public final class TvInputManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080091 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 -070092 }
93
Shubang15985cb2017-08-17 14:58:02 -070094 public static final class TvInputManager.Hardware {
95 method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent);
96 }
97
Narayan Kamath406e1ed2014-12-10 18:55:12 +000098}
99
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600100package android.net.wifi {
101
Tor Norbye68ea0c32018-12-26 19:55:07 -0800102 @Deprecated public class BatchedScanResult implements android.os.Parcelable {
Jeff Sharkeyc204c222017-11-27 15:02:10 -0700103 ctor public BatchedScanResult();
104 ctor public BatchedScanResult(android.net.wifi.BatchedScanResult);
105 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
106 field public boolean truncated;
107 }
108
Jeff Sharkey84789112017-08-11 14:45:43 -0600109 public class ScanResult implements android.os.Parcelable {
110 field public boolean untrusted;
111 }
112
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600113}
114
Ying Wang02937eb2015-01-09 11:51:26 -0800115package android.os {
116
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600117 public class Build {
Philip P. Moltmann6c644e62018-07-18 15:41:24 -0700118 field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true;
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600119 }
120
Ying Wang02937eb2015-01-09 11:51:26 -0800121 public final class PowerManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800122 method @Deprecated public boolean isScreenBrightnessBoosted();
123 field @Deprecated public static final String ACTION_SCREEN_BRIGHTNESS_BOOST_CHANGED = "android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED";
Ying Wang02937eb2015-01-09 11:51:26 -0800124 }
125
Svetoslavdbbeeb32015-02-18 19:16:25 -0800126}
127
Matt Pape1220c342019-04-15 13:17:21 -0700128package android.provider {
129
130 public final class DeviceConfig {
131 method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertyChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
132 method public static void removeOnPropertyChangedListener(@NonNull android.provider.DeviceConfig.OnPropertyChangedListener);
133 }
134
135 public static interface DeviceConfig.OnPropertyChangedListener {
136 method public void onPropertyChanged(@NonNull String, @NonNull String, @Nullable String);
137 }
138
139}
140
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600141package android.service.notification {
142
143 public abstract class NotificationListenerService extends android.app.Service {
144 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800145 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600146 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException;
147 method public final void setOnNotificationPostedTrim(int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800148 method public final void snoozeNotification(String, String);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600149 method public void unregisterAsSystemService() throws android.os.RemoteException;
150 field public static final int TRIM_FULL = 0; // 0x0
151 field public static final int TRIM_LIGHT = 1; // 0x1
152 }
153
154 public static class NotificationListenerService.Ranking {
155 method public java.util.List<java.lang.String> getAdditionalPeople();
156 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria();
157 }
158
159}
160
Hall Liu78b57072018-09-17 18:10:58 -0700161package android.telephony {
162
163 public class TelephonyManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800164 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
165 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
166 method @Deprecated public void silenceRinger();
Hall Liu78b57072018-09-17 18:10:58 -0700167 }
168
169}
170
Jack Yu806b6422019-03-18 00:12:03 -0700171package android.telephony.data {
172
173 public final class DataCallResponse implements android.os.Parcelable {
174 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);
175 }
176
177}
178