Home
last modified time | relevance | path

Searched refs:BluetoothMapUtils (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java33 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
117 private int mRemoteFeatureMask = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK;
121 private String mMessageVersion = BluetoothMapUtils.MAP_V10_STR;
327 if ((mRemoteFeatureMask & BluetoothMapUtils.MAP_FEATURE_MESSAGE_FORMAT_V11_BIT) in setRemoteFeatureMask()
328 == BluetoothMapUtils.MAP_FEATURE_MESSAGE_FORMAT_V11_BIT) { in setRemoteFeatureMask()
329 mMessageVersion = BluetoothMapUtils.MAP_V11_STR; in setRemoteFeatureMask()
344 mMessageVersion = BluetoothMapUtils.MAP_V10_STR; in onConnect()
394 if ((mRemoteFeatureMask & BluetoothMapUtils.MAP_FEATURE_MESSAGE_LISTING_FORMAT_V11_BIT) in onConnect()
395 == BluetoothMapUtils.MAP_FEATURE_MESSAGE_LISTING_FORMAT_V11_BIT) { in onConnect()
399 if ((mRemoteFeatureMask & BluetoothMapUtils.MAP_FEATURE_MESSAGE_FORMAT_V11_BIT) in onConnect()
[all …]
DBluetoothMapContentObserver.java58 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
137 private int mMapSupportedFeatures = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK;
139 private int mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V10;
319 if ((BluetoothMapUtils.MAP_FEATURE_EXTENDED_EVENT_REPORT_11_BIT & mMapSupportedFeatures) in setObserverRemoteFeatureMask()
321 mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V11; in setObserverRemoteFeatureMask()
324 if ((BluetoothMapUtils.MAP_FEATURE_EVENT_REPORT_V12_BIT & mMapSupportedFeatures) != 0) { in setObserverRemoteFeatureMask()
325 mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V12; in setObserverRemoteFeatureMask()
326 } else if (((BluetoothMapUtils.MAP_FEATURE_PARTICIPANT_PRESENCE_CHANGE_BIT in setObserverRemoteFeatureMask()
327 | BluetoothMapUtils.MAP_FEATURE_PARTICIPANT_CHAT_STATE_CHANGE_BIT) in setObserverRemoteFeatureMask()
658 this.subject = BluetoothMapUtils.stripInvalidChars(subject); in Event()
[all …]
DBluetoothMapMessageListingElement.java18 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
236 this.mThreadId = BluetoothMapUtils.getMapConvoHandle(threadId, type); in setThreadId()
273 xmlMsgElement.attribute(null, "handle", BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode()
275 String stripped = BluetoothMapUtils.stripInvalidChars(mSubject); in encode()
292 BluetoothMapUtils.getDateTimeString(this.getDateTime())); in encode()
296 BluetoothMapUtils.stripInvalidChars(mSenderName)); in encode()
306 BluetoothMapUtils.stripInvalidChars(mRecipientName)); in encode()
DBluetoothMapAccountItem.java38 private final BluetoothMapUtils.TYPE mType;
45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) { in BluetoothMapAccountItem()
59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) { in create()
65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, in create()
227 public BluetoothMapUtils.TYPE getType() { in getType()
DBluetoothMapbMessageMime.java113 text = BluetoothMapUtils.encodeQuotedPrintable(mData); in encode()
131 text = BluetoothMapUtils.encodeQuotedPrintable(mData); in encodePlainText()
591 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders()
595 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders()
599 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders()
603 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders()
607 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders()
611 mSubject = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders()
733 return BluetoothMapUtils.quotedPrintableToUtf8(body, charset); in decodeBody()
DBluetoothMapAccountLoader.java31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
85 BluetoothMapUtils.TYPE msgType = (Objects.equals(searchIntent.getAction(), in parsePackages()
87 ? BluetoothMapUtils.TYPE.EMAIL : BluetoothMapUtils.TYPE.IM; in parsePackages()
130 BluetoothMapUtils.TYPE type) { in createAppItem()
DBluetoothMapAppObserver.java262 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; in createReceiver()
288 msgType = BluetoothMapUtils.TYPE.EMAIL; in createReceiver()
291 msgType = BluetoothMapUtils.TYPE.IM; in createReceiver()
DBluetoothMapContent.java42 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
151 private String mMessageVersion = BluetoothMapUtils.MAP_V10_STR;
153 private int mRemoteFeatureMask = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK;
154 private int mMsgListingVersion = BluetoothMapUtils.MAP_MESSAGE_LISTING_FORMAT_V10;
639 if ((mMsgListingVersion > BluetoothMapUtils.MAP_MESSAGE_LISTING_FORMAT_V10) && ( in setAttachment()
1961 id = BluetoothMapUtils.getCpHandle(msgHandle); in setWhereFilterMessageHandle()
1983 id = BluetoothMapUtils.getMsgHandleAsLong(msgHandle); in setWhereFilterThreadId()
2274 BluetoothMapUtils.printCursor(smsCursor); in msgListing()
2316 BluetoothMapUtils.printCursor(mmsCursor); in msgListing()
2361 BluetoothMapUtils.printCursor(emailCursor); in msgListing()
[all …]
DBluetoothMapConvoListingElement.java21 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
229 return new String(BluetoothMapUtils.truncateUtf8StringToBytearray(mSummary, 256), in getSummary()
269 BluetoothMapUtils.stripInvalidChars(mName)); in encode()
DBluetoothMapMasInstance.java31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
108 private int mRemoteFeatureMask = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK;
488 BluetoothMapUtils.savePeerSupportUtcTimeStamp(mRemoteFeatureMask); in setRemoteFeatureMask()
DBluetoothMapAppParams.java533 + BluetoothMapUtils.getLongAsString(appParamBuf.getLong(i)) in parseParams()
534 + ", LSB(+8)=" + BluetoothMapUtils.getLongAsString( in parseParams()
1048 mFilterMsgHandle = BluetoothMapUtils.getLongFromString(handle); in setFilterMsgHandle()
1061 str = BluetoothMapUtils.getLongAsString(mFilterMsgHandle); in getFilterMsgHandleString()
1094 str = BluetoothMapUtils.getLongAsString(mFilterConvoId.getLeastSignificantBits()); in getFilterConvoIdString()
DBluetoothMapConvoContactElement.java205 BluetoothMapUtils.stripInvalidChars(mDisplayName)); in encode()
209 BluetoothMapUtils.stripInvalidChars(mName)); in encode()
DMapContact.java46 return BluetoothMapUtils.getLongLongAsString(mId, 0); in getXBtUidString()
DBluetoothMapbMessageSms.java21 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
DBluetoothMapFolderElement.java289 xmlMsgElement.attribute(null, "version", BluetoothMapUtils.MAP_V10_STR); in encode()
DBluetoothMapUtils.java38 public class BluetoothMapUtils { class
DBluetoothMapbMessage.java21 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
/packages/apps/Bluetooth/src/com/android/bluetooth/
DSignedLongLong.java19 import com.android.bluetooth.map.BluetoothMapUtils;
63 msb = BluetoothMapUtils.getLongFromString(msbStr); in fromString()
65 lsb = BluetoothMapUtils.getLongFromString(lsbStr); in fromString()
96 return BluetoothMapUtils.getLongLongAsString(mLeastSigBits, mMostSigBits); in toHexString()