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

/frameworks/base/services/jni/
H A Dcom_android_server_UsbDeviceManager.cpp52 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) argument
60 env->SetObjectArrayElement(strArray, index, obj);
74 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); local
75 if (!strArray) goto out;
76 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0);
77 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1);
78 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2);
79 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3);
80 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4);
81 set_accessory_string(env, fd, ACCESSORY_GET_STRING_SERIAL, strArray,
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DRetryManager.java195 String strArray[] = configStr.split(",");
196 for (int i = 0; i < strArray.length; i++) {
197 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'");
199 String splitStr[] = strArray[i].split("=", 2);
219 + strArray[i]);
227 splitStr = strArray[i].split(":", 2);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardParserImpl_V21.java250 final String[] strArray = line.split(":", 2);
251 final int length = strArray.length;
257 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN")
258 && strArray[1].trim().equalsIgnoreCase("VCARD")) {
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
[all...]
H A DVCardParserImpl_V30.java163 String[] strArray = params.split("=", 2);
164 if (strArray.length == 2) {
165 handleAnyParam(propertyData, strArray[0], strArray[1]);
H A DVCardBuilder.java2124 byte[] strArray = null;
2127 strArray = str.getBytes(mCharset);
2131 strArray = str.getBytes();
2133 while (index < strArray.length) {
2134 builder.append(String.format("=%02X", strArray[index]));
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp293 jobjectArray strArray; local
296 strArray = env->NewObjectArray(argc, stringClass, NULL);
300 env->SetObjectArrayElement(strArray, i, argStr);
303 env->CallStaticVoidMethod(clazz, methodId, strArray);
858 jobjectArray strArray; local
864 strArray = env->NewObjectArray(2, stringClass, NULL);
865 assert(strArray != NULL);
868 env->SetObjectArrayElement(strArray, 0, classNameStr);
870 env->SetObjectArrayElement(strArray, 1, optionsStr);
888 env->CallStaticVoidMethod(startClass, startMeth, strArray);
[all...]

Completed in 1529 milliseconds