Home
last modified time | relevance | path

Searched refs:strArray (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_UsbDeviceManager.cpp44 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/telephony/src/java/com/android/internal/telephony/
DRetryManager.java195 String strArray[] = configStr.split(","); in configure() local
196 for (int i = 0; i < strArray.length; i++) { in configure()
197 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); in configure()
199 String splitStr[] = strArray[i].split("=", 2); in configure()
219 + strArray[i]); in configure()
227 splitStr = strArray[i].split(":", 2); in configure()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java250 final String[] strArray = line.split(":", 2); in readBeginVCard() local
251 final int length = strArray.length; in readBeginVCard()
257 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") in readBeginVCard()
258 && strArray[1].trim().equalsIgnoreCase("VCARD")) { in readBeginVCard()
444 final String[] strArray = params.split("=", 2);
445 if (strArray.length == 2) {
446 final String paramName = strArray[0].trim().toUpperCase();
447 String paramValue = strArray[1].trim();
464 handleParamWithoutName(propertyData, strArray[0]);
534 String[] strArray = langval.split("-");
[all …]
DVCardParserImpl_V30.java140 String[] strArray = params.split("=", 2); in handleParams()
141 if (strArray.length == 2) { in handleParams()
142 handleAnyParam(propertyData, strArray[0], strArray[1]); in handleParams()
DVCardBuilder.java2090 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/base/core/jni/
DAndroidRuntime.cpp297 jobjectArray strArray; in callMain() local
301 strArray = env->NewObjectArray(numArgs, stringClass, NULL); in callMain()
305 env->SetObjectArrayElement(strArray, i, argStr); in callMain()
308 env->CallStaticVoidMethod(clazz, methodId, strArray); in callMain()
1062 jobjectArray strArray; in start() local
1067 strArray = env->NewObjectArray(options.size() + 1, stringClass, NULL); in start()
1068 assert(strArray != NULL); in start()
1071 env->SetObjectArrayElement(strArray, 0, classNameStr); in start()
1076 env->SetObjectArrayElement(strArray, i + 1, optionsStr); in start()
1095 env->CallStaticVoidMethod(startClass, startMeth, strArray); in start()