Home
last modified time | relevance | path

Searched refs:modeStr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java2182 final String modeStr = getNextArg(); in handleCustomTime() local
2183 if (modeStr == null) { in handleCustomTime()
2187 switch (modeStr) { in handleCustomTime()
2211 final String modeStr = getNextArg(); in handleNightMode() local
2212 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() argument
2264 switch (modeStr) { in strToNightMode()
2292 final String modeStr = getNextArg(); in handleCarMode() local
[all …]
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java5246 String modeStr; field in AppOpsService.Shell
5289 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument
5291 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 …]
/frameworks/av/services/audiopolicy/service/
DSpatializer.cpp865 std::string modeStr = ToString(mode); in onActualModeChange() local
866 ALOGV("%s(%s)", __func__, modeStr.c_str()); in onActualModeChange()