Merge "Add @UnsupportedAppUsage annotations"
am: 722dff1f35
Change-Id: I559e8abb355a41119d9cd86a497fbdbd69157f9b
This commit is contained in:
@@ -1420,9 +1420,7 @@ Landroid/R$styleable;->View_visibility:I
|
|||||||
Landroid/R$styleable;->Window:[I
|
Landroid/R$styleable;->Window:[I
|
||||||
Landroid/R$styleable;->Window_windowBackground:I
|
Landroid/R$styleable;->Window_windowBackground:I
|
||||||
Landroid/R$styleable;->Window_windowFrame:I
|
Landroid/R$styleable;->Window_windowFrame:I
|
||||||
Landroid/security/Credentials;->convertToPem([Ljava/security/cert/Certificate;)[B
|
|
||||||
Landroid/security/IKeyChainService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/security/IKeyChainService;
|
Landroid/security/IKeyChainService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/security/IKeyChainService;
|
||||||
Landroid/security/IKeyChainService;->requestPrivateKey(Ljava/lang/String;)Ljava/lang/String;
|
|
||||||
Landroid/security/keymaster/KeymasterBlobArgument;-><init>(ILandroid/os/Parcel;)V
|
Landroid/security/keymaster/KeymasterBlobArgument;-><init>(ILandroid/os/Parcel;)V
|
||||||
Landroid/security/keymaster/KeymasterBlobArgument;-><init>(I[B)V
|
Landroid/security/keymaster/KeymasterBlobArgument;-><init>(I[B)V
|
||||||
Landroid/security/keymaster/KeymasterBlobArgument;->blob:[B
|
Landroid/security/keymaster/KeymasterBlobArgument;->blob:[B
|
||||||
@@ -1446,22 +1444,7 @@ Landroid/security/keystore/IKeystoreService;->list(Ljava/lang/String;I)[Ljava/la
|
|||||||
Landroid/security/keystore/IKeystoreService;->reset()I
|
Landroid/security/keystore/IKeystoreService;->reset()I
|
||||||
Landroid/security/keystore/IKeystoreService;->ungrant(Ljava/lang/String;I)I
|
Landroid/security/keystore/IKeystoreService;->ungrant(Ljava/lang/String;I)I
|
||||||
Landroid/service/dreams/IDreamManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/dreams/IDreamManager;
|
Landroid/service/dreams/IDreamManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/dreams/IDreamManager;
|
||||||
Landroid/service/dreams/IDreamManager;->awaken()V
|
|
||||||
Landroid/service/dreams/IDreamManager;->dream()V
|
|
||||||
Landroid/service/dreams/IDreamManager;->getDreamComponents()[Landroid/content/ComponentName;
|
|
||||||
Landroid/service/dreams/IDreamManager;->isDreaming()Z
|
|
||||||
Landroid/service/dreams/IDreamManager;->setDreamComponents([Landroid/content/ComponentName;)V
|
|
||||||
Landroid/service/euicc/IDeleteSubscriptionCallback;->onComplete(I)V
|
|
||||||
Landroid/service/euicc/IEraseSubscriptionsCallback;->onComplete(I)V
|
|
||||||
Landroid/service/euicc/IEuiccService$Stub;-><init>()V
|
Landroid/service/euicc/IEuiccService$Stub;-><init>()V
|
||||||
Landroid/service/euicc/IGetDefaultDownloadableSubscriptionListCallback;->onComplete(Landroid/service/euicc/GetDefaultDownloadableSubscriptionListResult;)V
|
|
||||||
Landroid/service/euicc/IGetDownloadableSubscriptionMetadataCallback;->onComplete(Landroid/service/euicc/GetDownloadableSubscriptionMetadataResult;)V
|
|
||||||
Landroid/service/euicc/IGetEidCallback;->onSuccess(Ljava/lang/String;)V
|
|
||||||
Landroid/service/euicc/IGetEuiccInfoCallback;->onSuccess(Landroid/telephony/euicc/EuiccInfo;)V
|
|
||||||
Landroid/service/euicc/IGetEuiccProfileInfoListCallback;->onComplete(Landroid/service/euicc/GetEuiccProfileInfoListResult;)V
|
|
||||||
Landroid/service/euicc/IRetainSubscriptionsForFactoryResetCallback;->onComplete(I)V
|
|
||||||
Landroid/service/euicc/ISwitchToSubscriptionCallback;->onComplete(I)V
|
|
||||||
Landroid/service/euicc/IUpdateSubscriptionNicknameCallback;->onComplete(I)V
|
|
||||||
Landroid/service/media/IMediaBrowserServiceCallbacks$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/media/IMediaBrowserServiceCallbacks;
|
Landroid/service/media/IMediaBrowserServiceCallbacks$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/media/IMediaBrowserServiceCallbacks;
|
||||||
Landroid/service/media/IMediaBrowserServiceCallbacks;->onConnect(Ljava/lang/String;Landroid/media/session/MediaSession$Token;Landroid/os/Bundle;)V
|
Landroid/service/media/IMediaBrowserServiceCallbacks;->onConnect(Ljava/lang/String;Landroid/media/session/MediaSession$Token;Landroid/os/Bundle;)V
|
||||||
Landroid/service/media/IMediaBrowserServiceCallbacks;->onConnectFailed()V
|
Landroid/service/media/IMediaBrowserServiceCallbacks;->onConnectFailed()V
|
||||||
@@ -1470,13 +1453,7 @@ Landroid/service/media/IMediaBrowserServiceCallbacks;->onLoadChildrenWithOptions
|
|||||||
Landroid/service/notification/INotificationListener$Stub;-><init>()V
|
Landroid/service/notification/INotificationListener$Stub;-><init>()V
|
||||||
Landroid/service/persistentdata/IPersistentDataBlockService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/persistentdata/IPersistentDataBlockService;
|
Landroid/service/persistentdata/IPersistentDataBlockService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/persistentdata/IPersistentDataBlockService;
|
||||||
Landroid/service/vr/IVrManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/vr/IVrManager;
|
Landroid/service/vr/IVrManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/vr/IVrManager;
|
||||||
Landroid/service/vr/IVrManager;->getVr2dDisplayId()I
|
|
||||||
Landroid/service/vr/IVrManager;->getVrModeState()Z
|
|
||||||
Landroid/service/wallpaper/IWallpaperConnection$Stub;-><init>()V
|
Landroid/service/wallpaper/IWallpaperConnection$Stub;-><init>()V
|
||||||
Landroid/service/wallpaper/IWallpaperEngine;->destroy()V
|
|
||||||
Landroid/service/wallpaper/IWallpaperEngine;->dispatchPointer(Landroid/view/MotionEvent;)V
|
|
||||||
Landroid/service/wallpaper/IWallpaperEngine;->dispatchWallpaperCommand(Ljava/lang/String;IIILandroid/os/Bundle;)V
|
|
||||||
Landroid/service/wallpaper/IWallpaperEngine;->setVisibility(Z)V
|
|
||||||
Landroid/service/wallpaper/IWallpaperService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/wallpaper/IWallpaperService;
|
Landroid/service/wallpaper/IWallpaperService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/service/wallpaper/IWallpaperService;
|
||||||
Landroid/telecom/Log;->i(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
|
Landroid/telecom/Log;->i(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
|
||||||
Landroid/telecom/Log;->w(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
|
Landroid/telecom/Log;->w(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
|
||||||
|
|||||||
@@ -23,12 +23,17 @@ import android.os.IBinder;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
interface IDreamManager {
|
interface IDreamManager {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void dream();
|
void dream();
|
||||||
|
@UnsupportedAppUsage
|
||||||
void awaken();
|
void awaken();
|
||||||
|
@UnsupportedAppUsage
|
||||||
void setDreamComponents(in ComponentName[] componentNames);
|
void setDreamComponents(in ComponentName[] componentNames);
|
||||||
|
@UnsupportedAppUsage
|
||||||
ComponentName[] getDreamComponents();
|
ComponentName[] getDreamComponents();
|
||||||
ComponentName getDefaultDreamComponent();
|
ComponentName getDefaultDreamComponent();
|
||||||
void testDream(in ComponentName componentName);
|
void testDream(in ComponentName componentName);
|
||||||
|
@UnsupportedAppUsage
|
||||||
boolean isDreaming();
|
boolean isDreaming();
|
||||||
void finishSelf(in IBinder token, boolean immediate);
|
void finishSelf(in IBinder token, boolean immediate);
|
||||||
void startDozing(in IBinder token, int screenState, int screenBrightness);
|
void startDozing(in IBinder token, int screenState, int screenBrightness);
|
||||||
|
|||||||
@@ -18,5 +18,6 @@ package android.service.euicc;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IDeleteSubscriptionCallback {
|
oneway interface IDeleteSubscriptionCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(int result);
|
void onComplete(int result);
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,6 @@ package android.service.euicc;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IEraseSubscriptionsCallback {
|
oneway interface IEraseSubscriptionsCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(int result);
|
void onComplete(int result);
|
||||||
}
|
}
|
||||||
@@ -20,5 +20,6 @@ import android.service.euicc.GetDefaultDownloadableSubscriptionListResult;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IGetDefaultDownloadableSubscriptionListCallback {
|
oneway interface IGetDefaultDownloadableSubscriptionListCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(in GetDefaultDownloadableSubscriptionListResult result);
|
void onComplete(in GetDefaultDownloadableSubscriptionListResult result);
|
||||||
}
|
}
|
||||||
@@ -20,5 +20,6 @@ import android.service.euicc.GetDownloadableSubscriptionMetadataResult;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IGetDownloadableSubscriptionMetadataCallback {
|
oneway interface IGetDownloadableSubscriptionMetadataCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(in GetDownloadableSubscriptionMetadataResult result);
|
void onComplete(in GetDownloadableSubscriptionMetadataResult result);
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,6 @@ package android.service.euicc;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IGetEidCallback {
|
oneway interface IGetEidCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onSuccess(String eid);
|
void onSuccess(String eid);
|
||||||
}
|
}
|
||||||
@@ -20,5 +20,6 @@ import android.telephony.euicc.EuiccInfo;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IGetEuiccInfoCallback {
|
oneway interface IGetEuiccInfoCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onSuccess(in EuiccInfo euiccInfo);
|
void onSuccess(in EuiccInfo euiccInfo);
|
||||||
}
|
}
|
||||||
@@ -20,5 +20,6 @@ import android.service.euicc.GetEuiccProfileInfoListResult;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IGetEuiccProfileInfoListCallback {
|
oneway interface IGetEuiccProfileInfoListCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(in GetEuiccProfileInfoListResult result);
|
void onComplete(in GetEuiccProfileInfoListResult result);
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,6 @@ package android.service.euicc;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IRetainSubscriptionsForFactoryResetCallback {
|
oneway interface IRetainSubscriptionsForFactoryResetCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(int result);
|
void onComplete(int result);
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,6 @@ package android.service.euicc;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface ISwitchToSubscriptionCallback {
|
oneway interface ISwitchToSubscriptionCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(int result);
|
void onComplete(int result);
|
||||||
}
|
}
|
||||||
@@ -18,5 +18,6 @@ package android.service.euicc;
|
|||||||
|
|
||||||
/** @hide */
|
/** @hide */
|
||||||
oneway interface IUpdateSubscriptionNicknameCallback {
|
oneway interface IUpdateSubscriptionNicknameCallback {
|
||||||
|
@UnsupportedAppUsage
|
||||||
void onComplete(int result);
|
void onComplete(int result);
|
||||||
}
|
}
|
||||||
@@ -57,6 +57,7 @@ interface IVrManager {
|
|||||||
*
|
*
|
||||||
* @return {@code true} if VR mode is enabled.
|
* @return {@code true} if VR mode is enabled.
|
||||||
*/
|
*/
|
||||||
|
@UnsupportedAppUsage
|
||||||
boolean getVrModeState();
|
boolean getVrModeState();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -93,6 +94,7 @@ interface IVrManager {
|
|||||||
* @return {@link android.view.Display.INVALID_DISPLAY} if there is no virtual display
|
* @return {@link android.view.Display.INVALID_DISPLAY} if there is no virtual display
|
||||||
* currently, else return the display id of the virtual display
|
* currently, else return the display id of the virtual display
|
||||||
*/
|
*/
|
||||||
|
@UnsupportedAppUsage
|
||||||
int getVr2dDisplayId();
|
int getVr2dDisplayId();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -26,11 +26,15 @@ import android.os.Bundle;
|
|||||||
oneway interface IWallpaperEngine {
|
oneway interface IWallpaperEngine {
|
||||||
void setDesiredSize(int width, int height);
|
void setDesiredSize(int width, int height);
|
||||||
void setDisplayPadding(in Rect padding);
|
void setDisplayPadding(in Rect padding);
|
||||||
|
@UnsupportedAppUsage
|
||||||
void setVisibility(boolean visible);
|
void setVisibility(boolean visible);
|
||||||
void setInAmbientMode(boolean inAmbientDisplay, boolean animated);
|
void setInAmbientMode(boolean inAmbientDisplay, boolean animated);
|
||||||
|
@UnsupportedAppUsage
|
||||||
void dispatchPointer(in MotionEvent event);
|
void dispatchPointer(in MotionEvent event);
|
||||||
|
@UnsupportedAppUsage
|
||||||
void dispatchWallpaperCommand(String action, int x, int y,
|
void dispatchWallpaperCommand(String action, int x, int y,
|
||||||
int z, in Bundle extras);
|
int z, in Bundle extras);
|
||||||
void requestWallpaperColors();
|
void requestWallpaperColors();
|
||||||
|
@UnsupportedAppUsage
|
||||||
void destroy();
|
void destroy();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -131,6 +131,7 @@ public class Credentials {
|
|||||||
* Convert objects to a PEM format which is used for
|
* Convert objects to a PEM format which is used for
|
||||||
* CA_CERTIFICATE and USER_CERTIFICATE entries.
|
* CA_CERTIFICATE and USER_CERTIFICATE entries.
|
||||||
*/
|
*/
|
||||||
|
@UnsupportedAppUsage
|
||||||
public static byte[] convertToPem(Certificate... objects)
|
public static byte[] convertToPem(Certificate... objects)
|
||||||
throws IOException, CertificateEncodingException {
|
throws IOException, CertificateEncodingException {
|
||||||
ByteArrayOutputStream bao = new ByteArrayOutputStream();
|
ByteArrayOutputStream bao = new ByteArrayOutputStream();
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ import android.security.keystore.ParcelableKeyGenParameterSpec;
|
|||||||
*/
|
*/
|
||||||
interface IKeyChainService {
|
interface IKeyChainService {
|
||||||
// APIs used by KeyChain
|
// APIs used by KeyChain
|
||||||
|
@UnsupportedAppUsage
|
||||||
String requestPrivateKey(String alias);
|
String requestPrivateKey(String alias);
|
||||||
byte[] getCertificate(String alias);
|
byte[] getCertificate(String alias);
|
||||||
byte[] getCaCertificates(String alias);
|
byte[] getCaCertificates(String alias);
|
||||||
|
|||||||
Reference in New Issue
Block a user