Home | History | Annotate | Download | only in libril

Lines Matching refs:keepalive

449     Return<void> startKeepalive(int32_t serial, const V1_1::KeepaliveRequest& keepalive);
2827 Return<void> RadioImpl::startKeepalive(int32_t serial, const V1_1::KeepaliveRequest& keepalive) {
2838 kaReq.type = static_cast<RIL_KeepaliveType>(keepalive.type);
2841 if (keepalive.sourceAddress.size() != 4 ||
2842 keepalive.destinationAddress.size() != 4) {
2843 RLOGE("Invalid address for keepalive!");
2849 if (keepalive.sourceAddress.size() != 16 ||
2850 keepalive.destinationAddress.size() != 16) {
2851 RLOGE("Invalid address for keepalive!");
2857 RLOGE("Unknown packet keepalive type!");
2862 ::memcpy(kaReq.sourceAddress, keepalive.sourceAddress.data(), keepalive.sourceAddress.size());
2863 kaReq.sourcePort = keepalive.sourcePort;
2866 keepalive.destinationAddress.data(), keepalive.destinationAddress.size());
2867 kaReq.destinationPort = keepalive.destinationPort;
2869 kaReq.maxKeepaliveIntervalMillis = keepalive.maxKeepaliveIntervalMillis;
2870 kaReq.cid = keepalive.cid; // This is the context ID of the data call