HomeSort by relevance Sort by last modified time
    Searched refs:strArray (Results 1 - 14 of 14) sorted by null

  /art/test/019-wrong-array-type/src/
Main.java 22 String[] strArray = new String[1];
24 Object[] objArray = strArray;
  /dalvik/tests/019-wrong-array-type/src/
Main.java 22 String[] strArray = new String[1];
24 Object[] objArray = 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;
  /frameworks/base/services/jni/
com_android_server_UsbDeviceManager.cpp 52 static void set_accessory_string(JNIEnv *env, int fd, int cmd, jobjectArray strArray, int index)
60 env->SetObjectArrayElement(strArray, index, obj);
74 jobjectArray strArray = env->NewObjectArray(6, stringClass, NULL);
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, 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);
  /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;
  /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));
  /dalvik/tests/045-reflect-array/src/
Main.java 162 Object strArray;
164 strArray = Array.newInstance(String.class, 2);
166 String[] array = (String[]) strArray;
168 Array.set(strArray, 1, "entry one");
170 Array.set(strArray, 2, "entry two");
176 if (!"entry zero".equals(Array.get(strArray, 0)))
181 if (array.length != Array.getLength(strArray) ||
188 Array.set(strArray, 0, new Integer(5));
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
RetryManager.java 195 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/
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 163 String[] strArray = params.split("=", 2);
164 if (strArray.length == 2) {
165 handleAnyParam(propertyData, strArray[0], strArray[1]);
VCardBuilder.java     [all...]
  /frameworks/base/core/jni/
AndroidRuntime.cpp 292 jobjectArray strArray;
295 strArray = env->NewObjectArray(argc, stringClass, NULL);
299 env->SetObjectArrayElement(strArray, i, argStr);
302 env->CallStaticVoidMethod(clazz, methodId, strArray);
857 jobjectArray strArray;
863 strArray = env->NewObjectArray(2, stringClass, NULL);
864 assert(strArray != NULL);
867 env->SetObjectArrayElement(strArray, 0, classNameStr);
869 env->SetObjectArrayElement(strArray, 1, optionsStr);
887 env->CallStaticVoidMethod(startClass, startMeth, strArray);
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
ArrayListTest.java 549 String[] strArray = new String[100];
551 alist.toArray(strArray);

Completed in 943 milliseconds