Searched refs:clazz1 (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticConstantsTest.java | 52 private static void logClasses(Class<?> clazz1, Class<?> clazz2) { in logClasses() argument 53 Log.d(TAG, "MismatchException. class1: " + dumpClass(clazz1)); in logClasses() 61 static MismatchException fieldValueMismatch(Class<?> clazz1, Class<?> clazz2, String name, in fieldValueMismatch() argument 63 logClasses(clazz1, clazz2); in fieldValueMismatch() 64 return new MismatchException("In comparison of " + clazz1 + " and " + clazz2 + in fieldValueMismatch() 68 static MismatchException fieldsOnlyInClass1(Class<?> clazz1, Class<?> clazz2, in fieldsOnlyInClass1() argument 70 logClasses(clazz1, clazz2); in fieldsOnlyInClass1() 71 return new MismatchException("In comparison of " + clazz1 + " and " + clazz2 + in fieldsOnlyInClass1() 77 static MismatchException fieldOnlyInClass2(Class<?> clazz1, Class<?> clazz2, String field) { in fieldOnlyInClass2() argument 78 logClasses(clazz1, clazz2); in fieldOnlyInClass2() [all …]
|
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/ |
D | FailableResultSyncCallbackTestCase.java | 45 Class<?> clazz1 = getClassOfDifferentFailure(); in testNewFailureAndGetClassOfDifferentFailure() local 46 expect.withMessage("1st call to getClassOfdifferentFailure()").that(clazz1).isNotNull(); in testNewFailureAndGetClassOfDifferentFailure() 52 .isSameInstanceAs(clazz1); in testNewFailureAndGetClassOfDifferentFailure() 56 expect.withMessage("1st failure").that(failure1).isNotInstanceOf(clazz1); in testNewFailureAndGetClassOfDifferentFailure() 61 expect.withMessage("2nd failure").that(failure2).isNotInstanceOf(clazz1); in testNewFailureAndGetClassOfDifferentFailure()
|