Home
last modified time | relevance | path

Searched refs:oap (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DRequestGetMessagesListing.java66 ObexAppParameters oap = new ObexAppParameters(); in RequestGetMessagesListing() local
70 oap.add(OAP_TAGID_FILTER_MESSAGE_TYPE, filter.messageType); in RequestGetMessagesListing()
74 oap.add(OAP_TAGID_FILTER_PERIOD_BEGIN, filter.periodBegin); in RequestGetMessagesListing()
78 oap.add(OAP_TAGID_FILTER_PERIOD_END, filter.periodEnd); in RequestGetMessagesListing()
82 oap.add(OAP_TAGID_FILTER_READ_STATUS, filter.readStatus); in RequestGetMessagesListing()
86 oap.add(OAP_TAGID_FILTER_RECIPIENT, filter.recipient); in RequestGetMessagesListing()
90 oap.add(OAP_TAGID_FILTER_ORIGINATOR, filter.originator); in RequestGetMessagesListing()
94 oap.add(OAP_TAGID_FILTER_PRIORITY, filter.priority); in RequestGetMessagesListing()
99 oap.add(OAP_TAGID_SUBJECT_LENGTH, (byte) subjectLength); in RequestGetMessagesListing()
105 oap.add(OAP_TAGID_PARAMETER_MASK, parameters); in RequestGetMessagesListing()
[all …]
DRequestPushMessage.java49 ObexAppParameters oap = new ObexAppParameters(); in RequestPushMessage() local
50 oap.add(OAP_TAGID_TRANSPARENT, transparent ? TRANSPARENT_ON : TRANSPARENT_OFF); in RequestPushMessage()
51 oap.add(OAP_TAGID_RETRY, retry ? RETRY_ON : RETRY_OFF); in RequestPushMessage()
52 oap.add(OAP_TAGID_CHARSET, charset == CharsetType.NATIVE ? CHARSET_NATIVE : CHARSET_UTF8); in RequestPushMessage()
53 oap.addToHeaderSet(mHeaderSet); in RequestPushMessage()
DRequestGetFolderListing.java46 ObexAppParameters oap = new ObexAppParameters(); in RequestGetFolderListing() local
49 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount); in RequestGetFolderListing()
53 oap.add(OAP_TAGID_START_OFFSET, (short) listStartOffset); in RequestGetFolderListing()
56 oap.addToHeaderSet(mHeaderSet); in RequestGetFolderListing()
DRequestGetMessage.java52 ObexAppParameters oap = new ObexAppParameters(); in RequestGetMessage() local
54 oap.add( in RequestGetMessage()
58 oap.add(OAP_TAGID_ATTACHMENT, attachment ? ATTACHMENT_ON : ATTACHMENT_OFF); in RequestGetMessage()
60 oap.addToHeaderSet(mHeaderSet); in RequestGetMessage()
DRequestSetNotificationRegistration.java37 ObexAppParameters oap = new ObexAppParameters(); in RequestSetNotificationRegistration() local
39 oap.add(OAP_TAGID_NOTIFICATION_STATUS, status ? NOTIFICATION_ON : NOTIFICATION_OFF); in RequestSetNotificationRegistration()
41 oap.addToHeaderSet(mHeaderSet); in RequestSetNotificationRegistration()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullPhoneBook.java63 ObexAppParameters oap = new ObexAppParameters(); in BluetoothPbapRequestPullPhoneBook() local
72 oap.add(OAP_TAGID_FILTER, filter); in BluetoothPbapRequestPullPhoneBook()
75 oap.add(OAP_TAGID_FORMAT, format); in BluetoothPbapRequestPullPhoneBook()
82 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) maxListCount); in BluetoothPbapRequestPullPhoneBook()
84 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) 65535); in BluetoothPbapRequestPullPhoneBook()
88 oap.add(OAP_TAGID_LIST_START_OFFSET, (short) listStartOffset); in BluetoothPbapRequestPullPhoneBook()
91 oap.addToHeaderSet(mHeaderSet); in BluetoothPbapRequestPullPhoneBook()
108 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset); in readResponseHeaders() local
110 if (oap.exists(OAP_TAGID_NEW_MISSED_CALLS)) { in readResponseHeaders()
111 mNewMissedCalls = oap.getByte(OAP_TAGID_NEW_MISSED_CALLS); in readResponseHeaders()
DBluetoothPbapRequestPullPhoneBookSize.java36 ObexAppParameters oap = new ObexAppParameters(); in BluetoothPbapRequestPullPhoneBookSize() local
41 oap.add(OAP_TAGID_MAX_LIST_COUNT, (short) 0); in BluetoothPbapRequestPullPhoneBookSize()
43 oap.add(OAP_TAGID_FILTER, filter); in BluetoothPbapRequestPullPhoneBookSize()
45 oap.addToHeaderSet(mHeaderSet); in BluetoothPbapRequestPullPhoneBookSize()
52 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset); in readResponseHeaders() local
54 if (oap.exists(OAP_TAGID_PHONEBOOK_SIZE)) { in readResponseHeaders()
55 mSize = oap.getShort(OAP_TAGID_PHONEBOOK_SIZE); in readResponseHeaders()
DPbapClientConnectionHandler.java328 ObexAppParameters oap = new ObexAppParameters(); in connectObexSession() local
331 oap.add( in connectObexSession()
336 oap.addToHeaderSet(connectionRequest); in connectObexSession()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DRequestGetMessagesListingForOwnNumberTest.java222 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(newRequest.mHeaderSet); in testGetOwnNumberBase() local
223 byte filterMessageType = oap.getByte(Request.OAP_TAGID_FILTER_MESSAGE_TYPE); in testGetOwnNumberBase()
224 int maxListCount = (int) oap.getShort(Request.OAP_TAGID_MAX_LIST_COUNT); in testGetOwnNumberBase()
225 int startOffset = (int) oap.getShort(Request.OAP_TAGID_START_OFFSET); in testGetOwnNumberBase()
231 oap.exists(Request.OAP_TAGID_FILTER_MESSAGE_TYPE), in testGetOwnNumberBase()
232 oap.exists(Request.OAP_TAGID_MAX_LIST_COUNT), in testGetOwnNumberBase()
233 oap.exists(Request.OAP_TAGID_START_OFFSET))); in testGetOwnNumberBase()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/
DMasClient.java129 ObexAppParameters oap = new ObexAppParameters(); in connect() local
131 oap.add(OAP_TAGID_MAP_SUPPORTED_FEATURES, MAP_SUPPORTED_FEATURES); in connect()
133 oap.addToHeaderSet(headerset); in connect()
DMnsObexServer.java108 ObexAppParameters oap = ObexAppParameters.fromHeaderSet(headerset); in onPut() local
109 if (!TYPE.equals(type) || !oap.exists(Request.OAP_TAGID_MAS_INSTANCE_ID)) { in onPut()