Home
last modified time | relevance | path

Searched refs:addException (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierTestWatcher.java221 private static void addException(@NonNull String fmt, @Nullable Object...args) { in addException() method
244 addException("onConnected() without a watcher"); in onConnected()
249 addException("onConnected(): already created: " + sServiceWatcher); in onConnected()
261 addException("onDisconnected() without a watcher"); in onDisconnected()
266 addException("onDisconnected(): no service on %s", sServiceWatcher); in onDisconnected()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCtsAugmentedAutofillService.java138 addException("No AutofillManager on application context on onConnected()"); in onConnected()
205 private static void addException(@NonNull String fmt, @Nullable Object...args) { in addException() method
208 sAugmentedReplier.addException(new IllegalStateException(msg)); in addException()
262 private void addException(@Nullable Throwable e) { in addException() method in AugmentedReplier
350 addException(e); in handleOnFillRequest()
382 addException(t); in handleOnFillRequest()
DInstrumentedAutoFillService.java203 sReplier.addException(new IllegalStateException("onConnected() called again")); in onConnected()
214 sReplier.addException( in onDisconnected()
232 sReplier.addException( in onFillRequest()
258 sReplier.addException( in onSaveRequest()
516 private void addException(@Nullable Throwable e) { in addException() method in Replier
708 addException(e); in onFillRequest()
737 addException(new IllegalStateException("got unexpected request")); in onFillRequest()
789 addException(t); in onFillRequest()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java233 addException("onConnected() without a watcher"); in onConnected()
238 addException("onConnected(): already created: %s", sw); in onConnected()
255 addException("already connected: %s", mConnectedLatch); in onConnected()
266 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
271 addException("onDisconnected() without a watcher"); in onDisconnected()
275 addException("onDisconnected(): no service on %s", sw); in onDisconnected()
561 private static void addException(@NonNull String fmt, @Nullable Object...args) { in addException() method in CtsContentCaptureService
710 addException("DisconnectListener: onDisconnected() not called: " + e); in waitForOnDisconnected()
/cts/tests/translation/src/android/translation/cts/
DCtsTranslationService.java235 private void addException(@Nullable Throwable e) { in addException() method in CtsTranslationService.TranslationReplier
324 addException(e); in handleOnTranslationRequest()
338 addException(t); in handleOnTranslationRequest()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java106 constructor.addException("android.signature.cts.tests.data.NormalException"); in testConstructorThrowsException()
180 method.addException("android.signature.cts.tests.data.NormalException"); in testThrowsMethod()
223 method.addException(CloneNotSupportedException.class.getName()); in testCloneMethod()
233 method.addException(CloneNotSupportedException.class.getName()); in testCloneMethod()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DProcessor.java360 methodBuilder.addException(ClassName.get(thrownType)); in generateFrameworkInterface()
431 methodBuilder.addException(ClassName.get(thrownType)); in generateDpmParent()
569 methodBuilder.addException(ClassName.get(thrownType)); in generateFrameworkImpl()
/cts/tests/signature/lib/common/src/android/signature/cts/
DJDiffClassDescription.java298 public void addException(String exceptionName) { in addException() method in JDiffClassDescription.JDiffMethod
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/
DProcessor.java343 methodBuilder.addException(ClassName.get(m)); in generateRemoteFrameworkClassWrapper()
506 methodBuilder.addException(ClassName.get(m)); in generateDpmParentWrapper()
713 methodBuilder.addException(ClassName.get(m)); in generateTargetedRemoteActivityWrapper()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBaseDefaultPermissionGrantPolicyTest.java331 public void addException(DefaultPermissionGrantException exception, in addException() method in BaseDefaultPermissionGrantPolicyTest
460 addException(dpge, runtimePermNames, packageInfos, platformSignedPackages, in addExceptionsDefaultPermissions()
/cts/tests/signature/lib/android/src/android/signature/cts/
DXmlApiParser.java516 currentMethod.addException(parser.getAttributeValue(null, ATTRIBUTE_TYPE)); in next()