Searched refs:modeStr (Results 1 – 2 of 2) sorted by relevance
1477 final String modeStr = getNextArg(); in handleCustomTime() local1478 if (modeStr == null) { in handleCustomTime()1482 switch (modeStr) { in handleCustomTime()1506 final String modeStr = getNextArg(); in handleNightMode() local1507 if (modeStr == null) { in handleNightMode()1512 final int mode = strToNightMode(modeStr); in handleNightMode()1547 private static int strToNightMode(String modeStr) { in strToNightMode() argument1548 switch (modeStr) { in strToNightMode()
4462 String modeStr; field in AppOpsService.Shell4505 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument4507 if (AppOpsManager.MODE_NAMES[i].equals(modeStr)) { in strModeToMode()4512 return Integer.parseInt(modeStr); in strModeToMode()4515 err.println("Error: Mode " + modeStr + " is not valid"); in strModeToMode()4522 modeStr = null; in parseUserOpMode()4529 } else if (modeStr == null) { in parseUserOpMode()4530 modeStr = argument; in parseUserOpMode()4543 if (modeStr != null) { in parseUserOpMode()4544 if ((mode=strModeToMode(modeStr, err)) < 0) { in parseUserOpMode()[all …]