Searched defs:msg (Results 126 - 150 of 474) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/rtsp/
H A DAMPEG4ElementaryAssembler.cpp403 sp<AMessage> msg = mNotifyMsg->dup(); local
404 msg->setBuffer("access-unit", accessUnit);
405 msg->post();
428 sp<AMessage> msg = mNotifyMsg->dup(); local
429 msg->setInt32("eos", true);
430 msg->post();
/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...]
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp63 sp<AMessage> msg = new AMessage(); local
64 return AMediaFormat_fromMsg(&msg);
/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/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java552 private static void log(String msg) { argument
553 Log.d(TAG, msg);
H A DBluetoothMap.java388 private static void log(String msg) { argument
389 Log.d(TAG, msg);
H A DBluetoothPan.java384 private static void log(String msg) { argument
385 Log.d(TAG, msg);
/frameworks/base/core/java/android/content/pm/
H A DLauncherApps.java439 public void handleMessage(Message msg) { argument
440 if (mCallback == null || !(msg.obj instanceof CallbackInfo)) {
443 CallbackInfo info = (CallbackInfo) msg.obj;
444 switch (msg.what) {
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java671 private void handleRecoverableSetupErrors(CameraRuntimeException e, String msg) { argument
676 Log.w(TAG, msg + ": " + errorMsg);
679 throw new IllegalStateException(msg, e.asChecked());
/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/base/core/java/android/net/
H A DDnsPinger.java136 public void handleMessage(Message msg) { argument
137 switch (msg.what) {
139 DnsArg dnsArg = (DnsArg) msg.obj;
146 newActivePing.internalId = msg.arg1;
147 newActivePing.timeout = msg.arg2;
180 sendResponse(msg.arg1, -9999, SOCKET_EXCEPTION);
184 if (msg.arg1 != mEventCounter) {
H A DNetworkAgent.java150 public void handleMessage(Message msg) { argument
151 switch (msg.what) {
158 ac.connected(null, this, msg.replyTo);
159 ac.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED,
186 log("Unhandled Message " + msg);
192 (msg.arg1 == VALID_NETWORK ? "VALID)" : "INVALID)"));
194 networkStatus(msg.arg1);
205 Message msg = Message.obtain();
206 msg.what = what;
207 msg
[all...]
H A DNetworkFactory.java62 * msg.obj = NetworkRequest
63 * msg.arg1 = score - the score of the any network currently satisfying this
78 * msg.obj = NetworkRequest
84 * msg.arg1 = new score
91 * msg.obj = new filter
132 public void handleMessage(Message msg) { argument
133 switch (msg.what) {
135 handleAddRequest((NetworkRequest)msg.obj, msg.arg1);
139 handleRemoveRequest((NetworkRequest) msg
[all...]
/frameworks/base/core/java/android/nfc/tech/
H A DNdef.java275 NdefMessage msg = tagService.ndefRead(serviceHandle);
276 if (msg == null && !tagService.isPresent(serviceHandle)) {
279 return msg;
300 * @param msg the NDEF Message to write, must not be null
305 public void writeNdefMessage(NdefMessage msg) throws IOException, FormatException { argument
315 int errorCode = tagService.ndefWrite(serviceHandle, msg);
/frameworks/base/core/java/android/os/
H A DBinder.java260 * @param msg The message to show instead of the dump; if null, dumps are
263 public static void setDumpDisabled(String msg) { argument
265 sDumpDisabled = msg;
408 static void checkParcel(IBinder obj, int code, Parcel parcel, String msg) { argument
412 sb.append(msg);
H A DMessageQueue.java149 Message msg = mMessages;
150 if (msg != null && msg.target == null) {
153 prevMsg = msg;
154 msg = msg.next;
155 } while (msg != null && !msg.isAsynchronous());
157 if (msg != null) {
158 if (now < msg
315 enqueueMessage(Message msg, long when) argument
[all...]
/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/core/java/android/service/trust/
H A DTrustAgentService.java120 public void handleMessage(android.os.Message msg) {
121 switch (msg.what) {
123 onUnlockAttempt(msg.arg1 != 0);
126 ConfigurationData data = (ConfigurationData) msg.obj;
198 private void onError(String msg) { argument
199 Slog.v(TAG, "Remote exception while " + msg);
/frameworks/base/core/java/android/util/
H A DLog.java90 TerribleFailure(String msg, Throwable cause) { super(msg, cause); } argument
115 * @param msg The message you would like logged.
117 public static int v(String tag, String msg) { argument
118 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg);
125 * @param msg The message you would like logged.
128 public static int v(String tag, String msg, Throwable tr) { argument
129 return println_native(LOG_ID_MAIN, VERBOSE, tag, msg + '\n' + getStackTraceString(tr));
136 * @param msg The message you would like logged.
138 public static int d(String tag, String msg) { argument
149 d(String tag, String msg, Throwable tr) argument
159 i(String tag, String msg) argument
170 i(String tag, String msg, Throwable tr) argument
180 w(String tag, String msg) argument
191 w(String tag, String msg, Throwable tr) argument
231 e(String tag, String msg) argument
242 e(String tag, String msg, Throwable tr) argument
255 wtf(String tag, String msg) argument
264 wtfStack(String tag, String msg) argument
285 wtf(String tag, String msg, Throwable tr) argument
289 wtf(int logId, String tag, String msg, Throwable tr, boolean localStack, boolean system) argument
298 wtfQuiet(int logId, String tag, String msg, boolean system) argument
353 println(int priority, String tag, String msg) argument
363 println_native(int bufID, int priority, String tag, String msg) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DHandlerCaller.java36 public void handleMessage(Message msg) { argument
37 mCallback.executeMessage(msg);
42 public void executeMessage(Message msg); argument
56 public void executeOrSendMessage(Message msg) { argument
61 mCallback.executeMessage(msg);
62 msg.recycle();
66 mH.sendMessage(msg);
69 public void sendMessageDelayed(Message msg, long delayMillis) { argument
70 mH.sendMessageDelayed(msg, delayMillis);
85 public void sendMessage(Message msg) { argument
89 sendMessageAndWait(Message msg) argument
[all...]
H A DRuntimeInit.java58 private static int Clog_e(String tag, String msg, Throwable tr) { argument
60 msg + '\n' + Log.getStackTraceString(tr));
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java78 public void executeMessage(Message msg) { argument
84 switch (msg.what) {
99 mTvInputSessionImpl.setMain((Boolean) msg.obj);
103 mTvInputSessionImpl.setSurface((Surface) msg.obj);
107 SomeArgs args = (SomeArgs) msg.obj;
113 mTvInputSessionImpl.setStreamVolume((Float) msg.obj);
117 SomeArgs args = (SomeArgs) msg.obj;
123 mTvInputSessionImpl.setCaptionEnabled((Boolean) msg.obj);
127 SomeArgs args = (SomeArgs) msg.obj;
133 SomeArgs args = (SomeArgs) msg
[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/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java366 public void handleMessage(Message msg) { argument
367 switch (msg.what) {
369 setCallback((IRemoteDisplayCallback)msg.obj);
373 setDiscoveryMode(msg.arg1);
377 RemoteDisplay display = findRemoteDisplay((String)msg.obj);
384 RemoteDisplay display = findRemoteDisplay((String)msg.obj);
391 RemoteDisplay display = findRemoteDisplay((String)msg.obj);
393 onSetVolume(display, msg.arg1);
398 RemoteDisplay display = findRemoteDisplay((String)msg.obj);
400 onAdjustVolume(display, msg
[all...]

Completed in 803 milliseconds

1234567891011>>