Home
last modified time | relevance | path

Searched refs:OpEntry (Results 1 – 18 of 18) 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.java336 AppOpsManager.OpEntry op = entry.getOpEntry(0); in onListItemClick()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/utils/
DMockUtil.kt28 ops: List<AppOpsManager.OpEntry>, in createMockPackageOps()
38 fun createOpEntry(opStr: String, time: Long): AppOpsManager.OpEntry { in createOpEntry()
39 val opEntry = Mockito.mock(AppOpsManager.OpEntry::class.java) in createOpEntry()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAppOpsManager.java20 import android.app.AppOpsManager.OpEntry;
70 OpEntry opEntry = new OpEntry(op, mode, Collections.emptyMap()); in getPackagesForOps()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceControllerTest.java82 final List<AppOpsManager.OpEntry> allowOps = new ArrayList<>(); in setUp()
84 new AppOpsManager.OpEntry( in setUp()
88 final List<AppOpsManager.OpEntry> restrictedOps = new ArrayList<>(); in setUp()
90 new AppOpsManager.OpEntry( in setUp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/
DAppPermissionUsage.java31 import android.app.AppOpsManager.OpEntry;
219 final List<OpEntry> ops = mLastUsage.getOps(); in isRunning()
222 final OpEntry op = ops.get(j); in isRunning()
245 private long lastAccessAggregate(@NonNull Function<OpEntry, Long> extractor) { in lastAccessAggregate() argument
249 final List<OpEntry> ops = mLastUsage.getOps(); in lastAccessAggregate()
253 final OpEntry op = ops.get(opNum); in lastAccessAggregate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java17 import android.app.AppOpsManager.OpEntry;
155 private AppOpsManager.OpEntry createOpEntry(int opMode) { in createOpEntry()
156 return new OpEntry(0, opMode, Collections.emptyMap()); in createOpEntry()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java60 final List<AppOpsManager.OpEntry> entries = packageOps.getOps(); in getRestrictedAppsList()
62 AppOpsManager.OpEntry entry = entries.get(j); in getRestrictedAppsList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DRecentlyAccessedByUtils.java91 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRecentRequestFromOps()
96 for (AppOpsManager.OpEntry entry : entries) { in getRecentRequestFromOps()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DRecentlyAccessedByUtils.java91 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRecentRequestFromOps()
96 for (AppOpsManager.OpEntry entry : entries) { in getRecentRequestFromOps()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DRecentLocationApps.java170 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps()
176 for (AppOpsManager.OpEntry entry : entries) { in getRequestFromOps()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DRecentLocationAppsCompat.java160 List<AppOpsManager.OpEntry> entries = ops.getOps(); in getRequestFromOps()
166 for (AppOpsManager.OpEntry entry : entries) { in getRequestFromOps()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java334 AppOpsManager.OpEntry opEntry = mock(AppOpsManager.OpEntry.class); in mockPackageOps()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DReviewAccessibilityServicesActivity.java163 AppOpsManager.OpEntry op = pkgOp.getOps().get(opNum); in getLastAccessTime()
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/
DVpnSettingsTest.java186 List<AppOpsManager.OpEntry> opEntries = new ArrayList<>(); in getVpnApps_isNotAdvancedVpn_returnsEmpty()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java79 import android.app.AppOpsManager.OpEntry;
567 OpEntry entry = packageOps.getOps().get(opNum); in getLocationUsersLocked()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java675 for (AppOpsManager.OpEntry op : pkg.getOps()) { in getVpnApps()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java1383 List<AppOpsManager.OpEntry> opEntries = pkgOps.get(j).getOps(); in updateAllCarrierPrivilegedUsingMic()
1385 AppOpsManager.OpEntry entry = opEntries.get(k); in updateAllCarrierPrivilegedUsingMic()