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.java320 BluetoothMapAppParams appParams = null; in onPut() local
329 appParams = new BluetoothMapAppParams(appParamRaw); in onPut()
339 + appParams.getNotificationStatus()); in onPut()
341 return mObserver.setNotificationRegistration(appParams.getNotificationStatus()); in onPut()
345 + appParams.getStatusIndicator() in onPut()
346 + ", StatusValue: " + appParams.getStatusValue()); in onPut()
348 return setMessageStatus(name, appParams); in onPut()
351 Log.d(TAG,"TYPE_MESSAGE: Transparet: " + appParams.getTransparent() in onPut()
352 + ", retry: " + appParams.getRetry() in onPut()
353 + ", charset: " + appParams.getCharset()); in onPut()
[all …]
DBluetoothMapAppParams.java155 public BluetoothMapAppParams(final byte[] appParams) in BluetoothMapAppParams() argument
157 ParseParams(appParams); in BluetoothMapAppParams()
172 private void ParseParams(final byte[] appParams) throws ParseException, in ParseParams() argument
176 ByteBuffer appParamBuf = ByteBuffer.wrap(appParams); in ParseParams()
178 while (i < appParams.length) { in ParseParams()
179 tagId = appParams[i++] & 0xff; // Convert to unsigned to support values above 127 in ParseParams()
180 tagLength = appParams[i++] & 0xff; // Convert to unsigned to support values above 127 in ParseParams()
204 setFilterMessageType(appParams[i] & 0x0f); in ParseParams()
208 setFilterPeriodBegin(new String(appParams, i, tagLength)); in ParseParams()
213 setFilterPeriodEnd(new String(appParams, i, tagLength)); in ParseParams()
[all …]
DBluetoothMapContent.java1536 public byte[] getMessage(String handle, BluetoothMapAppParams appParams, in getMessage() argument
1540 if(appParams.getFractionRequest() == BluetoothMapAppParams.FRACTION_REQUEST_NEXT) { in getMessage()
1547 return getSmsMessage(id, appParams.getCharset()); in getMessage()
1549 return getMmsMessage(id, appParams); in getMessage()
1551 return getEmailMessage(id, appParams, folderElement); in getMessage()
1828 …public byte[] getMmsMessage(long id, BluetoothMapAppParams appParams) throws UnsupportedEncodingEx… in getMmsMessage() argument
1830 if (appParams.getCharset() == MAP_MESSAGE_CHARSET_NATIVE) in getMmsMessage()
1857 message.setIncludeAttachments(appParams.getAttachment() == 0 ? false : true); in getMmsMessage()
1876 public byte[] getEmailMessage(long id, BluetoothMapAppParams appParams, in getEmailMessage() argument
1879 if(D && appParams != null) { in getEmailMessage()
[all …]
DBluetoothMnsObexClient.java280 BluetoothMapAppParams appParams = new BluetoothMapAppParams(); in sendEventHandler() local
281 appParams.setMasInstanceId(masInstanceId); in sendEventHandler()
288 request.setHeader(HeaderSet.APPLICATION_PARAMETER, appParams.EncodeParams()); in sendEventHandler()