Searched refs:msg (Results 101 - 125 of 718) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DRuimFileHandler.java74 protected void logd(String msg) { argument
75 Rlog.d(LOG_TAG, "[RuimFileHandler] " + msg);
79 protected void loge(String msg) { argument
80 Rlog.e(LOG_TAG, "[RuimFileHandler] " + msg);
H A DSIMFileHandler.java77 protected void logd(String msg) { argument
78 Rlog.d(LOG_TAG, msg);
82 protected void loge(String msg) { argument
83 Rlog.e(LOG_TAG, msg);
H A DUsimFileHandler.java79 protected void logd(String msg) { argument
80 Rlog.d(LOG_TAG, msg);
84 protected void loge(String msg) { argument
85 Rlog.e(LOG_TAG, msg);
/frameworks/base/core/java/android/service/fingerprint/
H A DFingerprintManager.java78 public void handleMessage(android.os.Message msg) {
80 switch(msg.what) {
82 mClientReceiver.onEnrollResult(msg.arg1, msg.arg2);
85 mClientReceiver.onAcquired(msg.arg1);
88 mClientReceiver.onProcessed(msg.arg1);
91 mClientReceiver.onError(msg.arg1);
94 mClientReceiver.onRemoved(msg.arg1);
248 private void sendError(int msg, int arg1, int arg2) { argument
249 mHandler.obtainMessage(msg, arg
[all...]
/frameworks/base/media/java/android/media/
H A DAudioPortEventHandler.java56 public void handleMessage(Message msg) {
59 if (msg.what == AUDIOPORT_EVENT_NEW_LISTENER) {
61 if (mListeners.contains(msg.obj)) {
62 listeners.add((AudioManager.OnAudioPortUpdateListener)msg.obj);
73 if (msg.what == AUDIOPORT_EVENT_PORT_LIST_UPDATED ||
74 msg.what == AUDIOPORT_EVENT_PATCH_LIST_UPDATED ||
75 msg.what == AUDIOPORT_EVENT_SERVICE_DIED) {
80 if (msg.what != AUDIOPORT_EVENT_SERVICE_DIED) {
87 switch (msg.what) {
94 if (msg
[all...]
/frameworks/base/telecomm/java/android/telecom/
H A DInCallService.java62 public void handleMessage(Message msg) {
63 if (mPhone == null && msg.what != MSG_SET_IN_CALL_ADAPTER) {
67 switch (msg.what) {
69 mPhone = new Phone(new InCallAdapter((IInCallAdapter) msg.obj));
73 mPhone.internalAddCall((ParcelableCall) msg.obj);
76 mPhone.internalUpdateCall((ParcelableCall) msg.obj);
79 SomeArgs args = (SomeArgs) msg.obj;
90 mPhone.internalAudioStateChanged((AudioState) msg.obj);
93 mPhone.internalBringToForeground(msg.arg1 == 1);
96 mPhone.internalSetCanAddCall(msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWakeLockStateMachine.java101 * @param obj the object to pass in the msg.obj field
113 public boolean processMessage(Message msg) { argument
114 switch (msg.what) {
116 mPhone = (PhoneBase) msg.obj;
121 String errorText = "processMessage: unhandled message type " + msg.what;
151 public boolean processMessage(Message msg) { argument
152 switch (msg.what) {
155 if (handleSmsMessage(msg)) {
184 public boolean processMessage(Message msg) { argument
185 switch (msg
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_GenericPlayer.h130 virtual void onMessageReceived(const sp<AMessage> &msg);
134 virtual void onNotify(const sp<AMessage> &msg);
137 virtual void onSeek(const sp<AMessage> &msg);
138 virtual void onLoop(const sp<AMessage> &msg);
141 virtual void onBufferingUpdate(const sp<AMessage> &msg);
142 virtual void onSetBufferingUpdateThreshold(const sp<AMessage> &msg);
143 virtual void onAttachAuxEffect(const sp<AMessage> &msg);
144 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg);
145 void onSetPlayEvents(const sp<AMessage> &msg);
146 void onOneShot(const sp<AMessage> &msg);
[all...]
H A Dandroid_GenericMediaPlayer.h36 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj);
103 virtual void onSeek(const sp<AMessage> &msg);
104 virtual void onLoop(const sp<AMessage> &msg);
107 virtual void onBufferingUpdate(const sp<AMessage> &msg);
108 virtual void onAttachAuxEffect(const sp<AMessage> &msg);
109 virtual void onSetAuxEffectSendLevel(const sp<AMessage> &msg);
/frameworks/base/core/java/android/view/
H A DInputFilter.java225 public void handleMessage(Message msg) { argument
226 switch (msg.what) {
228 mHost = (IInputFilterHost) msg.obj;
247 final InputEvent event = (InputEvent)msg.obj;
252 onInputEvent(event, msg.arg1);
/frameworks/av/media/libstagefright/
H A DMediaCodecSource.cpp50 virtual void onMessageReceived(const sp<AMessage> &msg);
70 status_t postSynchronouslyAndReturnError(const sp<AMessage> &msg);
99 const sp<AMessage> &msg) {
101 status_t err = msg->postAndAwaitResponse(&response);
124 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
125 msg->setObject("meta", meta);
126 return postSynchronouslyAndReturnError(msg);
152 sp<AMessage> msg = new AMessage(kWhatPull, id()); local
153 msg->setInt32("generation", mPullGeneration);
154 msg
98 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument
167 onMessageReceived(const sp<AMessage> &msg) argument
272 sp<AMessage> msg = new AMessage(kWhatStart, mReflector->id()); local
278 sp<AMessage> msg = new AMessage(kWhatStop, mReflector->id()); local
458 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument
637 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
H A DACodec.cpp109 void setNotificationMessage(const sp<AMessage> &msg) { argument
110 mNotify = msg;
115 sp<AMessage> msg = mNotify->dup(); local
117 msg->setInt32("type", omx_msg.type);
118 msg->setInt32("node", omx_msg.node);
123 msg->setInt32("event", omx_msg.u.event_data.event);
124 msg->setInt32("data1", omx_msg.u.event_data.data1);
125 msg->setInt32("data2", omx_msg.u.event_data.data2);
131 msg->setInt32("buffer", omx_msg.u.buffer_data.buffer);
137 msg
448 setNotificationMessage(const sp<AMessage> &msg) argument
452 initiateSetup(const sp<AMessage> &msg) argument
459 sp<AMessage> msg = new AMessage(kWhatSetParameters, id()); local
464 initiateAllocateComponent(const sp<AMessage> &msg) argument
470 initiateConfigureComponent(const sp<AMessage> &msg) argument
498 sp<AMessage> msg = new AMessage(kWhatShutdown, id()); local
1168 configureCodec( const char *mime, const sp<AMessage> &msg) argument
2329 setupVideoDecoder( const char *mime, const sp<AMessage> &msg, bool haveNativeWindow) argument
2396 setupVideoEncoder(const char *mime, const sp<AMessage> &msg) argument
2561 setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode) argument
2608 getBitrateMode(const sp<AMessage> &msg) argument
2617 setupMPEG4EncoderParameters(const sp<AMessage> &msg) argument
2698 setupH263EncoderParameters(const sp<AMessage> &msg) argument
2826 setupAVCEncoderParameters(const sp<AMessage> &msg) argument
2934 setupHEVCEncoderParameters(const sp<AMessage> &msg) argument
2990 setupVPXEncoderParameters(const sp<AMessage> &msg) argument
3257 deferMessage(const sp<AMessage> &msg) argument
4094 onMessageReceived(const sp<AMessage> &msg) argument
4150 onOMXMessage(const sp<AMessage> &msg) argument
4309 onInputBufferFilled(const sp<AMessage> &msg) argument
4627 onOutputBufferDrained(const sp<AMessage> &msg) argument
4758 onMessageReceived(const sp<AMessage> &msg) argument
4817 onSetup( const sp<AMessage> &msg) argument
4825 onAllocateComponent(const sp<AMessage> &msg) argument
4987 onMessageReceived(const sp<AMessage> &msg) argument
5042 onConfigureComponent( const sp<AMessage> &msg) argument
5206 onMessageReceived(const sp<AMessage> &msg) argument
5273 onMessageReceived(const sp<AMessage> &msg) argument
5416 onMessageReceived(const sp<AMessage> &msg) argument
5662 onMessageReceived( const sp<AMessage> &msg) argument
5763 onMessageReceived(const sp<AMessage> &msg) argument
5847 onInputBufferFilled( const sp<AMessage> &msg) argument
5854 onOutputBufferDrained( const sp<AMessage> &msg) argument
5867 onMessageReceived(const sp<AMessage> &msg) argument
5929 onMessageReceived(const sp<AMessage> &msg) argument
5985 sp<AMessage> msg = new AMessage(kWhatOMXMessage, mCodec->id()); local
6007 onOutputBufferDrained(const sp<AMessage> &msg) argument
6013 onInputBufferFilled(const sp<AMessage> &msg) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp156 sp<AMessage> msg = new AMessage(kWhatFetchSubtitleData, id()); local
157 msg->setInt32("generation", mFetchSubtitleDataGeneration);
158 msg->post();
172 void NuPlayer::HTTPLiveSource::onMessageReceived(const sp<AMessage> &msg) { argument
173 switch (msg->what()) {
176 onSessionNotify(msg);
183 CHECK(msg->findInt32("generation", &generation));
204 msg->post(delayUs > 0ll ? delayUs : 0ll);
207 msg->post(1000000ll);
214 Source::onMessageReceived(msg);
219 onSessionNotify(const sp<AMessage> &msg) argument
[all...]
H A DNuPlayer.cpp131 PostMessageAction(const sp<AMessage> &msg) argument
132 : mMessage(msg) {
202 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
206 msg->setObject("source", new StreamingSource(notify, source));
207 msg->post();
232 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
264 msg->setObject("source", source);
265 msg->post();
269 sp<AMessage> msg = new AMessage(kWhatSetDataSource, id()); local
283 msg
293 sp<AMessage> msg = new AMessage(kWhatSetVideoNativeWindow, id()); local
308 sp<AMessage> msg = new AMessage(kWhatSetAudioSink, id()); local
336 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local
371 onMessageReceived(const sp<AMessage> &msg) argument
1161 sp<AMessage> msg = new AMessage(kWhatScanSources, id()); local
1340 notifyListener(int msg, int ext1, int ext2, const Parcel *in) argument
1419 sp<AMessage> msg = new AMessage(kWhatGetTrackInfo, id()); local
1428 sp<AMessage> msg = new AMessage(kWhatGetSelectedTrack, id()); local
1441 sp<AMessage> msg = new AMessage(kWhatSelectTrack, id()); local
1484 sp<AMessage> msg = new AMessage(kWhatPollDuration, id()); local
1654 onSourceNotify(const sp<AMessage> &msg) argument
1839 onClosedCaptionNotify(const sp<AMessage> &msg) argument
1926 sp<AMessage> msg = new AMessage; local
[all...]
H A DNuPlayerDecoderPassThrough.cpp100 bool NuPlayer::DecoderPassThrough::isStaleReply(const sp<AMessage> &msg) { argument
102 CHECK(msg->findInt32("generation", &generation));
116 sp<AMessage> msg = new AMessage(); local
118 err = fetchInputData(msg);
123 onInputBufferFetched(msg);
241 sp<AMessage> msg = mNotify->dup(); local
242 msg->setInt32("what", kWhatInputDiscontinuity);
245 msg->setInt32("formatChange", false);
246 msg->post();
281 const sp<AMessage> &msg) {
280 onInputBufferFetched( const sp<AMessage> &msg) argument
404 onMessageReceived(const sp<AMessage> &msg) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java77 public void executeMessage(Message msg) { argument
81 switch (msg.what) {
84 SomeArgs args = (SomeArgs)msg.obj;
91 switch (msg.what) {
96 mInputMethodSession.displayCompletions((CompletionInfo[])msg.obj);
99 mInputMethodSession.updateExtractedText(msg.arg1,
100 (ExtractedText)msg.obj);
103 SomeArgs args = (SomeArgs)msg.obj;
110 mInputMethodSession.updateCursor((Rect)msg.obj);
114 mInputMethodSession.updateCursorAnchorInfo((CursorAnchorInfo)msg
[all...]
H A DIInputMethodWrapper.java126 public void executeMessage(Message msg) { argument
129 if (inputMethod == null && msg.what != DO_DUMP) {
130 Log.w(TAG, "Input method reference was null, ignoring message: " + msg.what);
134 switch (msg.what) {
140 SomeArgs args = (SomeArgs)msg.obj;
155 inputMethod.attachToken((IBinder)msg.obj);
159 inputMethod.bindInput((InputBinding)msg.obj);
166 SomeArgs args = (SomeArgs)msg.obj;
177 SomeArgs args = (SomeArgs)msg.obj;
188 SomeArgs args = (SomeArgs)msg
[all...]
/frameworks/native/include/input/
H A DInputTransport.h165 status_t sendMessage(const InputMessage* msg);
177 status_t receiveMessage(InputMessage* msg);
368 void initializeFrom(const InputMessage* msg) { argument
369 eventTime = msg->body.motion.eventTime;
371 for (uint32_t i = 0; i < msg->body.motion.pointerCount; i++) {
372 uint32_t id = msg->body.motion.pointers[i].properties.id;
375 pointers[i].copyFrom(msg->body.motion.pointers[i].coords);
400 void addHistory(const InputMessage* msg) { argument
405 history[historyCurrent].initializeFrom(msg);
429 void updateTouchState(InputMessage* msg);
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiController.java317 public boolean processMessage(Message msg) { argument
318 switch (msg.what) {
357 int pluggedType = msg.arg1;
382 throw new RuntimeException("WifiController.handleMessage " + msg.what);
403 public boolean processMessage(Message msg) { argument
404 switch (msg.what) {
408 if (doDeferEnable(msg)) {
431 if (msg.arg1 == 1) {
432 mWifiStateMachine.setHostApRunning((WifiConfiguration) msg.obj,
438 if (msg
451 doDeferEnable(Message msg) argument
476 processMessage(Message msg) argument
525 processMessage(Message msg) argument
575 doDeferEnable(Message msg) argument
596 processMessage(Message msg) argument
624 processMessage(Message msg) argument
654 processMessage(Message msg) argument
675 processMessage(Message msg) argument
[all...]
H A DWifiTrafficPoller.java116 public void handleMessage(Message msg) { argument
117 switch (msg.what) {
119 mEnableTrafficStatsPoll = (msg.arg1 == 1);
139 if (msg.arg1 == mTrafficStatsPollToken) {
146 mClients.add((Messenger) msg.obj);
153 mClients.remove(msg.obj);
161 Message msg;
164 msg = Message.obtain(mTrafficHandler,
167 msg = Message.obtain(mTrafficHandler,
170 msg
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp85 sp<AMessage> msg = new AMessage(kWhatAddStream, id()); local
86 msg->setInt32("rtp-socket", rtpSocket);
87 msg->setInt32("rtcp-socket", rtcpSocket);
88 msg->setObject("session-desc", sessionDesc);
89 msg->setSize("index", index);
90 msg->setMessage("notify", notify);
91 msg->setInt32("injected", injected);
92 msg->post();
96 sp<AMessage> msg = new AMessage(kWhatRemoveStream, id()); local
97 msg
148 onMessageReceived(const sp<AMessage> &msg) argument
182 onAddStream(const sp<AMessage> &msg) argument
213 onRemoveStream(const sp<AMessage> &msg) argument
236 sp<AMessage> msg = new AMessage(kWhatPollStreams, id()); local
642 sp<AMessage> msg = new AMessage(kWhatInjectPacket, id()); local
648 onInjectPacket(const sp<AMessage> &msg) argument
[all...]
H A DARawAudioAssembler.cpp98 sp<AMessage> msg = mNotifyMsg->dup(); local
99 msg->setBuffer("access-unit", buffer);
100 msg->post();
114 sp<AMessage> msg = mNotifyMsg->dup(); local
115 msg->setInt32("eos", true);
116 msg->post();
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java72 Message msg = mHandler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views);
73 msg.sendToTarget();
80 Message msg = mHandler.obtainMessage(HANDLE_PROVIDER_CHANGED,
82 msg.sendToTarget();
90 Message msg = mHandler.obtainMessage(HANDLE_VIEW_DATA_CHANGED,
92 msg.sendToTarget();
101 public void handleMessage(Message msg) { argument
102 switch (msg.what) {
104 updateAppWidgetView(msg.arg1, (RemoteViews)msg
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DGsmSmsCbTest.java51 SmsCbMessage msg = createFromPdu(pdu);
53 assertEquals("Unexpected geographical scope decoded", expectedGs, msg
58 SmsCbMessage msg = createFromPdu(null);
59 assertNull("createFromPdu(byte[] with null pdu should return null", msg);
64 SmsCbMessage msg = createFromPdu(pdu);
66 assertNull("createFromPdu(byte[] with too short pdu should return null", msg);
117 SmsCbMessage msg = createFromPdu(pdu);
120 SmsCbMessage.GEOGRAPHICAL_SCOPE_CELL_WIDE, msg.getGeographicalScope());
139 SmsCbMessage msg = createFromPdu(pdu);
143 msg
[all...]
/frameworks/av/include/media/stagefright/
H A DACodec.h40 virtual void setNotificationMessage(const sp<AMessage> &msg);
42 void initiateSetup(const sp<AMessage> &msg);
44 virtual void initiateAllocateComponent(const sp<AMessage> &msg);
45 virtual void initiateConfigureComponent(const sp<AMessage> &msg);
53 virtual void signalSetParameters(const sp<AMessage> &msg);
58 virtual void onMessageReceived(const sp<AMessage> &msg) { argument
59 handleMessage(msg);
225 status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode);
246 status_t configureCodec(const char *mime, const sp<AMessage> &msg);
260 const char *mime, const sp<AMessage> &msg, boo
[all...]

Completed in 918 milliseconds

1234567891011>>