Lines Matching refs:notify

67             const sp<AMessage> &notify);
106 void notify(NotificationReason reason);
131 const sp<AMessage> &notify)
136 mNotify(notify),
250 sp<AMessage> notify = mNotify->dup();
251 notify->setInt32("sessionID", mSessionID);
252 notify->setInt32("reason", kWhatDatagram);
255 notify->setString(
264 notify->setInt32("fromPort", ntohs(remoteAddr.sin_port));
266 notify->setBuffer("data", buf);
267 notify->post();
317 sp<AMessage> notify = mNotify->dup();
318 notify->setInt32("sessionID", mSessionID);
319 notify->setInt32("reason", kWhatDatagram);
320 notify->setBuffer("data", packet);
321 notify->post();
340 sp<AMessage> notify = mNotify->dup();
341 notify->setInt32("sessionID", mSessionID);
342 notify->setInt32("reason", kWhatBinaryData);
343 notify->setInt32("channel", mInBuffer.c_str()[1]);
351 notify->setBuffer("data", data);
352 notify->post();
366 sp<AMessage> notify = mNotify->dup();
367 notify->setInt32("sessionID", mSessionID);
368 notify->setInt32("reason", kWhatData);
369 notify->setObject("data", msg);
370 notify->post();
452 notify(kWhatConnected);
529 void ANetworkSession::Session::notify(NotificationReason reason) {
594 const char *host, unsigned port, const sp<AMessage> &notify,
602 notify,
608 const sp<AMessage> &notify, int32_t *sessionID) {
615 notify,
620 unsigned localPort, const sp<AMessage> &notify, int32_t *sessionID) {
621 return createUDPSession(localPort, NULL, 0, notify, sessionID);
628 const sp<AMessage> &notify,
636 notify,
642 const sp<AMessage> &notify, int32_t *sessionID) {
649 notify,
657 const sp<AMessage> &notify,
665 notify,
706 const sp<AMessage> &notify,
865 notify);