Home
last modified time | relevance | path

Searched refs:MESSAGE (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/car/src/android/car/cts/
DExceptionsTest.java33 private static final String MESSAGE = "Oops!"; field in ExceptionsTest
42 exception = new CarNotConnectedException(MESSAGE); in testCarNotConnectedException()
43 assertThat(exception.getMessage()).isEqualTo(MESSAGE); in testCarNotConnectedException()
46 exception = new CarNotConnectedException(MESSAGE, CAUSE); in testCarNotConnectedException()
47 assertThat(exception.getMessage()).isEqualTo(MESSAGE); in testCarNotConnectedException()
/cts/tests/app/src/android/app/cts/
DProgressDialogTest.java39 private final CharSequence MESSAGE = "message"; field in ProgressDialogTest
96 ProgressDialog.show(mContext, TITLE, MESSAGE); in testShow1()
101 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, false); in testShow2()
109 dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true); in testShow2()
123 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, false); in testShow3()
137 ProgressDialog dialog = ProgressDialog.show(mContext, TITLE, MESSAGE, true, true); in testShow3()
159 mContext, TITLE, MESSAGE, true, false, cL); in testShow4()
173 mContext, TITLE, MESSAGE, true, true, cL); in testShow4()
192 progressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE); in testAccessMax()
208 progressDialog = ProgressDialog.show(mContext, TITLE, MESSAGE); in testAccessProgress()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DResources_NotFoundExceptionTest.java54 final String MESSAGE = "test"; in testNotFoundException() local
56 ne = new NotFoundException(MESSAGE); in testNotFoundException()
63 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException()
73 ne = new NotFoundException(MESSAGE, CAUSE); in testNotFoundException()
80 assertEquals(MESSAGE, e.getMessage()); in testNotFoundException()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DContentTest.java46 private static final String MESSAGE = "Sample Message"; field in ContentTest
87 Uri uri = getUriWithTextInFile("reading_test", MESSAGE); in testReceiverCanRead()
95 assertEquals(MESSAGE, result.getStringExtra("extra_response")); in testReceiverCanRead()
111 intent.putExtra("extra_message", MESSAGE); in testReceiverCanWrite()
116 assertEquals(MESSAGE, getFirstLineFromUri(uri)); in testReceiverCanWrite()
120 Uri uri = getUriWithTextInFile("persistable_test", MESSAGE); in testPersistablePermission()
129 assertEquals(MESSAGE, result.getStringExtra("extra_response")); in testPersistablePermission()
/cts/tests/tests/os/src/android/os/cts/
DTestClass.java21 public static final String MESSAGE = "WRONG_FIELD"; field in TestClass
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DProvisioningTest.kt86 val exception = ProvisioningException(CAUSE, PROVISIONING_ERROR, MESSAGE) in <lambda>()
90 assertThat(exception.message).isEqualTo(MESSAGE) in <lambda>()
1522 private const val MESSAGE = "test failure message" in <lambda>() constant
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt6000 field public static final String EXTRA_MESSAGE = "android.hardware.location.extra.MESSAGE";
Dcurrent.txt35390 field public static final String EXTRA_MESSAGE = "android.intent.extra.alarm.MESSAGE";