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/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java251 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 …]
DVCardParserImpl_V30.java150 String[] strArray = params.split("=", 2); in handleParams()
151 if (strArray.length == 2) { in handleParams()
152 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/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java258 String strArray[] = configStr.split(","); in configure() local
259 for (int i = 0; i < strArray.length; i++) { in configure()
260 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); in configure()
262 String splitStr[] = strArray[i].split("=", 2); in configure()
282 + strArray[i]); in configure()
290 splitStr = strArray[i].split(":", 2); in configure()
/frameworks/base/core/jni/
DAndroidRuntime.cpp327 jobjectArray strArray; in callMain() local
331 strArray = env->NewObjectArray(numArgs, stringClass, NULL); in callMain()
335 env->SetObjectArrayElement(strArray, i, argStr); in callMain()
338 env->CallStaticVoidMethod(clazz, methodId, strArray); in callMain()
1089 jobjectArray strArray; in start() local
1094 strArray = env->NewObjectArray(options.size() + 1, stringClass, NULL); in start()
1095 assert(strArray != NULL); in start()
1098 env->SetObjectArrayElement(strArray, 0, classNameStr); in start()
1103 env->SetObjectArrayElement(strArray, i + 1, optionsStr); in start()
1122 env->CallStaticVoidMethod(startClass, startMeth, strArray); in start()