/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/ |
SerializableBean.java | 34 private String[] strArray; 72 return strArray; 75 public void setStrArray(String[] strArray) { 76 this.strArray = strArray;
|
/art/test/019-wrong-array-type/src/ |
Main.java | 22 String[] strArray = new String[1]; 24 Object[] objArray = strArray;
|
/frameworks/base/services/core/jni/ |
com_android_server_UsbDeviceManager.cpp | 45 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) 53 env->SetObjectArrayElement(strArray, index, obj); 68 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); 69 if (!strArray) goto out; 70 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0); 71 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1); 72 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2); 73 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3); 74 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4); 75 set_accessory_string(env, fd, ACCESSORY_GET_STRING_SERIAL, strArray, 5) [all...] |
/cts/tests/tests/preference2/src/android/preference2/cts/ |
ListPreferenceTest.java | 61 String[] strArray = new String[array.length]; 63 strArray[i] = (String) array[i]; 65 return strArray;
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
OldAndroidArrayTest.java | 59 Object strArray = Array.newInstance(String.class, 2); 61 String[] array = (String[]) strArray; 63 Array.set(strArray, 1, "entry one"); 67 assertEquals("entry zero", Array.get(strArray, 0)); 71 assertEquals(Array.getLength(strArray), array.length);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/ |
ArrayReferenceDebuggee.java | 39 static String[] strArray = new String[8]; 59 for (int i=0; i<strArray.length; i++) { 60 strArray[i] = ""+i;
|
LengthTest.java | 67 } else if (fieldName.equals("strArray")) { 68 // String[] strArray = new String[8]
|
GetValuesTest.java | 109 if (name.equals("strArray")) { 110 // String[] strArray = new String[8] 112 ("\n==> testGetValues001: check for array field: 'String[] strArray'...");
|
/art/test/045-reflect-array/src/ |
Main.java | 163 Object strArray; 165 strArray = Array.newInstance(String.class, 2); 167 String[] array = (String[]) strArray; 169 Array.set(strArray, 1, "entry one"); 171 Array.set(strArray, 2, "entry two"); 177 if (!"entry zero".equals(Array.get(strArray, 0))) 182 if (array.length != Array.getLength(strArray) || 189 Array.set(strArray, 0, new Integer(5));
|
/external/testng/src/main/java/org/testng/remote/strprotocol/ |
TestResultMessage.java | 311 String[] strArray; 313 strArray = primitiveArrayToString(o); 315 strArray = toString((Object[]) o, null); 318 for (int i = 0; i < strArray.length; i++) 320 sb.append(strArray[i]); 321 if (i + 1 < strArray.length)
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
TetheringConfiguration.java | 291 final String[] strArray = ctx.getResources().getStringArray(resId); 292 return (strArray != null) ? strArray : EMPTY_STRING_ARRAY; 298 private static String[] copy(String[] strarray) { 299 return Arrays.copyOf(strarray, strarray.length);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V21.java | 251 final String[] strArray = line.split(":", 2); 252 final int length = strArray.length; 258 if (length == 2 && strArray[0].trim().equalsIgnoreCase("BEGIN") 259 && strArray[1].trim().equalsIgnoreCase("VCARD")) { 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...] |
VCardParserImpl_V30.java | 150 String[] strArray = params.split("=", 2); 151 if (strArray.length == 2) { 152 handleAnyParam(propertyData, strArray[0], strArray[1]);
|
VCardBuilder.java | [all...] |
/external/protobuf/objectivec/Tests/ |
GPBMessageTests.m | [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
RetryManager.java | 258 String strArray[] = configStr.split(","); 259 for (int i = 0; i < strArray.length; i++) { 260 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); 262 String splitStr[] = strArray[i].split("=", 2); 282 + strArray[i]); 290 splitStr = strArray[i].split(":", 2);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
LegacyPasspointConfigParser.java | 486 String[] strArray = str.split(LONG_ARRAY_SEPARATOR); 487 long[] longArray = new long[strArray.length]; 490 longArray[i] = Long.parseLong(strArray[i], 16); 492 throw new IOException("Invalid long integer value: " + strArray[i]);
|
/frameworks/base/core/jni/ |
AndroidRuntime.cpp | 335 jobjectArray strArray; 339 strArray = env->NewObjectArray(numArgs, stringClass, NULL); 343 env->SetObjectArrayElement(strArray, i, argStr); 346 env->CallStaticVoidMethod(clazz, methodId, strArray); [all...] |
/external/pdfium/fxjs/ |
cjs_field.cpp | [all...] |
cjs_publicmethods.cpp | 327 v8::Local<v8::Array> StrArray = pRuntime->NewArray(); 332 StrArray, nIndex, 338 StrArray, nIndex, 344 return StrArray; [all...] |
cjs_field.h | 296 const std::vector<WideString>& strArray);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UTF16Test.java | 806 char strarray[] = str.toCharArray(); local 807 if (UTF16.moveCodePointOffset(strarray, 9, 13, 0, 2) != 3) { 811 if (UTF16.moveCodePointOffset(strarray, 9, 13, 1, 2) != 4) { 815 if (UTF16.moveCodePointOffset(strarray, 11, 14, 0, 2) != 3) { 1534 char strarray[] = str.toCharArray(); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UTF16Test.java | 803 char strarray[] = str.toCharArray(); local 804 if (UTF16.moveCodePointOffset(strarray, 9, 13, 0, 2) != 3) { 808 if (UTF16.moveCodePointOffset(strarray, 9, 13, 1, 2) != 4) { 812 if (UTF16.moveCodePointOffset(strarray, 11, 14, 0, 2) != 3) { 1531 char strarray[] = str.toCharArray(); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
ArrayListTest.java | 848 String[] strArray = new String[100]; 850 alist.toArray(strArray); [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
Tethering.java | [all...] |