Home
last modified time | relevance | path

Searched refs:appParams (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java408 BluetoothMapAppParams appParams = null; in onPut() local
417 appParams = new BluetoothMapAppParams(appParamRaw); in onPut()
427 + appParams.getNotificationStatus()); in onPut()
429 return mObserver.setNotificationRegistration(appParams.getNotificationStatus()); in onPut()
433 + appParams.getNotificationFilter()); in onPut()
435 mObserver.setNotificationFilter(appParams.getNotificationFilter()); in onPut()
440 "StatusIndicator: " + appParams.getStatusIndicator() in onPut()
441 + ", StatusValue: " + appParams.getStatusValue() in onPut()
444 return setMessageStatus(name, appParams); in onPut()
447 Log.d(TAG,"TYPE_MESSAGE: Transparet: " + appParams.getTransparent() in onPut()
[all …]
DBluetoothMapAppParams.java207 public BluetoothMapAppParams(final byte[] appParams) in BluetoothMapAppParams() argument
209 ParseParams(appParams); in BluetoothMapAppParams()
224 private void ParseParams(final byte[] appParams) throws ParseException, in ParseParams() argument
228 ByteBuffer appParamBuf = ByteBuffer.wrap(appParams); in ParseParams()
230 while (i < appParams.length) { in ParseParams()
231 tagId = appParams[i++] & 0xff; // Convert to unsigned to support values above 127 in ParseParams()
232 tagLength = appParams[i++] & 0xff; // Convert to unsigned to support values above 127 in ParseParams()
255 setFilterMessageType(appParams[i] & 0x1f); in ParseParams()
260 setFilterPeriodBegin(new String(appParams, i, tagLength)); in ParseParams()
268 setFilterPeriodEnd(new String(appParams, i, tagLength)); in ParseParams()
[all …]
DBluetoothMnsObexClient.java403 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in sendEventHandler() local
404 appParams.setMasInstanceId(masInstanceId); in sendEventHandler()
411 request.setHeader(HeaderSet.APPLICATION_PARAMETER, appParams.EncodeParams()); in sendEventHandler()
DBluetoothMapContent.java3301 public byte[] getMessage(String handle, BluetoothMapAppParams appParams, in getMessage() argument
3307 if(appParams.getFractionRequest() == BluetoothMapAppParams.FRACTION_REQUEST_NEXT) { in getMessage()
3314 return getSmsMessage(id, appParams.getCharset()); in getMessage()
3316 return getMmsMessage(id, appParams); in getMessage()
3318 return getEmailMessage(id, appParams, folderElement); in getMessage()
3320 return getIMMessage(id, appParams, folderElement); in getMessage()
3693 public byte[] getMmsMessage(long id,BluetoothMapAppParams appParams) in getMmsMessage() argument
3696 if (appParams.getCharset() == MAP_MESSAGE_CHARSET_NATIVE) in getMmsMessage()
3723 message.setIncludeAttachments(appParams.getAttachment() == 0 ? false : true); in getMmsMessage()
3751 public byte[] getEmailMessage(long id, BluetoothMapAppParams appParams, in getEmailMessage() argument
[all …]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMapStepsConvo.java144 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in addConvoListingStep() local
147 appParams.setFilterLastActivityBegin(activityBegin); in addConvoListingStep()
150 appParams.setFilterLastActivityEnd(activityEnd); in addConvoListingStep()
153 appParams.setFilterReadStatus(readStatus); in addConvoListingStep()
156 appParams.setFilterRecipient(recipient); in addConvoListingStep()
159 appParams.setMaxListCount(maxListCount); in addConvoListingStep()
162 appParams.setStartOffset(listStartOffset); in addConvoListingStep()
171 hs.setHeader(HeaderSet.APPLICATION_PARAMETER, appParams.EncodeParams()); in addConvoListingStep()
215 BluetoothMapAppParams appParams; in validate() local
216 appParams = new BluetoothMapAppParams(appParamsRaw); in validate()
[all …]
DBluetoothMapContentTest.java344 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in testMsgListing() local
351 appParams.setFilterMessageType(0x0B); in testMsgListing()
352 appParams.setMaxListCount(1024); in testMsgListing()
353 appParams.setStartOffset(0); in testMsgListing()
355 BluetoothMapMessageListing msgListing = mBtMapContent.msgListing(fe, appParams); in testMsgListing()
357 int msgListingSize = mBtMapContent.msgListingSize(fe, appParams); in testMsgListing()
376 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in testMsgListingUnread() local
382 appParams.setFilterReadStatus(0x01); in testMsgListingUnread()
383 appParams.setFilterMessageType(0x0B); in testMsgListingUnread()
384 appParams.setMaxListCount(1024); in testMsgListingUnread()
[all …]
DMapStepsFolder.java123 BluetoothMapAppParams appParams; in validate() local
124 appParams = new BluetoothMapAppParams(appParamsRaw); in validate()
125 Assert.assertNotNull(appParams); in validate()