Searched refs:modeStr (Results 1 – 2 of 2) sorted by relevance
1242 final String modeStr = getNextArg(); in handleNightMode() local1243 if (modeStr == null) { in handleNightMode()1248 final int mode = strToNightMode(modeStr); in handleNightMode()1280 private static int strToNightMode(String modeStr) { in strToNightMode() argument1281 switch (modeStr) { in strToNightMode()
3255 String modeStr; field in AppOpsService.Shell3301 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument3303 if (AppOpsManager.MODE_NAMES[i].equals(modeStr)) { in strModeToMode()3308 return Integer.parseInt(modeStr); in strModeToMode()3311 err.println("Error: Mode " + modeStr + " is not valid"); in strModeToMode()3318 modeStr = null; in parseUserOpMode()3325 } else if (modeStr == null) { in parseUserOpMode()3326 modeStr = argument; in parseUserOpMode()3339 if (modeStr != null) { in parseUserOpMode()3340 if ((mode=strModeToMode(modeStr, err)) < 0) { in parseUserOpMode()[all …]