Home
last modified time | relevance | path

Searched refs:exceptions (Results 1 – 25 of 85) sorted by relevance

1234

/cts/tests/tests/toast/src/android/widget/toast/cts/
DBaseToastTest.java56 Exception[] exceptions = new Exception[1]; in showToastsViaToastApis() local
65 exceptions[0] = e; in showToastsViaToastApis()
68 if (exceptions[0] != null) { in showToastsViaToastApis()
69 throw exceptions[0]; in showToastsViaToastApis()
74 Exception[] exceptions = new Exception[1]; in showToastsViaAddingWindow() local
96 exceptions[0] = e; in showToastsViaAddingWindow()
99 if (exceptions[0] != null) { in showToastsViaAddingWindow()
100 throw exceptions[0]; in showToastsViaAddingWindow()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DParallelSensorOperation.java116 ArrayList<Throwable> exceptions = new ArrayList<>(); in execute() local
126 exceptions.add(e.getCause()); in execute()
140 String summary = getSummaryMessage(exceptions, timeoutIndices); in execute()
144 if (!exceptions.isEmpty() || !timeoutIndices.isEmpty()) { in execute()
177 private String getSummaryMessage(List<Throwable> exceptions, List<Integer> timeoutIndices) { in getSummaryMessage() argument
179 for (Throwable exception : exceptions) { in getSummaryMessage()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DMethodSignature.java51 Set<TypeMirror> exceptions = method.getThrownTypes() in forMethod() local
57 method.getSimpleName().toString(), parameters, exceptions); in forMethod()
118 Set<TypeMirror> exceptions = new HashSet<>(); in forApiString() local
120 exceptions = Arrays.stream(string.split("throws ", 2)[1].split(",")) in forApiString()
127 return new MethodSignature(visibility, returnType, methodName, parameters, exceptions); in forApiString()
186 List<TypeMirror> parameterTypes, Set<TypeMirror> exceptions) { in MethodSignature() argument
193 mExceptions = ImmutableSet.copyOf(exceptions.stream().map(TypeMirror::toString).collect( in MethodSignature()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DRetry.java19 import com.android.bedstead.nene.exceptions.NeneException;
20 import com.android.bedstead.nene.exceptions.PollValueFailedException;
DShellCommand.java22 import com.android.bedstead.nene.exceptions.AdbException;
23 import com.android.bedstead.nene.exceptions.NeneException;
DVoidRetry.java19 import com.android.bedstead.nene.exceptions.NeneException;
/cts/suite/audio_quality/executable/
DAndroid.bp37 "-fno-exceptions",
41 "-fno-exceptions",
/cts/tests/appsearch/src/com/android/cts/appsearch/external/exceptions/
DAppSearchExceptionCtsTest.java17 package android.app.appsearch.cts.exceptions;
22 import android.app.appsearch.exceptions.AppSearchException;
/cts/suite/audio_quality/lib/
DAndroid.bp40 "-fno-exceptions",
46 "-fno-exceptions",
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/exceptions/
DPollValueFailedException.java17 package com.android.bedstead.nene.exceptions;
DNeneException.java17 package com.android.bedstead.nene.exceptions;
DAdbParseException.java17 package com.android.bedstead.nene.exceptions;
/cts/suite/audio_quality/test/
DAndroid.bp42 "-fno-exceptions",
50 "-fno-exceptions",
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DComponentReference.java23 import com.android.bedstead.nene.exceptions.AdbException;
24 import com.android.bedstead.nene.exceptions.NeneException;
DAdbPackageParser.java22 import com.android.bedstead.nene.exceptions.AdbParseException;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DProfileOwner.java26 import com.android.bedstead.nene.exceptions.AdbException;
27 import com.android.bedstead.nene.exceptions.NeneException;
DDeviceOwner.java26 import com.android.bedstead.nene.exceptions.AdbException;
27 import com.android.bedstead.nene.exceptions.NeneException;
DDevicePolicy.java39 import com.android.bedstead.nene.exceptions.AdbException;
40 import com.android.bedstead.nene.exceptions.AdbParseException;
41 import com.android.bedstead.nene.exceptions.NeneException;
241 Class<? extends RuntimeException>... exceptions) { in retryIfNotTerminal() argument
243 new HashSet<>(Arrays.asList(exceptions)); in retryIfNotTerminal()
DAdbDevicePolicyParser.java22 import com.android.bedstead.nene.exceptions.AdbParseException;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/activities/
DActivities.java27 import com.android.bedstead.nene.exceptions.AdbException;
28 import com.android.bedstead.nene.exceptions.NeneException;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserBuilder.java28 import com.android.bedstead.nene.exceptions.AdbException;
29 import com.android.bedstead.nene.exceptions.NeneException;
DAdbUserParser.java24 import com.android.bedstead.nene.exceptions.AdbParseException;
DAdbUserParser31.java24 import com.android.bedstead.nene.exceptions.AdbParseException;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotifications.java29 import com.android.bedstead.nene.exceptions.AdbException;
30 import com.android.bedstead.nene.exceptions.NeneException;
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSafeCleanerRule.java61 public SafeCleanerRule add(@NonNull Callable<List<Throwable>> exceptions) { in add() argument
62 mExtraThrowables.add(exceptions); in add()

1234