Lines Matching refs:notify

76             const sp<AMessage> &notify);
126 void notify(NotificationReason reason);
153 const sp<AMessage> &notify)
158 mNotify(notify),
286 sp<AMessage> notify = mNotify->dup();
287 notify->setInt32("sessionID", mSessionID);
288 notify->setInt32("reason", kWhatDatagram);
291 notify->setString(
300 notify->setInt32("fromPort", ntohs(remoteAddr.sin_port));
302 notify->setBuffer("data", buf);
303 notify->post();
365 sp<AMessage> notify = mNotify->dup();
366 notify->setInt32("sessionID", mSessionID);
367 notify->setInt32("reason", kWhatDatagram);
368 notify->setBuffer("data", packet);
369 notify->post();
388 sp<AMessage> notify = mNotify->dup();
389 notify->setInt32("sessionID", mSessionID);
390 notify->setInt32("reason", kWhatBinaryData);
391 notify->setInt32("channel", mInBuffer.c_str()[1]);
399 notify->setBuffer("data", data);
400 notify->post();
414 sp<AMessage> notify = mNotify->dup();
415 notify->setInt32("sessionID", mSessionID);
416 notify->setInt32("reason", kWhatData);
417 notify->setObject("data", msg);
418 notify->post();
494 sp<AMessage> notify = mNotify->dup();
495 notify->setInt32("sessionID", mSessionID);
496 notify->setInt32("reason", kWhatWebSocketMessage);
497 notify->setBuffer("data", packet);
498 notify->setInt32("headerByte", data[0]);
499 notify->post();
607 notify(kWhatConnected);
780 void ANetworkSession::Session::notify(NotificationReason reason) {
845 const char *host, unsigned port, const sp<AMessage> &notify,
853 notify,
859 const sp<AMessage> &notify, int32_t *sessionID) {
866 notify,
871 unsigned localPort, const sp<AMessage> &notify, int32_t *sessionID) {
872 return createUDPSession(localPort, NULL, 0, notify, sessionID);
879 const sp<AMessage> &notify,
887 notify,
893 const sp<AMessage> &notify, int32_t *sessionID) {
900 notify,
908 const sp<AMessage> &notify,
916 notify,
957 const sp<AMessage> &notify,
1132 notify);