Searched defs:message (Results 1 - 25 of 29) sorted by relevance

12

/cts/tools/host/src/com/android/cts/
H A DADBServerNeedRestartException.java24 public ADBServerNeedRestartException(String message) { argument
25 super(message);
H A DDeviceDisconnectedException.java24 public DeviceDisconnectedException(String message) { argument
25 super(message);
H A DCommandNotFoundException.java30 public CommandNotFoundException(String message) { argument
31 super(message);
H A DIllegalTestNameException.java30 public IllegalTestNameException(String message) { argument
31 super(message);
H A DTestPlanNotFoundException.java30 public TestPlanNotFoundException(String message) { argument
31 super(message);
H A DUnknownCommandException.java29 public UnknownCommandException(String message) { argument
30 super(message);
H A DHostUnitTestRunner.java167 protected void runFailed(String message) { argument
168 throw new RuntimeException(message);
/cts/libs/vogar-expect/src/vogar/util/
H A DLog.java35 public static void warn(String message) { argument
37 sLogoutput.warn(message);
44 public static void warn(String message, List<String> list) { argument
46 sLogoutput.warn(message, list);
56 public static void info(String message, Throwable throwable) { argument
58 sLogoutput.info(message, throwable);
H A DLogOutput.java25 void warn(String message); argument
30 void warn(String message, List<String> list); argument
34 void info(String message, Throwable throwable); argument
/cts/tools/dx-tests/src/dxc/junit/
H A DDxAbstractMain.java56 static public void fail(String message) { argument
57 throw new RuntimeException("AssertionFailedError msg:"+message);
/cts/tools/vm-tests/src/dot/junit/
H A DDxAbstractMain.java25 static public void assertEquals(String message, int expected, int actual) { argument
26 if (expected != actual) throw new RuntimeException("AssertionFailedError: not equals: " + message + " Expected " + expected + " actual " + actual);
62 static public void fail(String message) { argument
63 throw new RuntimeException("AssertionFailedError msg:"+message);
/cts/tests/tests/os/src/android/os/cts/
H A DBuildTest.java45 String message = "CPU is ARM v7 compatible, so "
48 assertProperty(message, RO_PRODUCT_CPU_ABI, CpuFeatures.ARMEABI_V7);
49 assertProperty(message, RO_PRODUCT_CPU_ABI2, CpuFeatures.ARMEABI);
50 assertEquals(message, CpuFeatures.ARMEABI_V7, Build.CPU_ABI);
51 assertEquals(message, CpuFeatures.ARMEABI, Build.CPU_ABI2);
53 String message = "CPU is not ARM v7 compatible. "
56 assertProperty(message, RO_PRODUCT_CPU_ABI, CpuFeatures.ARMEABI);
57 assertNoPropertySet(message, RO_PRODUCT_CPU_ABI2);
58 assertEquals(message, CpuFeatures.ARMEABI, Build.CPU_ABI);
59 assertEquals(message, Buil
68 assertProperty(String message, String property, String expected) argument
92 assertNoPropertySet(String message, String property) argument
[all...]
H A DHandlerTest.java36 // time when message should be handled.
39 // time when check whether the message is handled.
138 assertNull(mHandler1.message);
140 assertSame(msg, mHandler1.message);
209 assertNull(mHandler1.message);
217 // Test the obj == p.obj for message
220 assertNull(mHandler1.message);
336 // test remove right message
343 assertNull(mHandler1.message);
347 // test remove wrong message
691 public Message message; field in class:HandlerTest.MockHandler
[all...]
/cts/tools/dasm/src/java_cup/
H A Dlexer.java169 /** Emit an error message. The message will be marked with both the
172 * @param message the message to print.
174 public static void emit_error(String message) argument
177 "): " + message);
183 /** Emit a warning message. The message will be marked with both the
186 * @param message the message t
188 emit_warn(String message) argument
[all...]
H A DMain.java208 /** Print a "usage message" that described possible command line options,
210 * @param message a specific error message to preface the usage message by.
212 protected static void usage(String message) argument
215 System.err.println(message);
438 /* something threw an exception. catch it and emit a message so we
460 /* don't issue a message for EOF */
568 /* if we have more conflicts than we expected issue a message and die */
610 /** Emit a long summary message t
[all...]
H A Dparser.java341 String message,
345 lexer.emit_error(message);
350 public void report_error(String message, Object info) argument
352 lexer.emit_error(message);
480 /* issue a message */
508 /* issue a message */
710 /* if it wasn't declared, emit a message */
340 report_fatal_error( String message, Object info) argument
/cts/tools/dasm/src/dasm/
H A Dparser.java856 public void report_error(String message, Object info) { argument
858 dAsm.report_error("Warning: " + message + "(" + info.toString() + ")");
860 dAsm.report_error("Warning: " + message);
863 public void report_fatal_error(String message, Object info) { argument
865 dAsm.report_error("Error: " + message + "(" + info.toString() + ")");
867 dAsm.report_error("Error: " + message);
/cts/tests/src/android/app/cts/
H A DSearchManagerStubActivity.java179 private void assertFalse(String message, boolean value) throws FailException { argument
180 assertTrue(message, !value);
183 private void assertTrue(String message, boolean value) throws FailException { argument
185 throw new FailException(message);
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
H A DAccessibilityEndToEndTest.java299 String message = activity.getString(R.string.alert_message);
307 windowStateChangedEvent.getText().add(message);
333 String message = activity.getString(R.string.notification_message);
341 notification.tickerText = message;
349 notificationChangedEvent.getText().add(message);
696 String message = "text has incorrect value";
700 TestCase.assertEquals(message, expectedText.size(), receivedText.size());
707 TestCase.assertEquals(message, expectedTextIterator.next().toString(),
757 Message message = Message.obtain(mHandler, DO_ON_ACCESSIBILITY_EVENT, event);
758 mHandler.sendMessage(message);
772 handleMessage(Message message) argument
[all...]
/cts/tests/tests/os/src/android/os/storage/cts/
H A DStorageManagerTest.java115 private static void assertStartsWith(String message, String prefix, String actual) { argument
117 throw new ComparisonFailure(message, prefix, actual);
129 Log.d(TAG, "Received message. path=" + path + ", state=" + state);
/cts/tests/tests/provider/src/android/provider/cts/
H A DContactsContract_TestDataBuilder.java217 public void assertEquals(String message, byte[] expected, byte[] actual) { argument
222 throw new ComparisonFailure(message, expected.toString(), actual.toString());
/cts/tools/dasm/src/java_cup/runtime/
H A Dlr_parser.java86 * <dt> void report_error(String message, Object info)
88 * simply prints a message to System.err and ignores its second parameter.
91 * <dt> void report_fatal_error(String message, Object info)
94 * report_error() to emit a message, then throws an exception.
310 /** Report a fatal error. This method takes a message string and an
315 * @param message an error message.
319 String message,
326 /* use the normal error message reporting to put out the message */
318 report_fatal_error( String message, Object info) argument
344 report_error(String message, Object info) argument
[all...]
/cts/tools/dx-tests/lib/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/extensions/ junit/framework/ junit/runner/ junit/ ...
/cts/tools/utils/lib/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/extensions/ junit/framework/ junit/runner/ junit/ ...
/cts/tools/vm-tests/lib/
H A Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/extensions/ junit/framework/ junit/runner/ junit/ ...

Completed in 919 milliseconds

12