Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAppOpsManager.aidl23 parcelable AppOpsManager.OpEntry;
DAppOpsManager.java3410 private final List<OpEntry> mEntries;
3416 public PackageOps(String packageName, int uid, List<OpEntry> entries) { in PackageOps()
3439 public @NonNull List<OpEntry> getOps() { in getOps()
3461 mEntries = new ArrayList<OpEntry>(); in PackageOps()
3464 mEntries.add(OpEntry.CREATOR.createFromParcel(source)); in PackageOps()
4474 public static final class OpEntry implements Parcelable { class in AppOpsManager
4980 public OpEntry( in OpEntry() method in AppOpsManager.OpEntry
5036 /* package-private */ OpEntry(@NonNull Parcel in) { in OpEntry() method in AppOpsManager.OpEntry
5061 public static final @NonNull Parcelable.Creator<OpEntry> CREATOR
5062 = new Parcelable.Creator<OpEntry>() {
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAppsTest.java9 import android.app.AppOpsManager.OpEntry;
159 private OpEntry createOpEntryWithTime(int op, long time, int duration) { in createOpEntryWithTime()
164 return new OpEntry(op, AppOpsManager.MODE_ALLOWED, Collections.singletonMap(null, in createOpEntryWithTime()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java264 AppOpsManager.OpEntry entry1 = mock(AppOpsManager.OpEntry.class); in startListening_fetchesCurrentActive_multipleEntries()
270 AppOpsManager.OpEntry entry2 = mock(AppOpsManager.OpEntry.class); in startListening_fetchesCurrentActive_multipleEntries()
276 AppOpsManager.OpEntry entry3 = mock(AppOpsManager.OpEntry.class); in startListening_fetchesCurrentActive_multipleEntries()
310 AppOpsManager.OpEntry entry = mock(AppOpsManager.OpEntry.class); in startListening_fetchesCurrentActive_multipleAttributes()
1035 AppOpsManager.OpEntry entry = mock(AppOpsManager.OpEntry.class); in createPackageOp()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DRecentAppOpsAccessesTest.java28 import android.app.AppOpsManager.OpEntry;
251 private OpEntry createOpEntryWithTime(int op, long time) { in createOpEntryWithTime()
257 return new OpEntry(op, AppOpsManager.MODE_ALLOWED, Collections.singletonMap(null, in createOpEntryWithTime()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java169 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps()
175 for (AppOpsManager.OpEntry entry : entries) { in getRequestFromOps()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java229 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getAccessFromOps()
234 for (AppOpsManager.OpEntry entry : entries) { in getAccessFromOps()
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java242 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in isCameraOn()
246 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in isCameraOn()
DAppOpsDeviceAwareServiceTest.java141 AppOpsManager.OpEntry opEntry = in noteProxyOpWithDeviceId()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java52 import android.app.AppOpsManager.OpEntry;
453 List<OpEntry> opEntries = ops.get(i).getOps(); in testUidStateInitializationDoesntClearState()
476 for (OpEntry opEntry : pkgOps.getOps()) { in assertContainsOp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java42 import android.app.AppOpsManager.OpEntry;
975 List<OpEntry> entries = new ArrayList<>(); in loadPersistedAppOps()
976 entries.add(new OpEntry( in loadPersistedAppOps()
980 entries.add(new OpEntry( in loadPersistedAppOps()
989 entries.add(new OpEntry( in loadPersistedAppOps()
998 entries.add(new OpEntry( in loadPersistedAppOps()
1007 entries.add(new OpEntry( in loadPersistedAppOps()
1011 entries.add(new OpEntry( in loadPersistedAppOps()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java90 import android.app.AppOpsManager.OpEntry;
666 @NonNull OpEntry createEntryLocked(String persistentDeviceId) { in createEntryLocked()
682 return new OpEntry( in createEntryLocked()
689 @NonNull OpEntry createSingleAttributionEntryLocked(@Nullable String attributionTag) { in createSingleAttributionEntryLocked()
703 return new OpEntry( in createSingleAttributionEntryLocked()
1656 private ArrayList<AppOpsManager.OpEntry> collectOps(Ops pkgOps, int[] ops, in collectOps()
1658 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectOps()
1690 private ArrayList<AppOpsManager.OpEntry> collectUidOps(@NonNull UidState uidState, in collectUidOps()
1705 ArrayList<AppOpsManager.OpEntry> resOps = null; in collectUidOps()
1710 resOps.add(new OpEntry(code, opModes.get(code), Collections.emptyMap())); in collectUidOps()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAppStateTrackerImpl.java600 final List<AppOpsManager.OpEntry> entries = ops.get(i).getOps(); in refreshForcedAppStandbyUidPackagesLocked()
603 AppOpsManager.OpEntry ent = entries.get(j); in refreshForcedAppStandbyUidPackagesLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsControllerImpl.java236 for (AppOpsManager.OpEntry entry : op.getOps()) { in fetchCurrentActiveOps()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java520 AppOpsManager.OpEntry opEntry = pkgOps.getOps().get(opEntryNum); in getOpUsagesByDevice()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java8602 userVpnUid, List.of(new AppOpsManager.OpEntry( in setupVpnAuthorization()
/frameworks/base/boot/
Dpreloaded-classes350 android.app.AppOpsManager$OpEntry$1
351 android.app.AppOpsManager$OpEntry
Dboot-image-profile.txt1087 HSPLandroid/app/AppOpsManager$OpEntry$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/AppOpsM…
1088 HSPLandroid/app/AppOpsManager$OpEntry$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
1089 HSPLandroid/app/AppOpsManager$OpEntry;-><init>(Landroid/os/Parcel;)V
22724 Landroid/app/AppOpsManager$OpEntry$1;
22725 Landroid/app/AppOpsManager$OpEntry;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt3762 Landroid/app/AppOpsManager$OpEntry;-><init>(IIJJIILjava/lang/String;)V
3763 Landroid/app/AppOpsManager$OpEntry;-><init>(II[J[JIILjava/lang/String;)V
3764 Landroid/app/AppOpsManager$OpEntry;-><init>(II[J[JIZILjava/lang/String;)V
3765 Landroid/app/AppOpsManager$OpEntry;-><init>(Landroid/os/Parcel;)V
3766 Landroid/app/AppOpsManager$OpEntry;->CREATOR:Landroid/os/Parcelable$Creator;
3767 Landroid/app/AppOpsManager$OpEntry;->getLastRejectTimeFor(I)J
3768 Landroid/app/AppOpsManager$OpEntry;->getLastTimeFor(I)J
3769 Landroid/app/AppOpsManager$OpEntry;->getProxyPackageName()Ljava/lang/String;
3770 Landroid/app/AppOpsManager$OpEntry;->getProxyUid()I
3771 Landroid/app/AppOpsManager$OpEntry;->mDuration:I
[all …]
/frameworks/base/config/
Dpreloaded-classes350 android.app.AppOpsManager$OpEntry$1
351 android.app.AppOpsManager$OpEntry
Dboot-image-profile.txt1087 HSPLandroid/app/AppOpsManager$OpEntry$1;->createFromParcel(Landroid/os/Parcel;)Landroid/app/AppOpsM…
1088 HSPLandroid/app/AppOpsManager$OpEntry$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
1089 HSPLandroid/app/AppOpsManager$OpEntry;-><init>(Landroid/os/Parcel;)V
32854 Landroid/app/AppOpsManager$OpEntry$1;
32855 Landroid/app/AppOpsManager$OpEntry;
/frameworks/base/core/api/
Dsystem-current.txt841 public static final class AppOpsManager.OpEntry implements android.os.Parcelable {
869 …nNull public static final android.os.Parcelable.Creator<android.app.AppOpsManager.OpEntry> CREATOR;
884 method @NonNull public java.util.List<android.app.AppOpsManager.OpEntry> getOps();
/frameworks/base/services/
Dart-profile1156 …ice$Op;->createEntryLocked(Ljava/lang/String;)Landroid/app/AppOpsManager$OpEntry;+]Landroid/util/A…
1215 …sManager$AttributedOpEntry;]Landroid/app/AppOpsManager$OpEntry;Landroid/app/AppOpsManager$OpEntry;…
Dart-wear-profile7638 …Lcom/android/server/appop/AppOpsService$Op;->createEntryLocked()Landroid/app/AppOpsManager$OpEntry;
7694 …getOpEntryForResult(Lcom/android/server/appop/AppOpsService$Op;)Landroid/app/AppOpsManager$OpEntry;