blob: 478ec2873efc2db4d61ace935e1da97f16668757 [file] [log] [blame]
Tor Norbye8752ded2018-12-26 19:55:07 -08001// Signature format: 2.0
Chris Wrena05db382015-06-24 15:18:34 -04002package android.app {
3
4 public class Notification implements android.os.Parcelable {
Tor Norbye8752ded2018-12-26 19:55:07 -08005 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
Jeff Sharkey000ce802017-04-29 13:13:27 -06006 }
7
8 public static final class Notification.TvExtender implements android.app.Notification.Extender {
Tor Norbye8752ded2018-12-26 19:55:07 -08009 method @Deprecated public String getChannel();
Jeff Sharkey000ce802017-04-29 13:13:27 -060010 }
11
Chris Wrena05db382015-06-24 15:18:34 -040012}
13
phweiss27ee3342016-02-08 16:40:45 +010014package android.app.admin {
15
16 public class DevicePolicyManager {
Tor Norbye8752ded2018-12-26 19:55:07 -080017 method @Deprecated @Nullable public String getDeviceInitializerApp();
18 method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent();
phweiss27ee3342016-02-08 16:40:45 +010019 }
20
21}
22
Jeff Sharkey8a372a02016-03-16 16:25:45 -060023package android.content {
24
Garfield Tance1d0e92017-03-23 10:52:48 -070025 public class Intent implements java.lang.Cloneable android.os.Parcelable {
Tor Norbye8752ded2018-12-26 19:55:07 -080026 field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD";
27 field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR";
28 field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE";
29 field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
30 field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
31 field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator";
32 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long";
33 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short";
34 field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric";
35 field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology";
36 field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState";
37 field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType";
38 field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly";
39 field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration";
40 field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
41 field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost";
42 field @Deprecated public static final String EXTRA_MANUAL = "manual";
43 field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId";
44 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long";
45 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short";
46 field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric";
47 field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId";
48 field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology";
49 field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState";
50 field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType";
Garfield Tance1d0e92017-03-23 10:52:48 -070051 }
52
Jeff Sharkey8a372a02016-03-16 16:25:45 -060053}
54
Dongwon Kange12d8102016-03-04 16:45:39 -080055package android.media.tv {
56
Jeff Sharkeyc204c222017-11-27 15:02:10 -070057 public final class TvInputManager {
Tor Norbye8752ded2018-12-26 19:55:07 -080058 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 -070059 }
60
Shubang15985cb2017-08-17 14:58:02 -070061 public static final class TvInputManager.Hardware {
62 method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent);
63 }
64
Narayan Kamath406e1ed2014-12-10 18:55:12 +000065}
66
Jeff Sharkeyf52db082017-08-09 08:30:27 -060067package android.net.wifi {
68
Tor Norbye8752ded2018-12-26 19:55:07 -080069 @Deprecated public class BatchedScanResult implements android.os.Parcelable {
Jeff Sharkeyc204c222017-11-27 15:02:10 -070070 ctor public BatchedScanResult();
71 ctor public BatchedScanResult(android.net.wifi.BatchedScanResult);
72 field public final java.util.List<android.net.wifi.ScanResult> scanResults;
73 field public boolean truncated;
74 }
75
Jeff Sharkey84789112017-08-11 14:45:43 -060076 public class ScanResult implements android.os.Parcelable {
77 field public boolean untrusted;
78 }
79
Jeff Sharkeyf52db082017-08-09 08:30:27 -060080}
81
Ying Wang02937eb2015-01-09 11:51:26 -080082package android.os {
83
Jeff Sharkeyf52db082017-08-09 08:30:27 -060084 public class Build {
85 field public static final boolean PERMISSIONS_REVIEW_REQUIRED;
86 }
87
Ying Wang02937eb2015-01-09 11:51:26 -080088 public final class PowerManager {
Tor Norbye8752ded2018-12-26 19:55:07 -080089 method @Deprecated public boolean isScreenBrightnessBoosted();
90 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 -080091 }
92
Svetoslavdbbeeb32015-02-18 19:16:25 -080093}
94
Jeff Sharkey3990ee12018-04-11 10:19:55 -060095package android.security.keystore.recovery {
96
97 public final class KeyChainSnapshot implements android.os.Parcelable {
Tor Norbye8752ded2018-12-26 19:55:07 -080098 method @Deprecated @NonNull public byte[] getTrustedHardwarePublicKey();
Jeff Sharkey3990ee12018-04-11 10:19:55 -060099 }
100
101 public class RecoveryController {
Tor Norbye8752ded2018-12-26 19:55:07 -0800102 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] generateAndStoreKey(@NonNull String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
103 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
104 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List<java.lang.String> getAliases(@Nullable String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
105 method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getRecoveryData() throws android.security.keystore.recovery.InternalRecoveryServiceException;
106 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(String, String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
107 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void initRecoveryService(@NonNull String, @NonNull byte[]) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
108 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.content.pm.PackageManager.NameNotFoundException;
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600109 }
110
111 public class RecoverySession implements java.lang.AutoCloseable {
Tor Norbye8752ded2018-12-26 19:55:07 -0800112 method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,byte[]> recoverKeys(@NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.WrappedApplicationKey>) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException;
113 method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull byte[], @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
114 method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull java.security.cert.CertPath, @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600115 }
116
117 public final class WrappedApplicationKey implements android.os.Parcelable {
Tor Norbye8752ded2018-12-26 19:55:07 -0800118 method @Deprecated @NonNull public byte[] getAccount();
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600119 }
120
121 public static class WrappedApplicationKey.Builder {
Tor Norbye8752ded2018-12-26 19:55:07 -0800122 method @Deprecated public android.security.keystore.recovery.WrappedApplicationKey.Builder setAccount(@NonNull byte[]);
Jeff Sharkey3990ee12018-04-11 10:19:55 -0600123 }
124
125}
126
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600127package android.service.notification {
128
129 public abstract class NotificationListenerService extends android.app.Service {
130 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
Tor Norbye8752ded2018-12-26 19:55:07 -0800131 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600132 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException;
133 method public final void setOnNotificationPostedTrim(int);
Tor Norbye8752ded2018-12-26 19:55:07 -0800134 method public final void snoozeNotification(String, String);
Jeff Sharkeyf52db082017-08-09 08:30:27 -0600135 method public void unregisterAsSystemService() throws android.os.RemoteException;
136 field public static final int TRIM_FULL = 0; // 0x0
137 field public static final int TRIM_LIGHT = 1; // 0x1
138 }
139
140 public static class NotificationListenerService.Ranking {
141 method public java.util.List<java.lang.String> getAdditionalPeople();
142 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria();
143 }
144
145}
146
Hall Liu78b57072018-09-17 18:10:58 -0700147package android.telephony {
148
149 public class TelephonyManager {
Tor Norbye8752ded2018-12-26 19:55:07 -0800150 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
151 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
152 method @Deprecated public void silenceRinger();
Hall Liu78b57072018-09-17 18:10:58 -0700153 }
154
155}
156