Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 49) sorted by relevance

12

/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java307 public void addError(Test test, Throwable t) {}
310 public void addFailure(Test test, AssertionFailedError t) {}
477 public void addError(Test test, Throwable t) {
478 Log.e(LOG_TAG, "Caught exception from a test", t);
480 if ((t instanceof AuptTerminator)) {
481 throw (AuptTerminator)t;
501 throw new AuptTerminator(t.getMessage(), t);
505 public void addFailure(Test test, AssertionFailedError t) {
507 throw new AuptTerminator(t.getMessage(), t);
597 for (Thread t : stacks.keySet()) {
[all …]
DDexTestRunner.java276 void onError(Test test, Throwable t) { in onError() argument
277 if (t instanceof AssertionFailedError) { in onError()
279 listener.addFailure(test, (AssertionFailedError) t); in onError()
283 listener.addError(test, t); in onError()
DDataCollector.java125 Long t = SystemClock.uptimeMillis() - mLastUpdate.get(entry.getKey()); in loop() local
127 if (entry.getValue() > 0 && t >= entry.getValue()) { in loop()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DCrashDetector.java54 } catch (Throwable t) { in apply()
55 detectCrash(t); in apply()
56 throw t; in apply()
DFailureWatcher.java45 } catch (Throwable t) { in apply()
48 throw new AssertionError(systemAnomalyMessage, t); in apply()
50 throw t; in apply()
DSystemHealthRule.java46 } catch (Throwable t) { in apply()
47 tryRethrowingWithSystemHealth(t); in apply()
48 throw t; in apply()
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DBusinessLogicExecutor.java85 Throwable t = e.getCause(); in executeAction()
86 if (AssumptionViolatedException.class.isInstance(t)) { in executeAction()
89 throw (AssumptionViolatedException) t; in executeAction()
91 RuntimeException re = new RuntimeException(t.getMessage(), t.getCause()); in executeAction()
92 re.setStackTrace(t.getStackTrace()); in executeAction()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/exceptions/
DMappedMultiException.java40 private String stackTraceToString(Throwable t) { in stackTraceToString() argument
42 t.printStackTrace(new PrintWriter(stringWriter)); in stackTraceToString()
/platform_testing/tools/automotive/proxy/
Dproxy.cpp162 std::thread t(handleConnection, client_sock, fwd_cid, fwd_port); in setupRoute() local
163 t.detach(); in setupRoute()
186 for(auto& t: routeThreads) { in main() local
187 t.join(); in main()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java288 private TestHelperException wrapThrowable(String message, Throwable t) { in wrapThrowable() argument
289 Throwable causeIfPresent = getCauseIfPresent(t); in wrapThrowable()
300 private Throwable getCauseIfPresent(Throwable t) { in getCauseIfPresent() argument
301 return t.getCause() == null ? t : t.getCause(); in getCauseIfPresent()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt72 } catch (t: Throwable) { in <lambda>()
74 ExceptionType::class.java.isInstance(t) -> return t as ExceptionType in <lambda>()
75 t is Exception -> in <lambda>()
78 t in <lambda>()
81 else -> throw t in <lambda>()
/platform_testing/libraries/health/
DOWNERS8 # Don't send reviews here.
/platform_testing/libraries/health/runners/longevity/
DOWNERS9 # Don't send reviews here.
/platform_testing/tests/health/scenarios/
DOWNERS9 # Don't send reviews here.
/platform_testing/libraries/health/composers/
DOWNERS9 # Don't send reviews here.
/platform_testing/tests/apphealth/scenarios/
DOWNERS9 # Don't send reviews here.
/platform_testing/libraries/health/runners/microbenchmark/
DOWNERS10 # Don't send reviews here.
/platform_testing/libraries/health/utils/
DOWNERS9 # Don't send reviews here.
/platform_testing/libraries/health/utils/src/android/platform/test/util/
DHealthTestingUtils.java134 } catch (Throwable t) {
135 throw new RuntimeException(t);
/platform_testing/libraries/flag-helpers/junit/src_base/android/platform/test/flag/junit/
DSetFlagsRule.java222 } catch (Throwable t) { in apply()
223 throwable = t; in apply()
228 } catch (Throwable t) { in apply()
230 t.addSuppressed(throwable); in apply()
232 throwable = t; in apply()
238 } catch (Throwable t) { in apply()
240 t.addSuppressed(throwable); in apply()
242 throwable = t; in apply()
919 } catch (Throwable t) {
920 throwable = t;
[all …]
/platform_testing/libraries/health/rules/
DOWNERS9 # Don't send reviews here.
/platform_testing/libraries/flicker/src/android/tools/flicker/config/
DTransitionFilters.kt34 ts.filter { t -> in <lambda>() method
35 t.changes.any { in <lambda>()
47 ts.filter { t -> in <lambda>() method
48 t.changes.any { it.transitMode == TransitionType.CLOSE || it.transitMode == TO_BACK } && in <lambda>()
49 t.changes.any { change -> in <lambda>()
/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DWaitUtils.kt128 } catch (t: Throwable) { in waitToBecomeTrue()
130 return WaitReport(WaitResult.WaitThrown(t), i) in waitToBecomeTrue()
219 } catch (t: Throwable) { in waitForNullableValueToSettle()
224 throw RuntimeException(t) in waitForNullableValueToSettle()
/platform_testing/libraries/audio-test-harness/server/src/test/java/com/android/media/audiotestharness/server/service/
DStreamObserverOutputStreamFactoryTests.java71 public void onError(Throwable t) {} in createNewCaptureChunkStreamObserverOutputStream_returnsNonNullInstance()
/platform_testing/libraries/audio-test-harness/client-lib/src/main/java/com/android/media/audiotestharness/client/grpc/
DGrpcAudioCaptureStream.java311 public void onError(Throwable t) { in onError() argument
313 mOnErrorCallback.accept(t); in onError()
314 LOGGER.log(Level.WARNING, "onError called: ", t); in onError()

12