Searched refs:trueString (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcShellCommand.java | 132 private static boolean argTrueOrFalse(String arg, String trueString, String falseString) { in argTrueOrFalse() argument 133 if (trueString.equals(arg)) { in argTrueOrFalse() 138 throw new IllegalArgumentException("Expected '" + trueString + "' or '" + falseString in argTrueOrFalse() 144 private boolean getNextArgRequiredTrueOrFalse(String trueString, String falseString) in getNextArgRequiredTrueOrFalse() argument 147 return argTrueOrFalse(nextArg, trueString, falseString); in getNextArgRequiredTrueOrFalse()
|
/packages/apps/Nfc/nci/jni/ |
D | RouteDataSet.cpp | 313 const xmlChar* trueString = (const xmlChar*)"true"; in importProtocolRoute() local 350 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute() 356 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute() 362 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute() 383 const xmlChar* trueString = (const xmlChar*)"true"; in importTechnologyRoute() local 418 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute() 424 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute() 430 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadNetworkShellCommand.java | 288 private static boolean argTrueOrFalse(String arg, String trueString, String falseString) { 289 if (trueString.equals(arg)) { 296 + trueString 305 private boolean getNextArgRequiredTrueOrFalse(String trueString, String falseString) { 307 return argTrueOrFalse(nextArg, trueString, falseString);
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestServerFlag.cpp | 132 for (const auto& trueString : kPossibleTrueStrings) { in TEST() local 133 GetServerConfigurableFlagFunc fn = makeFuncWithReturn(trueString); in TEST()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pShellCommand.java | 554 private boolean getNextArgRequiredTrueOrFalse(String trueString, String falseString) in getNextArgRequiredTrueOrFalse() argument 557 if (trueString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse() 562 throw new IllegalArgumentException("Expected '" + trueString + "' or '" + falseString in getNextArgRequiredTrueOrFalse()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/ |
D | UwbShellCommand.java | 1434 private static boolean argTrueOrFalse(String arg, String trueString, String falseString) { in argTrueOrFalse() argument 1435 if (trueString.equals(arg)) { in argTrueOrFalse() 1440 throw new IllegalArgumentException("Expected '" + trueString + "' or '" + falseString in argTrueOrFalse() 1446 private boolean getNextArgRequiredTrueOrFalse(String trueString, String falseString) in getNextArgRequiredTrueOrFalse() argument 1449 return argTrueOrFalse(nextArg, trueString, falseString); in getNextArgRequiredTrueOrFalse()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiShellCommand.java | 2220 private boolean getNextArgRequiredTrueOrFalse(String trueString, String falseString) in getNextArgRequiredTrueOrFalse() argument 2223 if (trueString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse() 2228 throw new IllegalArgumentException("Expected '" + trueString + "' or '" + falseString in getNextArgRequiredTrueOrFalse()
|