/frameworks/base/services/core/jni/ |
D | com_android_server_UsbDeviceManager.cpp | 44 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) in set_accessory_string() argument 52 env->SetObjectArrayElement(strArray, index, obj); in set_accessory_string() 67 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); in android_server_UsbDeviceManager_getAccessoryStrings() local 68 if (!strArray) goto out; in android_server_UsbDeviceManager_getAccessoryStrings() 69 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0); in android_server_UsbDeviceManager_getAccessoryStrings() 70 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1); in android_server_UsbDeviceManager_getAccessoryStrings() 71 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2); in android_server_UsbDeviceManager_getAccessoryStrings() 72 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3); in android_server_UsbDeviceManager_getAccessoryStrings() 73 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4); in android_server_UsbDeviceManager_getAccessoryStrings() 74 set_accessory_string(env, fd, ACCESSORY_GET_STRING_SERIAL, strArray, 5); in android_server_UsbDeviceManager_getAccessoryStrings() [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V21.java | 251 final String[] strArray = line.split(":", 2); in readBeginVCard() local 252 final int length = strArray.length; in readBeginVCard() 258 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") in readBeginVCard() 259 && strArray[1].trim().equalsIgnoreCase("VCARD")) { in readBeginVCard() 445 final String[] strArray = params.split("=", 2); 446 if (strArray.length == 2) { 447 final String paramName = strArray[0].trim().toUpperCase(); 448 String paramValue = strArray[1].trim(); 465 handleParamWithoutName(propertyData, strArray[0]); 535 String[] strArray = langval.split("-"); [all …]
|
D | VCardParserImpl_V30.java | 150 String[] strArray = params.split("=", 2); in handleParams() 151 if (strArray.length == 2) { in handleParams() 152 handleAnyParam(propertyData, strArray[0], strArray[1]); in handleParams()
|
D | VCardBuilder.java | 2090 byte[] strArray = null; in encodeQuotedPrintable() 2093 strArray = str.getBytes(mCharset); in encodeQuotedPrintable() 2097 strArray = str.getBytes(); in encodeQuotedPrintable() 2099 while (index < strArray.length) { in encodeQuotedPrintable() 2100 builder.append(String.format("=%02X", strArray[index])); in encodeQuotedPrintable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RetryManager.java | 249 String strArray[] = configStr.split(","); in configure() local 250 for (int i = 0; i < strArray.length; i++) { in configure() 251 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); in configure() 253 String splitStr[] = strArray[i].split("=", 2); in configure() 273 + strArray[i]); in configure() 281 splitStr = strArray[i].split(":", 2); in configure()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | LegacyPasspointConfigParser.java | 486 String[] strArray = str.split(LONG_ARRAY_SEPARATOR); in parseLongArray() local 487 long[] longArray = new long[strArray.length]; in parseLongArray() 490 longArray[i] = Long.parseLong(strArray[i], 16); in parseLongArray() 492 throw new IOException("Invalid long integer value: " + strArray[i]); in parseLongArray()
|
/frameworks/base/core/jni/ |
D | AndroidRuntime.cpp | 329 jobjectArray strArray; in callMain() local 333 strArray = env->NewObjectArray(numArgs, stringClass, NULL); in callMain() 337 env->SetObjectArrayElement(strArray, i, argStr); in callMain() 340 env->CallStaticVoidMethod(clazz, methodId, strArray); in callMain() 1049 jobjectArray strArray; in start() local 1054 strArray = env->NewObjectArray(options.size() + 1, stringClass, NULL); in start() 1055 assert(strArray != NULL); in start() 1058 env->SetObjectArrayElement(strArray, 0, classNameStr); in start() 1063 env->SetObjectArrayElement(strArray, i + 1, optionsStr); in start() 1082 env->CallStaticVoidMethod(startClass, startMeth, strArray); in start()
|