FileDocCategorySizeDatePackage
IAppOpsService.javaAPI DocAndroid 5.1 API19487Sat Mar 14 05:48:08 GMT 2015com.android.internal.app

IAppOpsService

public interface IAppOpsService implements android.os.IInterface

Fields Summary
Constructors Summary
Methods Summary
public intcheckAudioOperation(int code, int usage, int uid, java.lang.String packageName)

public intcheckOperation(int code, int uid, java.lang.String packageName)

public intcheckPackage(int uid, java.lang.String packageName)

public voidfinishOperation(android.os.IBinder token, int code, int uid, java.lang.String packageName)

public java.util.ListgetOpsForPackage(int uid, java.lang.String packageName, int[] ops)

public java.util.ListgetPackagesForOps(int[] ops)

public android.os.IBindergetToken(android.os.IBinder clientToken)

public intnoteOperation(int code, int uid, java.lang.String packageName)

public voidremoveUser(int userHandle)

public voidresetAllModes(int reqUserId, java.lang.String reqPackageName)

public voidsetAudioRestriction(int code, int usage, int uid, int mode, java.lang.String[] exceptionPackages)

public voidsetMode(int code, int uid, java.lang.String packageName, int mode)

public voidsetUserRestrictions(android.os.Bundle restrictions, int userHandle)

public intstartOperation(android.os.IBinder token, int code, int uid, java.lang.String packageName)

public voidstartWatchingMode(int op, java.lang.String packageName, com.android.internal.app.IAppOpsCallback callback)

public voidstopWatchingMode(com.android.internal.app.IAppOpsCallback callback)