Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java242 List<AppOpsManager.OpEntry> opEntries = packageOp.getOps(); in isCameraOn() local
243 if (opEntries != null) { in isCameraOn()
244 final int numOps = opEntries.size(); in isCameraOn()
246 AppOpsManager.OpEntry opEntry = opEntries.get(opInd); in isCameraOn()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java453 List<OpEntry> opEntries = ops.get(i).getOps(); in testUidStateInitializationDoesntClearState() local
454 for (int j = 0; j < opEntries.size(); j++) { in testUidStateInitializationDoesntClearState()
455 Map<String, AppOpsManager.AttributedOpEntry> attributedOpEntries = opEntries.get( in testUidStateInitializationDoesntClearState()
/frameworks/base/core/java/android/app/
DAppOpsManager.java10994 private static AttributedOpEntry mergeAttributedOpEntries(List<AttributedOpEntry> opEntries) { in mergeAttributedOpEntries() argument
10995 if (opEntries.size() == 1) { in mergeAttributedOpEntries()
10996 return opEntries.get(0); in mergeAttributedOpEntries()
11000 int opCount = opEntries.size(); in mergeAttributedOpEntries()
11002 AttributedOpEntry a = opEntries.get(i); in mergeAttributedOpEntries()
11027 return new AttributedOpEntry(opEntries.get(0).mOp, false, accessEvents, rejectEvents); in mergeAttributedOpEntries()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java6596 final List<OpEntry> opEntries = packageOps.get(0).getOps();
6597 if (opEntries.isEmpty()) {
6600 final OpEntry opEntry = opEntries.get(0);