Home
last modified time | relevance | path

Searched refs:firstFailure (Results 1 – 2 of 2) sorted by relevance

/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/
DAppSearchHelper.java344 AppSearchResult<Void> firstFailure = null; in indexContactsAsync()
347 if (firstFailure == null) { in indexContactsAsync()
355 firstFailure = failure; in indexContactsAsync()
358 firstFailure = failure; in indexContactsAsync()
363 if (firstFailure == null) { in indexContactsAsync()
373 firstFailure.getResultCode(), in indexContactsAsync()
374 firstFailure.getErrorMessage())); in indexContactsAsync()
447 AppSearchResult<Void> firstFailure = null; in removeContactsByIdAsync()
456 } else if (firstFailure == null in removeContactsByIdAsync()
458 firstFailure = failedResult; in removeContactsByIdAsync()
[all …]
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DFailableResultSyncCallbackTestCase.java207 F firstFailure = newFailure(); in testToString_containsFailures() local
208 mCallback.injectFailure(firstFailure); in testToString_containsFailures()
212 .contains("result=" + firstFailure); in testToString_containsFailures()
215 .contains("results=[" + firstFailure + "]"); in testToString_containsFailures()
223 .contains("result=" + firstFailure); in testToString_containsFailures()
226 .contains("results=[" + firstFailure + ", " + secondFailure + "]"); in testToString_containsFailures()