Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpClientTest.java103 String failureMessage = "FAIL!"; in testPerformGetRequestFails() local
104 InputStream mockStream = new ByteArrayInputStream(failureMessage.getBytes(UTF_8)); in testPerformGetRequestFails()
110 .thenReturn((long) failureMessage.length()); in testPerformGetRequestFails()
116 assertThat(response.getPayload()).isEqualTo(failureMessage.getBytes(UTF_8)); in testPerformGetRequestFails()
121 String failureMessage = "FAIL!"; in testPerformGetRequestFailsWithRetry() local
123 .then(invocation -> new ByteArrayInputStream(failureMessage.getBytes(UTF_8))); in testPerformGetRequestFailsWithRetry()
127 .thenReturn((long) failureMessage.length()); in testPerformGetRequestFailsWithRetry()
136 assertThat(response.getPayload()).isEqualTo(failureMessage.getBytes(UTF_8)); in testPerformGetRequestFailsWithRetry()
141 String failureMessage = "FAIL!"; in testPerformGetRequestSuccessWithRetry() local
142 InputStream mockStream = new ByteArrayInputStream(failureMessage.getBytes(UTF_8)); in testPerformGetRequestSuccessWithRetry()
[all …]
/packages/modules/ExtServices/java/tests/src/android/ext/services/notification/
DNotificationOtpDetectionHelperTest.kt65 val failureMessage: String in <lambda>() constant in android.ext.services.notification.NotificationOtpDetectionHelperTest.TestResult
83 results.forEach { (expected, actual, failureMessage) -> in <lambda>() method
86 allFailuresMessage.append("$failureMessage\n") in <lambda>()
93 private fun addResult(expected: Boolean, actual: Boolean, failureMessage: String) { in <lambda>()
94 results.add(TestResult(expected, actual, failureMessage)) in <lambda>()
528 val failureMessage = if (customFailureMessage != null) { in <lambda>() constant
536 createNotification(text), checkForFalsePositives, textClassifier), failureMessage) in <lambda>()
/packages/modules/AdServices/adservices/tests/test-util/side-less/com/android/adservices/common/
DAbstractAdServicesShellCommandHelper.java280 Supplier<Boolean> successCondition, String failureMessage, long maxTimeoutMillis) { in tryWaitForSuccess() argument
291 mLog.e("Thread interrupted, %s", failureMessage); in tryWaitForSuccess()
295 mLog.e("Timeout %dms happened, %s", maxTimeoutMillis, failureMessage); in tryWaitForSuccess()
/packages/apps/Messaging/src/com/android/messaging/util/
DAssert.java179 public static void isNull(final Object obj, final String failureMessage) { in isNull() argument
181 fail(failureMessage, false); in isNull()
/packages/modules/Bluetooth/android/ChannelSoundingTestApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/apps/Car/Launcher/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/services/Telephony/testapps/TestSliceApp/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/providers/MediaProvider/tools/photopicker-gradle/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java3798 private void expectNoSecurityException(String failureMessage, Uri uri, String[] projection, in expectNoSecurityException() argument
3804 fail(failureMessage); in expectNoSecurityException()
3812 private void expectSecurityException(String failureMessage, Uri uri, String[] projection, in expectSecurityException() argument
3817 fail(failureMessage); in expectSecurityException()