/cts/tests/tests/gameservice/src/android/service/games/testing/ |
D | ActivityResult.java | 33 private final Failure mFailure; 40 Failure failure = in.readParcelable(Failure.class.getClassLoader(), Failure.class); 57 new Failure(t.getClass(), t.getMessage())); in forError() 61 @Nullable Failure failure) { in ActivityResult() 80 public Failure getFailure() { in getFailure() 142 public static final class Failure implements Parcelable { class in ActivityResult 143 public static final Creator<Failure> CREATOR = new Creator<Failure>() { 145 public Failure createFromParcel(Parcel source) { 148 return new Failure(clazz, message); 152 public Failure[] newArray(int size) { [all …]
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ApiPresenceCheckerTest.java | 130 protected static class Failure { class in ApiPresenceCheckerTest 136 public Failure(FailureType type, String name, String errorMessage, Throwable throwable) { in Failure() method in ApiPresenceCheckerTest.Failure 170 private final List<Failure> failures; 179 failures.add(new Failure(type, name, errorMessage, throwable)); in notifyFailure() 187 public abstract void checkFailures(List<Failure> failures); in checkFailures() 193 public void checkFailures(List<Failure> failures) { in checkFailures() 207 public void checkFailures(List<Failure> failures) { in checkFailures() 211 Failure failure = failures.get(0); in checkFailures()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/ |
D | TestArtifactCollector.java | 26 import org.junit.runner.notification.Failure; 72 private ArrayList<Function<Failure, Void>> mPreFailureCallbacks = new ArrayList<>(); 141 public void testFailure(Failure failure) throws Exception { in testFailure() 142 for (Function<Failure, Void> listener : mPreFailureCallbacks) { in testFailure() 177 public static void addFailureListener(Function<Failure, Void> listener) { in addFailureListener() argument
|
/cts/tests/tests/telecom-apps/ManagedConnectionService/src/android/telecom/cts/apps/managedapp/ |
D | ManagedAppControl.java | 126 return new NoDataTransaction(TestAppTransaction.Failure, e); 189 return new CallExceptionTransaction(TestAppTransaction.Failure, e); 202 return new BooleanTransaction(TestAppTransaction.Failure, e); 215 return new NoDataTransaction(TestAppTransaction.Failure, e); 236 TestAppTransaction.Failure, 260 TestAppTransaction.Failure, 291 return new NoDataTransaction(TestAppTransaction.Failure, e); 297 return new NoDataTransaction(TestAppTransaction.Failure, new TestAppException( 307 return new PhoneAccountTransaction(TestAppTransaction.Failure, new TestAppException( 342 return new BooleanTransaction(TestAppTransaction.Failure, [all …]
|
/cts/tests/tests/telecom-apps/ConnectionServiceVoipAppMain/src/android/telecom/cts/apps/connectionservicevoipappmain/ |
D | VoipConnectionServiceControlMain.java | 140 return new NoDataTransaction(TestAppTransaction.Failure, e); 208 return new CallExceptionTransaction(TestAppTransaction.Failure, e); 221 return new BooleanTransaction(TestAppTransaction.Failure, e); 234 return new NoDataTransaction(TestAppTransaction.Failure, e); 259 TestAppTransaction.Failure, 286 TestAppTransaction.Failure, 316 return new NoDataTransaction(TestAppTransaction.Failure, e); 369 return new BooleanTransaction(TestAppTransaction.Failure, e); 383 return new NoDataTransaction(TestAppTransaction.Failure, e);
|
/cts/tests/tests/telecom-apps/TransactionalVoipAppMain/src/android/telecom/cts/apps/transactionalvoipappmain/ |
D | TransactionalVoipAppControlMain.java | 148 return new NoDataTransaction(TestAppTransaction.Failure, e); 220 return new CallExceptionTransaction(TestAppTransaction.Failure, e); 251 return new BooleanTransaction(TestAppTransaction.Failure, e); 259 return new NoDataTransaction(TestAppTransaction.Failure, 285 return new CallEndpointTransaction(TestAppTransaction.Failure, e); 308 return new AvailableEndpointsTransaction(TestAppTransaction.Failure, e); 340 return new NoDataTransaction(TestAppTransaction.Failure, e); 393 return new BooleanTransaction(TestAppTransaction.Failure, e); 407 return new NoDataTransaction(TestAppTransaction.Failure, e);
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadRunListener.java | 28 import org.junit.runner.notification.Failure; 96 public void testFailure(Failure failure) throws Exception { in testFailure() 109 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | SensorCtsTestActivity.java | 40 import org.junit.runner.notification.Failure; 198 public void testFailure(Failure failure) throws Exception { in testFailure() 204 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure()
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/transaction/ |
D | TestAppTransaction.java | 24 Failure; enumConstant
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraPerformanceActivity.java | 40 import org.junit.runner.notification.Failure; 153 public void testFailure(Failure failure) { in testFailure() 181 public void testAssumptionFailure(Failure failure) { in testAssumptionFailure()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 26 import org.junit.runner.notification.Failure; 120 notifier.fireTestFailure(new Failure(child, extractException(result.getFailures()))); in run()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sharesheet/ |
D | SharesheetPayloadToggleActivity.java | 70 mResultIntentSenderInvoked = ResultIntentSenderInvocationStatus.Failure; 179 case Failure: in onNewIntent() 281 Failure enumConstant
|
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/ |
D | AppControlWrapper.java | 329 && transactionResult.getResult().equals(TestAppTransaction.Failure)) { in maybeFailTest()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | SessionParamsPermissionStateTest.kt | 186 override fun toString() = "${name}_${if (success) "Success" else "Failure"}" in <lambda>()
|