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