/frameworks/base/core/java/android/app/ |
D | AppOpsManager.aidl | 20 parcelable AppOpsManager.OpEntry;
|
D | AppOpsManager.java | 2165 private final List<OpEntry> mEntries; 2171 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps() 2194 public @NonNull List<OpEntry> getOps() { in getOps() 2216 mEntries = new ArrayList<OpEntry>(); in PackageOps() 2219 mEntries.add(OpEntry.CREATOR.createFromParcel(source)); in PackageOps() 2241 public static final class OpEntry implements Parcelable { class in AppOpsManager 2254 public OpEntry(int op, boolean running, @Mode int mode, in OpEntry() method in AppOpsManager.OpEntry 2271 public OpEntry(int op, @Mode int mode) { in OpEntry() method in AppOpsManager.OpEntry 2665 OpEntry(Parcel source) { in OpEntry() method in AppOpsManager.OpEntry 2676 …public static final @android.annotation.NonNull Creator<OpEntry> CREATOR = new Creator<OpEntry>() { [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAccessesTest.java | 10 import android.app.AppOpsManager.OpEntry; 158 private OpEntry createOpEntryWithTime(int op, long time) { in createOpEntryWithTime() 164 return new OpEntry(op, false, AppOpsManager.MODE_ALLOWED, accessTimes, null /*durations*/, in createOpEntryWithTime()
|
D | RecentLocationAppsTest.java | 9 import android.app.AppOpsManager.OpEntry; 158 private OpEntry createOpEntryWithTime(int op, long time, int duration) { in createOpEntryWithTime() 165 return new OpEntry(op, false, AppOpsManager.MODE_ALLOWED, accessTimes, in createOpEntryWithTime()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsActiveWatcherTest.java | 137 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in isCameraOn() 141 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in isCameraOn()
|
D | AppOpsServiceTest.java | 33 import android.app.AppOpsManager.OpEntry; 413 for (OpEntry opEntry : pkgOps.getOps()) { in assertContainsOp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | LocationControllerImpl.java | 161 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in areActiveHighPowerLocationRequests() 165 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in areActiveHighPowerLocationRequests()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 161 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getAccessFromOps() 165 for (AppOpsManager.OpEntry entry : entries) { in getAccessFromOps()
|
D | RecentLocationApps.java | 165 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps() 171 for (AppOpsManager.OpEntry entry : entries) { in getRequestFromOps()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 46 import android.app.AppOpsManager.OpEntry; 992 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { in collectOps() 993 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectOps() 1015 private ArrayList<AppOpsManager.OpEntry> collectOps(SparseIntArray uidOps, int[] ops) { in collectOps() 1019 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectOps() 1023 resOps.add(new OpEntry(uidOps.keyAt(j), uidOps.valueAt(j))); in collectOps() 1032 resOps.add(new OpEntry(uidOps.keyAt(j), uidOps.valueAt(j))); in collectOps() 1039 private static @NonNull OpEntry getOpEntryForResult(@NonNull Op op, long elapsedNow) { in getOpEntryForResult() 1044 final OpEntry entry = new OpEntry(op.op, op.running, op.mode, in getOpEntryForResult() 1069 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(pkgOps, ops); in getPackagesForOps() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 42 import android.app.AppOpsManager.OpEntry; 685 List<OpEntry> entries = new ArrayList<>(); in loadPersistedAppOps() 686 entries.add(new OpEntry( in loadPersistedAppOps() 689 entries.add(new OpEntry( in loadPersistedAppOps() 697 entries.add(new OpEntry( in loadPersistedAppOps() 705 entries.add(new OpEntry( in loadPersistedAppOps() 713 entries.add(new OpEntry( in loadPersistedAppOps() 716 entries.add(new OpEntry( in loadPersistedAppOps()
|
/frameworks/base/services/core/java/com/android/server/ |
D | AppStateTracker.java | 527 final List<AppOpsManager.OpEntry> entries = ops.get(i).getOps(); in refreshForcedAppStandbyUidPackagesLocked() 530 AppOpsManager.OpEntry ent = entries.get(j); in refreshForcedAppStandbyUidPackagesLocked()
|
D | StorageManagerService.java | 1642 for (AppOpsManager.OpEntry op : CollectionUtils.emptyIfNull(pkg.getOps())) { in getLastAccessTime()
|
/frameworks/base/api/ |
D | test-current.txt | 291 public static final class AppOpsManager.OpEntry implements android.os.Parcelable { 313 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
|
D | system-current.txt | 446 public static final class AppOpsManager.OpEntry implements android.os.Parcelable { 468 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR; 473 method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps();
|
/frameworks/base/services/ |
D | art-profile | 3853 …etOpEntryForResult(Lcom/android/server/appop/AppOpsService$Op;J)Landroid/app/AppOpsManager$OpEntry;
|