Merge "API: Make implicit APIs from type usage explicit" am: 6fc3189e37
am: 1f12c3112d
Change-Id: I9a9b76423c4ad531013b4a7c6f7c98c7b47b0a63
This commit is contained in:
@@ -4332,6 +4332,11 @@ package android.security.keystore {
|
|||||||
field public static final int ID_TYPE_SERIAL = 1; // 0x1
|
field public static final int ID_TYPE_SERIAL = 1; // 0x1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class DeviceIdAttestationException extends java.lang.Exception {
|
||||||
|
ctor public DeviceIdAttestationException(java.lang.String);
|
||||||
|
ctor public DeviceIdAttestationException(java.lang.String, java.lang.Throwable);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package android.security.keystore.recovery {
|
package android.security.keystore.recovery {
|
||||||
@@ -6350,7 +6355,7 @@ package android.telephony.ims.feature {
|
|||||||
field public static final int PROCESS_CALL_IMS = 0; // 0x0
|
field public static final int PROCESS_CALL_IMS = 0; // 0x0
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class MmTelFeature.MmTelCapabilities {
|
public static class MmTelFeature.MmTelCapabilities extends android.telephony.ims.feature.ImsFeature.Capabilities {
|
||||||
ctor public MmTelFeature.MmTelCapabilities();
|
ctor public MmTelFeature.MmTelCapabilities();
|
||||||
ctor public deprecated MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities);
|
ctor public deprecated MmTelFeature.MmTelCapabilities(android.telephony.ims.feature.ImsFeature.Capabilities);
|
||||||
ctor public MmTelFeature.MmTelCapabilities(int);
|
ctor public MmTelFeature.MmTelCapabilities(int);
|
||||||
|
|||||||
@@ -800,6 +800,11 @@ package android.security.keystore {
|
|||||||
field public static final int ID_TYPE_SERIAL = 1; // 0x1
|
field public static final int ID_TYPE_SERIAL = 1; // 0x1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class DeviceIdAttestationException extends java.lang.Exception {
|
||||||
|
ctor public DeviceIdAttestationException(java.lang.String);
|
||||||
|
ctor public DeviceIdAttestationException(java.lang.String, java.lang.Throwable);
|
||||||
|
}
|
||||||
|
|
||||||
public static final class KeyGenParameterSpec.Builder {
|
public static final class KeyGenParameterSpec.Builder {
|
||||||
method public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean);
|
method public android.security.keystore.KeyGenParameterSpec.Builder setUniqueIdIncluded(boolean);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,11 +16,16 @@
|
|||||||
|
|
||||||
package android.security.keystore;
|
package android.security.keystore;
|
||||||
|
|
||||||
|
import android.annotation.SystemApi;
|
||||||
|
import android.annotation.TestApi;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Thrown when {@link AttestationUtils} is unable to attest the given device ids.
|
* Thrown when {@link AttestationUtils} is unable to attest the given device ids.
|
||||||
*
|
*
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi
|
||||||
|
@TestApi
|
||||||
public class DeviceIdAttestationException extends Exception {
|
public class DeviceIdAttestationException extends Exception {
|
||||||
/**
|
/**
|
||||||
* Constructs a new {@code DeviceIdAttestationException} with the current stack trace and the
|
* Constructs a new {@code DeviceIdAttestationException} with the current stack trace and the
|
||||||
|
|||||||
@@ -211,12 +211,19 @@ public abstract class ImsFeature {
|
|||||||
* Contains the capabilities defined and supported by an ImsFeature in the form of a bit mask.
|
* Contains the capabilities defined and supported by an ImsFeature in the form of a bit mask.
|
||||||
* @hide
|
* @hide
|
||||||
*/
|
*/
|
||||||
|
@SystemApi // SystemApi only because it was leaked through type usage in a previous release.
|
||||||
public static class Capabilities {
|
public static class Capabilities {
|
||||||
protected int mCapabilities = 0;
|
protected int mCapabilities = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
public Capabilities() {
|
public Capabilities() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
protected Capabilities(int capabilities) {
|
protected Capabilities(int capabilities) {
|
||||||
mCapabilities = capabilities;
|
mCapabilities = capabilities;
|
||||||
}
|
}
|
||||||
@@ -224,6 +231,7 @@ public abstract class ImsFeature {
|
|||||||
/**
|
/**
|
||||||
* @param capabilities Capabilities to be added to the configuration in the form of a
|
* @param capabilities Capabilities to be added to the configuration in the form of a
|
||||||
* bit mask.
|
* bit mask.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public void addCapabilities(int capabilities) {
|
public void addCapabilities(int capabilities) {
|
||||||
mCapabilities |= capabilities;
|
mCapabilities |= capabilities;
|
||||||
@@ -232,6 +240,7 @@ public abstract class ImsFeature {
|
|||||||
/**
|
/**
|
||||||
* @param capabilities Capabilities to be removed to the configuration in the form of a
|
* @param capabilities Capabilities to be removed to the configuration in the form of a
|
||||||
* bit mask.
|
* bit mask.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public void removeCapabilities(int capabilities) {
|
public void removeCapabilities(int capabilities) {
|
||||||
mCapabilities &= ~capabilities;
|
mCapabilities &= ~capabilities;
|
||||||
@@ -239,6 +248,7 @@ public abstract class ImsFeature {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return true if all of the capabilities specified are capable.
|
* @return true if all of the capabilities specified are capable.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public boolean isCapable(int capabilities) {
|
public boolean isCapable(int capabilities) {
|
||||||
return (mCapabilities & capabilities) == capabilities;
|
return (mCapabilities & capabilities) == capabilities;
|
||||||
@@ -246,6 +256,7 @@ public abstract class ImsFeature {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return a deep copy of the Capabilites.
|
* @return a deep copy of the Capabilites.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public Capabilities copy() {
|
public Capabilities copy() {
|
||||||
return new Capabilities(mCapabilities);
|
return new Capabilities(mCapabilities);
|
||||||
@@ -253,6 +264,7 @@ public abstract class ImsFeature {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @return a bitmask containing the capability flags directly.
|
* @return a bitmask containing the capability flags directly.
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public int getMask() {
|
public int getMask() {
|
||||||
return mCapabilities;
|
return mCapabilities;
|
||||||
|
|||||||
Reference in New Issue
Block a user