Searched refs:modeStr (Results 1 – 3 of 3) sorted by relevance
2182 final String modeStr = getNextArg(); in handleCustomTime() local2183 if (modeStr == null) { in handleCustomTime()2187 switch (modeStr) { in handleCustomTime()2211 final String modeStr = getNextArg(); in handleNightMode() local2212 if (modeStr == null) { in handleNightMode()2217 final int mode = strToNightMode(modeStr); in handleNightMode()2218 final int customType = strToNightModeCustomType(modeStr); in handleNightMode()2263 private static int strToNightMode(String modeStr) { in strToNightMode() argument2264 switch (modeStr) { in strToNightMode()2292 final String modeStr = getNextArg(); in handleCarMode() local[all …]
5246 String modeStr; field in AppOpsService.Shell5289 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument5291 if (AppOpsManager.MODE_NAMES[i].equals(modeStr)) { in strModeToMode()5296 return Integer.parseInt(modeStr); in strModeToMode()5299 err.println("Error: Mode " + modeStr + " is not valid"); in strModeToMode()5306 modeStr = null; in parseUserOpMode()5313 } else if (modeStr == null) { in parseUserOpMode()5314 modeStr = argument; in parseUserOpMode()5327 if (modeStr != null) { in parseUserOpMode()5328 if ((mode=strModeToMode(modeStr, err)) < 0) { in parseUserOpMode()[all …]
865 std::string modeStr = ToString(mode); in onActualModeChange() local866 ALOGV("%s(%s)", __func__, modeStr.c_str()); in onActualModeChange()