Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java462 BluetoothMapAppParams appParams = null; in onPut() local
473 appParams = new BluetoothMapAppParams(appParamRaw); in onPut()
486 + appParams.getNotificationStatus()); in onPut()
488 return mObserver.setNotificationRegistration(appParams.getNotificationStatus()); in onPut()
492 + appParams.getNotificationFilter()); in onPut()
498 mObserver.setNotificationFilter(appParams.getNotificationFilter()); in onPut()
503 + appParams.getStatusIndicator() + ", StatusValue: " in onPut()
504 + appParams.getStatusValue() in onPut()
511 return setMessageStatus(name, appParams); in onPut()
515 "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 …]
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()
DBluetoothMapContent.java3557 public byte[] getMessage(String handle, BluetoothMapAppParams appParams, in getMessage() argument
3563 if (appParams.getFractionRequest() == BluetoothMapAppParams.FRACTION_REQUEST_NEXT) { in getMessage()
3570 return getSmsMessage(id, appParams.getCharset()); in getMessage()
3572 return getMmsMessage(id, appParams); in getMessage()
3574 return getEmailMessage(id, appParams, folderElement); in getMessage()
3576 return getIMMessage(id, appParams, folderElement); in getMessage()
3994 public byte[] getMmsMessage(long id, BluetoothMapAppParams appParams) in getMmsMessage() argument
3997 if (appParams.getCharset() == MAP_MESSAGE_CHARSET_NATIVE) { in getMmsMessage()
4025 message.setIncludeAttachments(appParams.getAttachment() != 0); in getMmsMessage()
4055 public byte[] getEmailMessage(long id, BluetoothMapAppParams appParams, in getEmailMessage() argument
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapContentObserverTest.java159 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in testPushGroupMMS() local
166 observer.pushMessage(message, folderElement, appParams, null); in testPushGroupMMS()