/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
EasyDialogs.py | 3 Message(msg) -- display a message and an OK button. 43 __all__ = ['Message', 'AskString', 'AskPassword', 'AskYesNoCancel', 70 def Message(msg, id=260, ok=None): 71 """Display a MESSAGE string. 75 The MESSAGE string can be at most 255 characters long. 625 message=None, 653 message=message,preferenceKey=preferenceKey, 677 message=None [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/email/ |
message.py | 5 """Basic message object for the email package object model.""" 7 __all__ = ['Message'] 83 # try to convert the value to a unicode. Message.get_param() and 84 # Message.get_params() are both currently defined to return the tuple in 94 class Message: 95 """Basic message object. 97 A message object is defined as something that has a bunch of RFC 2822 99 (a.k.a. Unix-From or From_ header). If the message is a container (i.e. a 100 multipart or a message/rfc822), then the payload is a list of Message [all...] |
/system/core/libutils/include/utils/ |
Looper.h | 48 * A message that can be posted to a Looper. 50 struct Message { 51 Message() : what(0) { } 52 Message(int w) : what(w) { } 54 /* The message type. (interpretation is left up to the handler) */ 60 * Interface for a Looper message handler. 62 * The Looper holds a strong reference to the message handler whenever it has 63 * a message to deliver to it. Make sure to call Looper::removeMessages 73 * Handles a message. 75 virtual void handleMessage(const Message& message) = 0 445 Message message; member in struct:android::Looper::MessageEnvelope [all...] |
/external/libchrome/dbus/ |
message.cc | 5 #include "dbus/message.h" 55 Message::Message() 59 Message::~Message() { 64 void Message::Init(DBusMessage* raw_message) { 69 Message::MessageType Message::GetMessageType() { 73 return static_cast<Message::MessageType>(type); 76 std::string Message::GetMessageTypeAsString() [all...] |
/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/ |
SimpleAppWidgetHostService.java | 31 import android.os.Message; 83 public void handleMessage(Message msg) { 102 msg.replyTo.send(Message.obtain(null, MSG_RESULT, result 116 msg.replyTo.send(Message.obtain(null, MSG_RESULT, result
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
BluetoothHDPActivity.java | 36 import android.os.Message; 78 public void handleMessage(Message msg) { 205 Message msg = Message.obtain(null, BluetoothHDPService.MSG_REG_CLIENT); 303 // Sends a message to {@link BluetoothHDPService}. 311 mHealthService.send(Message.obtain(null, what, value, 0)); 318 // Sends an update message, along with an HDP BluetoothDevice object, to 328 mHealthService.send(Message.obtain(null, what, mDevice));
|
BluetoothHDPService.java | 29 import android.os.Message; 78 // Message codes received from the UI client. 103 public void handleMessage(Message msg) { 265 // Sends an update message to registered UI client. 273 mClient.send(Message.obtain(null, what, value, 0));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mhlib.py | 11 mh.error(format, ...) # print error message -- can be overridden
30 path = f.getmessagefilename(n) # full pathname of message n in folder
33 n = f.getcurrent() # get current message
34 f.setcurrent(n) # set current message
36 n = f.getlast() # get last message (0 if no messagse)
37 f.setlast(n) # set last message (internal use only)
42 f.createmessage(n, fp) # add message from file f as number n
45 f.movemessage(n, tofolder, ton) # move one message to a given destination
46 f.copymessage(n, tofolder, ton) # copy one message to a given destination
48 m = f.openmessage(n) # new open message object (costs a file descriptor) [all...] |
rfc822.py | 1 """RFC 2822 message manipulation.
16 To create a Message object: first open a file, e.g.:
21 sys.stdin or call os.popen(). Then pass the open file object to the Message()
24 m = Message(fp)
30 of input, Message will use that to push back illegal lines. Thus this class
80 __all__ = ["Message","AddressList","parsedate","parsedate_tz","mktime_tz"]
85 class Message:
86 """Represents a single RFC 2822-compliant message."""
132 otherwise it is an error message. The variable self.headers is a
201 You may override this method in order to use Message parsing on tagged [all...] |
/external/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 112 /// A diagnostic message which has been conditionally emitted pending 176 return StringRef(DeprecationData.Message, 217 const char *Message;
|
/external/clang/lib/Frontend/ |
DiagnosticRenderer.cpp | 83 StringRef Message, 93 // If we have no source location, just emit the diagnostic message. 94 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, SM, D); 123 // Next, emit the actual diagnostic message and caret. 124 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, SM, D); 149 void DiagnosticRenderer::emitBasicNote(StringRef Message) { 151 SourceLocation(), PresumedLoc(), DiagnosticsEngine::Note, Message, 165 /// \param Level The diagnostic level of the message this stack pertains to. 420 /// macro expansion message 435 llvm::raw_svector_ostream Message(MessageStorage) [all...] |
/external/compiler-rt/lib/ubsan/ |
ubsan_diag.h | 128 /// message. 136 /// The message which will be emitted, with %0, %1, ... placeholders for 138 const char *Message; 151 /// An individual diagnostic message argument. 200 Diag(Location Loc, DiagLevel Level, const char *Message) 201 : Loc(Loc), Level(Level), Message(Message), NumArgs(0), NumRanges(0) {}
|
/external/deqp/framework/common/ |
tcuTestLog.hpp | 59 * // Write message to log. 60 * log << TestLog::Message << "Hello, World!" << TestLog::EndMessage; 62 * log << TestLog::Message << "Diff is " << myNumber << TestLog::EndMessage; 70 * << TestLog::Message << "Here be dragons" << TestLog::EndMessage 81 static const class BeginMessageToken {} Message; 109 MessageBuilder message (void); 136 void writeMessage (const char* message); 458 return log << TestLog::Message << e.what() << TestLog::EndMessage; 476 inline MessageBuilder TestLog::message (void) function in class:tcu::TestLog
|
/external/llvm/lib/Analysis/ |
Lint.cpp | 146 /// \brief A check failed, so printout out the condition and the message. 150 void CheckFailed(const Twine &Message) { MessagesStr << Message << '\n'; } 154 /// This calls the Message-only version so that the above is easier to set 157 void CheckFailed(const Twine &Message, const T1 &V1, const Ts &...Vs) { 158 CheckFailed(Message); 174 // Assert - We know that cond should be true, if not print an error message.
|
/external/llvm/tools/llvm-size/ |
llvm-size.cpp | 97 errs() << ToolName << ": error reading file: " << ec.message() << ".\n"; 102 static bool error(Twine Message) { 104 errs() << ToolName << ": " << Message << ".\n"; 110 // "libx.a(foo.o)" after the ToolName before the error message. It sets 137 // before the error message. It sets HadError but returns allowing the code to [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Update.h | 152 AString Message;
155 bool ThereIsError() const { return SystemError != 0 || !Message.IsEmpty() || !FileNames.IsEmpty(); }
157 void SetFromLastError(const char *message);
158 HRESULT SetFromLastError(const char *message, const FString &fileName);
|
/external/mockito/src/test/java/org/mockitousage/constructor/ |
CreatingMocksWithConstructorTest.java | 27 private final String message; field in class:CreatingMocksWithConstructorTest.AbstractMessage 29 this.message = "hey!"; 31 AbstractMessage(String message) { 32 this.message = message; 35 this.message = String.valueOf(i); 38 return message; 42 static class Message extends AbstractMessage {} 47 Message mock = mock(Message.class, withSettings().useConstructor().defaultAnswer(CALLS_REAL_METHODS)) [all...] |
/external/protobuf/src/google/protobuf/ |
message.cc | 39 #include <google/protobuf/message.h> 65 Message::~Message() {} 67 void Message::MergeFrom(const Message& from) { 70 << ": Tried to merge from a message with a different type. " 76 void Message::CheckTypeAndMergeFrom(const MessageLite& other) { 77 MergeFrom(*down_cast<const Message*>(&other)); 80 void Message::CopyFrom(const Message& from) [all...] |
/external/python/cpython2/Lib/ |
mhlib.py | 11 mh.error(format, ...) # print error message -- can be overridden 30 path = f.getmessagefilename(n) # full pathname of message n in folder 33 n = f.getcurrent() # get current message 34 f.setcurrent(n) # set current message 36 n = f.getlast() # get last message (0 if no messagse) 37 f.setlast(n) # set last message (internal use only) 42 f.createmessage(n, fp) # add message from file f as number n 45 f.movemessage(n, tofolder, ton) # move one message to a given destination 46 f.copymessage(n, tofolder, ton) # copy one message to a given destination 48 m = f.openmessage(n) # new open message object (costs a file descriptor [all...] |
rfc822.py | 1 """RFC 2822 message manipulation. 16 To create a Message object: first open a file, e.g.: 21 sys.stdin or call os.popen(). Then pass the open file object to the Message() 24 m = Message(fp) 30 of input, Message will use that to push back illegal lines. Thus this class 80 __all__ = ["Message","AddressList","parsedate","parsedate_tz","mktime_tz"] 85 class Message: 86 """Represents a single RFC 2822-compliant message.""" 132 otherwise it is an error message. The variable self.headers is a 206 You may override this method in order to use Message parsing on tagge [all...] |
/external/python/cpython3/Lib/email/ |
message.py | 5 """Basic message object for the email package object model.""" 7 __all__ = ['Message', 'EmailMessage'] 96 # try to convert the value to a unicode. Message.get_param() and 97 # Message.get_params() are both currently defined to return the tuple in 107 class Message: 108 """Basic message object. 110 A message object is defined as something that has a bunch of RFC 2822 112 (a.k.a. Unix-From or From_ header). If the message is a container (i.e. a 113 multipart or a message/rfc822), then the payload is a list of Message [all...] |
/frameworks/base/core/java/android/speech/ |
RecognitionService.java | 28 import android.os.Message; 78 public void handleMessage(Message msg) { 172 * @param listener to send the error message to in case of error 185 Log.e(TAG, "sending ERROR_INSUFFICIENT_PERMISSIONS message failed", re); 273 Message.obtain(mHandler, MSG_RESET).sendToTarget(); 310 Message.obtain(mHandler, MSG_RESET).sendToTarget(); 346 service.mHandler.sendMessage(Message.obtain(service.mHandler, 357 service.mHandler.sendMessage(Message.obtain(service.mHandler, 367 service.mHandler.sendMessage(Message.obtain(service.mHandler,
|
SpeechRecognizer.java | 28 import android.os.Message; 128 public void handleMessage(Message msg) { 150 private final Queue<Message> mPendingTasks = new LinkedList<Message>(); 171 // always done on the application main thread, so no need to send message to mHandler 180 // always done on the application main thread, so no need to send message to mHandler 250 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); 295 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); 310 putMessage(Message.obtain(mHandler, MSG_STOP)); 320 putMessage(Message.obtain(mHandler, MSG_CANCEL)) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
KeyEventDispatcherTest.java | 42 import android.os.Message; 584 List<Message> timedMessages = new ArrayList<>(); 587 public boolean sendMessageAtTime(Message message, long uptimeMillis) { 588 timedMessages.add(Message.obtain(message)); 589 return super.sendMessageAtTime(message, uptimeMillis);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Sema/ |
DelayedDiagnostic.h | 112 /// A diagnostic message which has been conditionally emitted pending 174 return StringRef(AvailabilityData.Message, AvailabilityData.MessageLen); 219 const char *Message;
|