/development/simulator/wrapsim/ |
D | SimMgr.c | 185 static void Message_clear(Message* msg) in Message_clear() argument 187 memset(msg, 0, sizeof(Message)); in Message_clear() 261 static int Message_read(Message* msg, int fd) in Message_read() argument 267 msg->mType = (MessageType) header[2]; in Message_read() 268 msg->mLength = header[0] | header[1] << 8; in Message_read() 269 msg->mLength -= 2; // we already read two of them in the header in Message_read() 271 if (msg->mLength > 0) { in Message_read() 275 msg->mData = (unsigned char*) malloc(msg->mLength); in Message_read() 276 if (msg->mData == NULL) { in Message_read() 277 wsLog("alloc %d failed\n", msg->mLength); in Message_read() [all …]
|
D | DevLog.c | 222 static void showLog(FakeDev* dev, int logPrio, const char* tag, const char* msg) in showLog() argument 237 wsPostLogMessage(logPrio, tag, msg); in showLog() 307 const char* end = msg + strlen(msg); in showLog() 309 const char* p = msg; in showLog() 313 if (p > msg && *(p-1) != '\n') numLines++; in showLog() 327 msg = "LOG: write failed, no memory"; in showLog() 335 p = msg; in showLog() 429 const char* msg = (const char*) vector[2].iov_base; in writevLog() local 446 showLog(dev, logPrio, tag, msg); in writevLog()
|
/development/testrunner/ |
D | logger.py | 48 msg = _PrependTimeStamp(new_str) 49 print msg 50 _WriteLog(msg) 52 def _WriteLog(msg): argument 56 file_handle.write('\n' + str(msg)) 77 msg = _PrependTimeStamp(new_str) 79 print msg 80 _WriteLog(msg)
|
D | errors.py | 23 def __init__(self, msg=""): argument 24 self.msg = msg
|
D | create_test.py | 190 def _PrintMessage(msg): argument 191 print >> sys.stdout, msg 194 def _PrintError(msg): argument 195 print >> sys.stderr, msg
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | MessengerServiceActivities.java | 46 public void handleMessage(Message msg) { in handleMessage() argument 47 switch (msg.what) { in handleMessage() 49 mCallbackText.setText("Received from service: " + msg.arg1); in handleMessage() 52 super.handleMessage(msg); in handleMessage() 79 Message msg = Message.obtain(null, 81 msg.replyTo = mMessenger; 82 mService.send(msg); 85 msg = Message.obtain(null, 87 mService.send(msg); 128 Message msg = Message.obtain(null, in doUnbindService() local [all …]
|
D | ServiceStartArguments.java | 66 public void handleMessage(Message msg) { in handleMessage() argument 67 Bundle arguments = (Bundle)msg.obj; in handleMessage() 71 Log.i("ServiceStartArguments", "Message: " + msg + ", " in handleMessage() 74 if ((msg.arg2&Service.START_FLAG_REDELIVERY) == 0) { in handleMessage() 75 txt = "New cmd #" + msg.arg1 + ": " + txt; in handleMessage() 77 txt = "Re-delivered #" + msg.arg1 + ": " + txt; in handleMessage() 96 Log.i("ServiceStartArguments", "Done with #" + msg.arg1); in handleMessage() 97 stopSelf(msg.arg1); in handleMessage() 129 Message msg = mServiceHandler.obtainMessage(); in onStartCommand() local 130 msg.arg1 = startId; in onStartCommand() [all …]
|
D | MessengerService.java | 86 public void handleMessage(Message msg) { in handleMessage() argument 87 switch (msg.what) { in handleMessage() 89 mClients.add(msg.replyTo); in handleMessage() 92 mClients.remove(msg.replyTo); in handleMessage() 95 mValue = msg.arg1; in handleMessage() 109 super.handleMessage(msg); in handleMessage()
|
D | RemoteService.java | 145 @Override public void handleMessage(Message msg) { 146 switch (msg.what) { 169 super.handleMessage(msg); 446 @Override public void handleMessage(Message msg) { 447 switch (msg.what) { 449 mCallbackText.setText("Received from service: " + msg.arg1); 452 super.handleMessage(msg);
|
/development/ndk/platforms/android-3/arch-arm/include/machine/ |
D | asm.h | 117 #define WARN_REFERENCES(sym,msg) \ argument 118 .stabs msg ## ,30,0,0,0 ; \ 121 #define WARN_REFERENCES(sym,msg) \ argument 122 .stabs msg,30,0,0,0 ; \ 125 #define WARN_REFERENCES(sym,msg) \ argument 126 .stabs msg,30,0,0,0 ; \
|
D | cdefs.h | 8 #define __warn_references(sym,msg) argument 14 #define __warn_references(sym,msg) \ argument 16 " ; .ascii \"" msg "\" ; .text");
|
/development/ndk/platforms/android-5/arch-x86/include/machine/ |
D | cdefs.h | 13 #define __warn_references(sym,msg) argument 19 #define __warn_references(sym,msg) \ argument 21 " ; .ascii \"" msg "\" ; .text");
|
/development/pdk/pndk/samples/sample/ |
D | hellolibrary.c | 6 int hellolibrary(char *msg) in hellolibrary() argument 8 printf("Library printing message: %s", msg); in hellolibrary()
|
D | hello_cpp.cpp | 12 void Hello::printMessage(char* msg) in printMessage() argument 14 printf("C++ example printing message: %s", msg); in printMessage()
|
D | use_hellolibrary.c | 3 int hellolibrary(char *msg);
|
/development/simulator/app/ |
D | DeviceManager.cpp | 242 android::Message msg; in StopRuntime() local 243 msg.setCommand(android::Simulator::kCommandQuit, 0); in StopRuntime() 244 pStream->send(&msg); in StopRuntime() 292 android::Message msg; in SendKeyEvent() local 293 msg.setCommand(event, keyCode); in SendKeyEvent() 294 pStream->send(&msg); in SendKeyEvent() 312 android::Message msg; in SendTouchEvent() local 313 msg.setCommandExt(android::Simulator::kCommandTouch, mode, x, y); in SendTouchEvent() 314 pStream->send(&msg); in SendTouchEvent() 867 android::Message msg; in Entry() local [all …]
|
D | MessageStream.cpp | 343 Message msg; in init() local 346 msg.setRaw((unsigned char*) &data, sizeof(data), in init() 348 if (!msg.write(writePipe)) { in init() 356 if (!msg.read(readPipe, true)) { in init() 362 pAck = (const int32_t*) msg.getData(); in init() 370 Message msg; in init() local 375 if (!msg.read(readPipe, true)) { in init() 381 pAck = (const int32_t*) msg.getData(); in init() 388 msg.setRaw((unsigned char*) &data, sizeof(data), in init() 390 if (!msg.write(writePipe)) { in init()
|
D | LogMessage.cpp | 72 /*static*/ LogMessage* LogMessage::Create(const char* msg) in Create() argument 77 assert(msg != NULL); in Create() 85 iov.iov_base = (void*)msg; in Create() 86 iov.iov_len = strlen(msg); in Create()
|
/development/samples/JetBoy/src/com/example/android/jetboy/ |
D | JetBoy.java | 135 public boolean onKeyDown(int keyCode, KeyEvent msg) { in onKeyDown() argument 137 return super.onKeyDown(keyCode, msg); in onKeyDown() 139 return mJetBoyThread.doKeyDown(keyCode, msg); in onKeyDown() 147 public boolean onKeyUp(int keyCode, KeyEvent msg) { in onKeyUp() argument 149 return super.onKeyUp(keyCode, msg); in onKeyUp() 151 return mJetBoyThread.doKeyUp(keyCode, msg); in onKeyUp()
|
/development/tools/yuv420sp2rgb/ |
D | debug.h | 12 #define FAILIF(cond, msg...) do { \ argument 15 fprintf(stderr, ##msg); \ 32 #define FAILIF(cond, msg...) do { \ argument 34 fprintf(stderr, ##msg); \
|
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
D | BluetoothChat.java | 243 public void handleMessage(Message msg) { 244 switch (msg.what) { 246 if(D) Log.i(TAG, "MESSAGE_STATE_CHANGE: " + msg.arg1); 247 switch (msg.arg1) { 263 byte[] writeBuf = (byte[]) msg.obj; 269 byte[] readBuf = (byte[]) msg.obj; 271 String readMessage = new String(readBuf, 0, msg.arg1); 276 mConnectedDeviceName = msg.getData().getString(DEVICE_NAME); 281 Toast.makeText(getApplicationContext(), msg.getData().getString(TOAST),
|
D | BluetoothChatService.java | 176 Message msg = mHandler.obtainMessage(BluetoothChat.MESSAGE_DEVICE_NAME); in connected() local 179 msg.setData(bundle); in connected() 180 mHandler.sendMessage(msg); in connected() 235 Message msg = mHandler.obtainMessage(BluetoothChat.MESSAGE_TOAST); in connectionFailed() local 238 msg.setData(bundle); in connectionFailed() 239 mHandler.sendMessage(msg); in connectionFailed() 250 Message msg = mHandler.obtainMessage(BluetoothChat.MESSAGE_TOAST); in connectionLost() local 253 msg.setData(bundle); in connectionLost() 254 mHandler.sendMessage(msg); in connectionLost()
|
/development/ndk/platforms/android-3/include/linux/ |
D | msg.h | 25 struct msg *msg_first; 26 struct msg *msg_last;
|
D | ipmi_smi.h | 37 void (*done)(struct ipmi_smi_msg *msg); 48 struct ipmi_smi_msg *msg,
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
D | app-win32.c | 209 MSG msg; in WinMain() local 270 while (PeekMessage(&msg, sWnd, 0, 0, PM_NOREMOVE)) in WinMain() 272 if (GetMessage(&msg, sWnd, 0, 0)) in WinMain() 274 TranslateMessage(&msg); in WinMain() 275 DispatchMessage(&msg); in WinMain()
|