Searched refs:msg (Results 276 - 300 of 718) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/os/
H A DCountDownTimer.java117 public void handleMessage(Message msg) {
/frameworks/base/core/jni/android/graphics/
H A DUtils.h88 jobject nullObjectReturn(const char msg[]);
/frameworks/base/core/jni/
H A Dandroid_util_Log.cpp106 * public static native int println_native(int buffer, int priority, String tag, String msg)
112 const char* msg = NULL; local
126 msg = env->GetStringUTFChars(msgObj, NULL);
128 int res = __android_log_buf_write(bufID, (android_LogPriority)priority, tag, msg);
132 env->ReleaseStringUTFChars(msgObj, msg);
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DTestedActivity.java59 public void handleMessage(Message msg) {
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java187 String msg = "Latitude: " + latitude + " out of range.";
188 throw new IllegalArgumentException(msg);
191 String msg = "Longitude: " + longitude + " out of range";
192 throw new IllegalArgumentException(msg);
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecFeatureAction.java143 public void handleMessage(Message msg) { argument
144 switch (msg.what) {
146 handleTimerEvent(msg.arg1);
149 Slog.w(TAG, "Unsupported message:" + msg.what);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiScanner.java757 public void handleMessage(Message msg) { argument
758 switch (msg.what) {
760 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
781 Object listener = getListener(msg.arg2);
784 if (DBG) Log.d(TAG, "invalid listener key = " + msg.arg2);
787 if (DBG) Log.d(TAG, "listener key = " + msg.arg2);
790 switch (msg.what) {
796 OperationResult result = (OperationResult)msg.obj;
798 removeListener(msg.arg2);
803 ((ParcelableScanResults) msg
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DRenderScriptThunker.java98 public void setMessageHandler(RSMessageHandler msg) { argument
99 mMessageCallback = msg;
116 public void setErrorHandler(RSErrorHandler msg) { argument
117 mErrorCallback = msg;
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp285 void MediaSender::onMessageReceived(const sp<AMessage> &msg) { argument
286 switch (msg->what()) {
290 CHECK(msg->findInt32("generation", &generation));
295 onSenderNotify(msg);
304 void MediaSender::onSenderNotify(const sp<AMessage> &msg) { argument
306 CHECK(msg->findInt32("what", &what));
314 CHECK(msg->findInt32("err", &err));
331 CHECK(msg->findInt32("err", &err));
340 CHECK(msg->findSize("numBytesQueued", &numBytesQueued));
349 CHECK(msg
[all...]
H A DMediaSender.h74 virtual void onMessageReceived(const sp<AMessage> &msg);
115 void onSenderNotify(const sp<AMessage> &msg);
/frameworks/base/services/core/java/com/android/server/power/
H A DNotifier.java368 Message msg = mHandler.obtainMessage(MSG_USER_ACTIVITY);
369 msg.setAsynchronous(true);
370 mHandler.sendMessage(msg);
384 Message msg = mHandler.obtainMessage(MSG_WIRELESS_CHARGING_STARTED);
385 msg.setAsynchronous(true);
386 mHandler.sendMessage(msg);
396 Message msg = mHandler.obtainMessage(MSG_BROADCAST);
397 msg.setAsynchronous(true);
398 mHandler.sendMessage(msg);
529 public void handleMessage(Message msg) { argument
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DCellBroadcastMessage.java236 SmsCbMessage msg = new SmsCbMessage(format, geoScope, serialNum, location, category,
244 return new CellBroadcastMessage(msg, deliveryTime, isRead);
253 SmsCbMessage msg = mSmsCbMessage;
254 cv.put(Telephony.CellBroadcasts.GEOGRAPHICAL_SCOPE, msg.getGeographicalScope());
255 SmsCbLocation location = msg.getLocation();
265 cv.put(Telephony.CellBroadcasts.SERIAL_NUMBER, msg.getSerialNumber());
266 cv.put(Telephony.CellBroadcasts.SERVICE_CATEGORY, msg.getServiceCategory());
267 cv.put(Telephony.CellBroadcasts.LANGUAGE_CODE, msg.getLanguageCode());
268 cv.put(Telephony.CellBroadcasts.MESSAGE_BODY, msg.getMessageBody());
271 cv.put(Telephony.CellBroadcasts.MESSAGE_FORMAT, msg
[all...]
/frameworks/native/cmds/servicemanager/
H A Dservice_manager.c248 struct binder_io *msg,
271 strict_policy = bio_get_uint32(msg);
272 s = bio_get_string16(msg, &len);
294 s = bio_get_string16(msg, &len);
305 s = bio_get_string16(msg, &len);
309 handle = bio_get_ref(msg);
310 allow_isolated = bio_get_uint32(msg) ? 1 : 0;
317 uint32_t n = bio_get_uint32(msg);
246 svcmgr_handler(struct binder_state *bs, struct binder_transaction_data *txn, struct binder_io *msg, struct binder_io *reply) argument
H A Dbinder.c236 struct binder_io msg; local
241 bio_init_from_txn(&msg, txn);
242 res = func(bs, txn, &msg, &reply);
316 struct binder_io *msg, struct binder_io *reply,
327 if (msg->flags & BIO_F_OVERFLOW) {
336 writebuf.txn.data_size = msg->data - msg->data0;
337 writebuf.txn.offsets_size = ((char*) msg->offs) - ((char*) msg->offs0);
338 writebuf.txn.data.ptr.buffer = (uintptr_t)msg
315 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, uint32_t target, uint32_t code) argument
448 binder_done(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestPushMessage.java43 public BluetoothMasRequestPushMessage(String folder, String msg, CharsetType charset, argument
46 mMsg = msg;
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.h51 void receivedCmd_l(IStreamListener::Command cmd, const sp<AMessage> &msg = NULL);
89 virtual void onMessageReceived(const sp<AMessage> &msg);
/frameworks/av/media/libmedia/
H A DIStreamSource.cpp155 Command cmd, bool synchronous, const sp<AMessage> &msg) {
161 if (msg != NULL) {
163 msg->writeToParcel(&data);
194 sp<AMessage> msg; local
197 msg = AMessage::FromParcel(data);
200 issueCommand(cmd, synchronous, msg);
154 issueCommand( Command cmd, bool synchronous, const sp<AMessage> &msg) argument
/frameworks/av/media/libstagefright/rtsp/
H A DAAMRAssembler.cpp212 sp<AMessage> msg = mNotifyMsg->dup(); local
213 msg->setBuffer("access-unit", accessUnit);
214 msg->post();
228 sp<AMessage> msg = mNotifyMsg->dup(); local
229 msg->setInt32("eos", true);
230 msg->post();
H A DARTPSession.cpp126 void ARTPSession::onMessageReceived(const sp<AMessage> &msg) { argument
127 switch (msg->what()) {
131 if (msg->findInt32("first-rtcp", &firstRTCP)) {
139 CHECK(msg->findSize("track-index", &trackIndex));
142 if (msg->findInt32("eos", &eos) && eos) {
149 CHECK(msg->findBuffer("access-unit", &accessUnit));
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java90 public void handleMessage(Message msg) {
91 switch (msg.what) {
96 manualDelay = msg.arg2;
97 navigate(msg.getData().getString(MSG_NAV_URL), msg.arg1);
98 logTime = msg.getData().getBoolean(MSG_NAV_LOGTIME);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapSession.java90 public boolean handleMessage(Message msg) { argument
91 Log.d(TAG, "Handler: msg: " + msg.what);
93 switch (msg.what) {
107 mTransport = (BluetoothPbapObexTransport) msg.obj;
138 mParentHandler.obtainMessage(REQUEST_COMPLETED, msg.obj).sendToTarget();
143 mParentHandler.obtainMessage(REQUEST_FAILED, msg.obj).sendToTarget();
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DUsimDataDownloadHandler.java278 * @param msg the message to handle
281 public void handleMessage(Message msg) { argument
284 switch (msg.what) {
286 handleDataDownload((SmsMessage) msg.obj);
290 ar = (AsyncResult) msg.obj;
304 ar = (AsyncResult) msg.obj;
316 Rlog.e(TAG, "Ignoring unexpected message, what=" + msg.what);
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp61 sp<AMessage> msg = new AMessage(kWhatSendCommand, mHandler->id()); local
62 msg->setInt32("cmd", cmd);
63 msg->setInt32("param", param);
64 msg->post();
310 sp<AMessage> msg = new AMessage(kWhatEmptyThisBuffer, mHandler->id());
311 msg->setPointer("header", buffer);
312 msg->post();
319 sp<AMessage> msg = new AMessage(kWhatFillThisBuffer, mHandler->id());
320 msg->setPointer("header", buffer);
321 msg
[all...]
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java573 Message msg = Message.obtain();
574 msg.what = what;
575 msg.arg1 = requestId;
576 msg.arg2 = arg;
577 msg.obj = obj;
578 msg.setData(data);
579 msg.replyTo = mReceiveMessenger;
581 mServiceMessenger.send(msg);
620 public void handleMessage(Message msg) { argument
623 final int what = msg
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmManagerClient.java134 public void handleMessage(Message msg) { argument
139 switch(msg.what) {
141 final DrmInfo drmInfo = (DrmInfo) msg.obj;
167 Log.e(TAG, "Unknown message type " + msg.what);
200 public void handleMessage(Message msg) { argument
204 switch (msg.what) {
206 int uniqueId = msg.arg1;
207 int infoType = msg.arg2;
208 String message = msg.obj.toString();
241 Log.e(TAG, "Unknown message type " + msg
[all...]

Completed in 998 milliseconds

<<11121314151617181920>>