Searched refs:nextArg (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestMain.cpp | 103 void checkArgs(int argc, char** argv, int nextArg) { in checkArgs() argument 104 if (nextArg != argc) { in checkArgs() 105 std::cerr << "Unexpected argument: " << argv[nextArg] << std::endl; in checkArgs()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | KitchenSinkShellCommand.java | 252 String nextArg = null; in postToast() local 254 while ((nextArg = getNextOptioanlArg()) != null) { in postToast() 255 switch (nextArg) { in postToast() 267 messageArg = nextArg; in postToast()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcShellCommand.java | 146 String nextArg = getNextArgRequired(); in getNextArgRequiredTrueOrFalse() local 147 return argTrueOrFalse(nextArg, trueString, falseString); in getNextArgRequiredTrueOrFalse()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommand.java | 556 String nextArg = getNextArgRequired(); in getNextArgRequiredTrueOrFalse() local 557 if (trueString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse() 559 } else if (falseString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse() 563 + "' as next arg but got '" + nextArg + "'"); in getNextArgRequiredTrueOrFalse()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkShellCommand.java | 306 String nextArg = getNextArgRequired(); 307 return argTrueOrFalse(nextArg, trueString, falseString);
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbShellCommand.java | 1246 String nextArg = getNextArg(); in onCommand() local 1247 if (nextArg != null) { in onCommand() 1248 boolean isFg = argTrueOrFalse(nextArg, "foreground", "background"); in onCommand() 1448 String nextArg = getNextArgRequired(); in getNextArgRequiredTrueOrFalse() local 1449 return argTrueOrFalse(nextArg, trueString, falseString); in getNextArgRequiredTrueOrFalse()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 2222 String nextArg = getNextArgRequired(); in getNextArgRequiredTrueOrFalse() local 2223 if (trueString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse() 2225 } else if (falseString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse() 2229 + "' as next arg but got '" + nextArg + "'"); in getNextArgRequiredTrueOrFalse()
|