Loading core/java/android/app/AppOpsManager.java +24 −0 Original line number Diff line number Diff line Loading @@ -4294,6 +4294,12 @@ public class AppOpsManager { /** * Retrieve current operation state for all applications. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param ops The set of operations you are interested in, or null if you want all of them. * @hide */ Loading @@ -4312,6 +4318,12 @@ public class AppOpsManager { /** * Retrieve current operation state for all applications. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param ops The set of operations you are interested in, or null if you want all of them. * @hide */ Loading @@ -4328,6 +4340,12 @@ public class AppOpsManager { /** * Retrieve current operation state for one application. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param uid The uid of the application of interest. * @param packageName The name of the application of interest. * @param ops The set of operations you are interested in, or null if you want all of them. Loading @@ -4354,6 +4372,12 @@ public class AppOpsManager { * Retrieve current operation state for one application. The UID and the * package must match. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param uid The uid of the application of interest. * @param packageName The name of the application of interest. * @param ops The set of operations you are interested in, or null if you want all of them. Loading Loading
core/java/android/app/AppOpsManager.java +24 −0 Original line number Diff line number Diff line Loading @@ -4294,6 +4294,12 @@ public class AppOpsManager { /** * Retrieve current operation state for all applications. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param ops The set of operations you are interested in, or null if you want all of them. * @hide */ Loading @@ -4312,6 +4318,12 @@ public class AppOpsManager { /** * Retrieve current operation state for all applications. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param ops The set of operations you are interested in, or null if you want all of them. * @hide */ Loading @@ -4328,6 +4340,12 @@ public class AppOpsManager { /** * Retrieve current operation state for one application. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param uid The uid of the application of interest. * @param packageName The name of the application of interest. * @param ops The set of operations you are interested in, or null if you want all of them. Loading @@ -4354,6 +4372,12 @@ public class AppOpsManager { * Retrieve current operation state for one application. The UID and the * package must match. * * The mode of the ops returned are set for the package but may not reflect their effective * state due to UID policy or because it's controlled by a different master op. * * Use {@link #unsafeCheckOp(String, int, String)}} or {@link #noteOp(String, int, String)} * if the effective mode is needed. * * @param uid The uid of the application of interest. * @param packageName The name of the application of interest. * @param ops The set of operations you are interested in, or null if you want all of them. Loading