Searched refs:modeStr (Results 1 – 2 of 2) sorted by relevance
2077 final String modeStr = getNextArg(); in handleCustomTime() local2078 if (modeStr == null) { in handleCustomTime()2082 switch (modeStr) { in handleCustomTime()2106 final String modeStr = getNextArg(); in handleNightMode() local2107 if (modeStr == null) { in handleNightMode()2112 final int mode = strToNightMode(modeStr); in handleNightMode()2159 switch (modeStr) { in strToNightMode()2187 final String modeStr = getNextArg(); in handleCarMode() local2188 if (modeStr == null) { in handleCarMode()2193 if (modeStr.equals("yes")) { in handleCarMode()[all …]
4423 String modeStr; field in AppOpsService.Shell4466 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument4468 if (AppOpsManager.MODE_NAMES[i].equals(modeStr)) { in strModeToMode()4473 return Integer.parseInt(modeStr); in strModeToMode()4483 modeStr = null; in parseUserOpMode()4490 } else if (modeStr == null) { in parseUserOpMode()4491 modeStr = argument; in parseUserOpMode()4504 if (modeStr != null) { in parseUserOpMode()4505 if ((mode=strModeToMode(modeStr, err)) < 0) { in parseUserOpMode()4659 String modeStr = shell.getNextArg(); in onShellCommand() local[all …]