Home | History | Annotate | Download | only in communication

Lines Matching refs:mh

40      * @param mh is message header to write
43 private static void sendHeader(RilChannel rc, MsgHeader mh) throws IOException {
46 lenBuffer.putInt(mh.getSerializedSize());
48 ByteBuffer mhBuffer = ByteBuffer.allocateDirect(mh.getCachedSize());
49 mhBuffer.put(mh.toByteArray());
69 MsgHeader mh = MsgHeader.parseFrom(mhBuffer.array());
70 return mh;
98 * @param mh header
102 public static final void send(RilChannel rc, MsgHeader mh, ByteBuffer data)
112 mh.setLengthData(lenData);
113 sendHeader(rc, mh);
131 MsgHeader mh = new MsgHeader();
132 mh.setCmd(cmd);
133 mh.setToken(token);
134 mh.setStatus(status);
142 send(rc, mh, data);