Home
last modified time | relevance | path

Searched refs:strings (Results 1 – 16 of 16) 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.java647 int[]array1 = mResources.getIntArray(R.array.strings); in testGetIntArray()
743 checkStringArray(R.array.strings, new String[] { in testGetStringArray()
746 checkTextArray(R.array.strings, new String[] { in testGetStringArray()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DProAudioActivity.java166 Resources strings = getResources(); in displayTestResults() local
168 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_pass)); in displayTestResults()
170 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_midinotreported)); in displayTestResults()
172 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_usbhostnotreported)); in displayTestResults()
174 mTestStatusLbl.setText(strings.getString( in displayTestResults()
177 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_hdminotvalid)); in displayTestResults()
/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/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DMetricQuery.java28 StringQuery<E> strings(); in strings() method
DEnterpriseMetricInfo.java45 public List<String> strings() { in strings() method in EnterpriseMetricInfo
DMetricQueryBuilder.java133 && mStringsQuery.matches(metric.strings()); in matches()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/
DAndroid.bp38 "-Wwrite-strings",
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8479/
DAndroid.bp38 "-Wwrite-strings",
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
DAndroid.bp38 "-Wwrite-strings",
/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()