Home
last modified time | relevance | path

Searched refs:FailureType (Results 1 – 25 of 26) sorted by relevance

12

/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DTestUrlRequestCallback.java66 private FailureType mFailureType = FailureType.NONE;
117 public enum FailureType {
176 public void setFailure(FailureType failureType, ResponseStep failureStep) {
382 if (mResponseStep != mFailureStep || mFailureType == FailureType.NONE) {
390 if (mFailureType == FailureType.THROW_SYNC) {
401 if (mFailureType == FailureType.CANCEL_ASYNC
402 || mFailureType == FailureType.CANCEL_ASYNC_WITHOUT_PAUSE) {
407 return mFailureType != FailureType.CANCEL_ASYNC_WITHOUT_PAUSE;
DTestBidirectionalStreamCallback.java52 private FailureType mFailureType = FailureType.NONE;
116 public enum FailureType { enum in TestBidirectionalStreamCallback
140 public void setFailure(FailureType failureType, ResponseStep failureStep) { in setFailure()
384 if (mResponseStep != mFailureStep || mFailureType == FailureType.NONE) { in maybeThrowCancelOrPause()
392 if (mFailureType == FailureType.THROW_SYNC) { in maybeThrowCancelOrPause()
401 if (mFailureType == FailureType.CANCEL_ASYNC in maybeThrowCancelOrPause()
402 || mFailureType == FailureType.CANCEL_ASYNC_WITHOUT_PAUSE) { in maybeThrowCancelOrPause()
407 return mFailureType != FailureType.CANCEL_ASYNC_WITHOUT_PAUSE; in maybeThrowCancelOrPause()
DCronetUrlRequestTest.java48 import org.chromium.net.TestUrlRequestCallback.FailureType;
1812 private void throwOrCancel(FailureType failureType, ResponseStep failureStep, in throwOrCancel()
1827 if (failureType == FailureType.CANCEL_SYNC || failureType == FailureType.CANCEL_ASYNC) { in throwOrCancel()
1829 } else if (failureType == FailureType.THROW_SYNC) { in throwOrCancel()
1839 if (!(failureType == FailureType.CANCEL_ASYNC_WITHOUT_PAUSE in throwOrCancel()
1841 assertEquals(failureType == FailureType.CANCEL_SYNC in throwOrCancel()
1842 || failureType == FailureType.CANCEL_ASYNC in throwOrCancel()
1843 || failureType == FailureType.CANCEL_ASYNC_WITHOUT_PAUSE, in throwOrCancel()
1851 throwOrCancel(FailureType.CANCEL_SYNC, ResponseStep.ON_RECEIVED_REDIRECT, in testFailures()
1853 throwOrCancel(FailureType.CANCEL_ASYNC, ResponseStep.ON_RECEIVED_REDIRECT, in testFailures()
[all …]
DBidirectionalStreamTest.java46 import org.chromium.net.TestBidirectionalStreamCallback.FailureType;
1254 FailureType failureType, ResponseStep failureStep, boolean expectError) { in throwOrCancel()
1310 assertEquals(failureType == FailureType.CANCEL_SYNC in throwOrCancel()
1311 || failureType == FailureType.CANCEL_ASYNC in throwOrCancel()
1312 || failureType == FailureType.CANCEL_ASYNC_WITHOUT_PAUSE, in throwOrCancel()
1321 throwOrCancel(FailureType.CANCEL_SYNC, ResponseStep.ON_STREAM_READY, false); in testFailures()
1322 throwOrCancel(FailureType.CANCEL_ASYNC, ResponseStep.ON_STREAM_READY, false); in testFailures()
1323 throwOrCancel(FailureType.CANCEL_ASYNC_WITHOUT_PAUSE, ResponseStep.ON_STREAM_READY, false); in testFailures()
1324 throwOrCancel(FailureType.THROW_SYNC, ResponseStep.ON_STREAM_READY, true); in testFailures()
1326 throwOrCancel(FailureType.CANCEL_SYNC, ResponseStep.ON_RESPONSE_STARTED, false); in testFailures()
[all …]
/external/cronet/third_party/googletest/src/googletest/test/
Dgtest_environment_test.cc41 enum FailureType { NO_FAILURE, NON_FATAL_FAILURE, FATAL_FAILURE }; enum
81 void set_failure_in_set_up(FailureType type) { failure_in_set_up_ = type; } in set_failure_in_set_up()
90 FailureType failure_in_set_up_;
114 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgtest_environment_test.cc44 enum FailureType { enum
86 void set_failure_in_set_up(FailureType type) { in set_failure_in_set_up()
97 FailureType failure_in_set_up_;
123 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests()
/external/googletest/googletest/test/
Dgtest_environment_test.cc44 enum FailureType { enum
86 void set_failure_in_set_up(FailureType type) { in set_failure_in_set_up()
97 FailureType failure_in_set_up_;
123 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests()
/external/cronet/third_party/boringssl/src/third_party/googletest/test/
Dgtest_environment_test.cc44 enum FailureType { enum
86 void set_failure_in_set_up(FailureType type) { in set_failure_in_set_up()
97 FailureType failure_in_set_up_;
123 int RunAllTests(MyEnvironment* env, FailureType failure) { in RunAllTests()
/external/webrtc/sdk/android/src/java/org/webrtc/
DCamera1Session.java66 callback.onFailure(FailureType.ERROR, e.getMessage()); in create()
74 callback.onFailure(FailureType.ERROR, e.getMessage()); in create()
80 FailureType.ERROR, "Camera.open returned null for camera id = " + cameraId); in create()
88 callback.onFailure(FailureType.ERROR, e.getMessage()); in create()
103 callback.onFailure(FailureType.ERROR, e.getMessage()); in create()
120 callback.onFailure(FailureType.ERROR, e.getMessage()); in create()
DCameraSession.java19 enum FailureType { ERROR, DISCONNECTED } enum
24 void onFailure(FailureType failureType, String error); in onFailure()
DCameraCapturer.java69 public void onFailure(CameraSession.FailureType failureType, String error) {
89 if (failureType == CameraSession.FailureType.DISCONNECTED) {
DCamera2Session.java101 callback.onFailure(FailureType.DISCONNECTED, "Camera disconnected / evicted."); in onDisconnected()
407 callback.onFailure(FailureType.ERROR, error); in reportError()
/external/gwp_asan/gwp_asan/
Dcrash_handler.cpp26 if (State->FailureType != Error::UNKNOWN && State->FailureAddress != 0) in __gwp_asan_error_is_mine()
60 if (State->FailureType != Error::UNKNOWN) in __gwp_asan_diagnose_error()
61 return State->FailureType; in __gwp_asan_diagnose_error()
Dguarded_pool_allocator.cpp295 State.FailureType = E; in raiseInternallyDetectedError()
308 assert(State.FailureType == Error::UNKNOWN); in raiseInternallyDetectedError()
410 State.FailureType = Error::UNKNOWN; in postCrashReportRecoverableOnly()
Dcommon.h155 Error FailureType = Error::UNKNOWN; member
/external/gwp_asan/gwp_asan/tests/
Dcrash_handler_api.cpp139 State.FailureType = Error::DOUBLE_FREE; in TEST_F()
155 State.FailureType = Error::INVALID_FREE; in TEST_F()
169 State.FailureType = Error::INVALID_FREE; in TEST_F()
/external/googletest/googlemock/include/gmock/internal/
Dgmock-internal-utils.h196 enum FailureType { enum
203 virtual void ReportFailure(FailureType type, const char* file, int line,
/external/googletest/googlemock/src/
Dgmock-internal-utils.cc96 void ReportFailure(FailureType type, const char* file, int line, in ReportFailure()
/external/libaom/third_party/googletest/src/googlemock/include/gmock/internal/
Dgmock-internal-utils.h211 enum FailureType { kNonfatal, kFatal }; enum
216 virtual void ReportFailure(FailureType type, const char* file, int line,
/external/cronet/third_party/googletest/src/googlemock/include/gmock/internal/
Dgmock-internal-utils.h211 enum FailureType { kNonfatal, kFatal }; enum
216 virtual void ReportFailure(FailureType type, const char* file, int line,
/external/libaom/third_party/googletest/src/googlemock/src/
Dgmock-internal-utils.cc102 void ReportFailure(FailureType type, const char* file, int line, in ReportFailure()
/external/cronet/third_party/googletest/src/googlemock/src/
Dgmock-internal-utils.cc102 void ReportFailure(FailureType type, const char* file, int line, in ReportFailure()
/external/fmtlib/test/
Dgmock-gtest-all.cc9687 virtual void ReportFailure(FailureType type, const char* file, int line, in ReportFailure()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-all.cc10672 virtual void ReportFailure(FailureType type, const char* file, int line, in ReportFailure()
/external/fmtlib/test/gmock/
Dgmock.h720 enum FailureType {
727 virtual void ReportFailure(FailureType type, const char* file, int line,

12