HomeSort by relevance Sort by last modified time
    Searched full:headerset (Results 1 - 25 of 42) sorted by null

1 2

  /frameworks/opt/bluetooth/src/android/bluetooth/client/map/
BluetoothMnsObexServer.java 27 import javax.obex.HeaderSet;
52 public int onConnect(final HeaderSet request, HeaderSet reply) {
56 byte[] uuid = (byte[]) request.getHeader(HeaderSet.TARGET);
68 reply.setHeader(HeaderSet.WHO, MNS_TARGET);
73 public void onDisconnect(final HeaderSet request, HeaderSet reply) {
89 HeaderSet headerset; local
90 headerset = op.getReceivedHeader()
    [all...]
BluetoothMasRequestGetMessagesListingSize.java 24 import javax.obex.HeaderSet;
33 mHeaderSet.setHeader(HeaderSet.NAME, "");
34 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
43 protected void readResponseHeaders(HeaderSet headerset) {
44 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
BluetoothMasRequestPushMessage.java 23 import javax.obex.HeaderSet;
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
40 mHeaderSet.setHeader(HeaderSet.NAME, folder);
55 protected void readResponseHeaders(HeaderSet headerset) {
57 String handle = (String) headerset.getHeader(HeaderSet.NAME);
BluetoothMasRequestGetFolderListingSize.java 24 import javax.obex.HeaderSet;
33 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
42 protected void readResponseHeaders(HeaderSet headerset) {
43 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
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) {
BluetoothMasRequestUpdateInbox.java 22 import javax.obex.HeaderSet;
29 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
BluetoothMasRequestSetMessageStatus.java 24 import javax.obex.HeaderSet;
37 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
38 mHeaderSet.setHeader(HeaderSet.NAME, handle);
BluetoothMasRequestSetPath.java 22 import javax.obex.HeaderSet;
39 mHeaderSet.setHeader(HeaderSet.NAME, name);
53 HeaderSet hs = null;
BluetoothMasRequestGetMessagesListing.java 29 import javax.obex.HeaderSet;
57 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
60 mHeaderSet.setHeader(HeaderSet.NAME, "");
62 mHeaderSet.setHeader(HeaderSet.NAME, folderName);
118 protected void readResponseHeaders(HeaderSet headerset) {
119 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
BluetoothMasRequestSetNotificationRegistration.java 24 import javax.obex.HeaderSet;
35 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
BluetoothMasRequestGetMessage.java 30 import javax.obex.HeaderSet;
43 mHeaderSet.setHeader(HeaderSet.NAME, handle);
45 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
  /frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
BluetoothPbapRequestPullPhoneBookSize.java 23 import javax.obex.HeaderSet;
34 mHeaderSet.setHeader(HeaderSet.NAME, pbName);
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
44 protected void readResponseHeaders(HeaderSet headerset) {
47 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
BluetoothPbapRequestPullVcardListingSize.java 23 import javax.obex.HeaderSet;
34 mHeaderSet.setHeader(HeaderSet.NAME, folder);
36 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
44 protected void readResponseHeaders(HeaderSet headerset) {
47 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
BluetoothPbapRequestPullPhoneBook.java 28 import javax.obex.HeaderSet;
53 mHeaderSet.setHeader(HeaderSet.NAME, pbName);
55 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
98 protected void readResponseHeaders(HeaderSet headerset) {
101 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
BluetoothPbapRequestPullVcardListing.java 28 import javax.obex.HeaderSet;
55 mHeaderSet.setHeader(HeaderSet.NAME, folder);
57 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
93 protected void readResponseHeaders(HeaderSet headerset) {
96 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset);
BluetoothPbapRequestSetPath.java 24 import javax.obex.HeaderSet;
39 mHeaderSet.setHeader(HeaderSet.NAME, name);
55 HeaderSet hs = null;
BluetoothPbapRequestPullVcardEntry.java 27 import javax.obex.HeaderSet;
41 mHeaderSet.setHeader(HeaderSet.NAME, handle);
43 mHeaderSet.setHeader(HeaderSet.TYPE, TYPE);
BluetoothPbapRequest.java 26 import javax.obex.HeaderSet;
43 protected HeaderSet mHeaderSet;
52 mHeaderSet = new HeaderSet();
119 protected void readResponseHeaders(HeaderSet headerset) {
  /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());
  /frameworks/base/obex/javax/obex/
ObexHelper.java 123 * Updates the HeaderSet with the headers received in the byte array
157 * setHeader() to update the HeaderSet object. Invalid headers will cause an
159 * @param header the HeaderSet to update
166 public static byte[] updateHeaderSet(HeaderSet header, byte[] headerArray) throws IOException {
172 HeaderSet headerImpl = header;
203 case HeaderSet.TYPE:
218 case HeaderSet.AUTH_CHALLENGE:
224 case HeaderSet.AUTH_RESPONSE:
230 case HeaderSet.BODY:
232 case HeaderSet.END_OF_BODY
    [all...]
ClientSession.java 72 public HeaderSet connect(final HeaderSet header) throws IOException {
116 HeaderSet returnHeaderSet = new HeaderSet();
126 * Byte 7 to n: Optional HeaderSet
136 public Operation get(HeaderSet header) throws IOException {
145 HeaderSet head;
147 head = new HeaderSet();
174 public HeaderSet delete(HeaderSet header) throws IOException
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
Constants.java 38 import javax.obex.HeaderSet;
312 public static void logHeader(HeaderSet hs) {
313 Log.v(TAG, "Dumping HeaderSet " + hs.toString());
316 Log.v(TAG, "COUNT : " + hs.getHeader(HeaderSet.COUNT));
317 Log.v(TAG, "NAME : " + hs.getHeader(HeaderSet.NAME));
318 Log.v(TAG, "TYPE : " + hs.getHeader(HeaderSet.TYPE));
319 Log.v(TAG, "LENGTH : " + hs.getHeader(HeaderSet.LENGTH));
320 Log.v(TAG, "TIME_ISO_8601 : " + hs.getHeader(HeaderSet.TIME_ISO_8601));
321 Log.v(TAG, "TIME_4_BYTE : " + hs.getHeader(HeaderSet.TIME_4_BYTE));
322 Log.v(TAG, "DESCRIPTION : " + hs.getHeader(HeaderSet.DESCRIPTION))
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapObexServer.java 40 import javax.obex.HeaderSet;
228 public int onConnect(final HeaderSet request, HeaderSet reply) {
235 byte[] uuid = (byte[])request.getHeader(HeaderSet.TARGET);
252 reply.setHeader(HeaderSet.WHO, uuid);
259 byte[] remote = (byte[])request.getHeader(HeaderSet.WHO);
262 reply.setHeader(HeaderSet.TARGET, remote);
291 public void onDisconnect(final HeaderSet req, final HeaderSet resp) {
305 public int onAbort(HeaderSet request, HeaderSet reply)
    [all...]
  /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...]

Completed in 491 milliseconds

1 2