/cts/tests/app/src/android/app/cts/ |
AlertWindowsTests.java | 47 import android.os.Message; 123 mService.send(Message.obtain(null, MSG_REMOVE_ALL_ALERT_WINDOWS)); 167 mService.send(Message.obtain(null, MSG_ADD_ALERT_WINDOW)); 175 mService.send(Message.obtain(null, MSG_REMOVE_ALERT_WINDOW)); 255 public void handleMessage(Message msg) {
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
PermissionTestService.java | 24 import android.os.Message; 44 // Message receieved from the client. 69 public void handleMessage(Message msg) { 71 Log.e(TAG, "PermissionTestService received bad message: " + msg.what); 107 mClient.send(Message.obtain(null, MSG_NOTIFY_TEST_FAILURE, failingTest, 0, null)); 109 Log.e(TAG, "Failed to send message back to client."); 115 mClient.send(Message.obtain(null, MSG_NOTIFY_TEST_SUCCESS)); 117 Log.e(TAG, "Failed to send message back to client.");
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/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...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/ |
Dhcp4Io.c | 22 Send an initial DISCOVER or REQUEST message according to the
41 // Clear initial time to make sure that elapsed-time is set to 0 for first Discover or REQUEST message.
632 // First validate the message:
634 // 2. if it is a DHCP message, it must contains a server ID.
705 UINT8 *Message;
713 // Ignore the BOOTP message and DHCP messages other than DHCP ACK/NACK.
737 Message = NULL;
740 Message = (UINT8 *) "Lease confirmed isn't the same as that in the offer";
747 Message = (UINT8 *) "Lease is denied upon received ACK";
757 Message = (UINT8 *) "Lease is denied upon entering bound"; [all...] |
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/ |
WinNtGopScreen.c | 114 // BUGBUG: PrintScreen/SysRq can not trigger WM_KEYDOWN message,
592 // Send the WM_PAINT message to the thread that is drawing the window. We
741 // F10 and the ALT key do not create a WM_KEYDOWN message, thus this special case
770 // When Alt is released there is no windoes message, so
802 // When Alt is released there is no windoes message, so
838 // This close message is issued by user, core is not aware of this,
870 @return if a WM_QUIT message is returned exit.
879 MSG Message;
[all...] |
/external/clang/include/clang/ASTMatchers/Dynamic/ |
Diagnostics.h | 137 /// All the context information will be kept on the error message. 139 /// error message, using the << operator. 152 struct Message { 157 std::vector<Message> Messages; 163 /// Each error only shows the error message without any context. 169 /// Each error message contains the full context.
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
IdenticalExprChecker.cpp | 64 StringRef Message; 66 Message = "identical expressions on both sides of bitwise operator"; 68 Message = "identical expressions on both sides of logical operator"; 75 Message, ELoc, Sr); 257 StringRef Message; 259 Message = "comparison of identical expressions always evaluates to true"; 261 Message = "comparison of identical expressions always evaluates to false"; 264 categories::LogicError, Message, ELoc);
|
PthreadLockChecker.cpp | 264 StringRef Message; 267 Message = "This lock is still locked"; 269 Message = "This lock has already been destroyed"; 278 auto Report = llvm::make_unique<BugReport>(*BT_destroylock, Message, N); 299 StringRef Message; 302 Message = "This lock is still being held"; 304 Message = "This lock has already been initialized"; 313 auto Report = llvm::make_unique<BugReport>(*BT_initlock, Message, N);
|
/external/clang/tools/libclang/ |
CIndexDiagnostic.cpp | 44 std::string Message; 49 Message(Msg), Loc(L) {} 62 return cxstring::createRef(Message.c_str()); 117 StringRef Message, 130 llvm::make_unique<CXDiagnosticCustomNoteImpl>(Message, L)); 144 void emitNote(SourceLocation Loc, StringRef Message, 152 llvm::make_unique<CXDiagnosticCustomNoteImpl>(Message, L));
|
/external/deqp/framework/common/ |
tcuThreadUtil.hpp | 113 class Message 116 Message (deUint64 time, const char* message) : m_time(time), m_message(message) {} 186 Message getMessage (int index) const; 188 // Used by message builder 198 std::vector<Message> m_messages;
|
/external/deqp/framework/delibs/decpp/ |
deBlockBuffer.cpp | 39 struct Message 43 Message (deUint16 threadId, deUint16 payload) 48 Message (void) 57 typedef BlockBuffer<Message> MessageBuffer; 72 Message tmpBuf [64]; 82 const Message& msg = tmpBuf[ndx]; 100 /* Verify message. */ 139 Message tmpBuf[64]; 145 tmpBuf[ndx] = Message(m_threadId, (deUint16)msgNdx++); 193 const Message endMsg(0xffff, 0) [all...] |
/external/deqp/modules/egl/ |
teglQuerySurfaceTests.cpp | 61 log << TestLog::Message << " " << name << ": " << valueFmt << TestLog::EndMessage; 131 log << TestLog::Message << " Fail, config ID " << id << " does not match the one used to create the surface" << TestLog::EndMessage; 143 log << TestLog::Message << " Fail, invalid surface size " << width << "x" << height << TestLog::EndMessage; 155 log << TestLog::Message << " Fail, invalid surface resolution " << hRes << "x" << vRes << TestLog::EndMessage; 166 log << TestLog::Message << " Fail, invalid pixel aspect ratio " << eglu::querySurfaceInt(egl, display, surface, EGL_PIXEL_ASPECT_RATIO) << TestLog::EndMessage; 177 log << TestLog::Message << " Fail, invalid render buffer value " << renderBuffer << TestLog::EndMessage; 188 log << TestLog::Message << " Fail, invalid multisample resolve value " << multisampleResolve << TestLog::EndMessage; 194 log << TestLog::Message << " Fail, multisample resolve is reported as box filter but configuration does not support it." << TestLog::EndMessage; 205 log << TestLog::Message << " Fail, invalid swap behavior value " << swapBehavior << TestLog::EndMessage; 211 log << TestLog::Message << " Fail, swap behavior is reported as preserve but configuration does not support it." << Tes (…) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
PreconditionsTest.java | 50 Preconditions.checkArgument(false, new Message()); 97 Preconditions.checkState(false, new Message()); 148 Preconditions.checkNotNull(null, new Message()); 181 // don't care what the message text is, as this is an invalid usage of 235 // don't care what the message text is, as this is an invalid usage of 347 private static class Message { 352 return "A message"; 359 assertEquals("A message", e.getMessage());
|
/external/guava/guava-tests/test/com/google/common/base/ |
PreconditionsTest.java | 52 Preconditions.checkArgument(false, new Message()); 99 Preconditions.checkState(false, new Message()); 150 Preconditions.checkNotNull(null, new Message()); 183 // don't care what the message text is, as this is an invalid usage of 237 // don't care what the message text is, as this is an invalid usage of 355 private static class Message { 360 return "A message"; 367 assertEquals("A message", e.getMessage());
|
/external/libchrome/dbus/ |
message.h | 45 // Message is the base class of D-Bus message types. Client code must use 48 // The class name Message is very generic, but there should be no problem 52 class CHROME_DBUS_EXPORT Message { 54 // The message type used in D-Bus. Redefined here so client code 88 // Returns the type of the message. Returns MESSAGE_INVALID if 92 // Returns the type of the message as string like "MESSAGE_METHOD_CALL" 122 // Returns the string representation of this message. Useful for 129 Message(); 130 virtual ~Message(); [all...] |
/external/libmojo/mojo/edk/system/ |
channel.h | 26 struct Message; 28 using MessagePtr = std::unique_ptr<Message>; 30 // A message to be written to a channel. 31 struct Message { 35 // A normal message. 38 // A control message containing handles to echo back. 40 // A control message containing handles that can now be closed. 45 // Message size in bytes, including the header. 49 // Old message wire format for ChromeOS and Android. 60 // storage size in this message on platforms that serialise handles a [all...] |
/external/llvm/include/llvm/Support/ |
SourceMgr.h | 157 /// Emit a message about the specified location with the specified string. 183 /// \param Msg If non-null, the kind of message (e.g., "error") which is 184 /// prefixed to the message. 191 /// custom formatted message. 239 std::string Message, LineContents; 250 Message(Msg) {} 265 StringRef getMessage() const { return Message; }
|
/external/llvm/lib/Support/ |
SourceMgr.cpp | 200 // Report the message with the diagnostic handler if present. 238 Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()), 385 S << Message << '\n';
|
/external/llvm/tools/llvm-cov/ |
CodeCoverage.cpp | 49 /// \brief Print the error message to the error output stream. 50 void error(const Twine &Message, StringRef Whence = ""); 52 /// \brief Record (but do not print) an error message in a thread-safe way. 53 void deferError(const Twine &Message, StringRef Whence = ""); 55 /// \brief Record (but do not print) a warning message in a thread-safe way. 56 void deferWarning(const Twine &Message, StringRef Whence = ""); 114 static std::string getErrorString(const Twine &Message, StringRef Whence, 120 Str += Message.str() + "\n"; 124 void CodeCoverageTool::error(const Twine &Message, StringRef Whence) { 125 errs() << getErrorString(Message, Whence, false) [all...] |
/external/nanopb-c/generator/ |
nanopb_generator.py | 104 '''Class used to represent the encoded size of a field or a message. 251 self.pbtype = 'MESSAGE' 253 self.enc_size = None # Needs to be filled in after the message type is available 266 if self.pbtype == 'MESSAGE': 348 if self.pbtype == 'MESSAGE': 364 if self.pbtype == 'MESSAGE': 380 if self.pbtype == 'MESSAGE': 420 '''Implements a special pb_extension_t* field in an extensible message 502 class Message: 531 # Therefore add a dummy field if an empty message occurs [all...] |
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
WebSocketRecorder.java | 36 void onMessage(ResponseBody message) throws IOException; 50 @Override public void onMessage(ResponseBody message) throws IOException { 52 delegate.onMessage(message); 55 Message event = new Message(message.contentType()); 56 message.source().readAll(event.buffer); 57 message.close(); 91 Message message = new Message(TEXT) local 101 Message message = new Message(BINARY); local [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
MCLoggingStreamer.cpp | 31 void LogCall(const char *Function, const Twine &Message) { 32 OS << Function << ": " << Message << "\n";
|
/external/swiftshader/third_party/LLVM/tools/llvm-ld/ |
llvm-ld.cpp | 132 /// PrintAndExit - Prints a message to standard error and exits with error code
135 /// Message - The message to print to standard error.
137 static void PrintAndExit(const std::string &Message, Module *M, int errcode = 1) {
138 errs() << progname << ": " << Message << "\n";
|
/external/webrtc/webrtc/base/ |
messagequeue.h | 33 struct Message; 36 // MessageQueueManager does cleanup of of message queues 131 struct Message { 132 Message() { 145 typedef std::list<Message> MessageList; 152 DelayedMessage(int delay, uint32_t trigger, uint32_t num, const Message& msg) 163 Message msg_; 187 // 1) A message is available (returns true) 190 virtual bool Get(Message *pmsg, int cmsWait = kForever, 192 virtual bool Peek(Message *pmsg, int cmsWait = 0) [all...] |
/frameworks/base/core/java/android/os/ |
Message.java | 25 * Defines a message containing a description and arbitrary data object that can be 29 * <p class="note">While the constructor of Message is public, the best way to get 30 * one of these is to call {@link #obtain Message.obtain()} or one of the 34 public final class Message implements Parcelable { 36 * User-defined message code so that the recipient can identify 37 * what this message is about. Each {@link Handler} has its own name-space 38 * for message codes, so you do not need to worry about yours conflicting 59 * {@link Messenger} to send the message across processes this can only 70 * Optional Messenger where replies to this message can be sent. The 77 * Optional field indicating the uid that sent the message. This i [all...] |