/art/test/019-wrong-array-type/src/ |
Main.java | 22 String[] strArray = new String[1]; 24 Object[] objArray = strArray;
|
/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;
|
/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;
|
/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;
|
/frameworks/base/services/core/jni/ |
com_android_server_UsbDeviceManager.cpp | 44 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index) 52 env->SetObjectArrayElement(strArray, index, obj); 67 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL); 68 if (!strArray) goto out; 69 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MANUFACTURER, strArray, 0); 70 set_accessory_string(env, fd, ACCESSORY_GET_STRING_MODEL, strArray, 1); 71 set_accessory_string(env, fd, ACCESSORY_GET_STRING_DESCRIPTION, strArray, 2); 72 set_accessory_string(env, fd, ACCESSORY_GET_STRING_VERSION, strArray, 3); 73 set_accessory_string(env, fd, ACCESSORY_GET_STRING_URI, strArray, 4); 74 set_accessory_string(env, fd, ACCESSORY_GET_STRING_SERIAL, strArray, 5) [all...] |
/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);
|
/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));
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V21.java | 250 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 = langval.split("-") [all...] |
VCardParserImpl_V30.java | 140 String[] strArray = params.split("=", 2); 141 if (strArray.length == 2) { 142 handleAnyParam(propertyData, strArray[0], strArray[1]);
|
/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/opt/telephony/src/java/com/android/internal/telephony/ |
RetryManager.java | 249 String strArray[] = configStr.split(","); 250 for (int i = 0; i < strArray.length; i++) { 251 if (VDBG) log("configure: strArray[" + i + "]='" + strArray[i] + "'"); 253 String splitStr[] = strArray[i].split("=", 2); 273 + strArray[i]); 281 splitStr = strArray[i].split(":", 2);
|
/frameworks/base/core/jni/ |
AndroidRuntime.cpp | 309 jobjectArray strArray; 313 strArray = env->NewObjectArray(numArgs, stringClass, NULL); 317 env->SetObjectArrayElement(strArray, i, argStr); 320 env->CallStaticVoidMethod(clazz, methodId, strArray); [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...] |
/prebuilts/tools/common/m2/repository/org/testng/testng/6.9.10/ |
testng-6.9.10.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |