OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RetryableException
(Results
1 - 25
of
29
) sorted by null
1
2
/cts/common/device-side/util/src/com/android/compatibility/common/util/
RetryableException.java
24
public class
RetryableException
extends RuntimeException {
29
public
RetryableException
(String msg) {
33
public
RetryableException
(String format, Object...args) {
37
public
RetryableException
(Throwable cause, String format, Object...args) {
41
public
RetryableException
(@Nullable Timeout timeout, String msg) {
46
public
RetryableException
(@Nullable Timeout timeout, String format, Object...args) {
51
public
RetryableException
(@Nullable Timeout timeout, Throwable cause, String format,
RetryRule.java
26
* Custom JUnit4 rule that retry tests when they fail due to a {@link
RetryableException
}.
34
* Retries the underlying test when it catches a {@link
RetryableException
}.
72
} catch (
RetryableException
e) {
OneTimeDeviceConfigListener.java
78
throw new
RetryableException
(
OneTimeSettingsListener.java
82
throw new
RetryableException
(
Timeout.java
132
* @throws
RetryableException
if all attempts failed.
150
* @throws
RetryableException
if all attempts failed.
189
throw new
RetryableException
(this, description);
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
RetryableException.java
24
public class
RetryableException
extends RuntimeException {
29
public
RetryableException
(String msg) {
33
public
RetryableException
(String format, Object...args) {
37
public
RetryableException
(Throwable cause, String format, Object...args) {
41
public
RetryableException
(@Nullable Timeout timeout, String msg) {
46
public
RetryableException
(@Nullable Timeout timeout, String format, Object...args) {
51
public
RetryableException
(@Nullable Timeout timeout, Throwable cause, String format,
RetryRule.java
26
* Custom JUnit4 rule that retry tests when they fail due to a {@link
RetryableException
}.
34
* Retries the underlying test when it catches a {@link
RetryableException
}.
72
} catch (
RetryableException
e) {
OneTimeDeviceConfigListener.java
78
throw new
RetryableException
(
OneTimeSettingsListener.java
82
throw new
RetryableException
(
Timeout.java
132
* @throws
RetryableException
if all attempts failed.
150
* @throws
RetryableException
if all attempts failed.
189
throw new
RetryableException
(this, description);
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/
RetryRuleTest.java
39
private static final
RetryableException
sRetryableException =
40
new
RetryableException
("Y U NO RETRY?");
76
rule.apply(new RetryableStatement<
RetryableException
>(1, sRetryableException), mDescription)
83
final
RetryableException
exception = new
RetryableException
(timeout, "Y U NO?");
86
rule.apply(new RetryableStatement<
RetryableException
>(1, exception), mDescription)
97
final
RetryableException
actualException = expectThrows(
RetryableException
.class,
98
() -> rule.apply(new RetryableStatement<
RetryableException
>(2, sRetryableException),
115
final
RetryableException
exception = new RetryableException("Y U NO?")
[
all
...]
TimeoutTest.java
124
final
RetryableException
e = expectThrows(
RetryableException
.class,
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/
RetryRuleTest.java
39
private static final
RetryableException
sRetryableException =
40
new
RetryableException
("Y U NO RETRY?");
76
rule.apply(new RetryableStatement<
RetryableException
>(1, sRetryableException), mDescription)
83
final
RetryableException
exception = new
RetryableException
(timeout, "Y U NO?");
86
rule.apply(new RetryableStatement<
RetryableException
>(1, exception), mDescription)
97
final
RetryableException
actualException = expectThrows(
RetryableException
.class,
98
() -> rule.apply(new RetryableStatement<
RetryableException
>(2, sRetryableException),
115
final
RetryableException
exception = new RetryableException("Y U NO?")
[
all
...]
TimeoutTest.java
124
final
RetryableException
e = expectThrows(
RetryableException
.class,
/cts/tests/autofillservice/src/android/autofillservice/cts/
MultiWindowEmptyActivity.java
18
import com.android.compatibility.common.util.
RetryableException
;
56
throw new
RetryableException
("New MultiWindowLoginActivity didn't start",
MultiWindowLoginActivity.java
18
import com.android.compatibility.common.util.
RetryableException
;
56
throw new
RetryableException
("New MultiWindowLoginActivity didn't start",
MultipleTimesTextWatcher.java
28
import com.android.compatibility.common.util.
RetryableException
;
69
throw new
RetryableException
(FILL_TIMEOUT, "Timeout (%s ms) on EditText %s",
MyDrawable.java
24
import com.android.compatibility.common.util.
RetryableException
;
56
throw new
RetryableException
(Timeouts.FILL_TIMEOUT, "custom drawable not drawn");
AbstractAutoFillActivity.java
32
import com.android.compatibility.common.util.
RetryableException
;
67
throw new
RetryableException
("action on UI thread timed out after %d ms",
136
throw new
RetryableException
(timeout, "activity %s not destroyed", this);
WebViewMultiScreenLoginActivity.java
30
import com.android.compatibility.common.util.
RetryableException
;
108
throw new
RetryableException
(WEBVIEW_TIMEOUT, "WebView not loaded");
133
throw new
RetryableException
(WEBVIEW_TIMEOUT, "Password page not loaded");
MyWebView.java
29
import com.android.compatibility.common.util.
RetryableException
;
111
throw new
RetryableException
(FILL_TIMEOUT, "%s not called", field);
MyAutofillCallback.java
31
import com.android.compatibility.common.util.
RetryableException
;
83
throw new
RetryableException
(CONNECTION_TIMEOUT, "no event");
WebViewActivity.java
34
import com.android.compatibility.common.util.
RetryableException
;
120
throw new
RetryableException
(WEBVIEW_TIMEOUT, "WebView not loaded");
DisableAutofillTest.java
28
import com.android.compatibility.common.util.
RetryableException
;
330
throw new
RetryableException
("took longer than expcted to launch activities: "
GridActivity.java
25
import com.android.compatibility.common.util.
RetryableException
;
144
throw new
RetryableException
("text not set in " + timeoutMs + "ms");
Completed in 1059 milliseconds
1
2