Home
last modified time | relevance | path

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

123456

/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/
DLogcat.java23 import com.android.bedstead.nene.exceptions.AdbException;
24 import com.android.bedstead.nene.exceptions.NeneException;
111 List<SystemServerException> exceptions = findSystemServerExceptions(t); in findSystemServerException() local
112 if (exceptions.isEmpty()) { in findSystemServerException()
115 return exceptions.get(exceptions.size() - 1); in findSystemServerException()
127 List<SystemServerException> exceptions = new ArrayList<>(); in findSystemServerExceptions() local
162 exceptions.add(extractStackTraceFromStrings( in findSystemServerExceptions()
170 return exceptions; in findSystemServerExceptions()
174 return exceptions; in findSystemServerExceptions()
/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/nene/src/main/java/com/android/bedstead/nene/broadcasts/
DAdbActivitiesParser.kt19 import com.android.bedstead.nene.exceptions.AdbParseException
20 import com.android.bedstead.nene.exceptions.NeneException
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DMethodSignature.java54 Set<TypeMirror> exceptions = method.getThrownTypes() in forMethod() local
60 method.getSimpleName().toString(), parameters, exceptions); in forMethod()
127 Set<TypeMirror> exceptions = new HashSet<>(); in forApiString() local
129 exceptions = Arrays.stream(string.split("throws ", 2)[1].split(",")) in forApiString()
136 return new MethodSignature(visibility, returnType, methodName, parameters, exceptions); in forApiString()
209 List<TypeMirror> parameterTypes, Set<TypeMirror> exceptions) { in MethodSignature() argument
216 mExceptions = ImmutableSet.copyOf(exceptions.stream().map(TypeMirror::toString).collect( in MethodSignature()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdViewTest.java144 final Throwable[] exceptions = new Throwable[1]; in runTestOnUiThread() local
150 exceptions[0] = throwable; in runTestOnUiThread()
154 if (exceptions[0] != null) { in runTestOnUiThread()
155 throw exceptions[0]; in runTestOnUiThread()
/cts/tests/autofillservice/src/android/autofillservice/cts/credman/
DCtsCredentialProviderService.java26 import androidx.credentials.exceptions.ClearCredentialException;
27 import androidx.credentials.exceptions.CreateCredentialException;
28 import androidx.credentials.exceptions.GetCredentialException;
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppViewTest.java87 final Throwable[] exceptions = new Throwable[1]; in runTestOnUiThread() local
93 exceptions[0] = throwable; in runTestOnUiThread()
97 if (exceptions[0] != null) { in runTestOnUiThread()
98 throw exceptions[0]; in runTestOnUiThread()
DTvInteractiveAppManagerTest.java115 final Throwable[] exceptions = new Throwable[1]; in runTestOnUiThread() local
121 exceptions[0] = throwable; in runTestOnUiThread()
125 if (exceptions[0] != null) { in runTestOnUiThread()
126 throw exceptions[0]; in runTestOnUiThread()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DRetry.java21 import com.android.bedstead.nene.exceptions.NeneException;
22 import com.android.bedstead.nene.exceptions.PollValueFailedException;
DMatchHelper.kt18 import com.android.bedstead.nene.exceptions.AdbParseException in <lambda>()
/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/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/exceptions/
DRestartTestException.java17 package com.android.bedstead.harrier.exceptions;
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/
DEventLogs.java26 import com.android.bedstead.nene.exceptions.NeneException;
27 import com.android.bedstead.nene.exceptions.PollValueFailedException;
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/content/
DSuggestions.kt21 import com.android.bedstead.nene.exceptions.AdbException in <lambda>()
22 import com.android.bedstead.nene.exceptions.NeneException in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DAdbPackageParser.java22 import com.android.bedstead.nene.exceptions.AdbParseException;
DComponentReference.java24 import com.android.bedstead.nene.exceptions.AdbException;
25 import com.android.bedstead.nene.exceptions.NeneException;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/devicepolicy/
DAdbDevicePolicyParser.java22 import com.android.bedstead.nene.exceptions.AdbParseException;
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/
DNotifications.kt23 import com.android.bedstead.nene.exceptions.AdbException in <lambda>()
24 import com.android.bedstead.nene.exceptions.NeneException in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/telecom/
DTelecom.kt19 import com.android.bedstead.nene.exceptions.AdbException in <lambda>()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DAdbUserParser.java25 import com.android.bedstead.nene.exceptions.AdbParseException;
/cts/common/device-side/bedstead/modules/multiuser/src/test/kotlin/com/android/bedstead/multiuser/
DMultiUserAnnotationExecutorInternalTest.kt21 import com.android.bedstead.nene.exceptions.NeneException

123456