Searched refs:opModes (Results 1 – 2 of 2) sorted by relevance
333 public SparseIntArray opModes; field in AppOpsService.UidState345 opModes = null; in clear()350 && (opModes == null || opModes.size() <= 0) in isDefault()382 if (opModes != null) { in evalForegroundOps()383 for (int i = opModes.size() - 1; i >= 0; i--) { in evalForegroundOps()384 if (opModes.valueAt(i) == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps()388 evalForegroundWatchers(opModes.keyAt(i), watchers, which); in evalForegroundOps()1218 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(uidState.opModes, ops); in getUidOps()1290 uidState.opModes = new SparseIntArray(); in setUidMode()1291 uidState.opModes.put(code, mode); in setUidMode()[all …]
92 if (uidState.opModes != null) { in assertSameModes()93 final int uidMode1 = uidState.opModes.get(op1, defaultModeOp1); in assertSameModes()94 final int uidMode2 = uidState.opModes.get(op2, defaultModeOp2); in assertSameModes()