Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java1477 final String modeStr = getNextArg(); in handleCustomTime() local
1478 if (modeStr == null) { in handleCustomTime()
1482 switch (modeStr) { in handleCustomTime()
1506 final String modeStr = getNextArg(); in handleNightMode() local
1507 if (modeStr == null) { in handleNightMode()
1512 final int mode = strToNightMode(modeStr); in handleNightMode()
1547 private static int strToNightMode(String modeStr) { in strToNightMode() argument
1548 switch (modeStr) { in strToNightMode()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java4462 String modeStr; field in AppOpsService.Shell
4505 static int strModeToMode(String modeStr, PrintWriter err) { in strModeToMode() argument
4507 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 …]