Home
last modified time | relevance | path

Searched refs:onFailure (Results 1 – 25 of 36) sorted by relevance

12

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DTestUtils.java82 public static void runWithFailureHook(RunnableWithThrow r, RunnableWithThrow onFailure) in runWithFailureHook() argument
87 if (onFailure == null) { in runWithFailureHook()
94 onFailure.run(); in runWithFailureHook()
/cts/tests/rotationresolverservice/src/android/rotationresolverservice/cts/
DCtsTestRotationResolverService.java44 callback.onFailure(RotationResolverService.ROTATION_RESULT_FAILURE_CANCELLED); in onResolveRotation()
64 sCurrentCallback.onFailure(code); in respondFailure()
/cts/tests/attentionservice/src/android/attentionservice/cts/
DCtsTestAttentionService.java39 callback.onFailure(ATTENTION_FAILURE_CANCELLED); in onCancelAttentionCheck()
78 sCurrentAttentionCallback.onFailure(code); in respondFailure()
/cts/hostsidetests/theme/app/src/android/theme/app/
DConditionCheck.java43 ConditionCheck(Context context, Runnable onSuccess, Consumer<String> onFailure) { in ConditionCheck() argument
46 mOnFailure = onFailure; in ConditionCheck()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DCoreTestBase.kt29 override fun onFailure(error: CharSequence?) = Unit method in android.companion.cts.core.CoreTestBase
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java165 verify(mCallback, timeout(TIMEOUT_TAKE_SCREENSHOT_DONE_MILLIS)).onFailure( in testTakeScreenshot_RequestIntervalTime()
209 verify(mCallback, timeout(TIMEOUT_TAKE_SCREENSHOT_DONE_MILLIS)).onFailure( in testTakeScreenshotOnPrivateDisplay_GetErrorCode()
306 verify(mCallback, timeout(TIMEOUT_TAKE_SCREENSHOT_DONE_MILLIS)).onFailure( in testTakeScreenshotOfWindow_ErrorForSecureWindow()
332 verify(callback, timeout(TIMEOUT_TAKE_SCREENSHOT_DONE_MILLIS)).onFailure( in testTakeScreenshotOfWindow_MultipleWindowsIntervalTime()
349 verify(mCallback, timeout(TIMEOUT_TAKE_SCREENSHOT_DONE_MILLIS)).onFailure( in testTakeScreenshotOfWindow_InvalidWindow()
371 verify(mCallback, timeout(TIMEOUT_TAKE_SCREENSHOT_DONE_MILLIS)).onFailure( in testTakeScreenshotOfWindow_ErrorForServiceWithoutScreenshotCapability()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DCondition.java119 public Condition<T> setOnFailure(Consumer<T> onFailure) { in setOnFailure() argument
120 mOnFailure = onFailure; in setOnFailure()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCondition.java119 public Condition<T> setOnFailure(Consumer<T> onFailure) { in setOnFailure() argument
120 mOnFailure = onFailure; in setOnFailure()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DRecordingCdmEventObserver.kt60 override fun onFailure(error: CharSequence?) = method
DRecordingCallback.kt60 override fun onFailure(error: CharSequence?) { in onFailure() method
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DActionListenerTest.java37 public void onFailure(int reason) { in onFailure() method in ActionListenerTest
/cts/tests/tests/companion/AssociationRevokedTestApp/src/android.os.cts.associationrevokedtestapp/
DMainActivity.kt63 override fun onFailure(errorMessage: CharSequence?) { in onAttachedToWindow() method
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DEasyConnectStatusCallbackTest.java107 public void onFailure(int code) {
116 public void onFailure(int code, String ssid, SparseArray<int[]> channelListArray,
/cts/tests/tests/companion/multidevice/client/src/android/companion/cts/multidevice/
DCallbackUtils.kt51 override fun onFailure(error: CharSequence?) { in onFailure() method in android.companion.cts.multidevice.CallbackUtils.AssociationCallback
/cts/common/device-side/bedstead/remoteframeworkclasses/src/types/main/java/com/android/bedstead/remoteframeworkclasses/
DAccountManagerFutureWrapper.java60 futureResultWriter.onFailure(e); in writeFutureResult()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/
DUtils.java135 @Nullable Consumer<Object> onFailure) { in waitFor() argument
139 .setOnFailure(onFailure)); in waitFor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/companion/
DCompanionDeviceTestActivity.java91 public void onFailure(CharSequence error) { in test()
DCompanionDeviceServiceTestActivity.java269 public void onFailure(CharSequence error) {
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/services/
DCtsBasicVoiceInteractionService.java393 public void onFailure(HotwordDetectionServiceFailure hotwordDetectionServiceFailure) { in createAlwaysOnHotwordDetectorCallbackWithListeners() method in CtsBasicVoiceInteractionService
404 public void onFailure(SoundTriggerFailure soundTriggerFailure) { in createAlwaysOnHotwordDetectorCallbackWithListeners() method in CtsBasicVoiceInteractionService
581 public void onFailure(HotwordDetectionServiceFailure hotwordDetectionServiceFailure) {
747 public void onFailure(
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/
DTestBaseQuickAccessWalletService.java86 callback.onFailure(error); in onWalletCardsRequested()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTestService.java163 public void onFailure(int statusCode) {
/cts/tests/tests/companion/CompanionDeviceTestApp/src/android.os.cts.companiondevicetestapp/
DCompanionDeviceTestAppActivity.kt182 override fun onFailure(error: CharSequence?) { in <lambda>() method
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/
DWifiNl80211ManagerTest.java160 public void onFailure(int reason) {} in testSendMgmtFrame()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierServiceSwapTest.java159 public void onFailure(CharSequence charSequence) { in serviceOnSuggestConversationActions() method
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java295 public void onFailure(@Nullable CharSequence error) {

12