Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_UsbDeviceManager.cpp45 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) in set_accessory_string() argument
53 env->SetObjectArrayElement(strArray, index, obj); in set_accessory_string()
68 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); in android_server_UsbDeviceManager_getAccessoryStrings() local
69 if (!strArray) goto out; in android_server_UsbDeviceManager_getAccessoryStrings()
70 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0); in android_server_UsbDeviceManager_getAccessoryStrings()
71 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1); in android_server_UsbDeviceManager_getAccessoryStrings()
72 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2); in android_server_UsbDeviceManager_getAccessoryStrings()
73 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3); in android_server_UsbDeviceManager_getAccessoryStrings()
74 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4); in android_server_UsbDeviceManager_getAccessoryStrings()
75 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.java263 String strArray[] = configStr.split(","); in configure() local
264 for (int i = 0; i < strArray.length; i++) { in configure()
265 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); in configure()
267 String splitStr[] = strArray[i].split("=", 2); in configure()
287 + strArray[i]); in configure()
295 splitStr = strArray[i].split(":", 2); in configure()
/frameworks/base/core/jni/
DAndroidRuntime.cpp373 jobjectArray strArray; in callMain() local
377 strArray = env->NewObjectArray(numArgs, stringClass, NULL); in callMain()
381 env->SetObjectArrayElement(strArray, i, argStr); in callMain()
384 env->CallStaticVoidMethod(clazz, methodId, strArray); in callMain()
1187 jobjectArray strArray; in start() local
1192 strArray = env->NewObjectArray(options.size() + 1, stringClass, NULL); in start()
1193 assert(strArray != NULL); in start()
1196 env->SetObjectArrayElement(strArray, 0, classNameStr); in start()
1201 env->SetObjectArrayElement(strArray, i + 1, optionsStr); in start()
1220 env->CallStaticVoidMethod(startClass, startMeth, strArray); in start()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetheringConfiguration.java312 final String[] strArray = res.getStringArray(resId); in getResourceStringArray() local
313 return (strArray != null) ? strArray : EMPTY_STRING_ARRAY; in getResourceStringArray()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBMessageTests.m976 XCTAssertNotNil(message2.a.a.strArray);
985 [message2.a.a.strArray addObject:@"foo"];
988 XCTAssertEqual([message2.a.a.strArray count], (NSUInteger)1);
1009 message2a.a.strArray = message2b.a.strArray;
1012 [message2a.a.strArray addObject:@"bar"];
1015 XCTAssertEqual(message2a.a.strArray, message2b.a.strArray);
1107 XCTAssertNotNil(message.a.strArray);
1109 GPBAutocreatedArray *strArray =
1110 (GPBAutocreatedArray *)[message.a.strArray retain];
1111 XCTAssertTrue([strArray isKindOfClass:[GPBAutocreatedArray class]]);
[all …]