Searched refs:modeStr (Results 1 – 2 of 2) sorted by relevance
906 final String modeStr = getNextArg(); in handleNightMode() local907 if (modeStr == null) { in handleNightMode()912 final int mode = strToNightMode(modeStr); in handleNightMode()944 private static int strToNightMode(String modeStr) { in strToNightMode() argument945 switch (modeStr) { in strToNightMode()
3109 String modeStr; field in AppOpsService.Shell3155 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument3157 if (AppOpsManager.MODE_NAMES[i].equals(modeStr)) { in strModeToMode()3162 return Integer.parseInt(modeStr); in strModeToMode()3165 err.println("Error: Mode " + modeStr + " is not valid"); in strModeToMode()3172 modeStr = null; in parseUserOpMode()3179 } else if (modeStr == null) { in parseUserOpMode()3180 modeStr = argument; in parseUserOpMode()3193 if (modeStr != null) { in parseUserOpMode()3194 if ((mode=strModeToMode(modeStr, err)) < 0) { in parseUserOpMode()[all …]