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 | |
Soonil Nagarkar | 00fe7e2 | 2019-02-28 13:52:27 -0800 | [diff] [blame] | 63 | package 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 Kang | e12d810 | 2016-03-04 16:45:39 -0800 | [diff] [blame] | 74 | package android.media.tv { |
| 75 | |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 76 | public final class TvInputManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 77 | 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] | 78 | } |
| 79 | |
Shubang | 15985cb | 2017-08-17 14:58:02 -0700 | [diff] [blame] | 80 | public static final class TvInputManager.Hardware { |
| 81 | method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent); |
| 82 | } |
| 83 | |
Narayan Kamath | 406e1ed | 2014-12-10 18:55:12 +0000 | [diff] [blame] | 84 | } |
| 85 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 86 | package android.net.wifi { |
| 87 | |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 88 | @Deprecated public class BatchedScanResult implements android.os.Parcelable { |
Jeff Sharkey | c204c22 | 2017-11-27 15:02:10 -0700 | [diff] [blame] | 89 | 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 Sharkey | 8478911 | 2017-08-11 14:45:43 -0600 | [diff] [blame] | 95 | public class ScanResult implements android.os.Parcelable { |
| 96 | field public boolean untrusted; |
| 97 | } |
| 98 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 99 | } |
| 100 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 101 | package android.os { |
| 102 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 103 | public class Build { |
Philip P. Moltmann | 6c644e6 | 2018-07-18 15:41:24 -0700 | [diff] [blame] | 104 | field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true; |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 105 | } |
| 106 | |
Ying Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 107 | public final class PowerManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 108 | 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 Wang | 02937eb | 2015-01-09 11:51:26 -0800 | [diff] [blame] | 110 | } |
| 111 | |
Svetoslav | dbbeeb3 | 2015-02-18 19:16:25 -0800 | [diff] [blame] | 112 | } |
| 113 | |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 114 | package android.service.notification { |
| 115 | |
| 116 | public abstract class NotificationListenerService extends android.app.Service { |
| 117 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 118 | method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 119 | method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; |
| 120 | method public final void setOnNotificationPostedTrim(int); |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 121 | method public final void snoozeNotification(String, String); |
Jeff Sharkey | f52db08 | 2017-08-09 08:30:27 -0600 | [diff] [blame] | 122 | 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 Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 134 | package android.telephony { |
| 135 | |
| 136 | public class TelephonyManager { |
Tor Norbye | 68ea0c3 | 2018-12-26 19:55:07 -0800 | [diff] [blame] | 137 | 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 Liu | 78b5707 | 2018-09-17 18:10:58 -0700 | [diff] [blame] | 140 | } |
| 141 | |
| 142 | } |
| 143 | |