Home
last modified time | relevance | path

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

/cts/tests/mediapc/requirements/
Dtemplatefns.go34 "LowerCase": strings.ToLower,
39 "UpperCase": strings.ToUpper,
65 var out strings.Builder
84 return strings.Title(out.String())
89 return strings.ReplaceAll(strings.ToLower(titleCase(s)), " ", "_")
94 return strings.ReplaceAll(strings.ToLower(titleCase(s)), " ", "-")
99 return strings.ReplaceAll(titleCase(s), " ", "")
105 return strings.ToLower(s)
111 return strings.ToLower(string(runes[:i-1])) + string(runes[i-1:])
120 return strings.Replace(a, b, c, -1)
[all …]
/cts/tests/tests/content/ContentUriTestApp/src/android/content/cts/contenturitestapp/
DTestProvider.java62 public Cursor query(Uri uri, String[] strings, String s, String[] strings1, String s1) { in query() argument
77 public int delete(Uri uri, String s, String[] strings) { in delete() argument
82 public int update(Uri uri, ContentValues contentValues, String s, String[] strings) { in update() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DProAudioActivity.java171 Resources strings = getResources(); in displayTestResults() local
175 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_pass)); in displayTestResults()
177 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_midinotreported)); in displayTestResults()
179 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_usbhostnotreported)); in displayTestResults()
181 mTestStatusLbl.setText(strings.getString( in displayTestResults()
185 mTestStatusLbl.setText(strings.getString(R.string.audio_proaudio_hdmiNotFound)); in displayTestResults()
187 mTestStatusLbl.setText(strings.getString(R.string.hdmi_insufficient)); in displayTestResults()
/cts/tests/tests/content/src/android/content/res/cts/
DArrayTest.java82 checkStringArray(R.array.strings, new String[] {"zero", "1", "here"}); in testStrings()
83 checkTextArray(R.array.strings, new String[] {"zero", "1", "here"}); in testStrings()
91 checkIntArray(R.array.strings, new int[] {0, 0, 0}); in testIntegers()
DResourcesTest.java840 int[]array1 = mResources.getIntArray(R.array.strings); in testGetIntArray()
942 checkStringArray(R.array.strings, new String[] { in testGetStringArray()
945 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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DDevicePolicyResources.java45 public DevicePolicyStringResources strings() { in strings() method in DevicePolicyResources
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/
DMetricQuery.java28 StringQuery<E> strings(); in strings() method
DEnterpriseMetricInfo.java57 public List<String> strings() { in strings() method in EnterpriseMetricInfo
DMetricQueryBuilder.java180 && mStringsQuery.matches(metric.strings()) in matches()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8479/
DAndroid.bp39 "-Wwrite-strings",
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0508/
DAndroid.bp39 "-Wwrite-strings",
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
DAndroid.bp39 "-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/hostsidetests/securitybulletin/test-apps/CVE-2021-0704/stub-app/src/android/security/cts/CVE_2021_0704_stub/
DStubAuthenticator.java50 String tokenType, String[] strings, Bundle bundle) throws NetworkErrorException { 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/tests/devicepolicy/src/android/devicepolicy/cts/
DQuietModeTest.java110 TestApis.devicePolicy().resources().strings().set( in startActivityInQuietProfile_quietModeDialogShown()
130 TestApis.devicePolicy().resources().strings() in startActivityInQuietProfile_quietModeDialogShown()
DDevicePolicyResourcesTest.java93 TestApis.devicePolicy().resources().strings().reset( in resetAllResources()
/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.java737 String[] strings = new String[]{"first", "last"}; in testGetSerializableWithStringArray() local
738 mBundle.putSerializable(KEY1, strings); in testGetSerializableWithStringArray()
739 assertEquals(Arrays.asList(strings), in testGetSerializableWithStringArray()
742 assertEquals(Arrays.asList(strings), in testGetSerializableWithStringArray()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dwifi-current.txt219 field @Deprecated public static final String[] strings;
231 field @Deprecated public static final String[] strings;
260 field @Deprecated public static final String[] strings;
271 field @Deprecated public static final String[] strings;
279 field @Deprecated public static final String[] strings;
287 field @Deprecated public static final String[] strings;