Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 1 | // Signature format: 2.0 |
Zimuzo | 8236d33 | 2018-08-29 10:47:51 +0100 | [diff] [blame] | 2 | package android { |
| 3 | |
| 4 | public static final class Manifest.permission { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 5 | field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS"; |
Zimuzo | 8236d33 | 2018-08-29 10:47:51 +0100 | [diff] [blame] | 6 | } |
| 7 | |
| 8 | } |
| 9 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 10 | package android.app { |
| 11 | |
Suprabh Shukla | 169bed7 | 2019-05-13 13:54:58 -0700 | [diff] [blame] | 12 | 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[]); |
| 14 | } |
| 15 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 16 | public class Notification implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 17 | method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | public static final class Notification.TvExtender implements android.app.Notification.Extender { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 21 | method @Deprecated public String getChannel(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 22 | } |
| 23 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 24 | } |
| 25 | |
Suprabh Shukla | 169bed7 | 2019-05-13 13:54:58 -0700 | [diff] [blame] | 26 | package android.app.backup { |
| 27 | |
| 28 | public class RestoreSession { |
| 29 | method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]); |
| 30 | method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, String[]); |
| 31 | } |
| 32 | |
| 33 | } |
| 34 | |
| 35 | package android.app.prediction { |
| 36 | |
| 37 | public static final class AppTarget.Builder { |
| 38 | ctor @Deprecated public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId); |
| 39 | method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull String, @NonNull android.os.UserHandle); |
| 40 | method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull android.content.pm.ShortcutInfo); |
| 41 | } |
| 42 | |
| 43 | } |
| 44 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 45 | package android.content { |
| 46 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 47 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 48 | field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD"; |
| 49 | field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR"; |
| 50 | field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE"; |
| 51 | field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator"; |
| 52 | field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator"; |
| 53 | field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator"; |
| 54 | field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long"; |
| 55 | field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short"; |
| 56 | field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric"; |
| 57 | field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology"; |
| 58 | field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState"; |
| 59 | field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType"; |
| 60 | field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly"; |
| 61 | field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration"; |
| 62 | field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation"; |
| 63 | field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost"; |
| 64 | field @Deprecated public static final String EXTRA_MANUAL = "manual"; |
| 65 | field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId"; |
| 66 | field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long"; |
| 67 | field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short"; |
| 68 | field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric"; |
| 69 | field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId"; |
| 70 | field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology"; |
| 71 | field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState"; |
| 72 | field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType"; |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 73 | } |
| 74 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 75 | } |
| 76 | |
Suprabh Shukla | 169bed7 | 2019-05-13 13:54:58 -0700 | [diff] [blame] | 77 | package android.content.pm { |
| 78 | |
| 79 | public class PackageItemInfo { |
| 80 | field @Deprecated public static final int SAFE_LABEL_FLAG_FIRST_LINE = 4; // 0x4 |
| 81 | field @Deprecated public static final int SAFE_LABEL_FLAG_SINGLE_LINE = 2; // 0x2 |
| 82 | field @Deprecated public static final int SAFE_LABEL_FLAG_TRIM = 1; // 0x1 |
| 83 | } |
| 84 | |
| 85 | } |
| 86 | |
Amy | d23043a | 2019-03-18 16:17:20 -0700 | [diff] [blame] | 87 | package android.hardware.hdmi { |
| 88 | |
| 89 | public final class HdmiControlManager { |
| 90 | method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevicesList(); |
| 91 | method @Deprecated public boolean isRemoteDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo); |
| 92 | method @Deprecated public void powerOffRemoteDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo); |
| 93 | method @Deprecated public void powerOnRemoteDevice(android.hardware.hdmi.HdmiDeviceInfo); |
| 94 | method @Deprecated public void requestRemoteDeviceToBecomeActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo); |
| 95 | } |
| 96 | |
| 97 | } |
| 98 | |
Soonil Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 99 | package android.location { |
| 100 | |
| 101 | public class LocationManager { |
| 102 | method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener); |
| 103 | method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener); |
| 104 | method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener); |
| 105 | method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener); |
Wei Wang | 114922a | 2019-01-30 18:19:35 -0800 | [diff] [blame] | 106 | method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackage(String); |
| 107 | method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackageEnabled(boolean); |
Soonil Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 108 | } |
| 109 | |
| 110 | } |
| 111 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 112 | package android.media.tv { |
| 113 | |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 114 | public final class TvInputManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 115 | 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] | 116 | } |
| 117 | |
Shubang | 15985cb | 2017-08-17 14:58:02 -0700 | [diff] [blame] | 118 | public static final class TvInputManager.Hardware { |
| 119 | method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent); |
| 120 | } |
| 121 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 122 | } |
| 123 | |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 124 | package android.net.wifi { |
| 125 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 126 | @Deprecated public class BatchedScanResult implements android.os.Parcelable { |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 127 | ctor public BatchedScanResult(); |
| 128 | ctor public BatchedScanResult(android.net.wifi.BatchedScanResult); |
| 129 | field public final java.util.List<android.net.wifi.ScanResult> scanResults; |
| 130 | field public boolean truncated; |
| 131 | } |
| 132 | |
Jeff Sharkey | 8478911 | 2017-08-11 14:45:43 -0600 | [diff] [blame] | 133 | public class ScanResult implements android.os.Parcelable { |
| 134 | field public boolean untrusted; |
| 135 | } |
| 136 | |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 137 | } |
| 138 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 139 | package android.os { |
| 140 | |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 141 | public class Build { |
Philip P. Moltmann | 6c644e6 | 2018-07-18 15:41:24 -0700 | [diff] [blame] | 142 | field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true; |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 143 | } |
| 144 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 145 | } |
| 146 | |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 147 | package android.service.notification { |
| 148 | |
| 149 | public abstract class NotificationListenerService extends android.app.Service { |
| 150 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 151 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 152 | method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; |
| 153 | method public final void setOnNotificationPostedTrim(int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 154 | method public final void snoozeNotification(String, String); |
Jeff Sharkey | f52db085e | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 155 | method public void unregisterAsSystemService() throws android.os.RemoteException; |
| 156 | field public static final int TRIM_FULL = 0; // 0x0 |
| 157 | field public static final int TRIM_LIGHT = 1; // 0x1 |
| 158 | } |
| 159 | |
| 160 | public static class NotificationListenerService.Ranking { |
| 161 | method public java.util.List<java.lang.String> getAdditionalPeople(); |
| 162 | method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria(); |
| 163 | } |
| 164 | |
| 165 | } |
| 166 | |
Suprabh Shukla | 169bed7 | 2019-05-13 13:54:58 -0700 | [diff] [blame] | 167 | package android.telecom { |
| 168 | |
| 169 | public class TelecomManager { |
| 170 | method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.WRITE_SECURE_SETTINGS}) public boolean setDefaultDialer(@Nullable String); |
| 171 | } |
| 172 | |
| 173 | } |
| 174 | |
Hall Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 175 | package android.telephony { |
| 176 | |
| 177 | public class TelephonyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 178 | method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall(); |
| 179 | method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall(); |
| 180 | method @Deprecated public void silenceRinger(); |
Hall Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 181 | } |
| 182 | |
| 183 | } |
| 184 | |
Jack Yu | 806b642 | 2019-03-18 00:12:03 -0700 | [diff] [blame] | 185 | package android.telephony.data { |
| 186 | |
| 187 | public final class DataCallResponse implements android.os.Parcelable { |
| 188 | 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); |
| 189 | } |
| 190 | |
| 191 | } |
| 192 | |