/cts/tests/tests/location/src/android/location/cts/ |
D | SoftAssert.java | 57 String errorMessage = ""; in assertTrue() local 59 errorMessage = "At time = " + eventTimeInNs + " ns, "; in assertTrue() 61 errorMessage += message + in assertTrue() 64 Log.e(mTag, errorMessage); in assertTrue() 65 mErrorList.add(errorMessage); in assertTrue() 137 String errorMessage = "(Test: FAIL) " + message; in assertOrWarnTrue() local 138 Log.i(mTag, errorMessage); in assertOrWarnTrue() 140 mErrorList.add(errorMessage); in assertOrWarnTrue() 142 failAsWarning(mTag, errorMessage); in assertOrWarnTrue()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleVerifier.java | 56 final String errorMessage = errorDuringTransition(activityClass, "launch"); in assertLaunchSequence() local 64 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertLaunchSequence() 94 final String errorMessage = errorDuringTransition(launchingActivity, "launch"); in assertLaunchSequence() local 117 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertLaunchSequence() 131 final String errorMessage = errorDuringTransition(activityClass, "launch and stop"); in assertLaunchAndStopSequence() local 145 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertLaunchAndStopSequence() 153 final String errorMessage = errorDuringTransition(activityClass, "launch and pause"); in assertLaunchAndPauseSequence() local 157 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertLaunchAndPauseSequence() 165 final String errorMessage = errorDuringTransition(activityClass, "restart"); in assertRestartSequence() local 169 assertEquals(errorMessage, expectedTransitions, observedTransitions); in assertRestartSequence() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PositionTesterContextMenuListener.java | 35 private String errorMessage; field in PositionTesterContextMenuListener 54 errorMessage = null; in onCreateContextMenu() 94 errorMessage = String.format(message + " (%d vs %d", expected, actual); in areEqual() 102 errorMessage = message; in isTrue() 109 return errorMessage; in getErrorMessage()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | ExternalSourcesTest.kt | 55 private fun assertUiObject(errorMessage: String, selector: BySelector) { in assertUiObject() 56 assertNotNull(errorMessage, uiDevice.wait(Until.findObject(selector), TIMEOUT)) in assertUiObject() 59 private fun assertInstallAllowed(errorMessage: String) { in assertInstallAllowed() 60 assertUiObject(errorMessage, By.res(PACKAGE_INSTALLER_PACKAGE_NAME, in assertInstallAllowed() 65 private fun assertInstallBlocked(errorMessage: String) { in assertInstallBlocked() 66 assertUiObject(errorMessage, By.res(ALERT_DIALOG_TITLE_ID)) in assertInstallBlocked()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
D | TestIlogb.java | 90 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloatInt() local 91 boolean valid = errorMessage == null; in verifyResultsIlogbFloatInt() 101 message.append(errorMessage); in verifyResultsIlogbFloatInt() 154 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloat2Int2() local 155 boolean valid = errorMessage == null; in verifyResultsIlogbFloat2Int2() 165 message.append(errorMessage); in verifyResultsIlogbFloat2Int2() 218 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloat3Int3() local 219 boolean valid = errorMessage == null; in verifyResultsIlogbFloat3Int3() 229 message.append(errorMessage); in verifyResultsIlogbFloat3Int3() 282 String errorMessage = CoreMathVerifier.verifyIlogb(args); in verifyResultsIlogbFloat4Int4() local [all …]
|
D | TestRemquo.java | 111 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloatFloatIntFloat() local 112 boolean valid = errorMessage == null; in verifyResultsRemquoFloatFloatIntFloat() 128 message.append(errorMessage); in verifyResultsRemquoFloatFloatIntFloat() 200 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloat2Float2Int2Float2() local 201 boolean valid = errorMessage == null; in verifyResultsRemquoFloat2Float2Int2Float2() 217 message.append(errorMessage); in verifyResultsRemquoFloat2Float2Int2Float2() 289 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloat3Float3Int3Float3() local 290 boolean valid = errorMessage == null; in verifyResultsRemquoFloat3Float3Int3Float3() 306 message.append(errorMessage); in verifyResultsRemquoFloat3Float3Int3Float3() 378 String errorMessage = CoreMathVerifier.verifyRemquo(args, target); in verifyResultsRemquoFloat4Float4Int4Float4() local [all …]
|
D | TestNativeExpm1.java | 388 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1HalfHalf() local 389 boolean valid = errorMessage == null; in verifyResultsNativeExpm1HalfHalf() 403 message.append(errorMessage); in verifyResultsNativeExpm1HalfHalf() 459 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1Half2Half2() local 460 boolean valid = errorMessage == null; in verifyResultsNativeExpm1Half2Half2() 474 message.append(errorMessage); in verifyResultsNativeExpm1Half2Half2() 530 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1Half3Half3() local 531 boolean valid = errorMessage == null; in verifyResultsNativeExpm1Half3Half3() 545 message.append(errorMessage); in verifyResultsNativeExpm1Half3Half3() 601 String errorMessage = CoreMathVerifier.verifyNativeExpm1(args, target); in verifyResultsNativeExpm1Half4Half4() local [all …]
|
D | TestNativeTanpi.java | 388 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalfHalf() local 389 boolean valid = errorMessage == null; in verifyResultsNativeTanpiHalfHalf() 403 message.append(errorMessage); in verifyResultsNativeTanpiHalfHalf() 459 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalf2Half2() local 460 boolean valid = errorMessage == null; in verifyResultsNativeTanpiHalf2Half2() 474 message.append(errorMessage); in verifyResultsNativeTanpiHalf2Half2() 530 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalf3Half3() local 531 boolean valid = errorMessage == null; in verifyResultsNativeTanpiHalf3Half3() 545 message.append(errorMessage); in verifyResultsNativeTanpiHalf3Half3() 601 String errorMessage = CoreMathVerifier.verifyNativeTanpi(args, target); in verifyResultsNativeTanpiHalf4Half4() local [all …]
|
D | TestNativeTan.java | 388 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalfHalf() local 389 boolean valid = errorMessage == null; in verifyResultsNativeTanHalfHalf() 403 message.append(errorMessage); in verifyResultsNativeTanHalfHalf() 459 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalf2Half2() local 460 boolean valid = errorMessage == null; in verifyResultsNativeTanHalf2Half2() 474 message.append(errorMessage); in verifyResultsNativeTanHalf2Half2() 530 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalf3Half3() local 531 boolean valid = errorMessage == null; in verifyResultsNativeTanHalf3Half3() 545 message.append(errorMessage); in verifyResultsNativeTanHalf3Half3() 601 String errorMessage = CoreMathVerifier.verifyNativeTan(args, target); in verifyResultsNativeTanHalf4Half4() local [all …]
|
D | TestLgamma.java | 395 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloatIntFloat() local 396 boolean valid = errorMessage == null; in verifyResultsLgammaFloatIntFloat() 409 message.append(errorMessage); in verifyResultsLgammaFloatIntFloat() 473 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloat2Int2Float2() local 474 boolean valid = errorMessage == null; in verifyResultsLgammaFloat2Int2Float2() 487 message.append(errorMessage); in verifyResultsLgammaFloat2Int2Float2() 551 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloat3Int3Float3() local 552 boolean valid = errorMessage == null; in verifyResultsLgammaFloat3Int3Float3() 565 message.append(errorMessage); in verifyResultsLgammaFloat3Int3Float3() 629 String errorMessage = CoreMathVerifier.verifyLgamma(args, target); in verifyResultsLgammaFloat4Int4Float4() local [all …]
|
/cts/hostsidetests/appsecurity/test-apps/PermissionPolicy25/src/com/android/cts/permission/policy/ |
D | PermissionPolicyTest25.java | 41 String errorMessage = null; in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions() local 51 errorMessage += "\nCannot add protection flags: " in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions() 56 errorMessage += "\nCannot add protection flags: " in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions() 61 if (errorMessage != null) { in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions() 62 fail(errorMessage); in testNoProtectionFlagsAddedToNonSignatureProtectionPermissions()
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 136 StringBuilder errorMessage = new StringBuilder("========== Multiple Failures =========="); in extractException() local 138 errorMessage.append("\n\n=== "). append(failureEntry.getKey()).append(" ===\n"); in extractException() 140 errorMessage in extractException() 147 errorMessage.append("\n at ").append(e); in extractException() 150 errorMessage.append("\n=======================================\n\n"); in extractException() 151 return new AssertionError(errorMessage.toString()); in extractException()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 136 StringBuilder errorMessage = new StringBuilder("========== Multiple Failures =========="); in extractException() local 138 errorMessage.append("\n\n=== "). append(failureEntry.getKey()).append(" ===\n"); in extractException() 140 errorMessage in extractException() 147 errorMessage.append("\n at ").append(e); in extractException() 150 errorMessage.append("\n=======================================\n\n"); in extractException() 151 return new AssertionError(errorMessage.toString()); in extractException()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | PrintingPolicyTest.java | 32 final String errorMessage = activity.getErrorMessage(); in testPrintingPolicy() local 33 assertNull(errorMessage); in testPrintingPolicy()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | TestResultObserver.java | 33 public void notifyFailure(FailureType type, String name, String errorMessage) { in notifyFailure() argument 42 mErrorString.append(errorMessage); in notifyFailure()
|
/cts/tests/tests/packageinstaller/nopermission/src/android.packageinstaller.nopermission.cts/ |
D | NoPermissionTests.kt | 138 private fun assertInstallSucceeded(errorMessage: String) { in <lambda>() 140 assertTrue(errorMessage, uiDevice.wait(Until.hasObject(selector), WAIT_FOR_UI_TIMEOUT)) in <lambda>() 144 private fun assertInstallFailed(errorMessage: String) { in <lambda>() 146 assertFalse(errorMessage, uiDevice.wait(Until.hasObject(selector), WAIT_FOR_UI_TIMEOUT)) in <lambda>()
|
/cts/hostsidetests/rollback/src/com/android/cts/rollback/host/ |
D | RollbackManagerHostTest.java | 77 final String errorMessage = getDevice().uninstallPackage(SHIM_APEX_PACKAGE_NAME); in uninstallShimApexIfNecessary() local 78 if (errorMessage != null) { in uninstallShimApexIfNecessary()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ResultObserver.java | 29 void notifyFailure(FailureType type, String name, String errorMessage); in notifyFailure() argument
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 604 std::string errorMessage; in acquireLicense() local 612 errorMessage.assign("getKeyRequest failed, error = %d"); in acquireLicense() 618 errorMessage.assign("Invalid key request size, error = %d"); in acquireLicense() 624 errorMessage.assign("Invalid key request data is returned, error = %d"); in acquireLicense() 640 errorMessage.assign("provideKeyResponse failed, error = %d"); in acquireLicense() 644 jniThrowExceptionFmt(env, "java/lang/RuntimeException", errorMessage.c_str(), status); in acquireLicense()
|
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/ |
D | StagedInstallTest.java | 306 final String errorMessage = getDevice().uninstallPackage(SHIM_APEX_PACKAGE_NAME); in uninstallShimApexIfNecessary() local 308 if (errorMessage != null) { in uninstallShimApexIfNecessary()
|
/cts/tests/tests/packageinstaller/atomicinstall/src/com/android/tests/atomicinstall/ |
D | AtomicInstallTest.java | 356 private static void assertStatusFailure(Intent result, String errorMessage) { in assertStatusFailure() argument 365 if (message == null || !message.contains(errorMessage)) { in assertStatusFailure()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | InstallUpdateTest.java | 154 public void onInstallUpdateError(int errorCode, String errorMessage) { in assertUpdateError() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | IntentFiltersTestHelper.java | 397 ActivityInfo expectedForwarderActivityInfo, String errorMessage, boolean canResolve) { in checkIntentForwarding() argument 402 Log.e(TAG, intent + " " + errorMessage); in checkIntentForwarding()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 456 String errorMessage = null; in assertNotification() local 458 errorMessage = null; in assertNotification() 469 errorMessage = String.format("Wrong title for notification #%d: " in assertNotification() 471 Log.w(TAG, errorMessage); in assertNotification() 481 if (errorMessage != null) { in assertNotification() 482 fail(errorMessage); in assertNotification()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 678 String errorMessage) throws DeviceNotAvailableException { in setDeviceAdminExpectingFailure() argument 680 if (!commandOutput.contains(errorMessage)) { in setDeviceAdminExpectingFailure() 681 fail(commandOutput + " expected to contain \"" + errorMessage + "\""); in setDeviceAdminExpectingFailure()
|