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 | |
| 12 | public class Notification implements android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 13 | method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | public static final class Notification.TvExtender implements android.app.Notification.Extender { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 17 | method @Deprecated public String getChannel(); |
Jeff Sharkey | 000ce80 | 2017-04-29 13:13:27 -0600 | [diff] [blame] | 18 | } |
| 19 | |
Chris Wren | a05db38 | 2015-06-24 15:18:34 -0400 | [diff] [blame] | 20 | } |
| 21 | |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 22 | package android.app.admin { |
| 23 | |
| 24 | public class DevicePolicyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 25 | method @Deprecated @Nullable public String getDeviceInitializerApp(); |
| 26 | method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent(); |
phweiss | 27ee334 | 2016-02-08 16:40:45 +0100 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | } |
| 30 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 31 | package android.content { |
| 32 | |
Garfield Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 33 | public class Intent implements java.lang.Cloneable android.os.Parcelable { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 34 | 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 Tan | ce1d0e9 | 2017-03-23 10:52:48 -0700 | [diff] [blame] | 59 | } |
| 60 | |
Jeff Sharkey | 8a372a0 | 2016-03-16 16:25:45 -0600 | [diff] [blame] | 61 | } |
| 62 | |
Amy | d23043a | 2019-03-18 16:17:20 -0700 | [diff] [blame] | 63 | package 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 Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 75 | package 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 Wang | 114922a | 2019-01-30 18:19:35 -0800 | [diff] [blame] | 82 | 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 Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 84 | } |
| 85 | |
| 86 | } |
| 87 | |
Dongwon Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 88 | package android.media.tv { |
| 89 | |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 90 | public final class TvInputManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 91 | 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] | 92 | } |
| 93 | |
Shubang | 15985cb | 2017-08-17 14:58:02 -0700 | [diff] [blame] | 94 | public static final class TvInputManager.Hardware { |
| 95 | method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent); |
| 96 | } |
| 97 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 98 | } |
| 99 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 100 | package android.net.wifi { |
| 101 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 102 | @Deprecated public class BatchedScanResult implements android.os.Parcelable { |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 103 | 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 Sharkey | 8478911 | 2017-08-11 14:45:43 -0600 | [diff] [blame] | 109 | public class ScanResult implements android.os.Parcelable { |
| 110 | field public boolean untrusted; |
| 111 | } |
| 112 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 113 | } |
| 114 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 115 | package android.os { |
| 116 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 117 | public class Build { |
Philip P. Moltmann | 6c644e6 | 2018-07-18 15:41:24 -0700 | [diff] [blame] | 118 | field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true; |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 119 | } |
| 120 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 121 | public final class PowerManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 122 | 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 Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 124 | } |
| 125 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 126 | } |
| 127 | |
Matt Pape | 1220c34 | 2019-04-15 13:17:21 -0700 | [diff] [blame] | 128 | package 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 Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 141 | package android.service.notification { |
| 142 | |
| 143 | public abstract class NotificationListenerService extends android.app.Service { |
| 144 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 145 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 146 | method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; |
| 147 | method public final void setOnNotificationPostedTrim(int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 148 | method public final void snoozeNotification(String, String); |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 149 | 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 Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 161 | package android.telephony { |
| 162 | |
| 163 | public class TelephonyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 164 | 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 Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 167 | } |
| 168 | |
| 169 | } |
| 170 | |
Jack Yu | 806b642 | 2019-03-18 00:12:03 -0700 | [diff] [blame] | 171 | package 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 | |