Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java457 BluetoothMapAppParams appParams = null; in onPut() local
468 appParams = new BluetoothMapAppParams(appParamRaw); in onPut()
481 + appParams.getNotificationStatus()); in onPut()
483 return mObserver.setNotificationRegistration(appParams.getNotificationStatus()); in onPut()
487 + appParams.getNotificationFilter()); in onPut()
493 mObserver.setNotificationFilter(appParams.getNotificationFilter()); in onPut()
498 + appParams.getStatusIndicator() + ", StatusValue: " in onPut()
499 + appParams.getStatusValue() in onPut()
506 return setMessageStatus(name, appParams); in onPut()
510 "TYPE_MESSAGE: Transparet: " + appParams.getTransparent() + ", retry: " in onPut()
[all …]
DBluetoothMapAppParams.java206 public BluetoothMapAppParams(final byte[] appParams) in BluetoothMapAppParams() argument
208 parseParams(appParams); in BluetoothMapAppParams()
223 private void parseParams(final byte[] appParams) in parseParams() argument
227 ByteBuffer appParamBuf = ByteBuffer.wrap(appParams); in parseParams()
229 while (i < appParams.length) { in parseParams()
230 tagId = appParams[i++] & 0xff; // Convert to unsigned to support values above 127 in parseParams()
231 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 …]
DBluetoothMapContent.java3563 public byte[] getMessage(String handle, BluetoothMapAppParams appParams, in getMessage() argument
3569 if (appParams.getFractionRequest() == BluetoothMapAppParams.FRACTION_REQUEST_NEXT) { in getMessage()
3576 return getSmsMessage(id, appParams.getCharset()); in getMessage()
3578 return getMmsMessage(id, appParams); in getMessage()
3580 return getEmailMessage(id, appParams, folderElement); in getMessage()
3582 return getIMMessage(id, appParams, folderElement); in getMessage()
3969 public byte[] getMmsMessage(long id, BluetoothMapAppParams appParams) in getMmsMessage() argument
3972 if (appParams.getCharset() == MAP_MESSAGE_CHARSET_NATIVE) { in getMmsMessage()
4000 message.setIncludeAttachments(appParams.getAttachment() != 0); in getMmsMessage()
4030 public byte[] getEmailMessage(long id, BluetoothMapAppParams appParams, in getEmailMessage() argument
[all …]
DBluetoothMnsObexClient.java449 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in sendEventHandler() local
450 appParams.setMasInstanceId(masInstanceId); in sendEventHandler()
457 request.setHeader(HeaderSet.APPLICATION_PARAMETER, appParams.encodeParams()); in sendEventHandler()