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 243 * @param headerID the identifier to include in the message
250 public void setHeader(int headerID, Object headerValue) {
253 switch (headerID) {
375 if ((headerID >= 0x30) && (headerID <= 0x3F)) {
380 mUnicodeUserDefined[headerID - 0x30] = (String)headerValue;
385 if ((headerID >= 0x70) && (headerID <= 0x7F)) {
388 mSequenceUserDefined[headerID - 0x70] = null;
394 mSequenceUserDefined[headerID - 0x70] = new byte[((byte[])headerValue).length]
    [all...]
ServerOperation.java 391 int headerID = mInput.read();
394 if ((headerID != ObexHelper.OBEX_OPCODE_PUT)
395 && (headerID != ObexHelper.OBEX_OPCODE_PUT_FINAL)
396 && (headerID != ObexHelper.OBEX_OPCODE_GET)
397 && (headerID != ObexHelper.OBEX_OPCODE_GET_FINAL)) {
413 if (headerID == ObexHelper.OBEX_OPCODE_ABORT) {
427 if ((headerID == ObexHelper.OBEX_OPCODE_PUT_FINAL)) {
429 } else if (headerID == ObexHelper.OBEX_OPCODE_GET_FINAL) {
ObexHelper.java 168 int headerID;
174 headerID = 0xFF & headerArray[index];
175 switch (headerID & (0xC0)) {
201 switch (headerID) {
206 headerImpl.setHeader(headerID, new String(value, 0,
209 headerImpl.setHeader(headerID, new String(value, 0,
233 body[0] = (byte)headerID;
264 if ((headerID & 0xC0) == 0x00) {
265 headerImpl.setHeader(headerID, ObexHelper.convertToUnicode(
268 headerImpl.setHeader(headerID, value)
    [all...]

Completed in 195 milliseconds