/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | CsimFileHandler.java | 61 protected void logd(String msg) { argument 62 Rlog.d(LOG_TAG, msg); 66 protected void loge(String msg) { argument 67 Rlog.e(LOG_TAG, msg);
|
H A D | IsimFileHandler.java | 49 protected void logd(String msg) { argument 50 Rlog.d(LOG_TAG, msg); 54 protected void loge(String msg) { argument 55 Rlog.e(LOG_TAG, msg);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageDeleteObserver2.aidl | 24 void onPackageDeleted(String packageName, int returnCode, String msg);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | RttService.java | 53 public void handleMessage(Message msg) { argument 56 Log.d(TAG, "ClientHandler got" + msg + " what = " + getDescription(msg.what)); 59 switch (msg.what) { 62 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 65 if (DBG) Slog.d(TAG, "Client connection lost with reason: " + msg.arg1); 67 if (DBG) Slog.d(TAG, "closing client " + msg.replyTo); 68 ClientInfo ci = mClients.remove(msg.replyTo); 73 ac.connected(mContext, this, msg.replyTo); 74 ClientInfo client = new ClientInfo(ac, msg 293 processMessage(Message msg) argument 328 processMessage(Message msg) argument 396 processMessage(Message msg) argument 471 processMessage(Message msg) argument 508 replySucceeded(Message msg, Object obj) argument 524 replyFailed(Message msg, int reason, String description) argument 543 enforcePermissionCheck(Message msg) argument [all...] |
H A D | WifiController.java | 354 public boolean processMessage(Message msg) { argument 355 switch (msg.what) { 394 int pluggedType = msg.arg1; 425 throw new RuntimeException("WifiController.handleMessage " + msg.what); 447 public boolean processMessage(Message msg) { argument 448 switch (msg.what) { 452 if (doDeferEnable(msg)) { 475 if (msg.arg1 == 1) { 476 if (msg.arg2 == 0) { // previous wifi state has not been saved yet 479 mWifiStateMachine.setHostApRunning((WifiConfiguration) msg 501 doDeferEnable(Message msg) argument 526 processMessage(Message msg) argument 597 processMessage(Message msg) argument 649 doDeferEnable(Message msg) argument 697 processMessage(Message msg) argument 764 processMessage(Message msg) argument 825 processMessage(Message msg) argument 850 processMessage(Message msg) argument [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneStateListener.java | 276 public void handleMessage(Message msg) { 278 log("mSubId=" + mSubId + " what=0x" + Integer.toHexString(msg.what) 279 + " msg=" + msg); 281 switch (msg.what) { 283 PhoneStateListener.this.onServiceStateChanged((ServiceState)msg.obj); 286 PhoneStateListener.this.onSignalStrengthChanged(msg.arg1); 289 PhoneStateListener.this.onMessageWaitingIndicatorChanged(msg.arg1 != 0); 292 PhoneStateListener.this.onCallForwardingIndicatorChanged(msg.arg1 != 0); 295 PhoneStateListener.this.onCellLocationChanged((CellLocation)msg [all...] |
/frameworks/native/libs/gui/tests/ |
H A D | GLTest.cpp | 178 String8 msg; local 182 msg += String8::format("error reading pixel: %#x", err); 184 msg += String8::format(", %#x", err); 186 return ::testing::AssertionFailure(::testing::Message(msg.string())); 189 msg += String8::format("r(%d isn't %d)", pixel[0], r); 192 if (!msg.isEmpty()) { 193 msg += " "; 195 msg += String8::format("g(%d isn't %d)", pixel[1], g); 198 if (!msg.isEmpty()) { 199 msg 218 String8 msg; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodec.cpp | 291 const sp<AMessage> &msg, sp<AMessage> *response) { 292 status_t err = msg->postAndAwaitResponse(response); 392 sp<AMessage> msg = new AMessage(kWhatInit, this); local 393 msg->setString("name", name); 394 msg->setInt32("nameIsType", nameIsType); 397 msg->setInt32("encoder", encoder); 416 err = PostAndAwaitResponse(msg, &response); 425 sp<AMessage> msg = new AMessage(kWhatSetCallback, this); local 426 msg->setMessage("callback", callback); 429 return PostAndAwaitResponse(msg, 290 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 433 sp<AMessage> msg = new AMessage(kWhatSetNotification, this); local 443 sp<AMessage> msg = new AMessage(kWhatConfigure, this); local 510 sp<AMessage> msg = new AMessage(kWhatSetInputSurface, this); local 518 sp<AMessage> msg = new AMessage(kWhatSetSurface, this); local 527 sp<AMessage> msg = new AMessage(kWhatCreateInputSurface, this); local 568 sp<AMessage> msg = new AMessage(kWhatStart, this); local 610 sp<AMessage> msg = new AMessage(kWhatStop, this); local 633 sp<AMessage> msg = new AMessage(kWhatRelease, this); local 647 sp<AMessage> msg = new AMessage(kWhatRelease, this); local 699 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, this); local 727 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, this); local 748 sp<AMessage> msg = new AMessage(kWhatDequeueInputBuffer, this); local 769 sp<AMessage> msg = new AMessage(kWhatDequeueOutputBuffer, this); local 788 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, this); local 797 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, this); local 807 sp<AMessage> msg = new AMessage(kWhatReleaseOutputBuffer, this); local 815 sp<AMessage> msg = new AMessage(kWhatSignalEndOfInputStream, this); local 822 sp<AMessage> msg = new AMessage(kWhatGetOutputFormat, this); local 836 sp<AMessage> msg = new AMessage(kWhatGetInputFormat, this); local 850 sp<AMessage> msg = new AMessage(kWhatGetName, this); local 864 sp<AMessage> msg = new AMessage(kWhatGetBuffers, this); local 874 sp<AMessage> msg = new AMessage(kWhatGetBuffers, this); local 883 sp<AMessage> msg = new AMessage(kWhatGetBuffers, this); local 966 sp<AMessage> msg = new AMessage(kWhatFlush, this); local 979 sp<AMessage> msg = new AMessage(kWhatRequestActivityNotification, this); local 1082 onMessageReceived(const sp<AMessage> &msg) argument 2320 sp<AMessage> msg = new AMessage(kWhatQueueInputBuffer, this); local 2385 sp<AMessage> msg = info->mNotify; local 2406 updateBuffers( int32_t portIndex, const sp<AMessage> &msg) argument 2435 onQueueInputBuffer(const sp<AMessage> &msg) argument 2571 CreateFramesRenderedMessage( std::list<FrameRenderTracker::Info> done, sp<AMessage> &msg) argument 2587 onReleaseOutputBuffer(const sp<AMessage> &msg) argument 2758 sp<AMessage> msg = mCallback->dup(); local 2770 sp<AMessage> msg = mCallback->dup(); local 2803 sp<AMessage> msg = mCallback->dup(); local 2818 sp<AMessage> msg = mCallback->dup(); local 2855 sp<AMessage> msg = new AMessage(kWhatSetParameters, this); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | SDPLoader.cpp | 54 sp<AMessage> msg = new AMessage(kWhatLoad, this); local 55 msg->setString("url", url); 58 msg->setPointer( 63 msg->post(); 72 void SDPLoader::onMessageReceived(const sp<AMessage> &msg) { argument 73 switch (msg->what()) { 75 onLoad(msg); 84 void SDPLoader::onLoad(const sp<AMessage> &msg) { argument 88 CHECK(msg->findString("url", &url)); 91 msg [all...] |
/frameworks/base/core/java/android/app/trust/ |
H A D | TrustManager.java | 171 public void handleMessage(Message msg) { 172 switch(msg.what) { 174 int flags = msg.peekData() != null ? msg.peekData().getInt(DATA_FLAGS) : 0; 175 ((TrustListener)msg.obj).onTrustChanged(msg.arg1 != 0, msg.arg2, flags); 178 ((TrustListener)msg.obj).onTrustManagedChanged(msg.arg1 != 0, msg [all...] |
/frameworks/base/core/java/android/nfc/cardemulation/ |
H A D | HostApduService.java | 247 public void handleMessage(Message msg) { argument 248 switch (msg.what) { 250 Bundle dataBundle = msg.getData(); 254 if (mNfcService == null) mNfcService = msg.replyTo; 286 msg.replyTo = mMessenger; 287 mNfcService.send(msg); 295 onDeactivated(msg.arg1); 303 msg.replyTo = mMessenger; 304 mNfcService.send(msg); 310 super.handleMessage(msg); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CallbackHandler.java | 60 public void handleMessage(Message msg) { argument 61 switch (msg.what) { 64 listener.setEmergencyCallsOnly(msg.arg1 != 0); 69 signalCluster.setSubs((List<SubscriptionInfo>) msg.obj); 74 signalCluster.setNoSims(msg.arg1 != 0); 79 signalCluster.setEthernetIndicators((IconState) msg.obj); 84 signalCluster.setIsAirplaneMode((IconState) msg.obj); 89 signalCluster.setMobileDataEnabled(msg.arg1 != 0); 93 if (msg.arg1 != 0) { 94 mEmergencyListeners.add((EmergencyListener) msg [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Handler.java | 77 * @param msg A {@link android.os.Message Message} object 81 public boolean handleMessage(Message msg); argument 87 public void handleMessage(Message msg) { argument 93 public void dispatchMessage(Message msg) { argument 94 if (msg.callback != null) { 95 handleCallback(msg); 98 if (mCallback.handleMessage(msg)) { 102 handleMessage(msg); 517 public final boolean sendMessage(Message msg) argument 519 return sendMessageDelayed(msg, 577 sendMessageDelayed(Message msg, long delayMillis) argument 604 sendMessageAtTime(Message msg, long uptimeMillis) argument 627 sendMessageAtFrontOfQueue(Message msg) argument 638 enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) argument 731 send(Message msg) argument [all...] |
/frameworks/base/core/java/com/android/internal/midi/ |
H A D | MidiEventScheduler.java | 39 public void onSend(byte[] msg, int offset, int count, long timestamp) argument 41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp); 62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { argument 65 System.arraycopy(msg, offset, data, 0, count); 82 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, argument 86 event = new MidiEvent(msg, offset, count, timestamp); 92 System.arraycopy(msg, offset, event.data, 0, count);
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 263 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local 264 msg->setPointer(kContextKey, session->mUserSessionCallback.context); 265 msg->setObject(kSessionSpKey, session); 266 msg->setPointer(kCallbackFpKey, (void*) session->mUserSessionCallback.onActive); 267 msg->post(); 419 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local 420 msg->setPointer(kContextKey, session->mUserSessionCallback.context); 421 msg->setObject(kSessionSpKey, session); 422 msg->setPointer(kCallbackFpKey, (void*) session->mUserSessionCallback.onActive); 423 msg 427 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local 566 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, mHandler); local 724 sp<AMessage> msg = new AMessage(kWhatCaptureBufferLost, mHandler); local 743 sp<AMessage> msg = new AMessage(kWhatCaptureFail, mHandler); local 758 onMessageReceived( const sp<AMessage> &msg) argument 1052 sp<AMessage> msg = new AMessage(kWhatCaptureSeqAbort, mHandler); local 1102 sp<AMessage> msg = new AMessage(kWhatCaptureSeqEnd, mHandler); local 1153 sp<AMessage> msg = new AMessage(kWhatOnDisconnected, dev->mHandler); local 1177 sp<AMessage> msg = new AMessage(kWhatOnError, dev->mHandler); local 1220 sp<AMessage> msg = new AMessage(kWhatSessionStateCb, dev->mHandler); local 1263 sp<AMessage> msg = new AMessage(kWhatCaptureStart, dev->mHandler); local 1326 sp<AMessage> msg = new AMessage(kWhatCaptureResult, dev->mHandler); local [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 50 const sp<AMessage> &msg) { 52 status_t err = msg->postAndAwaitResponse(&response); 70 sp<AMessage> msg = new AMessage(kWhatStop, this); local 71 msg->setMessage("notify", notify); 72 msg->post(); 83 void MediaPuller::onMessageReceived(const sp<AMessage> &msg) { argument 84 switch (msg->what()) { 109 CHECK(msg->senderAwaitsResponse(&replyID)); 127 CHECK(msg->findMessage("notify", ¬ify)); 135 CHECK(msg 49 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument 218 sp<AMessage> msg = new AMessage(kWhatPull, this); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | RecentsImplProxy.java | 121 public void handleMessage(Message msg) { 123 switch (msg.what) { 131 args = (SomeArgs) msg.obj; 136 mImpl.hideRecents(msg.arg1 != 0, msg.arg2 != 0); 139 args = (SomeArgs) msg.obj; 146 args = (SomeArgs) msg.obj; 151 mImpl.onDraggingInRecents((Float) msg.obj); 154 mImpl.onDraggingInRecentsEnded((Float) msg.obj); 157 mImpl.onShowCurrentUserToast(msg [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | HandlerThreadTest.java | 74 public void handleMessage(Message msg) { 75 assertEquals(TEST_WHAT, msg.what); 79 mGotMessageWhat = msg.what; 87 Message msg = h1.obtainMessage(TEST_WHAT); 91 h1.sendMessage(msg);
|
H A D | HandlerTester.java | 25 public abstract void handleMessage(Message msg); argument 68 public void handleMessage(Message msg) { argument 72 HandlerTester.this.handleMessage(msg);
|
H A D | MessengerService.java | 30 public void handleMessage(Message msg) { 32 reply.copyFrom(msg); 34 msg.replyTo.send(reply);
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Device.java | 81 Message msg = mHandler.obtainMessage(MSG_SEND_REPORT, report); 82 mHandler.sendMessageAtTime(msg, mEventTime); 90 Message msg = mHandler.obtainMessage(MSG_CLOSE_DEVICE); 91 msg.setAsynchronous(true); 92 mHandler.sendMessageAtTime(msg, mEventTime + 1); 109 public void handleMessage(Message msg) { argument 110 switch (msg.what) { 112 SomeArgs args = (SomeArgs) msg.obj; 120 nativeSendReport(mPtr, (byte[]) msg.obj); 158 Message msg [all...] |
/frameworks/base/core/java/android/service/media/ |
H A D | CameraPrewarmService.java | 48 public void handleMessage(Message msg) { 49 switch (msg.what) { 54 super.handleMessage(msg);
|
/frameworks/base/core/java/android/util/ |
H A D | ExceptionUtils.java | 43 public static String getCompleteMessage(String msg, Throwable t) { argument 45 if (msg != null) { 46 builder.append(msg).append(": ");
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | LocalLog.java | 39 public void w(String msg) { argument 41 Slog.w(mTag, msg); 45 mLines.add(msg);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shortcut/ |
H A D | ShortcutKeyServiceProxy.java | 49 public void handleMessage(Message msg) { argument 50 final int what = msg.what; 53 mCallbacks.onShortcutKeyPressed((Long)msg.obj);
|