Home
last modified time | relevance | path

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

/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DCtsAugmentedAutofillService.java125 addException("onConnected() without a watcher"); in onConnected()
130 addException("onConnected(): already created: %s", sServiceWatcher); in onConnected()
143 addException("No AutofillManager on application context on onConnected()"); in onConnected()
149 addException("already connected: %s", mConnectedLatch); in onConnected()
159 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
164 addException("onDisconnected() without a watcher"); in onDisconnected()
168 addException("onDisconnected(): no service on %s", sServiceWatcher); in onDisconnected()
232 private static void addException(@NonNull String fmt, @Nullable Object...args) { in addException() method
235 sAugmentedReplier.addException(new IllegalStateException(msg)); in addException()
289 private void addException(@Nullable Throwable e) { in addException() method in AugmentedReplier
[all …]
DInstrumentedAutoFillService.java202 sReplier.addException(new IllegalStateException("onConnected() called again")); in onConnected()
213 sReplier.addException( in onDisconnected()
231 sReplier.addException( in onFillRequest()
254 sReplier.addException( in onSaveRequest()
483 private void addException(@Nullable Throwable e) { in addException() method in Replier
647 addException(e); in onFillRequest()
676 addException(new IllegalStateException("got unexpected request")); in onFillRequest()
722 addException(t); in onFillRequest()
/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/contentcaptureservice/src/android/contentcaptureservice/cts/
DCtsContentCaptureService.java210 addException("onConnected() without a watcher"); in onConnected()
215 addException("onConnected(): already created: %s", sServiceWatcher); in onConnected()
224 addException("already connected: %s", mConnectedLatch); in onConnected()
234 addException("already disconnected: %s", mConnectedLatch); in onDisconnected()
239 addException("onDisconnected() without a watcher"); in onDisconnected()
243 addException("onDisconnected(): no service on %s", sServiceWatcher); in onDisconnected()
516 private static void addException(@NonNull String fmt, @Nullable Object...args) { in addException() method in CtsContentCaptureService
663 addException("DisconnectListener: onDisconnected() not called: " + e); in waitForOnDisconnected()
/cts/tests/translation/src/android/translation/cts/
DCtsTranslationService.java196 private void addException(@Nullable Throwable e) { in addException() method in CtsTranslationService.TranslationReplier
285 addException(e); in handleOnTranslationRequest()
299 addException(t); in handleOnTranslationRequest()
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DProcessor.java790 methodBuilder.addException(ClassName.get(thrownType)); in generateFrameworkInterface()
845 methodBuilder.addException(ClassName.get(thrownType)); in generateDpmParent()
938 methodBuilder.addException(ClassName.get(thrownType)); in generateFrameworkImpl()
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/
DProcessor.java269 methodBuilder.addException(ClassName.get(m)); in generateRemoteFrameworkClassWrapper()
405 methodBuilder.addException(ClassName.get(m)); in generateDpmParentWrapper()
552 methodBuilder.addException(ClassName.get(m)); in generateTargetedRemoteActivityWrapper()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DApiComplianceCheckerTest.java107 constructor.addException("android.signature.cts.tests.data.NormalException"); in testConstructorThrowsException()
182 method.addException("android.signature.cts.tests.data.NormalException"); in testThrowsMethod()
/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/util-axt/src/com/android/compatibility/common/util/
DBaseDefaultPermissionGrantPolicyTest.java320 public void addException(DefaultPermissionGrantException exception, in addException() method in BaseDefaultPermissionGrantPolicyTest
447 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()