/frameworks/av/media/libstagefright/tests/ |
H A D | SurfaceMediaSource_test.cpp | 293 String8 msg; local 297 msg += String8::format("error reading pixel: %#x", err); 299 msg += String8::format(", %#x", err); 301 fprintf(stderr, "pixel check failure: %s\n", msg.string()); 303 ::testing::Message(msg.string())); 306 msg += String8::format("r(%d isn't %d)", pixel[0], r); 309 if (!msg.isEmpty()) { 310 msg += " "; 312 msg += String8::format("g(%d isn't %d)", pixel[1], g); 315 if (!msg [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextPlayer.cpp | 70 sp<AMessage> msg = new AMessage(kWhatSeek, id()); local 71 msg->setInt64("seekTimeUs", timeUs); 72 msg->post(); 76 sp<AMessage> msg = new AMessage(kWhatSetSource, id()); local 77 msg->setObject("source", source); 78 msg->post(); 81 void TimedTextPlayer::onMessageReceived(const sp<AMessage> &msg) { argument 82 switch (msg->what()) { 116 CHECK(msg->findInt32("generation", &generation)); 118 // Drop obsolete msg 233 sp<AMessage> msg = new AMessage(kWhatRetryRead, id()); local 261 sp<AMessage> msg = new AMessage(kWhatSendSubtitle, id()); local [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ANetworkSession.cpp | 170 sp<AMessage> msg = mNotify->dup(); local 171 msg->setInt32("sessionID", mSessionID); 172 msg->setInt32("reason", kWhatClientConnected); 173 msg->setString("server-ip", localAddrString.c_str()); 174 msg->setInt32("server-port", ntohs(localAddr.sin_port)); 175 msg->setString("client-ip", remoteAddrString.c_str()); 176 msg->setInt32("client-port", ntohs(remoteAddr.sin_port)); 177 msg->post(); 358 sp<ParsedMessage> msg = local 362 if (msg 520 sp<AMessage> msg = mNotify->dup(); local 530 sp<AMessage> msg = mNotify->dup(); local [all...] |
H A D | ParsedMessage.cpp | 28 sp<ParsedMessage> msg = new ParsedMessage; local 29 ssize_t res = msg->parse(data, size, noMoreData); 37 return msg;
|
H A D | udptest.cpp | 42 virtual void onMessageReceived(const sp<AMessage> &msg); 80 sp<AMessage> msg = new AMessage(kWhatStartServer, id()); local 81 msg->setInt32("localPort", localPort); 82 msg->post(); 86 sp<AMessage> msg = new AMessage(kWhatStartClient, id()); local 87 msg->setString("remoteHost", remoteHost); 88 msg->setInt32("remotePort", remotePort); 89 msg->post(); 92 void TestHandler::onMessageReceived(const sp<AMessage> &msg) { argument 93 switch (msg [all...] |
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | RTPSink.cpp | 169 sp<AMessage> msg = mQueueBufferMsg->dup(); local 170 msg->setBuffer("buffer", buffer); 171 msg->post(); 308 void RTPSink::onMessageReceived(const sp<AMessage> &msg) { argument 309 switch (msg->what()) { 314 CHECK(msg->findInt32("reason", &reason)); 320 CHECK(msg->findInt32("sessionID", &sessionID)); 323 CHECK(msg->findInt32("err", &err)); 326 CHECK(msg->findString("detail", &detail)); 347 CHECK(msg 402 sp<AMessage> msg = new AMessage(kWhatInject, id()); local 770 onPacketLost(const sp<AMessage> &msg) argument [all...] |
H A D | TunnelRenderer.cpp | 40 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) { argument 41 ALOGI("notify %d, %d, %d", msg, ext1, ext2); 305 void TunnelRenderer::onMessageReceived(const sp<AMessage> &msg) { argument 306 switch (msg->what()) { 310 CHECK(msg->findBuffer("buffer", &buffer));
|
H A D | WifiDisplaySink.cpp | 46 sp<AMessage> msg = new AMessage(kWhatStart, id()); local 47 msg->setString("sourceHost", sourceHost); 48 msg->setInt32("sourcePort", sourcePort); 49 msg->post(); 53 sp<AMessage> msg = new AMessage(kWhatStart, id()); local 54 msg->setString("setupURI", uri); 55 msg->post(); 122 void WifiDisplaySink::onMessageReceived(const sp<AMessage> &msg) { argument 123 switch (msg->what()) { 128 if (msg 266 onReceiveM2Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 280 onReceiveDescribeResponse( int32_t sessionID, const sp<ParsedMessage> &msg) argument 294 onReceiveSetupResponse( int32_t sessionID, const sp<ParsedMessage> &msg) argument 337 configureTransport(const sp<ParsedMessage> &msg) argument 379 onReceivePlayResponse( int32_t sessionID, const sp<ParsedMessage> &msg) argument 395 onReceiveClientData(const sp<AMessage> &msg) argument [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 211 void Converter::onMessageReceived(const sp<AMessage> &msg) { argument 212 switch (msg->what()) { 216 CHECK(msg->findInt32("what", &what)); 219 ALOGV("got msg '%s' after encoder shutdown.", 220 msg->debugString().c_str()); 224 CHECK(msg->findBuffer("accessUnit", &accessUnit)); 250 CHECK(msg->findBuffer("accessUnit", &accessUnit)); 299 if (msg->findInt64("whenUs", &whenUs)) {
|
H A D | MediaPuller.cpp | 49 const sp<AMessage> &msg) { 51 status_t err = msg->postAndAwaitResponse(&response); 69 sp<AMessage> msg = new AMessage(kWhatStop, id()); local 70 msg->setMessage("notify", notify); 71 msg->post(); 74 void MediaPuller::onMessageReceived(const sp<AMessage> &msg) { argument 75 switch (msg->what()) { 97 CHECK(msg->senderAwaitsResponse(&replyID)); 116 CHECK(msg->findMessage("notify", ¬ify)); 124 CHECK(msg 48 postSynchronouslyAndReturnError( const sp<AMessage> &msg) argument 185 sp<AMessage> msg = new AMessage(kWhatPull, id()); local [all...] |
H A D | PlaybackSession.cpp | 93 virtual void onMessageReceived(const sp<AMessage> &msg); 193 sp<AMessage> msg = new AMessage(kWhatMediaPullerStopped, id()); local 201 mMediaPuller->stopAsync(msg); 203 msg->post(); 208 const sp<AMessage> &msg) { 209 switch (msg->what()) { 423 const sp<AMessage> &msg) { 424 switch (msg->what()) { 428 ALOGV("dropping msg '%s' because we're dead", 429 msg 207 onMessageReceived( const sp<AMessage> &msg) argument 422 onMessageReceived( const sp<AMessage> &msg) argument [all...] |
H A D | RepeaterSource.cpp | 156 void RepeaterSource::onMessageReceived(const sp<AMessage> &msg) { argument 157 switch (msg->what()) {
|
H A D | Sender.cpp | 385 sp<AMessage> msg = new AMessage(kWhatQueuePackets, id()); local 386 msg->setBuffer("packets", packets); 391 msg->post(delayUs > 0 ? delayUs : 0); 394 void Sender::onMessageReceived(const sp<AMessage> &msg) { argument 395 switch (msg->what()) { 404 CHECK(msg->findInt32("reason", &reason)); 410 CHECK(msg->findInt32("sessionID", &sessionID)); 413 CHECK(msg->findInt32("err", &err)); 416 CHECK(msg->findInt32("send", &errorOccuredDuringSend)); 419 CHECK(msg [all...] |
H A D | WifiDisplaySource.cpp | 71 sp<AMessage> msg = new AMessage(kWhatStart, id()); local 72 msg->setString("iface", iface); 75 status_t err = msg->postAndAwaitResponse(&response); 89 sp<AMessage> msg = new AMessage(kWhatStop, id()); local 92 status_t err = msg->postAndAwaitResponse(&response); 105 void WifiDisplaySource::onMessageReceived(const sp<AMessage> &msg) { argument 106 switch (msg->what()) { 110 CHECK(msg->senderAwaitsResponse(&replyID)); 113 CHECK(msg->findString("iface", &iface)); 160 CHECK(msg 629 onReceiveM1Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 673 onReceiveM3Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 784 onReceiveM4Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 805 onReceiveM5Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 819 onReceiveM16Response( int32_t sessionID, const sp<ParsedMessage> &msg) argument 848 sp<AMessage> msg = new AMessage(kWhatKeepAlive, id()); local 853 onReceiveClientData(const sp<AMessage> &msg) argument 1448 notify( int msg, int ext1, int ext2, const Parcel *obj) argument [all...] |
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | JpegCompressor.cpp | 169 bool JpegCompressor::checkError(const char *msg) { argument 175 __FUNCTION__, msg, errBuffer);
|
/frameworks/base/cmds/servicemanager/ |
H A D | bctest.c | 14 struct binder_io msg, reply; local 16 bio_init(&msg, iodata, sizeof(iodata), 4); 17 bio_put_uint32(&msg, 0); // strict mode header 18 bio_put_string16_x(&msg, SVC_MGR_NAME); 19 bio_put_string16_x(&msg, name); 21 if (binder_call(bs, &msg, &reply, target, SVC_MGR_CHECK_SERVICE)) 29 binder_done(bs, &msg, &reply); 38 struct binder_io msg, reply; local 40 bio_init(&msg, iodata, sizeof(iodata), 4); 41 bio_put_uint32(&msg, [all...] |
H A D | binder.c | 228 struct binder_io msg; local 233 bio_init_from_txn(&msg, txn); 234 res = func(bs, txn, &msg, &reply); 304 struct binder_io *msg, struct binder_io *reply, 315 if (msg->flags & BIO_F_OVERFLOW) { 324 writebuf.txn.data_size = msg->data - msg->data0; 325 writebuf.txn.offs_size = ((char*) msg->offs) - ((char*) msg->offs0); 326 writebuf.txn.data = msg 303 binder_call(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply, void *target, uint32_t code) argument 436 binder_done(struct binder_state *bs, struct binder_io *msg, struct binder_io *reply) argument [all...] |
H A D | service_manager.c | 203 struct binder_io *msg, 223 strict_policy = bio_get_uint32(msg); 224 s = bio_get_string16(msg, &len); 234 s = bio_get_string16(msg, &len); 242 s = bio_get_string16(msg, &len); 243 ptr = bio_get_ref(msg); 244 allow_isolated = bio_get_uint32(msg) ? 1 : 0; 250 unsigned n = bio_get_uint32(msg); 201 svcmgr_handler(struct binder_state *bs, struct binder_txn *txn, struct binder_io *msg, struct binder_io *reply) argument
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerService.java | 1913 public void handleMessage(Message msg) { argument 1914 switch (msg.what) { 1916 Session session = (Session)msg.obj; 1921 throw new IllegalStateException("unhandled message: " + msg.what); 2191 String msg = "caller uid " + uid + " lacks any of " + TextUtils.join(",", permissions); 2192 Log.w(TAG, " " + msg); 2193 throw new SecurityException(msg); 2277 String msg = "caller uid " + uid + " is different than the authenticator's uid"; 2278 Log.w(TAG, msg); 2279 throw new SecurityException(msg); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1723 CharSequence msg = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(data); 1725 showBootMessage(msg, always); 4005 public void showBootMessage(CharSequence msg, boolean always) throws RemoteException { argument 4009 TextUtils.writeToParcel(msg, data, 0);
|
H A D | ActivityThread.java | 122 public SuperNotCalledException(String msg) { argument 123 super(msg); 128 public RemoteServiceException(String msg) { argument 129 super(msg); 856 public void scheduleCrash(String msg) { argument 857 queueOrSendMessage(H.SCHEDULE_CRASH, msg); 1225 public void handleMessage(Message msg) { argument 1226 if (DEBUG_MESSAGES) Slog.v(TAG, ">>> handling: " + codeToString(msg.what)); 1227 switch (msg.what) { 1230 ActivityClientRecord r = (ActivityClientRecord)msg [all...] |
H A D | AlertDialog.java | 219 * @param msg The {@link Message} to be sent when clicked. 221 public void setButton(int whichButton, CharSequence text, Message msg) { argument 222 mAlert.setButton(whichButton, text, null, msg); 244 public void setButton(CharSequence text, Message msg) { argument 245 setButton(BUTTON_POSITIVE, text, msg); 253 public void setButton2(CharSequence text, Message msg) { argument 254 setButton(BUTTON_NEGATIVE, text, msg); 262 public void setButton3(CharSequence text, Message msg) { argument 263 setButton(BUTTON_NEUTRAL, text, msg);
|
H A D | ApplicationThreadNative.java | 464 String msg = data.readString(); 465 scheduleCrash(msg); 1081 public void scheduleCrash(String msg) throws RemoteException { argument 1084 data.writeString(msg);
|
H A D | Dialog.java | 1137 * @param msg The msg to send when the dialog is canceled. 1140 public void setCancelMessage(final Message msg) { argument 1141 mCancelMessage = msg; 1175 * @param msg The msg to send when the dialog is dismissed. 1177 public void setDismissMessage(final Message msg) { argument 1178 mDismissMessage = msg; 1182 public boolean takeCancelAndDismissListeners(String msg, final OnCancelListener cancel, argument 1192 mCancelAndDismissTaken = msg; 1229 handleMessage(Message msg) argument [all...] |
H A D | Fragment.java | 530 public InstantiationException(String msg, Exception cause) { argument 531 super(msg, cause);
|