Home
last modified time | relevance | path

Searched refs:resultString (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DFontVariationUtils.kt44 var resultString = "" in updateFontVariation() variable
46 resultString += "'$TAG_WGHT' $mWeight" in updateFontVariation()
49 resultString += (if (resultString.isBlank()) "" else ", ") + "'$TAG_WDTH' $mWidth" in updateFontVariation()
52 resultString += (if (resultString.isBlank()) "" else ", ") + "'$TAG_OPSZ' $mOpticalSize" in updateFontVariation()
55 resultString += (if (resultString.isBlank()) "" else ", ") + "'$TAG_ROND' $mRoundness" in updateFontVariation()
57 return if (isUpdated) resultString else "" in updateFontVariation()
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/utils/
DStreamUtilsTest.java44 String resultString = StreamUtils.inputStreamToString(inputStream); in inputStreamToString() local
46 assertThat(resultString).isEqualTo(expectedString); in inputStreamToString()
67 String resultString = StreamUtils.inputStreamToStringSafe(inputStream); in inputStreamToStringSafe() local
69 assertThat(resultString).isEqualTo(expectedString); in inputStreamToStringSafe()
74 String resultString = StreamUtils.inputStreamToStringSafe(null); in inputStreamToStringSafe_nullInputStream_shouldReturnEmpty() local
76 assertThat(resultString).isEmpty(); in inputStreamToStringSafe_nullInputStream_shouldReturnEmpty()
84 String resultString = StreamUtils.inputStreamToStringSafe(inputStream); in inputStreamToStringSafe_readThrowsIOException_shouldReturnEmpty() local
86 assertThat(resultString).isEmpty(); in inputStreamToStringSafe_readThrowsIOException_shouldReturnEmpty()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalReceiver.java35 String resultString = LaunchpadActivity.RECEIVER_LOCAL; in onReceive() local
37 resultString = "Successfully registered, but expected it to fail"; in onReceive()
44 resultString = LaunchpadActivity.RECEIVER_LOCAL; in onReceive()
47 resultString = "Successfully bound to service, but expected it to fail"; in onReceive()
60 resultString = LaunchpadActivity.RECEIVER_LOCAL; in onReceive()
71 data.writeString(resultString); in onReceive()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
DBinaryFileOperationsTest.java58 String resultString = getStringValue(inputStream); in testGetStringValue() local
60 assertThat(resultString).isEqualTo(PACKAGE_NAME); in testGetStringValue()
72 String resultString = getStringValue(inputStream); in testGetHashedStringValue() local
74 assertThat(resultString) in testGetHashedStringValue()
84 String resultString = getStringValue(inputStream, in testGetStringValue_withSizeAndHashingInfo() local
87 assertThat(resultString).isEqualTo(PACKAGE_NAME); in testGetStringValue_withSizeAndHashingInfo()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt163 val resultString = when (result) { in <lambda>() constant
171 return "pkg=$pkgName, type=$appType, component=$componentName, result=$resultString" in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java455 String resultString = Arrays.toString(result); in assertStringArrayEquals() local
456 assertEquals(message + ": arrays differ", expectedString, resultString); in assertStringArrayEquals()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp570 const char *resultString[] = {"Writable", "Read-Only", "Unsupported"}; in outputResults() local
573 printf("[ %s ]\n", resultString[i]); in outputResults()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java890 StringBuilder resultString = new StringBuilder(); in generateLongString() local
892 resultString.append(partialString); in generateLongString()
894 return resultString.toString(); in generateLongString()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java854 String resultString = ""; in executeShellCommandWithTempFile() local
861 resultString += line + "\n"; in executeShellCommandWithTempFile()
865 return resultString; in executeShellCommandWithTempFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1818 StringBuilder resultString = new StringBuilder(); in generateLongString() local
1820 resultString.append(partialString); in generateLongString()
1822 return resultString.toString(); in generateLongString()