Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAppOpsManager.aidl20 parcelable AppOpsManager.OpEntry;
DAppOpsManager.java2165 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/
DRecentLocationAccessesTest.java10 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()
DRecentLocationAppsTest.java9 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/
DAppOpsActiveWatcherTest.java137 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in isCameraOn()
141 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in isCameraOn()
DAppOpsServiceTest.java33 import android.app.AppOpsManager.OpEntry;
413 for (OpEntry opEntry : pkgOps.getOps()) { in assertContainsOp()
/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/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java161 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getAccessFromOps()
165 for (AppOpsManager.OpEntry entry : entries) { in getAccessFromOps()
DRecentLocationApps.java165 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/
DAppOpsService.java46 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/
DAppStateTrackerTest.java42 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/
DAppStateTracker.java527 final List<AppOpsManager.OpEntry> entries = ops.get(i).getOps(); in refreshForcedAppStandbyUidPackagesLocked()
530 AppOpsManager.OpEntry ent = entries.get(j); in refreshForcedAppStandbyUidPackagesLocked()
DStorageManagerService.java1642 for (AppOpsManager.OpEntry op : CollectionUtils.emptyIfNull(pkg.getOps())) { in getLastAccessTime()
/frameworks/base/api/
Dtest-current.txt291 public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
313 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
Dsystem-current.txt446 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/
Dart-profile3853 …etOpEntryForResult(Lcom/android/server/appop/AppOpsService$Op;J)Landroid/app/AppOpsManager$OpEntry;