Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 2 | package android.app { |
| 3 | |
| 4 | public class Notification implements android.os.Parcelable { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 5 | method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 6 | } |
| 7 | |
| 8 | public static final class Notification.TvExtender implements android.app.Notification.Extender { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 9 | method @Deprecated public String getChannel(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 10 | } |
| 11 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 12 | } |
| 13 | |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 14 | package android.app.admin { |
| 15 | |
| 16 | public class DevicePolicyManager { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 17 | method @Deprecated @Nullable public String getDeviceInitializerApp(); |
| 18 | method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent(); |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | } |
| 22 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 23 | package android.content { |
| 24 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 25 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 26 | 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 Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 51 | } |
| 52 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 53 | } |
| 54 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 55 | package android.media.tv { |
| 56 | |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 57 | public final class TvInputManager { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 58 | 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 Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Shubang | 15985cb | 2017-08-17 14:58:02 -0700 | [diff] [blame] | 61 | public static final class TvInputManager.Hardware { |
| 62 | method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent); |
| 63 | } |
| 64 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 65 | } |
| 66 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 67 | package android.net.wifi { |
| 68 | |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 69 | @Deprecated public class BatchedScanResult implements android.os.Parcelable { |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 70 | 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 Sharkey | 8478911 | 2017-08-11 14:45:43 -0600 | [diff] [blame] | 76 | public class ScanResult implements android.os.Parcelable { |
| 77 | field public boolean untrusted; |
| 78 | } |
| 79 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 80 | } |
| 81 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 82 | package android.os { |
| 83 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 84 | public class Build { |
| 85 | field public static final boolean PERMISSIONS_REVIEW_REQUIRED; |
| 86 | } |
| 87 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 88 | public final class PowerManager { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 89 | 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 Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 91 | } |
| 92 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 93 | } |
| 94 | |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 95 | package android.security.keystore.recovery { |
| 96 | |
| 97 | public final class KeyChainSnapshot implements android.os.Parcelable { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 98 | method @Deprecated @NonNull public byte[] getTrustedHardwarePublicKey(); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 99 | } |
| 100 | |
| 101 | public class RecoveryController { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 102 | 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 Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 109 | } |
| 110 | |
| 111 | public class RecoverySession implements java.lang.AutoCloseable { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 112 | 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 Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 115 | } |
| 116 | |
| 117 | public final class WrappedApplicationKey implements android.os.Parcelable { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 118 | method @Deprecated @NonNull public byte[] getAccount(); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 119 | } |
| 120 | |
| 121 | public static class WrappedApplicationKey.Builder { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 122 | method @Deprecated public android.security.keystore.recovery.WrappedApplicationKey.Builder setAccount(@NonNull byte[]); |
Jeff Sharkey | 3990ee1 | 2018-04-11 10:19:55 -0600 | [diff] [blame] | 123 | } |
| 124 | |
| 125 | } |
| 126 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 127 | package android.service.notification { |
| 128 | |
| 129 | public abstract class NotificationListenerService extends android.app.Service { |
| 130 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 131 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 132 | method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; |
| 133 | method public final void setOnNotificationPostedTrim(int); |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 134 | method public final void snoozeNotification(String, String); |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 135 | 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 Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 147 | package android.telephony { |
| 148 | |
| 149 | public class TelephonyManager { |
Tor Norbye | 8752ded | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 150 | 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 Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 153 | } |
| 154 | |
| 155 | } |
| 156 | |