Home
last modified time | relevance | path

Searched refs:valueString (Results 1 – 20 of 20) sorted by relevance

/packages/modules/Permission/SafetyCenter/Config/java/com/android/safetycenter/config/
DSafetyCenterConfigParser.java457 private static String attributeInvalidString(String valueString, String parent, String name) { in attributeInvalidString() argument
458 return String.format("Attribute value \"%s\" in %s.%s invalid", valueString, parent, name); in attributeInvalidString()
461 private static ParseException attributeInvalid(String valueString, String parent, String name) { in attributeInvalid() argument
462 return new ParseException(attributeInvalidString(valueString, parent, name)); in attributeInvalid()
466 String valueString, String parent, String name, Throwable ex) { in attributeInvalid() argument
467 return new ParseException(attributeInvalidString(valueString, parent, name), ex); in attributeInvalid()
471 String valueString, String parent, String name, Resources resources) in parseInteger() argument
473 String valueToParse = getValueToParse(valueString, parent, name, resources); in parseInteger()
482 String valueString, String parent, String name, Resources resources) in parseBoolean() argument
485 getValueToParse(valueString, parent, name, resources).toLowerCase(ROOT); in parseBoolean()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetStackEvent.java51 public final String valueString; field in HeadsetStackEvent
95 public HeadsetStackEvent(int type, String valueString, BluetoothDevice device) { in HeadsetStackEvent() argument
96 this(type, 0, 0, valueString, null, device); in HeadsetStackEvent()
124 String valueString, in HeadsetStackEvent() argument
130 this.valueString = valueString; in HeadsetStackEvent()
205 .append(valueString) in buildString()
DHeadsetStateMachine.java788 processAtBind(event.valueString, event.device); in processMessage()
801 processDialCall(event.valueString); in processMessage()
824 + event.valueString); in processMessage()
825 processUnknownAt(event.valueString, event.device); in processMessage()
1158 processDialCall(event.valueString); in processMessage()
1188 processUnknownAt(event.valueString, event.device); in processMessage()
1194 processAtBind(event.valueString, event.device); in processMessage()
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h59 jstring valueString = static_cast<jstring>( in constructAttributeMap() local
61 const jsize valueUtf8Length = env->GetStringUTFLength(valueString); in constructAttributeMap()
63 env->GetStringUTFRegion(valueString, 0, env->GetStringLength(valueString), valueChars); in constructAttributeMap()
64 env->DeleteLocalRef(valueString); in constructAttributeMap()
/packages/modules/Uwb/service/java/com/android/server/uwb/util/
DUwbUtil.java78 public static byte[] getByteArray(String valueString) { in getByteArray() argument
79 int len = valueString.length(); in getByteArray()
82 data[i / 2] = (byte) ((Character.digit(valueString.charAt(i), 16) << 4) in getByteArray()
83 + Character.digit(valueString.charAt(i + 1), 16)); in getByteArray()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java236 String valueString = mSetValue.getText().toString(); in onCreateView()
240 Boolean boolVal = Boolean.parseBoolean(valueString); in onCreateView()
244 Float floatVal = Float.parseFloat(valueString); in onCreateView()
248 Integer intVal = Integer.parseInt(valueString); in onCreateView()
270 String valueString = mSetValue.getText().toString(); in onCreateView()
274 Boolean boolVal = Boolean.parseBoolean(valueString); in onCreateView()
278 Float floatVal = Float.parseFloat(valueString); in onCreateView()
282 Integer intVal = Integer.parseInt(valueString); in onCreateView()
511 String valueString = value.getClass().isArray() in setTextOnSuccess() local
516 + " value=" + valueString in setTextOnSuccess()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java150 assertThat(event.getValue().valueString).isEqualTo(name); in onCurrentOperator()
205 assertThat(event.getValue().valueString).isEqualTo(number); in onClip()
216 assertThat(event.getValue().valueString).isEqualTo(number); in onCallWaiting()
235 assertThat(event.getValue().valueString).isEqualTo(number); in onCurrentCalls()
273 assertThat(event.getValue().valueString).isEqualTo(number); in onSubscriberInfo()
311 assertThat(event.getValue().valueString).isEqualTo(eventString); in onUnknownEvent()
DStackEventTest.java50 + event.valueString in toString_returnsInfo()
DHeadsetClientStateMachineTest.java565 eventIncomingCall.valueString = "5551212"; // phone number
723 unknownEvt.valueString = "+ANDROID: (SINKAUDIOPOLICY)";
845 event.valueString = vendorEvent;
903 event.valueString = vendorEvent;
1595 event.valueString = atCommand;
1798 event.valueString = atCommand;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DStackEvent.java62 public String valueString = null; field in StackEvent
78 result.append(", string: \"" + valueString + "\""); in toString()
DNativeInterface.java466 event.valueString = name; in onCurrentOperator()
551 event.valueString = number; in onClip()
565 event.valueString = number; in onCallWaiting()
583 event.valueString = number; in onCurrentCalls()
628 event.valueString = number; in onSubscriberInfo()
679 event.valueString = eventString; in onUnknownEvent()
DHeadsetClientStateMachine.java1285 if (mVendorProcessor.isAndroidAtCommand(event.valueString) in processMessage()
1286 && processAndroidSlcCommand(event.valueString, event.device)) { in processMessage()
1291 + event.valueString in processMessage()
1702 mOperatorName = event.valueString; in processMessage()
1706 BluetoothHeadsetClient.EXTRA_OPERATOR_NAME, event.valueString); in processMessage()
1732 event.valueString, in processMessage()
1799 mSubscriberInfo = event.valueString; in processMessage()
1827 if (!mVendorProcessor.processEvent(event.valueString, event.device)) { in processMessage()
1830 + event.valueString in processMessage()
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/
DTestImsConfigImpl.java30 public String valueString; field in TestImsConfigImpl.ConfigItem
39 valueString = value; in ConfigItem()
DImsConfigActivity.java57 if (configItem.valueString != null) { in getView()
58 textValue.setText(PREFIX_VALUE + configItem.valueString); in getView()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterFlags.java565 String valueString = getStringValueFromStringMapping(mapping, key); in getLongValueFromStringMapping() local
566 if (valueString == null) { in getLongValueFromStringMapping()
570 return Long.parseLong(valueString); in getLongValueFromStringMapping()
/packages/services/Telephony/src/com/android/phone/
DTelephonyShellCommand.java1990 StringBuilder valueString = new StringBuilder(); in ccValueToString() local
1995 valueString.append("null"); in ccValueToString()
2003 valueString.append(" "); in ccValueToString()
2005 valueString.append(valueArray[i]); in ccValueToString()
2014 valueString.append(" "); in ccValueToString()
2016 valueString.append(valueArray[i]); in ccValueToString()
2025 valueString.append(" "); in ccValueToString()
2027 valueString.append(valueArray[i]); in ccValueToString()
2032 valueString.append("\"" + value.toString() + "\""); in ccValueToString()
2040 valueString.append(" "); in ccValueToString()
[all …]
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterFlags.kt506 val (keyString, valueString) = pair.split(pairDelimiter) in <lambda>() constant
507 keyParser.parseFromString(keyString) to valueParser.parseFromString(valueString) in <lambda>()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogProvider.java636 String valueString = uri.getQueryParameter(key); in getIntParam() local
637 if (valueString == null) { in getIntParam()
642 return Integer.parseInt(valueString); in getIntParam()
644 String msg = "Integer required for " + key + " parameter but value '" + valueString + in getIntParam()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/tbs/
DTbsGattTest.java200 String valueString = String.join(",", (List<String>) value); in verifySetValue() local
201 boolean valueChanged = !characteristic.getStringValue(0).equals(valueString); in verifySetValue()
207 Assert.assertEquals(valueString, characteristic.getStringValue(0)); in verifySetValue()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java2687 private void updateThreadId(Uri uri, String valueString, long threadId) { in updateThreadId() argument
2689 contentValues.put(valueString, threadId); in updateThreadId()