Searched refs:msg (Results 201 - 225 of 718) sorted by relevance

1234567891011>>

/frameworks/base/tests/utils/SleepUtils/WakeLoopService/src/android/test/wakeuploop/
H A DWakeLoopService.java44 public void handleMessage(Message msg) {
45 if (msg.what == MSG_STOP_SERVICE) {
48 super.handleMessage(msg);
/frameworks/native/cmds/servicemanager/
H A Dbinder.h46 struct binder_io *msg,
56 struct binder_io *msg, struct binder_io *reply,
65 struct binder_io *msg, struct binder_io *reply);
/frameworks/av/include/media/
H A DIMediaPlayerClient.h31 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) = 0;
H A DIMediaRecorderClient.h31 virtual void notify(int msg, int ext1, int ext2) = 0;
/frameworks/av/include/media/stagefright/foundation/
H A DAHandler.h40 virtual void onMessageReceived(const sp<AMessage> &msg) = 0;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDecoder.h40 virtual void onMessageReceived(const sp<AMessage> &msg);
94 bool isStaleReply(const sp<AMessage> &msg);
97 bool onInputBufferFetched(const sp<AMessage> &msg);
98 void onRenderBuffer(const sp<AMessage> &msg);
H A DNuPlayerDecoder.cpp78 void NuPlayer::Decoder::onMessageReceived(const sp<AMessage> &msg) { argument
79 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str());
81 switch (msg->what()) {
84 if (!isStaleReply(msg)) {
87 if (!msg->findInt32("input-buffers", &numInput)) {
91 if (!msg->findInt32("output-buffers", &numOutput)) {
108 if (!isStaleReply(msg)) {
109 onRenderBuffer(msg);
115 DecoderBase::onMessageReceived(msg);
318 sp<AMessage> msg local
364 sp<AMessage> msg = new AMessage(); local
376 sp<AMessage> msg = *mPendingInputMessages.begin(); local
546 isStaleReply(const sp<AMessage> &msg) argument
586 sp<AMessage> msg = mNotify->dup(); local
653 onInputBufferFetched(const sp<AMessage> &msg) argument
780 onRenderBuffer(const sp<AMessage> &msg) argument
[all...]
H A DGenericSource.h78 virtual void onMessageReceived(const sp<AMessage> &msg);
169 void onGetFormatMeta(sp<AMessage> msg) const;
172 void onGetSelectedTrack(sp<AMessage> msg) const;
175 void onSelectTrack(sp<AMessage> msg);
178 void onSeek(sp<AMessage> msg);
185 int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg);
189 int32_t curGen, sp<AnotherPacketSource> packets, sp<AMessage> msg);
198 void onReadBuffer(sp<AMessage> msg);
H A DHTTPLiveSource.h52 virtual void onMessageReceived(const sp<AMessage> &msg);
75 void onSessionNotify(const sp<AMessage> &msg);
/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.h35 virtual void onMessageReceived(const sp<AMessage> &msg);
/frameworks/base/core/java/android/view/
H A DChoreographer.java336 Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_CALLBACK, action);
337 msg.arg1 = callbackType;
338 msg.setAsynchronous(true);
339 mHandler.sendMessageAtTime(msg, dueTime);
492 Message msg = mHandler.obtainMessage(MSG_DO_SCHEDULE_VSYNC);
493 msg.setAsynchronous(true);
494 mHandler.sendMessageAtFrontOfQueue(msg);
502 Message msg = mHandler.obtainMessage(MSG_DO_FRAME);
503 msg.setAsynchronous(true);
504 mHandler.sendMessageAtTime(msg, nextFrameTim
679 handleMessage(Message msg) argument
[all...]
/frameworks/base/media/java/android/media/
H A DFocusRequester.java171 String msg = new String();
173 msg += "DELAY_OK";
176 if (!msg.isEmpty()) { msg += "|"; }
177 msg += "LOCK";
180 if (!msg.isEmpty()) { msg += "|"; }
181 msg += "PAUSES_ON_DUCKABLE_LOSS";
183 return msg;
H A DRemoteController.java740 private final static int MSG_NEW_METADATA = 3; // msg always has non-null obj parameter
753 public void handleMessage(Message msg) { argument
754 switch(msg.what) {
756 onNewPendingIntent(msg.arg1, (PendingIntent) msg.obj);
759 onNewPlaybackInfo(msg.arg1, (PlaybackInfo) msg.obj);
762 onNewTransportInfo(msg.arg1, msg.arg2);
765 onNewMetadata(msg
824 sendMsg(Handler handler, int msg, int existingMsgPolicy, int arg1, int arg2, Object obj, int delayMs) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp147 JNIEnv *env, const sp<AMessage> &msg, jobject *map) {
174 for (size_t i = 0; i < msg->countEntries(); ++i) {
176 const char *key = msg->getEntryNameAt(i, &valueType);
184 CHECK(msg->findInt32(key, &val));
193 CHECK(msg->findInt64(key, &val));
202 CHECK(msg->findFloat(key, &val));
211 CHECK(msg->findString(key, &val));
220 CHECK(msg->findBuffer(key, &buffer));
230 CHECK(msg->findRect(key, &left, &top, &right, &bottom));
296 sp<AMessage> msg local
146 ConvertMessageToMap( JNIEnv *env, const sp<AMessage> &msg, jobject *map) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DAndroidCameraAgentImpl.java349 public void handleMessage(final Message msg) { argument
350 super.handleMessage(msg);
353 Log.v(TAG, "Skip handleMessage - action = '" + CameraActions.stringify(msg.what) + "'");
356 Log.v(TAG, "handleMessage - action = '" + CameraActions.stringify(msg.what) + "'");
358 int cameraAction = msg.what;
362 final CameraOpenCallback openCallback = (CameraOpenCallback) msg.obj;
363 final int cameraId = msg.arg1;
410 (CameraOpenCallbackForward) msg.obj;
411 final int cameraId = msg.arg1;
444 setPreviewTexture(msg
[all...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java59 public void handleMessage(android.os.Message msg) {
60 switch (msg.what) {
62 handleNotify(msg.arg1, msg.arg2, (Integer) msg.obj);
66 Slog.w(TAG, "Unknown message:" + msg.what);
129 void notify(int msg, int arg1, int arg2) { argument
130 mHandler.obtainMessage(MSG_NOTIFY, msg, arg1, arg2).sendToTarget();
133 void handleNotify(int msg, int arg1, int arg2) { argument
134 Slog.v(TAG, "handleNotify(msg
[all...]
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp99 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
106 switch (msg->what()) {
212 CHECK(msg->findInt32("what", &what));
215 onFillThisBuffer(msg);
222 onDrainThisBuffer(msg);
295 sp<AMessage> msg = new AMessage; local
296 msg->setString("mime", mime);
303 msg->setInt32("width", width);
304 msg->setInt32("height", height);
312 msg
441 onFillThisBuffer(const sp<AMessage> &msg) argument
555 onDrainThisBuffer(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DMediaWriter.h60 void notify(int msg, int ext1, int ext2) { argument
62 mListener->notify(msg, ext1, ext2);
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.h57 static void ObserveWrapper(void *me, int msg, int ext1, int ext2);
58 void observe(int msg, int ext1, int ext2);
/frameworks/av/media/libstagefright/foundation/
H A DABuffer.cpp77 void ABuffer::setFarewellMessage(const sp<AMessage> msg) { argument
78 mFarewell = msg;
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.h97 virtual void onMessageReceived(const sp<AMessage> &msg);
219 void onConnect(const sp<AMessage> &msg);
220 status_t onSeek(const sp<AMessage> &msg);
256 void onChangeConfiguration(const sp<AMessage> &msg);
257 void onChangeConfiguration2(const sp<AMessage> &msg);
258 void onChangeConfiguration3(const sp<AMessage> &msg);
259 void onSwapped(const sp<AMessage> &msg);
273 void onCheckBandwidth(const sp<AMessage> &msg);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.h52 virtual void onMessageReceived(const sp<AMessage> &msg);
99 int32_t sessionID, const sp<ParsedMessage> &msg);
189 int32_t sessionID, const sp<ParsedMessage> &msg);
192 int32_t sessionID, const sp<ParsedMessage> &msg);
195 int32_t sessionID, const sp<ParsedMessage> &msg);
198 int32_t sessionID, const sp<ParsedMessage> &msg);
201 int32_t sessionID, const sp<ParsedMessage> &msg);
206 status_t onReceiveClientData(const sp<AMessage> &msg);
/frameworks/base/core/java/android/app/
H A DIActivityController.aidl67 int systemNotResponding(String msg);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothMasInstance.java100 public boolean msgSupported(int msg) { argument
101 return (mMsgTypes & msg) != 0;
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl37 int ndefWrite(int nativeHandle, in NdefMessage msg);

Completed in 1173 milliseconds

1234567891011>>