Merge "Add @UnsupportedAppUsage annotations"

This commit is contained in:
Andrei-Valentin Onea
2019-03-07 10:20:28 +00:00
committed by Gerrit Code Review
16 changed files with 23 additions and 23 deletions

View File

@@ -1420,9 +1420,7 @@ Landroid/R$styleable;->View_visibility:I
Landroid/R$styleable;->Window:[I
Landroid/R$styleable;->Window_windowBackground: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;->requestPrivateKey(Ljava/lang/String;)Ljava/lang/String;
Landroid/security/keymaster/KeymasterBlobArgument;-><init>(ILandroid/os/Parcel;)V
Landroid/security/keymaster/KeymasterBlobArgument;-><init>(I[B)V
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;->ungrant(Ljava/lang/String;I)I
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/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;->onConnect(Ljava/lang/String;Landroid/media/session/MediaSession$Token;Landroid/os/Bundle;)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/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;->getVr2dDisplayId()I
Landroid/service/vr/IVrManager;->getVrModeState()Z
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/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

View File

@@ -23,12 +23,17 @@ import android.os.IBinder;
/** @hide */
interface IDreamManager {
@UnsupportedAppUsage
void dream();
@UnsupportedAppUsage
void awaken();
@UnsupportedAppUsage
void setDreamComponents(in ComponentName[] componentNames);
@UnsupportedAppUsage
ComponentName[] getDreamComponents();
ComponentName getDefaultDreamComponent();
void testDream(in ComponentName componentName);
@UnsupportedAppUsage
boolean isDreaming();
void finishSelf(in IBinder token, boolean immediate);
void startDozing(in IBinder token, int screenState, int screenBrightness);

View File

@@ -18,5 +18,6 @@ package android.service.euicc;
/** @hide */
oneway interface IDeleteSubscriptionCallback {
@UnsupportedAppUsage
void onComplete(int result);
}

View File

@@ -18,5 +18,6 @@ package android.service.euicc;
/** @hide */
oneway interface IEraseSubscriptionsCallback {
@UnsupportedAppUsage
void onComplete(int result);
}

View File

@@ -20,5 +20,6 @@ import android.service.euicc.GetDefaultDownloadableSubscriptionListResult;
/** @hide */
oneway interface IGetDefaultDownloadableSubscriptionListCallback {
@UnsupportedAppUsage
void onComplete(in GetDefaultDownloadableSubscriptionListResult result);
}

View File

@@ -20,5 +20,6 @@ import android.service.euicc.GetDownloadableSubscriptionMetadataResult;
/** @hide */
oneway interface IGetDownloadableSubscriptionMetadataCallback {
@UnsupportedAppUsage
void onComplete(in GetDownloadableSubscriptionMetadataResult result);
}

View File

@@ -18,5 +18,6 @@ package android.service.euicc;
/** @hide */
oneway interface IGetEidCallback {
@UnsupportedAppUsage
void onSuccess(String eid);
}

View File

@@ -20,5 +20,6 @@ import android.telephony.euicc.EuiccInfo;
/** @hide */
oneway interface IGetEuiccInfoCallback {
@UnsupportedAppUsage
void onSuccess(in EuiccInfo euiccInfo);
}

View File

@@ -20,5 +20,6 @@ import android.service.euicc.GetEuiccProfileInfoListResult;
/** @hide */
oneway interface IGetEuiccProfileInfoListCallback {
@UnsupportedAppUsage
void onComplete(in GetEuiccProfileInfoListResult result);
}

View File

@@ -18,5 +18,6 @@ package android.service.euicc;
/** @hide */
oneway interface IRetainSubscriptionsForFactoryResetCallback {
@UnsupportedAppUsage
void onComplete(int result);
}

View File

@@ -18,5 +18,6 @@ package android.service.euicc;
/** @hide */
oneway interface ISwitchToSubscriptionCallback {
@UnsupportedAppUsage
void onComplete(int result);
}

View File

@@ -18,5 +18,6 @@ package android.service.euicc;
/** @hide */
oneway interface IUpdateSubscriptionNicknameCallback {
@UnsupportedAppUsage
void onComplete(int result);
}

View File

@@ -57,6 +57,7 @@ interface IVrManager {
*
* @return {@code true} if VR mode is enabled.
*/
@UnsupportedAppUsage
boolean getVrModeState();
/**
@@ -93,6 +94,7 @@ interface IVrManager {
* @return {@link android.view.Display.INVALID_DISPLAY} if there is no virtual display
* currently, else return the display id of the virtual display
*/
@UnsupportedAppUsage
int getVr2dDisplayId();
/**

View File

@@ -26,11 +26,15 @@ import android.os.Bundle;
oneway interface IWallpaperEngine {
void setDesiredSize(int width, int height);
void setDisplayPadding(in Rect padding);
@UnsupportedAppUsage
void setVisibility(boolean visible);
void setInAmbientMode(boolean inAmbientDisplay, boolean animated);
@UnsupportedAppUsage
void dispatchPointer(in MotionEvent event);
@UnsupportedAppUsage
void dispatchWallpaperCommand(String action, int x, int y,
int z, in Bundle extras);
void requestWallpaperColors();
@UnsupportedAppUsage
void destroy();
}

View File

@@ -131,6 +131,7 @@ public class Credentials {
* Convert objects to a PEM format which is used for
* CA_CERTIFICATE and USER_CERTIFICATE entries.
*/
@UnsupportedAppUsage
public static byte[] convertToPem(Certificate... objects)
throws IOException, CertificateEncodingException {
ByteArrayOutputStream bao = new ByteArrayOutputStream();

View File

@@ -27,6 +27,7 @@ import android.security.keystore.ParcelableKeyGenParameterSpec;
*/
interface IKeyChainService {
// APIs used by KeyChain
@UnsupportedAppUsage
String requestPrivateKey(String alias);
byte[] getCertificate(String alias);
byte[] getCaCertificates(String alias);