/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepException.java | 21 public SnepException(String message) { 22 super(message); 29 public SnepException(String message, Exception cause) { 30 super(message, cause);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
StopRequestException.java | 21 * Note the message passed to this exception will be logged and therefore must be guaranteed 28 public StopRequestException(int finalStatus, String message) { 29 super(message); 33 public StopRequestException(int finalStatus, String message, Throwable throwable) { 34 super(message, throwable);
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/ |
InvalidTypeException.java | 32 * Constructs a new exception with the default detail message. 40 * Constructs a new exception with the specified detail message. 41 * @param message the detail message. The detail message is saved for later retrieval 45 public InvalidTypeException(String message) { 46 super(message); 50 * Constructs a new exception with the specified cause and a detail message of 52 * the class and detail message of cause). 63 * Constructs a new exception with the specified detail message and cause [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
DexException.java | 26 DexException(String message) { 27 super(message); 30 DexException(String message, Throwable cause) { 31 super(message, cause);
|
/libcore/luni/src/main/java/org/xml/sax/ |
SAXException.java | 52 * @param message The error or warning message. 54 public SAXException (String message) { 55 super(message); 64 * one, and its message will become the default message for 79 * one, but the new exception will have its own message.</p> 81 * @param message The detail message. 84 public SAXException (String message, Exception e 102 String message = super.getMessage(); local [all...] |
/libcore/luni/src/main/native/ |
JniException.cpp | 24 const char* message = u_errorName(error); local 27 return jniThrowException(env, "java/lang/IllegalArgumentException", message); 30 return jniThrowException(env, "java/lang/ArrayIndexOutOfBoundsException", message); 32 return jniThrowException(env, "java/lang/UnsupportedOperationException", message); 34 return jniThrowRuntimeException(env, message); 43 void jniThrowOutOfMemoryError(JNIEnv* env, const char* message) { 44 jniThrowException(env, "java/lang/OutOfMemoryError", message);
|
/system/core/include/ctest/ |
ctest.h | 36 #define assertTrue(value, message) assertTrueWithSource(value, __FILE__, __LINE__, message); 41 #define assertFalse(value, message) assertTrueWithSource(!value, __FILE__, __LINE__, message); 43 /** Fails a test with the given message. */ 44 #define fail(message) assertTrueWithSource(0, __FILE__, __LINE__, message); 64 void assertTrueWithSource(int value, const char* file, int line, char* message);
|
/external/dbus/bus/ |
dispatch.c | 2 /* dispatch.c Message dispatcher 61 DBusMessage *message, 69 message, 73 if (dbus_message_contains_unix_fds(message) && 79 message)) 92 DBusMessage *message, 109 _dbus_assert (dbus_message_get_sender (message) != NULL); 113 /* First, send the message to the addressed_recipient, if there is one. */ 119 message, error)) 122 if (dbus_message_contains_unix_fds (message) & 565 DBusMessage *message; local 735 DBusMessage *message; local 775 DBusMessage *message; local 1005 DBusMessage *message; local 1095 DBusMessage *message; local 1232 DBusMessage *message; local 1399 DBusMessage *message; local 1582 DBusMessage *message; local 1688 DBusMessage *message; local 1780 DBusMessage *message; local 1885 DBusMessage *message; local 2043 DBusMessage *message; local 2171 DBusMessage *message; local 2321 DBusMessage *message; local 2445 DBusMessage *message; local 2675 DBusMessage *message; local 2791 DBusMessage *message; local 2887 DBusMessage *message; local 2951 DBusMessage *message; local 3011 DBusMessage *message; local 3092 DBusMessage *message; local 3295 DBusMessage *message; local 3390 DBusMessage *message; local 3486 DBusMessage *message; local 3590 DBusMessage *message; local 3694 DBusMessage *message; local 3789 DBusMessage *message; local 4069 DBusMessage *message; local 4199 DBusMessage *message; local [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbSocket.java | 39 AdbMessage message = new AdbMessage(); local 40 message.set(AdbMessage.A_OPEN, mId, 0, destination); 41 if (! message.write(mDevice)) { 55 public void handleMessage(AdbMessage message) { 56 switch (message.getCommand()) { 58 mPeerId = message.getArg0(); 64 mDevice.log(message.getDataString()); 71 AdbMessage message = new AdbMessage(); local 72 message.set(AdbMessage.A_OKAY, mId, mPeerId); 73 message.write(mDevice) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/exceptions/ |
JSilverAutoEscapingException.java | 26 public JSilverAutoEscapingException(String message, String templateName, int line, int column) { 27 super(createMessage(message, templateName, line, column)); 30 public JSilverAutoEscapingException(String message, String templateName) { 31 this(message, templateName, UNKNOWN_POSITION, UNKNOWN_POSITION); 37 private static String createMessage(String message, String resourceName, int line, int column) { 38 StringBuilder result = new StringBuilder(message); 51 public JSilverAutoEscapingException(String message) { 52 super(message); 55 public JSilverAutoEscapingException(String message, Throwable cause) { 56 super(message, cause) [all...] |
/external/protobuf/src/google/protobuf/ |
lite_unittest.cc | 45 protobuf_unittest::TestAllTypesLite message, message2, message3; local 46 google::protobuf::TestUtilLite::ExpectClear(message); 47 google::protobuf::TestUtilLite::SetAllFields(&message); 48 message2.CopyFrom(message); 49 data = message.SerializeAsString(); 51 google::protobuf::TestUtilLite::ExpectAllFieldsSet(message); 54 google::protobuf::TestUtilLite::ModifyRepeatedFields(&message); 55 google::protobuf::TestUtilLite::ExpectRepeatedFieldsModified(message); 56 message.Clear(); 57 google::protobuf::TestUtilLite::ExpectClear(message); 61 protobuf_unittest::TestAllExtensionsLite message, message2, message3; local 78 protobuf_unittest::TestPackedTypesLite message, message2, message3; local 94 protobuf_unittest::TestPackedExtensionsLite message, message2, message3; local [all...] |
generated_message_reflection.h | 43 #include <google/protobuf/message.h> 79 // - Singular Message fields are stored as a pointer to a Message. These 93 // descriptor: The descriptor for the message type being implemented. 94 // default_instance: The default instance of the message. This is only 97 // sub-message has not been initialized yet. (Thus, all 98 // embedded message fields *must* have non-NULL pointers 101 // the start of the message object, of each field. These can 105 // has_bits_offset: Offset in the message of an array of uint32s of size 108 // corresponding field of the message has been initialized [all...] |
reflection_ops.h | 41 #include <google/protobuf/message.h> 49 // methods of the Message interface, though they are likely to be 50 // slower than implementations tailored for the specific message type. 53 // the Message interface. 58 static void Copy(const Message& from, Message* to); 59 static void Merge(const Message& from, Message* to); 60 static void Clear(Message* message); [all...] |
/external/webkit/Source/WebCore/platform/haiku/ |
PlatformMouseEventHaiku.cpp | 33 #include <Message.h> 38 PlatformMouseEvent::PlatformMouseEvent(const BMessage* message) 39 : m_position(message->FindPoint("be:view_where")) 40 , m_globalPosition(message->FindPoint("screen_where")) 41 , m_clickCount(message->FindInt32("clicks")) 42 , m_timestamp(message->FindInt64("when") / 1000000.0) 45 if (message->what == B_MOUSE_UP) 46 message->FindInt32("previous buttons", &buttons); 48 message->FindInt32("buttons", &buttons); 59 switch (message->what) [all...] |
/external/webkit/Tools/MiniBrowser/win/ |
main.cpp | 48 if (msg.message != WM_KEYDOWN && msg.message != WM_SYSKEYDOWN && msg.message != WM_KEYUP && msg.message != WM_SYSKEYUP) 55 // Don't call TranslateMessage() on key events destined for a WebKit2 view, WebKit will do this if it doesn't handle the message. 67 MSG message; local 68 while (BOOL result = ::GetMessage(&message, 0, 0, 0)) { 72 if (shouldTranslateMessage(message)) 73 ::TranslateMessage(&message); 75 if (!MiniBrowser::shared().handleMessage(&message)) [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
MockTask.java | 58 public void assertRunCount(String message, int count) { 59 assertEquals(message + ": " + toString() + " bad run count", count, getRunCount()); 62 public void assertRanNever(String message) { 63 assertRunCount(message, 0); 66 public void assertRanOnce(String message) { 67 assertRunCount(message, 1); 70 public static void assertRanNever(String message, MockTask... tasks) { 72 task.assertRanNever(message); 76 public static void assertRanOnce(String message, MockTask... tasks) { 78 task.assertRanOnce(message); [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/console/ |
DdmConsole.java | 21 * Static Console used to ouput messages. By default outputs the message to System.out and 29 * Prints a message to the android console. 30 * @param message the message to print 33 public static void printErrorToConsole(String message) { 35 mConsole.printErrorToConsole(message); 37 System.err.println(message); 50 for (String message : messages) { 51 System.err.println(message); 57 * Prints a message to the android console [all...] |
/external/webkit/Source/WebKit/gtk/tests/ |
testnetworkrequest.c | 33 SoupMessage* message; local 38 message = webkit_network_request_get_message(request); 39 g_assert(!message); 43 message = soup_message_new("GET", "http://debian.org/"); 44 request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, "message", message, NULL)); 46 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 2); 48 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1); 49 g_object_unref(message); 52 message = soup_message_new("GET", "http://debian.org/") 65 SoupMessage* message; local [all...] |
testnetworkresponse.c | 34 SoupMessage* message; local 39 message = webkit_network_response_get_message(response); 40 g_assert(!message); 44 message = soup_message_new("GET", "http://debian.org/"); 45 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, NULL)); 47 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 2); 49 g_assert_cmpint(G_OBJECT(message)->ref_count, ==, 1); 50 g_object_unref(message); 53 message = soup_message_new("GET", "http://debian.org/") 66 SoupMessage* message; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers_p2p.h | 33 DBusMessage *message, struct wpa_supplicant *wpa_s); 36 DBusMessage *message, struct wpa_supplicant *wpa_s); 39 DBusMessage *message, struct wpa_supplicant *wpa_s); 42 DBusMessage *message, struct wpa_supplicant *wpa_s); 45 DBusMessage *message, struct wpa_supplicant *wpa_s); 48 DBusMessage *message, struct wpa_supplicant *wpa_s); 51 DBusMessage *message, struct wpa_supplicant *wpa_s); 54 DBusMessage *message, struct wpa_supplicant *wpa_s); 57 DBusMessage *message, 61 DBusMessage *message, [all...] |
/external/srtp/test/ |
rtp.c | 31 strncpy(sender->message.body, msg, len); 34 sender->message.header.seq = ntohs(sender->message.header.seq) + 1; 35 sender->message.header.seq = htons(sender->message.header.seq); 36 sender->message.header.ts = ntohl(sender->message.header.ts) + 1; 37 sender->message.header.ts = htonl(sender->message.header.ts); 40 stat = srtp_protect(sender->srtp_ctx, &sender->message.header, &pkt_len) [all...] |
/external/chromium/chrome/browser/debugger/ |
devtools_remote_message_unittest.cc | 30 DevToolsRemoteMessage message(headers, content); 32 message.GetHeaderWithEmptyDefault( 34 ASSERT_STREQ("DevToolsService", message.tool().c_str()); 35 ASSERT_STREQ(content.c_str(), message.content().c_str()); 37 static_cast<std::string::size_type>(message.content_length())); 39 message.headers().size()); 44 scoped_ptr<DevToolsRemoteMessage> message( 51 message->headers().size()); 54 message->GetHeaderWithEmptyDefault( 58 message->tool().c_str()) [all...] |
/external/bison/src/ |
complain.c | 48 warn_at (location loc, const char *message, ...) 56 va_start (args, message); 57 vfprintf (stderr, message, args); 65 warn (const char *message, ...) 71 va_start (args, message); 72 vfprintf (stderr, message, args); 85 complain_at (location loc, const char *message, ...) 92 va_start (args, message); 93 vfprintf (stderr, message, args); 101 complain (const char *message, ... [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
PleaseWaitMessage.js | 55 var message = instance.element; 56 if (message.parentNode) 57 message.parentNode.removeChild(message); 70 var message = instance.element; variable 71 if (message.parentNode === element) 73 else if (message.parentNode) 74 message.parentNode.removeChild(message); 75 if (message.childNodes.length > 1 87 var message = instance.element; variable [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
InvalidClassExceptionTest.java | 30 final String message = "A message"; local 33 throw new InvalidClassException(message); 38 assertTrue("Incorrect message read", e.getMessage().equals(message)); 47 final String message = "A message"; local 51 throw new InvalidClassException(className, message); 57 assertTrue("Incorrect message read: " + e.getMessage(), 59 && returnedMessage.indexOf(message) >= 0) [all...] |