Searched refs:msg (Results 226 - 250 of 718) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/util/
H A DLocalLog.java41 public synchronized void log(String msg) { argument
48 mLog.add(sb.toString() + " - " + msg);
/frameworks/base/core/java/android/widget/
H A DAdapterViewFlipper.java200 Message msg = mHandler.obtainMessage(FLIP_MSG);
201 mHandler.sendMessageDelayed(msg, mFlipInterval);
216 Message msg = mHandler.obtainMessage(FLIP_MSG);
217 mHandler.sendMessageDelayed(msg, mFlipInterval);
246 Message msg = mHandler.obtainMessage(FLIP_MSG);
247 mHandler.sendMessageDelayed(msg, mFlipInterval);
286 public void handleMessage(Message msg) {
287 if (msg.what == FLIP_MSG) {
H A DFilter.java225 * @param msg the filtering request
227 public void handleMessage(Message msg) { argument
228 int what = msg.what;
232 RequestArguments args = (RequestArguments) msg.obj;
276 * @param msg the filtering results
279 public void handleMessage(Message msg) { argument
280 RequestArguments args = (RequestArguments) msg.obj;
/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorInflaterTest.java38 private void assertUnique(Object object, String msg) { argument
40 assertTrue("object should be unique " + msg + ", obj:" + object, identityHashes.add(code));
/frameworks/base/drm/java/android/drm/
H A DDrmInfoRequest.java71 final String msg = "infoType: " + infoType + "," +
73 throw new IllegalArgumentException(msg);
/frameworks/base/services/core/java/com/android/server/am/
H A DAppWaitingForDebuggerDialog.java65 public void handleMessage(Message msg) {
66 switch (msg.what) {
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapMessagesListing.java52 if (xpp.getName().equals("msg")) {
61 BluetoothMapMessage msg = new BluetoothMapMessage(attrs);
62 mMessages.add(msg);
65 Log.w(TAG, "Invalid <msg/>");
H A DBluetoothMnsService.java61 public void handleMessage(Message msg) { argument
62 Log.d(TAG, "Handler: msg: " + msg.what);
64 switch (msg.what) {
66 int instanceId = msg.arg1;
72 BluetoothMapEventReport ev = (BluetoothMapEventReport) msg.obj;
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.h82 virtual void onMessageReceived(const sp<AMessage> &msg);
186 status_t onStart(const sp<AMessage> &msg);
188 void onStop(const sp<AMessage> &msg);
192 // Resume a fetcher to continue until the stopping point stored in msg.
193 status_t onResumeUntil(const sp<AMessage> &msg);
217 int64_t resumeThreshold(const sp<AMessage> &msg);
H A DPlaylistFetcher.cpp329 sp<AMessage> msg = new AMessage(kWhatMonitorQueue, id()); local
330 msg->setInt32("generation", mMonitorQueueGeneration);
331 msg->post(delayUs);
346 sp<AMessage> msg = new AMessage(kWhatStart, id()); local
351 msg->setPointer("audioSource", audioSource.get());
356 msg->setPointer("videoSource", videoSource.get());
361 msg->setPointer("subtitleSource", subtitleSource.get());
365 msg->setInt32("streamTypeMask", streamTypeMask);
366 msg->setInt64("startTimeUs", startTimeUs);
367 msg
378 sp<AMessage> msg = new AMessage(kWhatStop, id()); local
384 AMessage* msg = new AMessage(kWhatResumeUntil, id()); local
389 onMessageReceived(const sp<AMessage> &msg) argument
452 onStart(const sp<AMessage> &msg) argument
516 onStop(const sp<AMessage> &msg) argument
535 onResumeUntil(const sp<AMessage> &msg) argument
664 sp<AMessage> msg = mNotify->dup(); local
675 sp<AMessage> msg = new AMessage(kWhatDownloadNext, id()); local
681 sp<AMessage> msg = mNotify->dup(); local
1685 sp<AMessage> msg = mNotify->dup(); local
1691 resumeThreshold(const sp<AMessage> &msg) argument
[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 DParcelFileDescriptor.java619 * @param msg describing the error; must not be null.
621 public void closeWithError(String msg) throws IOException { argument
624 mWrapped.closeWithError(msg);
629 if (msg == null) {
632 closeWithStatus(Status.ERROR, msg);
636 private void closeWithStatus(int status, String msg) { argument
641 writeCommStatusAndClose(status, msg);
661 private void writeCommStatusAndClose(int status, String msg) { argument
664 if (msg != null) {
665 Log.w(TAG, "Unable to inform peer: " + msg);
976 public final String msg; field in class:ParcelFileDescriptor.Status
982 Status(int status, String msg) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowId.java82 public void handleMessage(Message msg) { argument
83 switch (msg.what) {
85 onFocusGained((WindowId)msg.obj);
88 onFocusLost((WindowId)msg.obj);
91 super.handleMessage(msg);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DConsole.java75 public static void logError(Context context, String msg) { argument
76 Toast.makeText(context, msg, Toast.LENGTH_SHORT).show();
77 Log.e("Recents", msg);
81 public static void logRawError(String msg, Exception e) { argument
82 Log.e("Recents", msg, e);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp100 virtual void onMessageReceived(const sp<AMessage> &msg);
217 sp<AMessage> msg = new AMessage(kWhatMediaPullerStopped, id()); local
225 mMediaPuller->stopAsync(msg);
228 msg->post();
241 const sp<AMessage> &msg) {
242 switch (msg->what()) {
477 const sp<AMessage> &msg) {
478 switch (msg->what()) {
482 ALOGV("dropping msg '%s' because we're dead",
483 msg
240 onMessageReceived( const sp<AMessage> &msg) argument
476 onMessageReceived( const sp<AMessage> &msg) argument
664 onSinkFeedback(const sp<AMessage> &msg) argument
836 sp<AMessage> msg = new AMessage(kWhatPullExtractorSample, id()); local
860 sp<AMessage> msg = new AMessage(kWhatConverterNotify, id()); local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaDrm.java292 public void handleMessage(Message msg) { argument
297 switch(msg.what) {
300 Log.i(TAG, "Drm event (" + msg.arg1 + "," + msg.arg2 + ")");
303 if (msg.obj != null && msg.obj instanceof Parcel) {
304 Parcel parcel = (Parcel)msg.obj;
313 mOnEventListener.onEvent(mMediaDrm, sessionId, msg.arg1, msg.arg2, data);
319 Log.e(TAG, "Unknown message type " + msg
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccFileHandler.java340 public void handleMessage(Message msg) { argument
353 switch (msg.what) {
355 ar = (AsyncResult)msg.obj;
360 if (processException(response, (AsyncResult) msg.obj)) {
382 ar = (AsyncResult)msg.obj;
387 if (processException(response, (AsyncResult) msg.obj)) {
419 ar = (AsyncResult)msg.obj;
423 if (processException(response, (AsyncResult) msg.obj)) {
429 fileid = msg.arg1;
451 ar = (AsyncResult)msg
[all...]
H A DAdnRecordCache.java323 handleMessage(Message msg) { argument
327 switch(msg.what) {
330 ar = (AsyncResult) msg.obj;
331 efid = msg.arg1;
343 ar = (AsyncResult)msg.obj;
344 efid = msg.arg1;
345 int index = msg.arg2;
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java535 public void handleMessage(Message msg) {
539 switch (msg.what) {
541 geofenceId = msg.arg1;
548 callback.onGeofenceAdd(geofenceId, msg.arg2);
554 geofenceId = msg.arg1;
561 callback.onGeofenceRemove(geofenceId, msg.arg2);
597 geofenceId = msg.arg1;
604 callback.onGeofencePause(geofenceId, msg.arg2);
611 geofenceId = msg.arg1;
618 callback.onGeofenceResume(geofenceId, msg
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiWatchdogStateMachine.java452 public boolean processMessage(Message msg) { argument
453 switch (msg.what) {
459 mCurrentSignalLevel = calculateSignalLevel(msg.arg1);
477 loge("Unhandled message " + msg + " in state " + getCurrentState().getName());
494 public boolean processMessage(Message msg) { argument
495 switch (msg.what) {
501 Intent intent = (Intent) msg.obj;
529 public boolean processMessage(Message msg) { argument
531 switch (msg.what) {
538 intent = (Intent) msg
620 processMessage(Message msg) argument
690 processMessage(Message msg) argument
729 processMessage(Message msg) argument
762 processMessage(Message msg) argument
866 processMessage(Message msg) argument
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java135 Message msg = mHandlerCaller.obtainMessageIOO(MSG_SUPPORTS_COMMANDS,
137 SomeArgs args = mHandlerCaller.sendMessageAndWait(msg);
286 public void executeMessage(Message msg) { argument
288 switch (msg.what) {
290 args = (SomeArgs)msg.obj;
297 args = (SomeArgs)msg.obj;
304 args = (SomeArgs)msg.obj;
311 args = (SomeArgs)msg.obj;
318 args = (SomeArgs)msg.obj;
323 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 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/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSimPinView.java81 final String msg;
84 msg = rez.getString(R.string.kg_sim_pin_instructions);
88 msg = rez.getString(R.string.kg_sim_pin_instructions_multi, displayName);
93 mSecurityMessageDisplay.setMessage(msg, true);
218 String msg = getPinPasswordErrorMessage(remaining);
221 builder.setMessage(msg);
228 mRemainingAttemptsDialog.setMessage(msg);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccPhoneBookInterfaceManager.java62 public void handleMessage(Message msg) {
65 switch (msg.what) {
67 ar = (AsyncResult) msg.obj;
82 ar = (AsyncResult) msg.obj;
89 ar = (AsyncResult)msg.obj;
133 protected abstract void logd(String msg); argument
135 protected abstract void loge(String msg); argument

Completed in 5719 milliseconds

1234567891011>>