1// Signature format: 2.0 2package 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 10package 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 method @Deprecated public void setNotedAppOpsCollector(@Nullable android.app.AppOpsManager.AppOpsCollector); 15 } 16 17 @Deprecated public abstract static class AppOpsManager.AppOpsCollector extends android.app.AppOpsManager.OnOpNotedCallback { 18 ctor public AppOpsManager.AppOpsCollector(); 19 method @NonNull public java.util.concurrent.Executor getAsyncNotedExecutor(); 20 } 21 22 public class Notification implements android.os.Parcelable { 23 method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String); 24 } 25 26 public static final class Notification.TvExtender implements android.app.Notification.Extender { 27 method @Deprecated public String getChannel(); 28 } 29 30} 31 32package android.app.backup { 33 34 public class RestoreSession { 35 method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, android.app.backup.BackupManagerMonitor, String[]); 36 method @Deprecated public int restoreSome(long, android.app.backup.RestoreObserver, String[]); 37 } 38 39} 40 41package android.app.prediction { 42 43 public static final class AppTarget.Builder { 44 ctor @Deprecated public AppTarget.Builder(@NonNull android.app.prediction.AppTargetId); 45 method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull String, @NonNull android.os.UserHandle); 46 method @Deprecated @NonNull public android.app.prediction.AppTarget.Builder setTarget(@NonNull android.content.pm.ShortcutInfo); 47 } 48 49} 50 51package android.app.search { 52 53 public final class Query implements android.os.Parcelable { 54 method @Deprecated @NonNull public long getTimestamp(); 55 } 56 57 public final class SearchSession implements java.lang.AutoCloseable { 58 method @Deprecated public void destroy(); 59 } 60 61 public final class SearchTarget implements android.os.Parcelable { 62 method @Deprecated public boolean shouldHide(); 63 } 64 65 public static final class SearchTarget.Builder { 66 method @Deprecated @NonNull public android.app.search.SearchTarget.Builder setShouldHide(boolean); 67 } 68 69} 70 71package android.bluetooth { 72 73 public final class BluetoothHeadset implements android.bluetooth.BluetoothProfile { 74 method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.BLUETOOTH_CONNECT, android.Manifest.permission.MODIFY_PHONE_STATE}) public boolean setPriority(android.bluetooth.BluetoothDevice, int); 75 } 76 77} 78 79package android.content { 80 81 public class Intent implements java.lang.Cloneable android.os.Parcelable { 82 field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD"; 83 field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR"; 84 field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE"; 85 field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator"; 86 field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator"; 87 field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator"; 88 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long"; 89 field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short"; 90 field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric"; 91 field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology"; 92 field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState"; 93 field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType"; 94 field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly"; 95 field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration"; 96 field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation"; 97 field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost"; 98 field @Deprecated public static final String EXTRA_MANUAL = "manual"; 99 field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId"; 100 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long"; 101 field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short"; 102 field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric"; 103 field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId"; 104 field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology"; 105 field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState"; 106 field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType"; 107 } 108 109} 110 111package android.content.pm { 112 113 public class PackageItemInfo { 114 field @Deprecated public static final int SAFE_LABEL_FLAG_FIRST_LINE = 4; // 0x4 115 field @Deprecated public static final int SAFE_LABEL_FLAG_SINGLE_LINE = 2; // 0x2 116 field @Deprecated public static final int SAFE_LABEL_FLAG_TRIM = 1; // 0x1 117 } 118 119} 120 121package android.hardware.hdmi { 122 123 public final class HdmiControlManager { 124 method @Deprecated public java.util.List<android.hardware.hdmi.HdmiDeviceInfo> getConnectedDevicesList(); 125 method @Deprecated public boolean isRemoteDeviceConnected(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 126 method @Deprecated public void powerOffRemoteDevice(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 127 method @Deprecated public void powerOnRemoteDevice(android.hardware.hdmi.HdmiDeviceInfo); 128 method @Deprecated public void requestRemoteDeviceToBecomeActiveSource(@NonNull android.hardware.hdmi.HdmiDeviceInfo); 129 } 130 131} 132 133package android.location { 134 135 public class LocationManager { 136 method @Deprecated public boolean addGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener); 137 method @Deprecated public boolean addGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener); 138 method @Deprecated @RequiresPermission(android.Manifest.permission.READ_DEVICE_CONFIG) public boolean isProviderPackage(@Nullable String, @NonNull String); 139 method @Deprecated public void removeGpsMeasurementListener(android.location.GpsMeasurementsEvent.Listener); 140 method @Deprecated public void removeGpsNavigationMessageListener(android.location.GpsNavigationMessageEvent.Listener); 141 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackage(String); 142 method @Deprecated @RequiresPermission(android.Manifest.permission.LOCATION_HARDWARE) public void setLocationControllerExtraPackageEnabled(boolean); 143 } 144 145} 146 147package android.media.tv { 148 149 public final class TvInputManager { 150 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); 151 } 152 153 public static final class TvInputManager.Hardware { 154 method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent); 155 } 156 157} 158 159package android.os { 160 161 public class Build { 162 field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true; 163 } 164 165} 166 167package android.service.notification { 168 169 public abstract class NotificationListenerService extends android.app.Service { 170 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); 171 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); 172 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; 173 method public final void setOnNotificationPostedTrim(int); 174 method public final void snoozeNotification(String, String); 175 method public void unregisterAsSystemService() throws android.os.RemoteException; 176 field public static final int TRIM_FULL = 0; // 0x0 177 field public static final int TRIM_LIGHT = 1; // 0x1 178 } 179 180 public static class NotificationListenerService.Ranking { 181 method public java.util.List<java.lang.String> getAdditionalPeople(); 182 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria(); 183 } 184 185} 186 187package android.service.search { 188 189 public abstract class SearchUiService extends android.app.Service { 190 method @Deprecated public void onCreateSearchSession(@NonNull android.app.search.SearchContext, @NonNull android.app.search.SearchSessionId); 191 } 192 193} 194 195package android.service.translation { 196 197 public abstract class TranslationService extends android.app.Service { 198 method @Deprecated public void onCreateTranslationSession(@NonNull android.view.translation.TranslationContext, int); 199 method @Deprecated public void onTranslationRequest(@NonNull android.view.translation.TranslationRequest, int, @Nullable android.os.CancellationSignal, @NonNull android.service.translation.TranslationService.OnTranslationResultCallback); 200 } 201 202 @Deprecated public static interface TranslationService.OnTranslationResultCallback { 203 method @Deprecated public void onError(); 204 method public void onTranslationSuccess(@NonNull android.view.translation.TranslationResponse); 205 } 206 207} 208 209package android.telecom { 210 211 public class TelecomManager { 212 method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.WRITE_SECURE_SETTINGS}) public boolean setDefaultDialer(@Nullable String); 213 } 214 215} 216 217package android.telephony { 218 219 public class TelephonyManager { 220 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall(); 221 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall(); 222 method @Deprecated public void silenceRinger(); 223 } 224 225} 226 227package android.telephony.data { 228 229 public final class DataCallResponse implements android.os.Parcelable { 230 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); 231 } 232 233} 234 235package android.telephony.ims { 236 237 public interface DelegateStateCallback { 238 method @Deprecated public void onImsConfigurationChanged(@NonNull android.telephony.ims.SipDelegateImsConfiguration); 239 } 240 241 @Deprecated public final class SipDelegateImsConfiguration implements android.os.Parcelable { 242 method public boolean containsKey(@NonNull String); 243 method @NonNull public android.os.PersistableBundle copyBundle(); 244 method public int describeContents(); 245 method public boolean getBoolean(@NonNull String, boolean); 246 method public int getInt(@NonNull String, int); 247 method @Nullable public String getString(@NonNull String); 248 method public long getVersion(); 249 method public void writeToParcel(@NonNull android.os.Parcel, int); 250 field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.SipDelegateImsConfiguration> CREATOR; 251 field public static final String IPTYPE_IPV4 = "IPV4"; 252 field public static final String IPTYPE_IPV6 = "IPV6"; 253 field public static final String KEY_SIP_CONFIG_AUTHENTICATION_HEADER_STRING = "sip_config_auhentication_header_string"; 254 field public static final String KEY_SIP_CONFIG_AUTHENTICATION_NONCE_STRING = "sip_config_authentication_nonce_string"; 255 field public static final String KEY_SIP_CONFIG_CELLULAR_NETWORK_INFO_HEADER_STRING = "sip_config_cellular_network_info_header_string"; 256 field public static final String KEY_SIP_CONFIG_HOME_DOMAIN_STRING = "sip_config_home_domain_string"; 257 field public static final String KEY_SIP_CONFIG_IMEI_STRING = "sip_config_imei_string"; 258 field public static final String KEY_SIP_CONFIG_IPTYPE_STRING = "sip_config_iptype_string"; 259 field public static final String KEY_SIP_CONFIG_IS_COMPACT_FORM_ENABLED_BOOL = "sip_config_is_compact_form_enabled_bool"; 260 field public static final String KEY_SIP_CONFIG_IS_GRUU_ENABLED_BOOL = "sip_config_is_gruu_enabled_bool"; 261 field public static final String KEY_SIP_CONFIG_IS_IPSEC_ENABLED_BOOL = "sip_config_is_ipsec_enabled_bool"; 262 field public static final String KEY_SIP_CONFIG_IS_KEEPALIVE_ENABLED_BOOL = "sip_config_is_keepalive_enabled_bool"; 263 field public static final String KEY_SIP_CONFIG_IS_NAT_ENABLED_BOOL = "sip_config_is_nat_enabled_bool"; 264 field public static final String KEY_SIP_CONFIG_MAX_PAYLOAD_SIZE_ON_UDP_INT = "sip_config_udp_max_payload_size_int"; 265 field public static final String KEY_SIP_CONFIG_PATH_HEADER_STRING = "sip_config_path_header_string"; 266 field public static final String KEY_SIP_CONFIG_P_ACCESS_NETWORK_INFO_HEADER_STRING = "sip_config_p_access_network_info_header_string"; 267 field public static final String KEY_SIP_CONFIG_P_ASSOCIATED_URI_HEADER_STRING = "sip_config_p_associated_uri_header_string"; 268 field public static final String KEY_SIP_CONFIG_P_LAST_ACCESS_NETWORK_INFO_HEADER_STRING = "sip_config_p_last_access_network_info_header_string"; 269 field public static final String KEY_SIP_CONFIG_SECURITY_VERIFY_HEADER_STRING = "sip_config_security_verify_header_string"; 270 field public static final String KEY_SIP_CONFIG_SERVER_DEFAULT_IPADDRESS_STRING = "sip_config_server_default_ipaddress_string"; 271 field public static final String KEY_SIP_CONFIG_SERVER_DEFAULT_PORT_INT = "sip_config_server_default_port_int"; 272 field public static final String KEY_SIP_CONFIG_SERVER_IPSEC_CLIENT_PORT_INT = "sip_config_server_ipsec_client_port_int"; 273 field public static final String KEY_SIP_CONFIG_SERVER_IPSEC_OLD_CLIENT_PORT_INT = "sip_config_server_ipsec_old_client_port_int"; 274 field public static final String KEY_SIP_CONFIG_SERVER_IPSEC_SERVER_PORT_INT = "sip_config_server_ipsec_server_port_int"; 275 field public static final String KEY_SIP_CONFIG_SERVICE_ROUTE_HEADER_STRING = "sip_config_service_route_header_string"; 276 field public static final String KEY_SIP_CONFIG_TRANSPORT_TYPE_STRING = "sip_config_protocol_type_string"; 277 field public static final String KEY_SIP_CONFIG_UE_DEFAULT_IPADDRESS_STRING = "sip_config_ue_default_ipaddress_string"; 278 field public static final String KEY_SIP_CONFIG_UE_DEFAULT_PORT_INT = "sip_config_ue_default_port_int"; 279 field public static final String KEY_SIP_CONFIG_UE_IPSEC_CLIENT_PORT_INT = "sip_config_ue_ipsec_client_port_int"; 280 field public static final String KEY_SIP_CONFIG_UE_IPSEC_OLD_CLIENT_PORT_INT = "sip_config_ue_ipsec_old_client_port_int"; 281 field public static final String KEY_SIP_CONFIG_UE_IPSEC_SERVER_PORT_INT = "sip_config_ue_ipsec_server_port_int"; 282 field public static final String KEY_SIP_CONFIG_UE_PRIVATE_USER_ID_STRING = "sip_config_ue_private_user_id_string"; 283 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_GRUU_STRING = "sip_config_ue_public_gruu_string"; 284 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_IPADDRESS_WITH_NAT_STRING = "sip_config_ue_public_ipaddress_with_nat_string"; 285 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_PORT_WITH_NAT_INT = "sip_config_ue_public_port_with_nat_int"; 286 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_USER_ID_STRING = "sip_config_ue_public_user_id_string"; 287 field public static final String KEY_SIP_CONFIG_URI_USER_PART_STRING = "sip_config_uri_user_part_string"; 288 field public static final String KEY_SIP_CONFIG_USER_AGENT_HEADER_STRING = "sip_config_sip_user_agent_header_string"; 289 field public static final String SIP_TRANSPORT_TCP = "TCP"; 290 field public static final String SIP_TRANSPORT_UDP = "UDP"; 291 } 292 293 public static final class SipDelegateImsConfiguration.Builder { 294 ctor public SipDelegateImsConfiguration.Builder(int); 295 ctor public SipDelegateImsConfiguration.Builder(@NonNull android.telephony.ims.SipDelegateImsConfiguration); 296 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration.Builder addBoolean(@NonNull String, boolean); 297 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration.Builder addInt(@NonNull String, int); 298 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration.Builder addString(@NonNull String, @NonNull String); 299 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration build(); 300 } 301 302} 303 304package android.telephony.ims.stub { 305 306 public interface DelegateConnectionStateCallback { 307 method @Deprecated public default void onImsConfigurationChanged(@NonNull android.telephony.ims.SipDelegateImsConfiguration); 308 } 309 310} 311 312package android.view.translation { 313 314 public final class UiTranslationManager { 315 method @Deprecated @RequiresPermission(android.Manifest.permission.MANAGE_UI_TRANSLATION) public void startTranslation(@NonNull android.view.translation.TranslationSpec, @NonNull android.view.translation.TranslationSpec, @NonNull java.util.List<android.view.autofill.AutofillId>, @NonNull android.app.assist.ActivityId); 316 } 317 318} 319 320