Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/
H A DUiModeManagerService.java2077 final String modeStr = getNextArg(); in handleCustomTime() local
2078 if (modeStr == null) { in handleCustomTime()
2082 switch (modeStr) { in handleCustomTime()
2106 final String modeStr = getNextArg(); in handleNightMode() local
2107 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() local
2188 if (modeStr == null) { in handleCarMode()
2193 if (modeStr.equals("yes")) { in handleCarMode()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DAppOpsService.java4423 String modeStr; field in AppOpsService.Shell
4466 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument
4468 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 …]