Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DArrayTest.java67 checkStringArray(R.array.strings, new String[] {"zero", "1", "here"}); in testStrings()
68 checkTextArray(R.array.strings, new String[] {"zero", "1", "here"}); in testStrings()
75 checkIntArray(R.array.strings, new int[] {0, 0, 0}); in testIntegers()
DResourcesTest.java596 int[]array1 = mResources.getIntArray(R.array.strings); in testGetIntArray()
692 checkStringArray(R.array.strings, new String[] { in testGetStringArray()
695 checkTextArray(R.array.strings, new String[] { in testGetStringArray()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DPeripheralProfile.java122 String[] strings = intList.split(","); in parseIntList() local
123 int[] ints = new int[strings.length]; in parseIntList()
124 for (int index = 0; index < strings.length; index++) { in parseIntList()
126 ints[index] = Integer.parseInt(strings[index]); in parseIntList()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DApplicationRestrictionsTest.java267 String[] strings = bundle.getStringArray("string[]"); in assertBundle0() local
268 assertTrue(strings != null && strings.length == TEST_STRINGS.length); in assertBundle0()
269 for (int i = 0; i < strings.length; i++) { in assertBundle0()
270 assertEquals(strings[i], TEST_STRINGS[i]); in assertBundle0()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/
DAndroid.mk32 LOCAL_CFLAGS += -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes -Wmissing-prototypes
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
DAndroid.mk32 LOCAL_CFLAGS += -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes -Wmissing-prototypes
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8479/
DAndroid.mk32 LOCAL_CFLAGS += -Wwrite-strings -Wno-format-nonliteral -Wstrict-prototypes -Wmissing-prototypes
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DStubAuthenticator.java57 String accountType, String tokenType, String[] strings, in addAccount() argument
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubAuthenticator.java60 String accountType, String tokenType, String[] strings, in addAccount() argument
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJsonPrinter.java177 private void writeStringCollection(String name, Collection<String> strings) throws IOException { in writeStringCollection() argument
180 for (String str : strings) { in writeStringCollection()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale215 comparison of strings are operators defined in the language, and the
216 upper bounds of the strings occuring in Dhrystone are part of the type
223 calls, these functions are defined for null-terminated strings where
224 the length of the strings is not known at compilation time; the
232 the strings functions are implemented efficiently, this helps real
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java532 String[] strings = new String[]{"first", "last"}; in testGetSerializableWithStringArray() local
533 mBundle.putSerializable(KEY, strings); in testGetSerializableWithStringArray()
534 assertEquals(Arrays.asList(strings), in testGetSerializableWithStringArray()
537 assertEquals(Arrays.asList(strings), in testGetSerializableWithStringArray()
/cts/tools/dasm/src/dasm/
DDAsm.java1506 protected TypeList createTypeListFromStrings(Vector<String> strings) { in createTypeListFromStrings() argument
1509 if (strings.size() == 0) in createTypeListFromStrings()
1512 int sz = strings.size(); in createTypeListFromStrings()
1515 tl.set(i, Type.internClassName(strings.elementAt(i))); in createTypeListFromStrings()
/cts/tools/dasm/src/java_cup/
Dparser.cup43 code strings) are stored as static variables of the emit class and