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