Searched refs:msg (Results 126 - 150 of 718) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java128 public void handleMessage(Message msg) {
129 switch (msg.what) {
131 handleStartListening((Intent) msg.obj);
140 handleChangeListener((RecognitionListener) msg.obj);
330 private void putMessage(Message msg) { argument
332 mPendingTasks.offer(msg);
334 mHandler.sendMessage(msg);
435 public void handleMessage(Message msg) {
439 switch (msg.what) {
444 mInternalListener.onBufferReceived((byte[]) msg
[all...]
/frameworks/av/media/libstagefright/
H A DUtils.cpp80 sp<AMessage> msg = new AMessage; local
81 msg->setString("mime", mime);
85 msg->setInt64("durationUs", durationUs);
90 msg->setInt32("bit-rate", avgBitRate);
95 msg->setInt32("is-sync-frame", 1);
103 msg->setInt32("width", width);
104 msg->setInt32("height", height);
109 msg->setInt32("sar-width", sarWidth);
110 msg->setInt32("sar-height", sarHeight);
115 msg
463 convertMessageToMetaData(const sp<AMessage> &msg, sp<MetaData> &meta) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAHierarchicalStateMachine.h36 virtual bool onMessageReceived(const sp<AMessage> &msg) = 0;
52 virtual void handleMessage(const sp<AMessage> &msg);
H A DALooperRoster.h35 status_t postMessage(const sp<AMessage> &msg, int64_t delayUs = 0);
36 void deliverMessage(const sp<AMessage> &msg);
39 const sp<AMessage> &msg, sp<AMessage> *response);
/frameworks/av/media/libstagefright/include/
H A DSDPLoader.h50 virtual void onMessageReceived(const sp<AMessage> &msg);
57 void onLoad(const sp<AMessage> &msg);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.h42 virtual void onMessageReceived(const sp<AMessage> &msg);
60 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg);
/frameworks/base/core/java/android/service/persistentdata/
H A DPersistentDataBlockManager.java143 private void onError(String msg) { argument
144 Slog.v(TAG, "Remote exception while " + msg);
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java158 public boolean handleMessage(Message msg) { argument
159 switch (msg.what) {
162 TvInputHardwareInfo info = (TvInputHardwareInfo)msg.obj;
175 int deviceId = msg.arg1;
185 int deviceId = msg.arg1;
198 int deviceId = msg.arg1;
199 int streamId = msg.arg2;
205 Slog.e(TAG, "Unknown event: " + msg);
/frameworks/base/telecomm/java/android/telecom/
H A DVideoCallImpl.java105 public void handleMessage(Message msg) {
111 switch (msg.what) {
113 mVideoCallListener.onSessionModifyRequestReceived((VideoProfile) msg.obj);
116 args = (SomeArgs) msg.obj;
129 mVideoCallListener.onCallSessionEvent((int) msg.obj);
132 args = (SomeArgs) msg.obj;
142 mVideoCallListener.onCallDataUsageChanged(msg.arg1);
146 (CameraCapabilities) msg.obj);
/frameworks/opt/net/ims/src/java/com/android/ims/internal/
H A DImsVideoCallProviderWrapper.java108 public void handleMessage(Message msg) {
110 switch (msg.what) {
112 receiveSessionModifyRequest((VideoProfile) msg.obj);
115 args = (SomeArgs) msg.obj;
127 handleCallSessionEvent((int) msg.obj);
130 args = (SomeArgs) msg.obj;
140 changeCallDataUsage(msg.arg1);
143 changeCameraCapabilities((CameraCapabilities) msg.obj);
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h217 sp<AMessage> msg = new AMessage('seek', id()); local
218 msg->setInt64("time", timeUs);
220 msg->post();
228 sp<AMessage> msg = new AMessage('paus', id()); local
230 msg->setInt32("pausecheck", mPauseGeneration);
231 msg->post(kPauseDelayUs);
235 sp<AMessage> msg = new AMessage('resu', id()); local
237 msg->post();
439 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
440 switch (msg
942 sp<AMessage> msg = mNotify->dup(); local
1167 sp<AMessage> msg = mNotify->dup(); local
1302 sp<AMessage> msg = mNotify->dup(); local
1346 sp<AMessage> msg = new AMessage('abor', id()); local
1372 sp<AMessage> msg = new AMessage('aliv', id()); local
1715 sp<AMessage> msg = mNotify->dup(); local
1864 sp<AMessage> msg = mNotify->dup(); local
1872 sp<AMessage> msg = mNotify->dup(); local
1880 sp<AMessage> msg = mNotify->dup(); local
1888 sp<AMessage> msg = mNotify->dup(); local
[all...]
H A DARTPConnection.h55 virtual void onMessageReceived(const sp<AMessage> &msg);
75 void onAddStream(const sp<AMessage> &msg);
76 void onRemoveStream(const sp<AMessage> &msg);
78 void onInjectPacket(const sp<AMessage> &msg);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnection.java526 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
527 AsyncResult.forMessage(msg, response, null);
528 sendMessage(msg);
541 // msg.obj will be returned in AsyncResult.userObj;
542 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp);
543 msg.obj = cp;
563 protocol, msg);
568 * msg.what == EVENT_DEACTIVATE_DONE and msg.obj == AsyncResult with AsyncResult.obj
601 Message msg
1091 processMessage(Message msg) argument
1316 processMessage(Message msg) argument
1400 processMessage(Message msg) argument
1539 processMessage(Message msg) argument
1750 processMessage(Message msg) argument
1867 processMessage(Message msg) argument
1913 processMessage(Message msg) argument
1998 msgToString(Message msg) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp108 sp<AMessage> msg = new AMessage(kWhatQueueBuffer, id()); local
109 msg->setInt32("audio", static_cast<int32_t>(audio));
110 msg->setBuffer("buffer", buffer);
111 msg->setMessage("notifyConsumed", notifyConsumed);
112 msg->post();
118 sp<AMessage> msg = new AMessage(kWhatQueueEOS, id()); local
119 msg->setInt32("audio", static_cast<int32_t>(audio));
120 msg->setInt32("finalResult", finalResult);
121 msg->post();
142 sp<AMessage> msg local
178 sp<AMessage> msg = new AMessage(kWhatSetVideoFrameRate, id()); local
310 sp<AMessage> msg = new AMessage(kWhatOpenAudioSink, id()); local
331 sp<AMessage> msg = new AMessage(kWhatCloseAudioSink, id()); local
337 onMessageReceived(const sp<AMessage> &msg) argument
541 sp<AMessage> msg = new AMessage(kWhatDrainAudioQueue, id()); local
809 sp<AMessage> msg = new AMessage(kWhatDrainVideoQueue, id()); local
966 onQueueBuffer(const sp<AMessage> &msg) argument
1057 onQueueEOS(const sp<AMessage> &msg) argument
1088 onFlush(const sp<AMessage> &msg) argument
1181 dropBufferWhileFlushing( bool audio, const sp<AMessage> &msg) argument
1393 sp<AMessage> msg = new AMessage(kWhatAudioOffloadPauseTimeout, id()); local
[all...]
H A DNuPlayerDecoderPassThrough.h40 virtual void onMessageReceived(const sp<AMessage> &msg);
74 bool isStaleReply(const sp<AMessage> &msg);
81 void onInputBufferFetched(const sp<AMessage> &msg);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h47 IOMX::node_id node, omx_message *msg, int64_t timeoutUs = -1);
53 omx_message *msg, int64_t timeoutUs = -1);
77 virtual void onMessage(const omx_message &msg);
95 const omx_message &msg,
/frameworks/base/drm/java/android/drm/
H A DDrmRights.java105 final String msg = "mimeType: " + mMimeType + "," +
107 throw new IllegalArgumentException(msg);
129 final String msg = "mimeType: " + mMimeType + "," +
131 throw new IllegalArgumentException(msg);
H A DDrmInfo.java53 final String msg = "infoType: " + infoType + "," +
57 throw new IllegalArgumentException(msg);
80 final String msg = "infoType: " + infoType + "," +
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPukView.java84 int msg = 0;
88 msg = R.string.kg_puk_enter_pin_hint;
90 msg = R.string.kg_invalid_sim_puk_hint;
95 msg = R.string.kg_enter_confirm_pin_hint;
97 msg = R.string.kg_invalid_sim_pin_hint;
102 msg = R.string.keyguard_sim_unlock_progress_dialog_message;
106 msg = R.string.kg_invalid_confirm_pin_hint;
110 if (msg != 0) {
111 mSecurityMessageDisplay.setMessage(msg, true);
124 final String msg;
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DKeyguardDisableHandler.java55 public void handleMessage(Message msg) { argument
60 switch (msg.what) {
62 final Pair<IBinder, String> pair = (Pair<IBinder, String>)msg.obj;
67 mKeyguardTokenWatcher.release((IBinder)msg.obj);
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerMeasurement.java52 Message msg = handler.obtainMessage(
54 msg.getData().putString(PowerTestActivity.MSG_NAV_URL, TESTING_URL);
55 msg.getData().putBoolean(PowerTestActivity.MSG_NAV_LOGTIME, true);
57 handler.sendMessage(msg);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp48 const sp<AMessage> &msg, sp<AMessage> *response) {
49 status_t err = msg->postAndAwaitResponse(response);
62 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
63 msg->setString("path", path);
65 return PostAndAwaitResponse(msg, &response);
69 sp<AMessage> msg = new AMessage(kWhatSetSurface, id()); local
76 msg->setObject(
80 return PostAndAwaitResponse(msg, &response);
84 sp<AMessage> msg = new AMessage(kWhatPrepare, id()); local
86 return PostAndAwaitResponse(msg,
47 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
90 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
96 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
102 sp<AMessage> msg = new AMessage(kWhatReset, id()); local
107 onMessageReceived(const sp<AMessage> &msg) argument
385 sp<AMessage> msg = new AMessage(kWhatDoMoreStuff, id()); local
[all...]
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeView.java36 @Override public void handleMessage(Message msg) {
37 switch (msg.what) {
43 super.handleMessage(msg);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiScanningServiceImpl.java94 public void handleMessage(Message msg) { argument
96 if (DBG) Log.d(TAG, "ClientHandler got" + msg);
98 switch (msg.what) {
101 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
102 AsyncChannel c = (AsyncChannel) msg.obj;
104 msg.replyTo);
105 ClientInfo cInfo = new ClientInfo(c, msg.replyTo);
106 mClients.put(msg.replyTo, cInfo);
108 Slog.e(TAG, "Client connection failure, error=" + msg.arg1);
112 if (msg
283 processMessage(Message msg) argument
338 processMessage(Message msg) argument
434 processMessage(Message msg) argument
708 replySucceeded(Message msg, Object obj) argument
724 replyFailed(Message msg, int reason, String description) argument
1227 processMessage(Message msg) argument
1258 processMessage(Message msg) argument
1298 processMessage(Message msg) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp247 sp<AMessage> msg = new AMessage(kWhatSwapped, id()); local
248 msg->setInt32("stream", stream);
249 msg->setInt32("switchGeneration", switchGeneration);
250 msg->post();
352 sp<AMessage> msg = new AMessage(kWhatConnect, id()); local
353 msg->setString("url", url);
356 msg->setPointer(
361 msg->post();
365 sp<AMessage> msg = new AMessage(kWhatDisconnect, id()); local
368 status_t err = msg
374 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
383 onMessageReceived(const sp<AMessage> &msg) argument
665 onConnect(const sp<AMessage> &msg) argument
761 sp<AMessage> msg = new AMessage(kWhatFinishDisconnect2, id()); local
1127 onSeek(const sp<AMessage> &msg) argument
1187 sp<AMessage> msg = new AMessage(kWhatChangeConfiguration, id()); local
1272 sp<AMessage> msg; local
1309 onChangeConfiguration(const sp<AMessage> &msg) argument
1320 onChangeConfiguration2(const sp<AMessage> &msg) argument
1380 onChangeConfiguration3(const sp<AMessage> &msg) argument
1584 onSwapped(const sp<AMessage> &msg) argument
1693 sp<AMessage> msg = new AMessage(kWhatCheckBandwidth, id()); local
1749 onCheckBandwidth(const sp<AMessage> &msg) argument
[all...]

Completed in 7993 milliseconds

1234567891011>>