Home
last modified time | relevance | path

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

/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp320 const xmlChar* trueString = (const xmlChar*)"true"; in importProtocolRoute() local
357 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
363 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
369 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importProtocolRoute()
390 const xmlChar* trueString = (const xmlChar*)"true"; in importTechnologyRoute() local
425 data->mSwitchOn = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
431 data->mSwitchOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
437 data->mBatteryOff = (xmlStrcmp(value, trueString) == 0); in importTechnologyRoute()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java1011 private boolean getNextArgRequiredTrueOrFalse(String trueString, String falseString) in getNextArgRequiredTrueOrFalse() argument
1014 if (trueString.equals(nextArg)) { in getNextArgRequiredTrueOrFalse()
1019 throw new IllegalArgumentException("Expected '" + trueString + "' or '" + falseString in getNextArgRequiredTrueOrFalse()