1 // Signature format: 2.0 2 package android { 3 4 public static final class Manifest.permission { 5 field public static final String MANAGE_DEVICE_ADMINS = "android.permission.MANAGE_DEVICE_ADMINS"; 6 } 7 8 } 9 10 package android.app { 11 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 16 public class Notification implements android.os.Parcelable { 17 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); 18 } 19 20 public static final class Notification.TvExtender implements android.app.Notification.Extender { 21 method @Deprecated public String getChannel(); 22 } 23 24 } 25 26 package android.app.admin { 27 28 public class DevicePolicyManager { 29 method @Deprecated @Nullable public String getDeviceInitializerApp(); 30 method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent(); 31 } 32 33 } 34 35 package android.app.backup { 36 37 public class RestoreSession { 38 method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]); 39 method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, String[]); 40 } 41 42 } 43 44 package android.app.prediction { 45 46 public static final class AppTarget.Builder { 47 ctor @Deprecated public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId); 48 method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull String, @NonNull android.os.UserHandle); 49 method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull android.content.pm.ShortcutInfo); 50 } 51 52 } 53 54 package android.content { 55 56 public class Intent implements java.lang.Cloneable android.os.Parcelable { 57 field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD"; 58 field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR"; 59 field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE"; 60 field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator"; 61 field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator"; 62 field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator"; 63 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long"; 64 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short"; 65 field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric"; 66 field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology"; 67 field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState"; 68 field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType"; 69 field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly"; 70 field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration"; 71 field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation"; 72 field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost"; 73 field @Deprecated public static final String EXTRA_MANUAL = "manual"; 74 field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId"; 75 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long"; 76 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short"; 77 field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric"; 78 field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId"; 79 field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology"; 80 field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState"; 81 field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType"; 82 } 83 84 } 85 86 package android.content.pm { 87 88 public class PackageItemInfo { 89 field @Deprecated public static final int SAFE_LABEL_FLAG_FIRST_LINE = 4; // 0x4 90 field @Deprecated public static final int SAFE_LABEL_FLAG_SINGLE_LINE = 2; // 0x2 91 field @Deprecated public static final int SAFE_LABEL_FLAG_TRIM = 1; // 0x1 92 } 93 94 } 95 96 package android.hardware.hdmi { 97 98 public final class HdmiControlManager { 99 method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevicesList(); 100 method @Deprecated public boolean isRemoteDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 101 method @Deprecated public void powerOffRemoteDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 102 method @Deprecated public void powerOnRemoteDevice(android.hardware.hdmi.HdmiDeviceInfo); 103 method @Deprecated public void requestRemoteDeviceToBecomeActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 104 } 105 106 } 107 108 package android.location { 109 110 public class LocationManager { 111 method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener); 112 method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener); 113 method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener); 114 method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener); 115 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackage(String); 116 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackageEnabled(boolean); 117 } 118 119 } 120 121 package android.media.tv { 122 123 public final class TvInputManager { 124 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); 125 } 126 127 public static final class TvInputManager.Hardware { 128 method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent); 129 } 130 131 } 132 133 package android.net.wifi { 134 135 @Deprecated public class BatchedScanResult implements android.os.Parcelable { 136 ctor public BatchedScanResult(); 137 ctor public BatchedScanResult(android.net.wifi.BatchedScanResult); 138 field public final java.util.List<android.net.wifi.ScanResult> scanResults; 139 field public boolean truncated; 140 } 141 142 public class ScanResult implements android.os.Parcelable { 143 field public boolean untrusted; 144 } 145 146 } 147 148 package android.os { 149 150 public class Build { 151 field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true; 152 } 153 154 public final class PowerManager { 155 method @Deprecated public boolean isScreenBrightnessBoosted(); 156 field @Deprecated public static final String ACTION_SCREEN_BRIGHTNESS_BOOST_CHANGED = "android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED"; 157 } 158 159 } 160 161 package android.provider { 162 163 public final class DeviceConfig { 164 method @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public static void addOnPropertyChangedListener(@NonNull String, @NonNull java.util.concurrent.Executor, @NonNull android.provider.DeviceConfig.OnPropertyChangedListener); 165 method public static void removeOnPropertyChangedListener(@NonNull android.provider.DeviceConfig.OnPropertyChangedListener); 166 } 167 168 public static interface DeviceConfig.OnPropertyChangedListener { 169 method public void onPropertyChanged(@NonNull String, @NonNull String, @Nullable String); 170 } 171 172 } 173 174 package android.service.notification { 175 176 public abstract class NotificationListenerService extends android.app.Service { 177 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); 178 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); 179 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; 180 method public final void setOnNotificationPostedTrim(int); 181 method public final void snoozeNotification(String, String); 182 method public void unregisterAsSystemService() throws android.os.RemoteException; 183 field public static final int TRIM_FULL = 0; // 0x0 184 field public static final int TRIM_LIGHT = 1; // 0x1 185 } 186 187 public static class NotificationListenerService.Ranking { 188 method public java.util.List<java.lang.String> getAdditionalPeople(); 189 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria(); 190 } 191 192 } 193 194 package android.telecom { 195 196 public class TelecomManager { 197 method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.WRITE_SECURE_SETTINGS}) public boolean setDefaultDialer(@Nullable String); 198 } 199 200 } 201 202 package android.telephony { 203 204 public class TelephonyManager { 205 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall(); 206 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall(); 207 method @Deprecated public void silenceRinger(); 208 } 209 210 } 211 212 package android.telephony.data { 213 214 public final class DataCallResponse implements android.os.Parcelable { 215 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); 216 } 217 218 } 219 220