HomeSort by relevance Sort by last modified time
    Searched refs:headerID (Results 1 - 3 of 3) sorted by null

  /frameworks/base/obex/javax/obex/
HeaderSet.java 265 * @param headerID the identifier to include in the message
272 public void setHeader(int headerID, Object headerValue) {
275 switch (headerID) {
398 if ((headerID >= 0x30) && (headerID <= 0x3F)) {
403 mUnicodeUserDefined[headerID - 0x30] = (String)headerValue;
408 if ((headerID >= 0x70) && (headerID <= 0x7F)) {
411 mSequenceUserDefined[headerID - 0x70] = null;
417 mSequenceUserDefined[headerID - 0x70] = new byte[((byte[])headerValue).length]
    [all...]
ServerOperation.java 402 int headerID = mInput.read();
405 if ((headerID != ObexHelper.OBEX_OPCODE_PUT)
406 && (headerID != ObexHelper.OBEX_OPCODE_PUT_FINAL)
407 && (headerID != ObexHelper.OBEX_OPCODE_GET)
408 && (headerID != ObexHelper.OBEX_OPCODE_GET_FINAL)) {
424 if (headerID == ObexHelper.OBEX_OPCODE_ABORT) {
438 if ((headerID == ObexHelper.OBEX_OPCODE_PUT_FINAL)) {
440 } else if (headerID == ObexHelper.OBEX_OPCODE_GET_FINAL) {
ObexHelper.java 169 int headerID;
175 headerID = 0xFF & headerArray[index];
176 switch (headerID & (0xC0)) {
202 switch (headerID) {
207 headerImpl.setHeader(headerID, new String(value, 0,
210 headerImpl.setHeader(headerID, new String(value, 0,
234 body[0] = (byte)headerID;
265 if ((headerID & 0xC0) == 0x00) {
266 headerImpl.setHeader(headerID, ObexHelper.convertToUnicode(
269 headerImpl.setHeader(headerID, value)
    [all...]

Completed in 171 milliseconds