Home
last modified time | relevance | path

Searched refs:opEntries (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
H A DAppOpsActiveWatcherTest.java158 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in isCameraOn() local
159 if (opEntries != null) { in isCameraOn()
160 final int numOps = opEntries.size(); in isCameraOn()
162 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in isCameraOn()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsServiceTest.java378 List<OpEntry> opEntries = ops.get(i).getOps(); in testUidStateInitializationDoesntClearState() local
379 for (int j = 0; j < opEntries.size(); j++) { in testUidStateInitializationDoesntClearState()
380 Map<String, AppOpsManager.AttributedOpEntry> attributedOpEntries = opEntries.get( in testUidStateInitializationDoesntClearState()
/aosp14/frameworks/base/core/java/android/app/
H A DAppOpsManager.java10248 private static AttributedOpEntry mergeAttributedOpEntries(List<AttributedOpEntry> opEntries) { in mergeAttributedOpEntries() argument
10249 if (opEntries.size() == 1) { in mergeAttributedOpEntries()
10250 return opEntries.get(0); in mergeAttributedOpEntries()
10254 int opCount = opEntries.size(); in mergeAttributedOpEntries()
10256 AttributedOpEntry a = opEntries.get(i); in mergeAttributedOpEntries()
10281 return new AttributedOpEntry(opEntries.get(0).mOp, false, accessEvents, rejectEvents); in mergeAttributedOpEntries()
/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsService.java5688 final List<OpEntry> opEntries = packageOps.get(0).getOps();
5689 if (opEntries.isEmpty()) {
5692 final OpEntry opEntry = opEntries.get(0);