/frameworks/base/core/java/android/os/ |
Message.aidl | 20 parcelable Message;
|
IMessenger.aidl | 20 import android.os.Message; 24 void send(in Message msg);
|
Message.java | 26 * Defines a message containing a description and arbitrary data object that can be 30 * <p class="note">While the constructor of Message is public, the best way to get 31 * one of these is to call {@link #obtain Message.obtain()} or one of the 35 public final class Message implements Parcelable { 37 * User-defined message code so that the recipient can identify 38 * what this message is about. Each {@link Handler} has its own name-space 39 * for message codes, so you do not need to worry about yours conflicting 60 * {@link Messenger} to send the message across processes this can only 71 * Optional Messenger where replies to this message can be sent. The 86 /*package*/ Message next [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/sip/ |
SipCommandInterface.java | 21 import android.os.Message; 40 public void getIccCardStatus(Message result) { 43 public void supplyIccPin(String pin, Message result) { 46 public void supplyIccPuk(String puk, String newPin, Message result) { 49 public void supplyIccPin2(String pin, Message result) { 52 public void supplyIccPuk2(String puk, String newPin2, Message result) { 55 public void changeIccPin(String oldPin, String newPin, Message result) { 58 public void changeIccPin2(String oldPin2, String newPin2, Message result) { 62 String newPwd, Message result) { 65 public void supplyNetworkDepersonalization(String netpin, Message result) [all...] |
/external/protobuf/src/google/protobuf/ |
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...] |
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...] |
message.h | 35 // Defines Message, the abstract interface implemented by non-lite 36 // protocol message objects. Although it's possible to implement this 42 // Say you have a message defined as: 44 // message Foo { 52 // string data; // Will store a serialized version of the message. 55 // // Create a message and serialize it. 66 // // Parse the serialized message and check that it contains the 79 // // Same as the last block, but do it dynamically via the Message 81 // Message* foo = new Foo; 95 // // Parse the message [all...] |
message.cc | 38 #include <google/protobuf/message.h> 58 Message::~Message() {} 60 void Message::MergeFrom(const Message& from) { 63 << ": Tried to merge from a message with a different type. " 69 void Message::CheckTypeAndMergeFrom(const MessageLite& other) { 70 MergeFrom(*down_cast<const Message*>(&other)); 73 void Message::CopyFrom(const Message& from) [all...] |
text_format.h | 42 #include <google/protobuf/message.h> 59 // Outputs a textual representation of the given message to the given 61 static bool Print(const Message& message, io::ZeroCopyOutputStream* output); 70 static bool PrintToString(const Message& message, string* output); 77 // the message supplied. For non-repeated fields, an index of -1 must 80 static void PrintFieldValueToString(const Message& message, 86 // a protobuffer message is printed out [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
BlockingRpcChannel.java | 46 Message callBlockingMethod( 49 Message request, 50 Message responsePrototype) throws ServiceException;
|
RpcChannel.java | 59 * decides the types of the {@code Message} objects, not the callee. The 68 Message request, 69 Message responsePrototype, 70 RpcCallback<Message> done);
|
BlockingService.java | 51 Message callBlockingMethod(Descriptors.MethodDescriptor method, 53 Message request) throws ServiceException; 58 Message getRequestPrototype(Descriptors.MethodDescriptor method); 63 Message getResponsePrototype(Descriptors.MethodDescriptor method);
|
Service.java | 38 * its exact type at compile time (analogous to the Message interface). 86 Message request, 87 RpcCallback<Message> done); 91 * particular subclass of {@code Message}. {@code getRequestPrototype()} 93 * call {@code Message.newBuilderForType()} on this instance to 101 * Message request = 107 Message getRequestPrototype(Descriptors.MethodDescriptor method); 111 * message. {@code getResponsePrototype()} is generally not needed because 112 * the {@code Service} implementation constructs the response message itself, 116 Message getResponsePrototype(Descriptors.MethodDescriptor method) [all...] |
RpcUtil.java | 42 * Take an {@code RpcCallback<Message>} and convert it to an 43 * {@code RpcCallback} accepting a specific message type. This is always 47 public static <Type extends Message> RpcCallback<Type> 48 specializeCallback(final RpcCallback<Message> originalCallback) { 61 * Take an {@code RpcCallback} accepting a specific message type and convert 62 * it to an {@code RpcCallback<Message>}. The generalized callback will 63 * accept any message object which has the same descriptor, and will convert 65 * if the generalized callback is given a message with a different descriptor, 68 public static <Type extends Message> 69 RpcCallback<Message> generalizeCallback [all...] |
/external/gtest/test/ |
gtest-message_test.cc | 32 // Tests for the Message class. 34 #include <gtest/gtest-message.h> 40 using ::testing::Message; 43 // A helper function that turns a Message into a C string. 44 const char* ToCString(const Message& msg) { 50 // Tests the testing::Message class 54 const Message msg; 60 const Message msg1("Hello"); 61 const Message msg2(msg1); 65 // Tests constructing a Message from a C-string [all...] |
/external/protobuf/gtest/test/ |
gtest-message_test.cc | 32 // Tests for the Message class. 34 #include <gtest/gtest-message.h> 40 using ::testing::Message; 43 // A helper function that turns a Message into a C string. 44 const char* ToCString(const Message& msg) { 50 // Tests the testing::Message class 54 const Message msg; 60 const Message msg1("Hello"); 61 const Message msg2(msg1); 65 // Tests constructing a Message from a C-string [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-message.h | 34 // This header file defines the Message class. 54 // The Message class works like an ostream repeater. 58 // 1. You stream a bunch of values to a Message object. 60 // 2. Then you stream the Message object to an ostream. 61 // This causes the text in the Message to be streamed 66 // testing::Message foo; 72 // Message is not intended to be inherited from. In particular, its 77 // latter (it causes an access violation if you do). The Message 80 class Message { 87 // Constructs an empty Message [all...] |
/external/gtest/include/gtest/ |
gtest-message.h | 34 // This header file defines the Message class. 54 // The Message class works like an ostream repeater. 58 // 1. You stream a bunch of values to a Message object. 60 // 2. Then you stream the Message object to an ostream. 61 // This causes the text in the Message to be streamed 66 // testing::Message foo; 72 // Message is not intended to be inherited from. In particular, its 77 // latter (it causes an access violation if you do). The Message 80 class Message { 87 // Constructs an empty Message [all...] |
/external/protobuf/gtest/include/gtest/ |
gtest-message.h | 34 // This header file defines the Message class. 54 // The Message class works like an ostream repeater. 58 // 1. You stream a bunch of values to a Message object. 60 // 2. Then you stream the Message object to an ostream. 61 // This causes the text in the Message to be streamed 66 // testing::Message foo; 72 // Message is not intended to be inherited from. In particular, its 77 // latter (it causes an access violation if you do). The Message 80 class Message { 87 // Constructs an empty Message [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
MockHandler.java | 20 import android.os.Message; 28 public boolean sendMessageAtTime(Message msg, long uptimeMillis) {
|
/packages/apps/Email/src/com/android/email/mail/ |
MessageDateComparator.java | 21 public class MessageDateComparator implements Comparator<Message> { 22 public int compare(Message o1, Message o2) {
|
Folder.java | 44 * Callback for each message retrieval. 50 public void messageRetrieved(Message message); 111 public abstract Message getMessage(String uid) throws MessagingException; 113 public abstract Message[] getMessages(int start, int end, MessageRetrievalListener listener) 125 public abstract Message[] getMessages(MessageRetrievalListener listener) 128 public abstract Message[] getMessages(String[] uids, MessageRetrievalListener listener) 135 * @param setFlags The flags that should be set for a message to be selected (can be null) 136 * @param clearFlags The flags that should be clear for a message to be selected (can be null) 141 public Message[] getMessages(Flag[] setFlags, Flag[] clearFlags, [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CommandsInterface.java | 21 import android.os.Message; 257 * Register for NEW_SMS_ON_SIM unsolicited message 265 * Register for NEW_SMS_STATUS_REPORT unsolicited message 281 * Please note that the delivery of this message may be delayed several 290 * Represents the arrival of a USSD "notify" message, which may 302 * ((String[])(AsyncResult.result))[1] contains the USSD message 321 * Sets the handler for SIM/RUIM SMS storage full unsolicited message. 324 * @param h Handler for notification message. 325 * @param what User-defined message code. 335 * @param h Handler for notification message [all...] |
/packages/apps/Email/tests/src/com/android/email/mail/ |
MockFolder.java | 22 public void appendMessages(Message[] messages) { 30 public void copyMessages(Message[] msgs, Folder folder, 54 public Message[] expunge() { 59 public void fetch(Message[] messages, FetchProfile fp, MessageRetrievalListener listener) { 63 public Message getMessage(String uid) { 73 public Message[] getMessages(int start, int end, MessageRetrievalListener listener) { 78 public Message[] getMessages(MessageRetrievalListener listener) { 83 public Message[] getMessages(String[] uids, MessageRetrievalListener listener) { 117 public void setFlags(Message[] messages, Flag[] flags, boolean value) { 121 public Message createMessage(String uid) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
HierarchicalState.java | 19 import android.os.Message; 41 * Called when a message is to be processed by the 56 protected boolean processMessage(Message msg) {
|