Home
last modified time | relevance | path

Searched refs:OpEntry (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/app/
DAppOpsManager.java797 private final List<OpEntry> mEntries;
799 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps()
813 public List<OpEntry> getOps() { in getOps()
835 mEntries = new ArrayList<OpEntry>(); in PackageOps()
838 mEntries.add(OpEntry.CREATOR.createFromParcel(source)); in PackageOps()
857 public static class OpEntry implements Parcelable { class in AppOpsManager
864 public OpEntry(int op, int mode, long time, long rejectTime, int duration) { in OpEntry() method in AppOpsManager.OpEntry
910 OpEntry(Parcel source) { in OpEntry() method in AppOpsManager.OpEntry
918 public static final Creator<OpEntry> CREATOR = new Creator<OpEntry>() {
919 @Override public OpEntry createFromParcel(Parcel source) {
[all …]
DAppOpsManager.aidl20 parcelable AppOpsManager.OpEntry;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java161 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in areActiveHighPowerLocationRequests()
165 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in areActiveHighPowerLocationRequests()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java284 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { in collectOps()
285 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectOps()
287 resOps = new ArrayList<AppOpsManager.OpEntry>(); in collectOps()
290 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, in collectOps()
298 resOps = new ArrayList<AppOpsManager.OpEntry>(); in collectOps()
300 resOps.add(new AppOpsManager.OpEntry(curOp.op, curOp.mode, curOp.time, in collectOps()
317 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(pkgOps, ops); in getPackagesForOps()
342 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(pkgOps, ops); in getOpsForPackage()
1099 List<AppOpsManager.OpEntry> ops = pkg.getOps(); in writeState()
1101 AppOpsManager.OpEntry op = ops.get(j); in writeState()
/frameworks/base/cmds/appops/src/com/android/commands/appops/
DAppOpsCommand.java227 List<AppOpsManager.OpEntry> entries = ops.get(i).getOps(); in runGet()
229 AppOpsManager.OpEntry ent = entries.get(j); in runGet()