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.net.wifi { 144 145 @Deprecated public class BatchedScanResult implements android.os.Parcelable { 146 ctor public BatchedScanResult(); 147 ctor public BatchedScanResult(android.net.wifi.BatchedScanResult); 148 field public final java.util.List<android.net.wifi.ScanResult> scanResults; 149 field public boolean truncated; 150 } 151 152 public final class ScanResult implements android.os.Parcelable { 153 field public boolean untrusted; 154 } 155 156} 157 158package android.os { 159 160 public class Build { 161 field public static final boolean PERMISSIONS_REVIEW_REQUIRED = true; 162 } 163 164} 165 166package android.service.notification { 167 168 public abstract class NotificationListenerService extends android.app.Service { 169 method public android.service.notification.StatusBarNotification[] getActiveNotifications(int); 170 method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int); 171 method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException; 172 method public final void setOnNotificationPostedTrim(int); 173 method public final void snoozeNotification(String, String); 174 method public void unregisterAsSystemService() throws android.os.RemoteException; 175 field public static final int TRIM_FULL = 0; // 0x0 176 field public static final int TRIM_LIGHT = 1; // 0x1 177 } 178 179 public static class NotificationListenerService.Ranking { 180 method public java.util.List<java.lang.String> getAdditionalPeople(); 181 method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria(); 182 } 183 184} 185 186package android.service.search { 187 188 public abstract class SearchUiService extends android.app.Service { 189 method @Deprecated public void onCreateSearchSession(@NonNull android.app.search.SearchContext, @NonNull android.app.search.SearchSessionId); 190 } 191 192} 193 194package android.service.translation { 195 196 public abstract class TranslationService extends android.app.Service { 197 method @Deprecated public void onCreateTranslationSession(@NonNull android.view.translation.TranslationContext, int); 198 method @Deprecated public void onTranslationRequest(@NonNull android.view.translation.TranslationRequest, int, @Nullable android.os.CancellationSignal, @NonNull android.service.translation.TranslationService.OnTranslationResultCallback); 199 } 200 201 @Deprecated public static interface TranslationService.OnTranslationResultCallback { 202 method @Deprecated public void onError(); 203 method public void onTranslationSuccess(@NonNull android.view.translation.TranslationResponse); 204 } 205 206} 207 208package android.telecom { 209 210 public class TelecomManager { 211 method @Deprecated @RequiresPermission(allOf={android.Manifest.permission.MODIFY_PHONE_STATE, android.Manifest.permission.WRITE_SECURE_SETTINGS}) public boolean setDefaultDialer(@Nullable String); 212 } 213 214} 215 216package android.telephony { 217 218 public class TelephonyManager { 219 method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall(); 220 method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall(); 221 method @Deprecated public void silenceRinger(); 222 } 223 224} 225 226package android.telephony.data { 227 228 public final class DataCallResponse implements android.os.Parcelable { 229 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); 230 } 231 232} 233 234package android.telephony.ims { 235 236 public interface DelegateStateCallback { 237 method @Deprecated public void onImsConfigurationChanged(@NonNull android.telephony.ims.SipDelegateImsConfiguration); 238 } 239 240 @Deprecated public final class SipDelegateImsConfiguration implements android.os.Parcelable { 241 method public boolean containsKey(@NonNull String); 242 method @NonNull public android.os.PersistableBundle copyBundle(); 243 method public int describeContents(); 244 method public boolean getBoolean(@NonNull String, boolean); 245 method public int getInt(@NonNull String, int); 246 method @Nullable public String getString(@NonNull String); 247 method public long getVersion(); 248 method public void writeToParcel(@NonNull android.os.Parcel, int); 249 field @NonNull public static final android.os.Parcelable.Creator<android.telephony.ims.SipDelegateImsConfiguration> CREATOR; 250 field public static final String IPTYPE_IPV4 = "IPV4"; 251 field public static final String IPTYPE_IPV6 = "IPV6"; 252 field public static final String KEY_SIP_CONFIG_AUTHENTICATION_HEADER_STRING = "sip_config_auhentication_header_string"; 253 field public static final String KEY_SIP_CONFIG_AUTHENTICATION_NONCE_STRING = "sip_config_authentication_nonce_string"; 254 field public static final String KEY_SIP_CONFIG_CELLULAR_NETWORK_INFO_HEADER_STRING = "sip_config_cellular_network_info_header_string"; 255 field public static final String KEY_SIP_CONFIG_HOME_DOMAIN_STRING = "sip_config_home_domain_string"; 256 field public static final String KEY_SIP_CONFIG_IMEI_STRING = "sip_config_imei_string"; 257 field public static final String KEY_SIP_CONFIG_IPTYPE_STRING = "sip_config_iptype_string"; 258 field public static final String KEY_SIP_CONFIG_IS_COMPACT_FORM_ENABLED_BOOL = "sip_config_is_compact_form_enabled_bool"; 259 field public static final String KEY_SIP_CONFIG_IS_GRUU_ENABLED_BOOL = "sip_config_is_gruu_enabled_bool"; 260 field public static final String KEY_SIP_CONFIG_IS_IPSEC_ENABLED_BOOL = "sip_config_is_ipsec_enabled_bool"; 261 field public static final String KEY_SIP_CONFIG_IS_KEEPALIVE_ENABLED_BOOL = "sip_config_is_keepalive_enabled_bool"; 262 field public static final String KEY_SIP_CONFIG_IS_NAT_ENABLED_BOOL = "sip_config_is_nat_enabled_bool"; 263 field public static final String KEY_SIP_CONFIG_MAX_PAYLOAD_SIZE_ON_UDP_INT = "sip_config_udp_max_payload_size_int"; 264 field public static final String KEY_SIP_CONFIG_PATH_HEADER_STRING = "sip_config_path_header_string"; 265 field public static final String KEY_SIP_CONFIG_P_ACCESS_NETWORK_INFO_HEADER_STRING = "sip_config_p_access_network_info_header_string"; 266 field public static final String KEY_SIP_CONFIG_P_ASSOCIATED_URI_HEADER_STRING = "sip_config_p_associated_uri_header_string"; 267 field public static final String KEY_SIP_CONFIG_P_LAST_ACCESS_NETWORK_INFO_HEADER_STRING = "sip_config_p_last_access_network_info_header_string"; 268 field public static final String KEY_SIP_CONFIG_SECURITY_VERIFY_HEADER_STRING = "sip_config_security_verify_header_string"; 269 field public static final String KEY_SIP_CONFIG_SERVER_DEFAULT_IPADDRESS_STRING = "sip_config_server_default_ipaddress_string"; 270 field public static final String KEY_SIP_CONFIG_SERVER_DEFAULT_PORT_INT = "sip_config_server_default_port_int"; 271 field public static final String KEY_SIP_CONFIG_SERVER_IPSEC_CLIENT_PORT_INT = "sip_config_server_ipsec_client_port_int"; 272 field public static final String KEY_SIP_CONFIG_SERVER_IPSEC_OLD_CLIENT_PORT_INT = "sip_config_server_ipsec_old_client_port_int"; 273 field public static final String KEY_SIP_CONFIG_SERVER_IPSEC_SERVER_PORT_INT = "sip_config_server_ipsec_server_port_int"; 274 field public static final String KEY_SIP_CONFIG_SERVICE_ROUTE_HEADER_STRING = "sip_config_service_route_header_string"; 275 field public static final String KEY_SIP_CONFIG_TRANSPORT_TYPE_STRING = "sip_config_protocol_type_string"; 276 field public static final String KEY_SIP_CONFIG_UE_DEFAULT_IPADDRESS_STRING = "sip_config_ue_default_ipaddress_string"; 277 field public static final String KEY_SIP_CONFIG_UE_DEFAULT_PORT_INT = "sip_config_ue_default_port_int"; 278 field public static final String KEY_SIP_CONFIG_UE_IPSEC_CLIENT_PORT_INT = "sip_config_ue_ipsec_client_port_int"; 279 field public static final String KEY_SIP_CONFIG_UE_IPSEC_OLD_CLIENT_PORT_INT = "sip_config_ue_ipsec_old_client_port_int"; 280 field public static final String KEY_SIP_CONFIG_UE_IPSEC_SERVER_PORT_INT = "sip_config_ue_ipsec_server_port_int"; 281 field public static final String KEY_SIP_CONFIG_UE_PRIVATE_USER_ID_STRING = "sip_config_ue_private_user_id_string"; 282 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_GRUU_STRING = "sip_config_ue_public_gruu_string"; 283 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_IPADDRESS_WITH_NAT_STRING = "sip_config_ue_public_ipaddress_with_nat_string"; 284 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_PORT_WITH_NAT_INT = "sip_config_ue_public_port_with_nat_int"; 285 field public static final String KEY_SIP_CONFIG_UE_PUBLIC_USER_ID_STRING = "sip_config_ue_public_user_id_string"; 286 field public static final String KEY_SIP_CONFIG_URI_USER_PART_STRING = "sip_config_uri_user_part_string"; 287 field public static final String KEY_SIP_CONFIG_USER_AGENT_HEADER_STRING = "sip_config_sip_user_agent_header_string"; 288 field public static final String SIP_TRANSPORT_TCP = "TCP"; 289 field public static final String SIP_TRANSPORT_UDP = "UDP"; 290 } 291 292 public static final class SipDelegateImsConfiguration.Builder { 293 ctor public SipDelegateImsConfiguration.Builder(int); 294 ctor public SipDelegateImsConfiguration.Builder(@NonNull android.telephony.ims.SipDelegateImsConfiguration); 295 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration.Builder addBoolean(@NonNull String, boolean); 296 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration.Builder addInt(@NonNull String, int); 297 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration.Builder addString(@NonNull String, @NonNull String); 298 method @NonNull public android.telephony.ims.SipDelegateImsConfiguration build(); 299 } 300 301} 302 303package android.telephony.ims.stub { 304 305 public interface DelegateConnectionStateCallback { 306 method @Deprecated public default void onImsConfigurationChanged(@NonNull android.telephony.ims.SipDelegateImsConfiguration); 307 } 308 309} 310 311package android.view.translation { 312 313 public final class UiTranslationManager { 314 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); 315 } 316 317} 318 319