Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java226 private final SparseArray<AppOpsManager.OpEntry> mOps
227 = new SparseArray<AppOpsManager.OpEntry>();
240 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { in addOp()
308 private final ArrayList<AppOpsManager.OpEntry> mOps
309 = new ArrayList<AppOpsManager.OpEntry>();
310 private final ArrayList<AppOpsManager.OpEntry> mSwitchOps
311 = new ArrayList<AppOpsManager.OpEntry>();
316 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry()
326 private static void addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) { in addOp()
328 AppOpsManager.OpEntry pos = list.get(i); in addOp()
[all …]
DAppOpsCategory.java338 AppOpsManager.OpEntry op = entry.getOpEntry(0); in onListItemClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/
DAppOpsState.java226 private final SparseArray<AppOpsManager.OpEntry> mOps
227 = new SparseArray<AppOpsManager.OpEntry>();
240 public void addOp(AppOpEntry entry, AppOpsManager.OpEntry op) { in addOp()
308 private final ArrayList<AppOpsManager.OpEntry> mOps
309 = new ArrayList<AppOpsManager.OpEntry>();
310 private final ArrayList<AppOpsManager.OpEntry> mSwitchOps
311 = new ArrayList<AppOpsManager.OpEntry>();
316 public AppOpEntry(AppOpsManager.PackageOps pkg, AppOpsManager.OpEntry op, AppEntry app, in AppOpEntry()
326 private static void addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) { in addOp()
328 AppOpsManager.OpEntry pos = list.get(i); in addOp()
[all …]
DAppOpsCategory.java338 AppOpsManager.OpEntry op = entry.getOpEntry(0); in onListItemClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceControllerTest.java80 final AppOpsManager.OpEntry allowOpEntry = new AppOpsManager.OpEntry( in setUp()
84 final List<AppOpsManager.OpEntry> allowOps = new ArrayList<>(); in setUp()
86 final AppOpsManager.OpEntry restrictedOpEntry = new AppOpsManager.OpEntry( in setUp()
90 final List<AppOpsManager.OpEntry> restrictedOps = new ArrayList<>(); in setUp()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DAppPermissionUsage.java22 import android.app.AppOpsManager.OpEntry;
174 final List<OpEntry> ops = mLastUsage.getOps(); in isRunning()
177 final OpEntry op = ops.get(j); in isRunning()
201 private long lastAccessAggregate(@NonNull Function<OpEntry, Long> extractor) { in lastAccessAggregate() argument
208 final List<OpEntry> ops = mLastUsage.getOps(); in lastAccessAggregate()
211 final OpEntry op = ops.get(opNum); in lastAccessAggregate()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAppOpsManager.java20 import android.app.AppOpsManager.OpEntry;
69 OpEntry opEntry = new OpEntry(op, mode); in getPackagesForOps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java18 import android.app.AppOpsManager.OpEntry;
147 private AppOpsManager.OpEntry createOpEntry(int opMode) { in createOpEntry()
148 return new OpEntry(0, false, opMode, null /*accessTimes*/, null /*rejectTimes*/, in createOpEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java67 final List<AppOpsManager.OpEntry> entries = packageOps.getOps(); in getRestrictedAppsList()
69 AppOpsManager.OpEntry entry = entries.get(j); in getRestrictedAppsList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipUtils.java67 final List<AppOpsManager.OpEntry> entries = packageOps.getOps(); in getRestrictedAppsList()
69 AppOpsManager.OpEntry entry = entries.get(j); in getRestrictedAppsList()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DReviewAccessibilityServicesActivity.java164 AppOpsManager.OpEntry op = pkgOp.getOps().get(opNum); in getLastAccessTime()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java66 import android.app.AppOpsManager.OpEntry;
482 OpEntry entry = packageOps.getOps().get(opNum); in getLocationUsersWithNoNotificationYetLocked()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java537 for (AppOpsManager.OpEntry op : pkg.getOps()) { in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java537 for (AppOpsManager.OpEntry op : pkg.getOps()) { in getVpnApps()