Searched refs:opModes (Results 1 – 2 of 2) sorted by relevance
322 public SparseIntArray opModes; field in AppOpsService.UidState334 opModes = null; in clear()339 && (opModes == null || opModes.size() <= 0) in isDefault()371 if (opModes != null) { in evalForegroundOps()372 for (int i = opModes.size() - 1; i >= 0; i--) { in evalForegroundOps()373 if (opModes.valueAt(i) == AppOpsManager.MODE_FOREGROUND) { in evalForegroundOps()377 evalForegroundWatchers(opModes.keyAt(i), watchers, which); in evalForegroundOps()1178 ArrayList<AppOpsManager.OpEntry> resOps = collectOps(uidState.opModes, ops); in getUidOps()1251 uidState.opModes = new SparseIntArray(); in setUidMode()1252 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()