Home
last modified time | relevance | path

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

/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()
43 resultString = LaunchpadActivity.RECEIVER_LOCAL; in onReceive()
46 resultString = "Successfully bound to service, but expected it to fail"; in onReceive()
59 resultString = LaunchpadActivity.RECEIVER_LOCAL; in onReceive()
70 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/uiservicestests/src/com/android/server/notification/
DValidateNotificationPeopleTest.java245 String resultString = Arrays.toString(result); in assertStringArrayEquals() local
246 assertEquals(message + ": arrays differ", expectedString, resultString); in assertStringArrayEquals()
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/
DPackageManagerComponentLabelIconOverrideTest.kt159 val resultString = when (result) { in <lambda>() constant
167 return "pkg=$pkgName, type=$appType, component=$componentName, result=$resultString" in <lambda>()
/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/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()