Searched refs:strArray (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/jni/ |
D | com_android_server_UsbDeviceManager.cpp | 51 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) in set_accessory_string() argument 59 env->SetObjectArrayElement(strArray, index, obj); in set_accessory_string() 73 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); in android_server_UsbDeviceManager_getAccessoryStrings() local 74 if (!strArray) goto out; in android_server_UsbDeviceManager_getAccessoryStrings() 75 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0); in android_server_UsbDeviceManager_getAccessoryStrings() 76 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1); in android_server_UsbDeviceManager_getAccessoryStrings() 77 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2); in android_server_UsbDeviceManager_getAccessoryStrings() 78 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3); in android_server_UsbDeviceManager_getAccessoryStrings() 79 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4); in android_server_UsbDeviceManager_getAccessoryStrings() 80 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/ |
D | RetryManager.java | 188 String strArray[] = configStr.split(","); in configure() local 189 for (int i = 0; i < strArray.length; i++) { in configure() 190 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); in configure() 192 String splitStr[] = strArray[i].split("=", 2); in configure() 212 + strArray[i]); in configure() 220 splitStr = strArray[i].split(":", 2); in configure()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParserImpl_V21.java | 250 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 …]
|
D | VCardParserImpl_V30.java | 163 String[] strArray = params.split("=", 2); in handleParams() 164 if (strArray.length == 2) { in handleParams() 165 handleAnyParam(propertyData, strArray[0], strArray[1]); in handleParams()
|
D | VCardBuilder.java | 2124 byte[] strArray = null; in encodeQuotedPrintable() 2127 strArray = str.getBytes(mCharset); in encodeQuotedPrintable() 2131 strArray = str.getBytes(); in encodeQuotedPrintable() 2133 while (index < strArray.length) { in encodeQuotedPrintable() 2134 builder.append(String.format("=%02X", strArray[index])); in encodeQuotedPrintable()
|
/frameworks/base/core/jni/ |
D | AndroidRuntime.cpp | 287 jobjectArray strArray; in callMain() local 290 strArray = env->NewObjectArray(argc, stringClass, NULL); in callMain() 294 env->SetObjectArrayElement(strArray, i, argStr); in callMain() 297 env->CallStaticVoidMethod(clazz, methodId, strArray); in callMain() 858 jobjectArray strArray; in start() local 864 strArray = env->NewObjectArray(2, stringClass, NULL); in start() 865 assert(strArray != NULL); in start() 868 env->SetObjectArrayElement(strArray, 0, classNameStr); in start() 870 env->SetObjectArrayElement(strArray, 1, optionsStr); in start() 888 env->CallStaticVoidMethod(startClass, startMeth, strArray); in start()
|