Home
last modified time | relevance | path

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

/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/core/java/android/app/
DAppOpsManager.aidl20 parcelable AppOpsManager.OpEntry;
DAppOpsManager.java2218 private final List<OpEntry> mEntries;
2224 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps()
2247 public @NonNull List<OpEntry> getOps() { in getOps()
2269 mEntries = new ArrayList<OpEntry>(); in PackageOps()
2272 mEntries.add(OpEntry.CREATOR.createFromParcel(source)); in PackageOps()
2294 public static final class OpEntry implements Parcelable { class in AppOpsManager
2307 public OpEntry(int op, boolean running, @Mode int mode, in OpEntry() method in AppOpsManager.OpEntry
2324 public OpEntry(int op, @Mode int mode) { in OpEntry() method in AppOpsManager.OpEntry
2718 OpEntry(Parcel source) { in OpEntry() method in AppOpsManager.OpEntry
2729 …public static final @android.annotation.NonNull Creator<OpEntry> CREATOR = new Creator<OpEntry>() {
[all …]
/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()
/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.java162 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getAccessFromOps()
166 for (AppOpsManager.OpEntry entry : entries) { in getAccessFromOps()
DRecentLocationApps.java169 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps()
175 for (AppOpsManager.OpEntry entry : entries) { in getRequestFromOps()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java51 import android.app.AppOpsManager.OpEntry;
1032 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops) { in collectOps()
1033 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectOps()
1055 private ArrayList<AppOpsManager.OpEntry> collectOps(SparseIntArray uidOps, int[] ops) { in collectOps()
1059 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectOps()
1063 resOps.add(new OpEntry(uidOps.keyAt(j), uidOps.valueAt(j))); in collectOps()
1072 resOps.add(new OpEntry(uidOps.keyAt(j), uidOps.valueAt(j))); in collectOps()
1079 private static @NonNull OpEntry getOpEntryForResult(@NonNull Op op, long elapsedNow) { in getOpEntryForResult()
1084 final OpEntry entry = new OpEntry(op.op, op.running, op.mode, in getOpEntryForResult()
1109 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/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java45 import android.app.AppOpsManager.OpEntry;
456 for (OpEntry opEntry : pkgOps.getOps()) { in assertContainsOp()
/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.java1653 for (AppOpsManager.OpEntry op : CollectionUtils.emptyIfNull(pkg.getOps())) { in getLastAccessTime()
/frameworks/base/api/
Dtest-current.txt296 public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
318 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
Dtest-lint-baseline.txt624 MissingNullability: android.app.AppOpsManager.OpEntry#writeToParcel(android.os.Parcel, int) paramet…
Dsystem-current.txt459 public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
481 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
486 method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps();
/frameworks/base/non-updatable-api/
Dsystem-current.txt459 public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
481 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
486 method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps();
/frameworks/base/config/
Dboot-image-profile.txt931 HSPLandroid/app/AppOpsManager$OpEntry$1;-><init>()V
932 HPLandroid/app/AppOpsManager$OpEntry;->collectKeys()Landroid/util/LongSparseArray;
933 HPLandroid/app/AppOpsManager$OpEntry;->getLastAccessTime(III)J
934 HPLandroid/app/AppOpsManager$OpEntry;->getLastDuration(III)J
935 HPLandroid/app/AppOpsManager$OpEntry;->getLastRejectTime(III)J
936 HPLandroid/app/AppOpsManager$OpEntry;->getProxyPackageName(II)Ljava/lang/String;
937 HPLandroid/app/AppOpsManager$OpEntry;->getProxyUid(II)I
938 HSPLandroid/app/AppOpsManager$OpEntry;->writeToParcel(Landroid/os/Parcel;I)V
32225 Landroid/app/AppOpsManager$OpEntry$1;
32226 Landroid/app/AppOpsManager$OpEntry;
[all …]
Dhiddenapi-greylist-max-o.txt3765 Landroid/app/AppOpsManager$OpEntry;-><init>(IIJJIILjava/lang/String;)V
3766 Landroid/app/AppOpsManager$OpEntry;-><init>(II[J[JIILjava/lang/String;)V
3767 Landroid/app/AppOpsManager$OpEntry;-><init>(II[J[JIZILjava/lang/String;)V
3768 Landroid/app/AppOpsManager$OpEntry;-><init>(Landroid/os/Parcel;)V
3769 Landroid/app/AppOpsManager$OpEntry;->CREATOR:Landroid/os/Parcelable$Creator;
3770 Landroid/app/AppOpsManager$OpEntry;->getLastRejectTimeFor(I)J
3771 Landroid/app/AppOpsManager$OpEntry;->getLastTimeFor(I)J
3772 Landroid/app/AppOpsManager$OpEntry;->getProxyPackageName()Ljava/lang/String;
3773 Landroid/app/AppOpsManager$OpEntry;->getProxyUid()I
3774 Landroid/app/AppOpsManager$OpEntry;->mDuration:I
[all …]
/frameworks/base/services/
Dart-profile3853 …etOpEntryForResult(Lcom/android/server/appop/AppOpsService$Op;J)Landroid/app/AppOpsManager$OpEntry;