OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:strArray
(Results
1 - 12
of
12
) sorted by null
/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
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);
/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/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
140
String[]
strArray
= params.split("=", 2);
141
if (
strArray
.length == 2) {
142
handleAnyParam(propertyData,
strArray
[0],
strArray
[1]);
/frameworks/base/core/jni/
AndroidRuntime.cpp
302
jobjectArray
strArray
;
306
strArray
= env->NewObjectArray(numArgs, stringClass, NULL);
310
env->SetObjectArrayElement(
strArray
, i, argStr);
313
env->CallStaticVoidMethod(clazz, methodId,
strArray
);
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ArrayListTest.java
842
String[]
strArray
= new String[100];
844
alist.toArray(
strArray
);
[
all
...]
Completed in 234 milliseconds