Home
last modified time | relevance | path

Searched refs:nextArg (Results 1 – 7 of 7) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestMain.cpp103 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/
DKitchenSinkShellCommand.java252 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/
DNfcShellCommand.java146 String nextArg = getNextArgRequired(); in getNextArgRequiredTrueOrFalse() local
147 return argTrueOrFalse(nextArg, trueString, falseString); in getNextArgRequiredTrueOrFalse()
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pShellCommand.java556 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/
DThreadNetworkShellCommand.java306 String nextArg = getNextArgRequired();
307 return argTrueOrFalse(nextArg, trueString, falseString);
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbShellCommand.java1246 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/
DWifiShellCommand.java2222 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()