blob: 7e044698c72c5d484d2ac55be76c869050f791a5 [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
Soonil Nagarkar00fe7e22019-02-28 13:52:27 -080063package android.location {
64
65 public class LocationManager {
66 method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
67 method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
68 method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener);
69 method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener);
70 }
71
72}
73
Dongwon Kange12d8102016-03-04 16:45:39 -080074package android.media.tv {
75
Jeff Sharkeyc204c222017-11-27 15:02:10 -070076 public final class TvInputManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -080077 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 -070078 }
79
Shubang15985cb2017-08-17 14:58:02 -070080 public static final class TvInputManager.Hardware {
81 method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent);
82 }
83
Narayan Kamath406e1ed2014-12-10 18:55:12 +000084}
85
Jeff Sharkeyf52db082017-08-09 08:30:27 -060086package android.net.wifi {
87
Tor Norbye68ea0c32018-12-26 19:55:07 -080088 @Deprecated public class BatchedScanResult implements android.os.Parcelable {
Jeff Sharkeyc204c222017-11-27 15:02:10 -070089 ctor public BatchedScanResult();
90 ctor public BatchedScanResult(android.net.wifi.BatchedScanResult);
91 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
92 field public boolean truncated;
93 }
94
Jeff Sharkey84789112017-08-11 14:45:43 -060095 public class ScanResult implements android.os.Parcelable {
96 field public boolean untrusted;
97 }
98
Jeff Sharkeyf52db082017-08-09 08:30:27 -060099}
100
Ying Wang02937eb2015-01-09 11:51:26 -0800101package android.os {
102
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600103 public class Build {
Philip P. Moltmann6c644e62018-07-18 15:41:24 -0700104 field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true;
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600105 }
106
Ying Wang02937eb2015-01-09 11:51:26 -0800107 public final class PowerManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800108 method @Deprecated public boolean isScreenBrightnessBoosted();
109 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 -0800110 }
111
Svetoslavdbbeeb32015-02-18 19:16:25 -0800112}
113
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600114package android.service.notification {
115
116 public abstract class NotificationListenerService extends android.app.Service {
117 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800118 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600119 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException;
120 method public final void setOnNotificationPostedTrim(int);
Tor Norbye68ea0c32018-12-26 19:55:07 -0800121 method public final void snoozeNotification(String, String);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600122 method public void unregisterAsSystemService() throws android.os.RemoteException;
123 field public static final int TRIM_FULL = 0; // 0x0
124 field public static final int TRIM_LIGHT = 1; // 0x1
125 }
126
127 public static class NotificationListenerService.Ranking {
128 method public java.util.List<java.lang.String> getAdditionalPeople();
129 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria();
130 }
131
132}
133
Hall Liu78b57072018-09-17 18:10:58 -0700134package android.telephony {
135
136 public class TelephonyManager {
Tor Norbye68ea0c32018-12-26 19:55:07 -0800137 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
138 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
139 method @Deprecated public void silenceRinger();
Hall Liu78b57072018-09-17 18:10:58 -0700140 }
141
142}
143