Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/
DRoles.java95 private static final ArrayMap<String, Integer> sModeNameToMode = new ArrayMap<>(); field in Roles
97 sModeNameToMode.put(MODE_NAME_ALLOWED, AppOpsManager.MODE_ALLOWED); in sModeNameToMode.put()
98 sModeNameToMode.put(MODE_NAME_IGNORED, AppOpsManager.MODE_IGNORED); in sModeNameToMode.put()
99 sModeNameToMode.put(MODE_NAME_ERRORED, AppOpsManager.MODE_ERRORED); in sModeNameToMode.put()
100 sModeNameToMode.put(MODE_NAME_DEFAULT, AppOpsManager.MODE_DEFAULT); in sModeNameToMode.put()
101 sModeNameToMode.put(MODE_NAME_FOREGROUND, AppOpsManager.MODE_FOREGROUND); in sModeNameToMode.put()
708 int modeIndex = sModeNameToMode.indexOfKey(modeName); in parseAppOps()
713 int mode = sModeNameToMode.valueAt(modeIndex); in parseAppOps()