/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasObexClientSession.java | 26 import javax.obex.HeaderSet; 114 HeaderSet headerset = new HeaderSet(); local 115 headerset.setHeader(HeaderSet.TARGET, MAS_TARGET); 117 headerset = mSession.connect(headerset); 119 if (headerset.getResponseCode() == ResponseCodes.OBEX_HTTP_OK) {
|
BluetoothMasRequestGetFolderListing.java | 25 import javax.obex.HeaderSet; 43 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
ObexAppParameters.java | 24 import javax.obex.HeaderSet; 60 public static ObexAppParameters fromHeaderSet(HeaderSet headerset) { 62 byte[] raw = (byte[]) headerset.getHeader(HeaderSet.APPLICATION_PARAMETER); 93 public void addToHeaderSet(HeaderSet headerset) { 95 headerset.setHeader(HeaderSet.APPLICATION_PARAMETER, getHeader());
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
ObexAppParameters.java | 24 import javax.obex.HeaderSet; 60 public static ObexAppParameters fromHeaderSet(HeaderSet headerset) { 62 byte[] raw = (byte[]) headerset.getHeader(HeaderSet.APPLICATION_PARAMETER); 93 public void addToHeaderSet(HeaderSet headerset) { 95 headerset.setHeader(HeaderSet.APPLICATION_PARAMETER, getHeader());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 55 import javax.obex.HeaderSet; 178 public int onConnect(final HeaderSet request, HeaderSet reply) { 182 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); 198 reply.setHeader(HeaderSet.WHO, uuid); 205 byte[] remote = (byte[])request.getHeader(HeaderSet.WHO); 208 reply.setHeader(HeaderSet.TARGET, remote); 226 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { 240 public int onAbort(HeaderSet request, HeaderSet reply) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMnsObexClient.java | 32 import javax.obex.HeaderSet; 58 private HeaderSet mHsConnect = null; 225 HeaderSet hs = new HeaderSet(); 231 hs.setHeader(HeaderSet.TARGET, mnsTarget); 270 HeaderSet request; 279 request = new HeaderSet(); 287 request.setHeader(HeaderSet.TYPE, TYPE_EVENT); 288 request.setHeader(HeaderSet.APPLICATION_PARAMETER, appParams.EncodeParams()); 302 if (V) Log.v(TAG, "Send headerset Event ") [all...] |
/frameworks/base/obex/javax/obex/ |
ServerSession.java | 153 * create a <code>HeaderSet</code> object to pass to the 161 HeaderSet request = new HeaderSet(); 162 HeaderSet reply = new HeaderSet(); 284 * create a <code>HeaderSet</code> object to pass to the 299 HeaderSet request = new HeaderSet(); 300 HeaderSet reply = new HeaderSet(); [all...] |
ClientOperation.java | 72 private HeaderSet mRequestHeader; 74 private HeaderSet mReplyHeader; 87 public ClientOperation(int maxSize, ClientSession p, HeaderSet header, boolean type) 103 mReplyHeader = new HeaderSet(); 105 mRequestHeader = new HeaderSet(); 185 * <code>HeaderSet</code> object created by calling 216 return (String)mReplyHeader.getHeader(HeaderSet.TYPE); 231 Long temp = (Long)mReplyHeader.getHeader(HeaderSet.LENGTH); 337 public HeaderSet getReceivedHeader() throws IOException { 353 public void sendHeaders(HeaderSet headers) throws IOException [all...] |
ServerOperation.java | 59 public HeaderSet requestHeader; 61 public HeaderSet replyHeader; 111 requestHeader = new HeaderSet(); 112 replyHeader = new HeaderSet(); 524 public HeaderSet getReceivedHeader() throws IOException { 538 public void sendHeaders(HeaderSet headers) throws IOException { 560 * <code>HeaderSet</code> object created by calling 585 return (String)requestHeader.getHeader(HeaderSet.TYPE); 600 Long temp = (Long)requestHeader.getHeader(HeaderSet.LENGTH);
|
ObexSession.java | 62 public boolean handleAuthChall(HeaderSet header) throws IOException {
|
HeaderSet.java | 42 * This class implements the javax.obex.HeaderSet interface for OBEX over 46 public final class HeaderSet { 228 * Creates new <code>HeaderSet</code> object. 231 public HeaderSet() { 461 * <code>HeaderSet</code> object 642 * <code>HeaderSet</code> object created by calling
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
BluetoothPbapObexSession.java | 25 import javax.obex.HeaderSet; 203 HeaderSet hs = new HeaderSet(); 204 hs.setHeader(HeaderSet.TARGET, PBAP_TARGET);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppObexClientSession.java | 37 import javax.obex.HeaderSet; 244 HeaderSet hs = new HeaderSet(); 245 hs.setHeader(HeaderSet.COUNT, (long) numShares); 343 HeaderSet request; 344 request = new HeaderSet(); 345 request.setHeader(HeaderSet.NAME, fileInfo.mFileName); 346 request.setHeader(HeaderSet.TYPE, fileInfo.mMimetype); 352 request.setHeader(HeaderSet.LENGTH, fileInfo.mLength); 361 if (V) Log.v(TAG, "put headerset for " + fileInfo.mFileName) [all...] |
BluetoothOppObexServerSession.java | 52 import javax.obex.HeaderSet; 169 HeaderSet request; 197 name = (String)request.getHeader(HeaderSet.NAME); 198 length = (Long)request.getHeader(HeaderSet.LENGTH); 199 mimeType = (String)request.getHeader(HeaderSet.TYPE); 539 public int onConnect(HeaderSet request, HeaderSet reply) { 545 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET); 551 objectCount = (Long) request.getHeader(HeaderSet.COUNT); 581 public void onDisconnect(HeaderSet req, HeaderSet resp) [all...] |
TestActivity.java | 64 import javax.obex.HeaderSet; 482 public int onConnect(HeaderSet request, HeaderSet reply) { 505 + op.getReceivedHeader().getHeader(HeaderSet.NAME) + " type " + op.getType()); 507 File f = new File((String)op.getReceivedHeader().getHeader(HeaderSet.NAME)); 532 public void onDisconnect(HeaderSet req, HeaderSet resp) { 543 public int onSetPath(HeaderSet request, HeaderSet reply, boolean backup, boolean create) { 548 public int onDelete(HeaderSet request, HeaderSet reply) [all...] |
/external/chromium_org/net/http/ |
http_response_headers.cc | 173 HeaderSet filter_headers; 234 HeaderSet updated_headers; 271 const HeaderSet& headers_to_remove) { 306 HeaderSet to_remove; 368 HeaderSet empty_to_remove; 786 void HttpResponseHeaders::AddNonCacheableHeaders(HeaderSet* result) const { 837 void HttpResponseHeaders::AddHopByHopHeaders(HeaderSet* result) { 842 void HttpResponseHeaders::AddCookieHeaders(HeaderSet* result) { 847 void HttpResponseHeaders::AddChallengeHeaders(HeaderSet* result) { 852 void HttpResponseHeaders::AddHopContentRangeHeaders(HeaderSet* result) [all...] |