Made several API changes per API council suggestions. Test: Manual + unit tests Bug: 127812471 Bug: 128607082 Merged-In: I0f93c07207b10b566e9f858361e55b18dc0881a0 Change-Id: I0f93c07207b10b566e9f858361e55b18dc0881a0 (cherry picked from commit 806b64228db64e25bd04ab5da607094932561b36)
165 lines
9.8 KiB
Plaintext
165 lines
9.8 KiB
Plaintext
// Signature format: 2.0
|
|
package android.app {
|
|
|
|
public class Notification implements android.os.Parcelable {
|
|
method public static Class<? extends android.app.Notification.Style> getNotificationStyleClass(String);
|
|
}
|
|
|
|
public static final class Notification.TvExtender implements android.app.Notification.Extender {
|
|
method @Deprecated public String getChannel();
|
|
}
|
|
|
|
}
|
|
|
|
package android.app.admin {
|
|
|
|
public class DevicePolicyManager {
|
|
method @Deprecated @Nullable public String getDeviceInitializerApp();
|
|
method @Deprecated @Nullable public android.content.ComponentName getDeviceInitializerComponent();
|
|
}
|
|
|
|
}
|
|
|
|
package android.content {
|
|
|
|
public class Intent implements java.lang.Cloneable android.os.Parcelable {
|
|
field @Deprecated public static final String ACTION_DEVICE_INITIALIZATION_WIZARD = "android.intent.action.DEVICE_INITIALIZATION_WIZARD";
|
|
field @Deprecated public static final String ACTION_MASTER_CLEAR = "android.intent.action.MASTER_CLEAR";
|
|
field @Deprecated public static final String ACTION_SERVICE_STATE = "android.intent.action.SERVICE_STATE";
|
|
field @Deprecated public static final String EXTRA_CDMA_DEFAULT_ROAMING_INDICATOR = "cdmaDefaultRoamingIndicator";
|
|
field @Deprecated public static final String EXTRA_CDMA_ROAMING_INDICATOR = "cdmaRoamingIndicator";
|
|
field @Deprecated public static final String EXTRA_CSS_INDICATOR = "cssIndicator";
|
|
field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_LONG = "data-operator-alpha-long";
|
|
field @Deprecated public static final String EXTRA_DATA_OPERATOR_ALPHA_SHORT = "data-operator-alpha-short";
|
|
field @Deprecated public static final String EXTRA_DATA_OPERATOR_NUMERIC = "data-operator-numeric";
|
|
field @Deprecated public static final String EXTRA_DATA_RADIO_TECH = "dataRadioTechnology";
|
|
field @Deprecated public static final String EXTRA_DATA_REG_STATE = "dataRegState";
|
|
field @Deprecated public static final String EXTRA_DATA_ROAMING_TYPE = "dataRoamingType";
|
|
field @Deprecated public static final String EXTRA_EMERGENCY_ONLY = "emergencyOnly";
|
|
field @Deprecated public static final String EXTRA_IS_DATA_ROAMING_FROM_REGISTRATION = "isDataRoamingFromRegistration";
|
|
field @Deprecated public static final String EXTRA_IS_USING_CARRIER_AGGREGATION = "isUsingCarrierAggregation";
|
|
field @Deprecated public static final String EXTRA_LTE_EARFCN_RSRP_BOOST = "LteEarfcnRsrpBoost";
|
|
field @Deprecated public static final String EXTRA_MANUAL = "manual";
|
|
field @Deprecated public static final String EXTRA_NETWORK_ID = "networkId";
|
|
field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_LONG = "operator-alpha-long";
|
|
field @Deprecated public static final String EXTRA_OPERATOR_ALPHA_SHORT = "operator-alpha-short";
|
|
field @Deprecated public static final String EXTRA_OPERATOR_NUMERIC = "operator-numeric";
|
|
field @Deprecated public static final String EXTRA_SYSTEM_ID = "systemId";
|
|
field @Deprecated public static final String EXTRA_VOICE_RADIO_TECH = "radioTechnology";
|
|
field @Deprecated public static final String EXTRA_VOICE_REG_STATE = "voiceRegState";
|
|
field @Deprecated public static final String EXTRA_VOICE_ROAMING_TYPE = "voiceRoamingType";
|
|
}
|
|
|
|
}
|
|
|
|
package android.media.tv {
|
|
|
|
public final class TvInputManager {
|
|
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);
|
|
}
|
|
|
|
public static final class TvInputManager.Hardware {
|
|
method public boolean dispatchKeyEventToHdmi(android.view.KeyEvent);
|
|
}
|
|
|
|
}
|
|
|
|
package android.net.wifi {
|
|
|
|
@Deprecated public class BatchedScanResult implements android.os.Parcelable {
|
|
ctor public BatchedScanResult();
|
|
ctor public BatchedScanResult(android.net.wifi.BatchedScanResult);
|
|
field public final java.util.List<android.net.wifi.ScanResult> scanResults;
|
|
field public boolean truncated;
|
|
}
|
|
|
|
public class ScanResult implements android.os.Parcelable {
|
|
field public boolean untrusted;
|
|
}
|
|
|
|
}
|
|
|
|
package android.os {
|
|
|
|
public class Build {
|
|
field public static final boolean PERMISSIONS_REVIEW_REQUIRED;
|
|
}
|
|
|
|
public final class PowerManager {
|
|
method @Deprecated public boolean isScreenBrightnessBoosted();
|
|
field @Deprecated public static final String ACTION_SCREEN_BRIGHTNESS_BOOST_CHANGED = "android.os.action.SCREEN_BRIGHTNESS_BOOST_CHANGED";
|
|
}
|
|
|
|
}
|
|
|
|
package android.security.keystore.recovery {
|
|
|
|
public final class KeyChainSnapshot implements android.os.Parcelable {
|
|
method @Deprecated @NonNull public byte[] getTrustedHardwarePublicKey();
|
|
}
|
|
|
|
public class RecoveryController {
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] generateAndStoreKey(@NonNull String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.security.Key generateKey(@NonNull String, byte[]) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.LockScreenRequiredException;
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.List<java.lang.String> getAliases(@Nullable String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
|
|
method @Deprecated @Nullable @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public android.security.keystore.recovery.KeyChainSnapshot getRecoveryData() throws android.security.keystore.recovery.InternalRecoveryServiceException;
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public int getRecoveryStatus(String, String) throws android.security.keystore.recovery.InternalRecoveryServiceException;
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void initRecoveryService(@NonNull String, @NonNull byte[]) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public void setRecoveryStatus(@NonNull String, String, int) throws android.security.keystore.recovery.InternalRecoveryServiceException, android.content.pm.PackageManager.NameNotFoundException;
|
|
}
|
|
|
|
public class RecoverySession implements java.lang.AutoCloseable {
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public java.util.Map<java.lang.String,byte[]> recoverKeys(@NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.WrappedApplicationKey>) throws android.security.keystore.recovery.DecryptionFailedException, android.security.keystore.recovery.InternalRecoveryServiceException, android.security.keystore.recovery.SessionExpiredException;
|
|
method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull byte[], @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
|
|
method @Deprecated @NonNull @RequiresPermission(android.Manifest.permission.RECOVER_KEYSTORE) public byte[] start(@NonNull java.security.cert.CertPath, @NonNull byte[], @NonNull byte[], @NonNull java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws java.security.cert.CertificateException, android.security.keystore.recovery.InternalRecoveryServiceException;
|
|
}
|
|
|
|
public final class WrappedApplicationKey implements android.os.Parcelable {
|
|
method @Deprecated @NonNull public byte[] getAccount();
|
|
}
|
|
|
|
public static class WrappedApplicationKey.Builder {
|
|
method @Deprecated public android.security.keystore.recovery.WrappedApplicationKey.Builder setAccount(@NonNull byte[]);
|
|
}
|
|
|
|
}
|
|
|
|
package android.service.notification {
|
|
|
|
public abstract class NotificationListenerService extends android.app.Service {
|
|
method public android.service.notification.StatusBarNotification[] getActiveNotifications(int);
|
|
method public android.service.notification.StatusBarNotification[] getActiveNotifications(String[], int);
|
|
method public void registerAsSystemService(android.content.Context, android.content.ComponentName, int) throws android.os.RemoteException;
|
|
method public final void setOnNotificationPostedTrim(int);
|
|
method public final void snoozeNotification(String, String);
|
|
method public void unregisterAsSystemService() throws android.os.RemoteException;
|
|
field public static final int TRIM_FULL = 0; // 0x0
|
|
field public static final int TRIM_LIGHT = 1; // 0x1
|
|
}
|
|
|
|
public static class NotificationListenerService.Ranking {
|
|
method public java.util.List<java.lang.String> getAdditionalPeople();
|
|
method public java.util.List<android.service.notification.SnoozeCriterion> getSnoozeCriteria();
|
|
}
|
|
|
|
}
|
|
|
|
package android.telephony {
|
|
|
|
public class TelephonyManager {
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) public void answerRingingCall();
|
|
method @Deprecated @RequiresPermission(android.Manifest.permission.CALL_PHONE) public boolean endCall();
|
|
method @Deprecated public void silenceRinger();
|
|
}
|
|
|
|
}
|
|
|
|
package android.telephony.data {
|
|
|
|
public final class DataCallResponse implements android.os.Parcelable {
|
|
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);
|
|
}
|
|
|
|
}
|
|
|