/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
D | BluetoothMapUtilsTest.java | 13 import com.android.bluetooth.map.BluetoothMapUtils; 48 assertTrue(BluetoothMapUtils.stripEncoding(encText1).equals(decText1)); in testEncoder() 49 assertTrue(BluetoothMapUtils.stripEncoding(encText2).equals(decText2)); in testEncoder() 50 assertTrue(BluetoothMapUtils.stripEncoding(encText3).equals(decText3)); in testEncoder() 51 assertTrue(BluetoothMapUtils.stripEncoding(encText4).equals(decText4)); in testEncoder() 52 assertTrue(BluetoothMapUtils.stripEncoding(encText5).equals(decText5)); in testEncoder() 53 assertTrue(BluetoothMapUtils.stripEncoding(encText6).equals(decText6)); in testEncoder() 55 BluetoothMapUtils.stripEncoding(encText7)); in testEncoder() 56 assertTrue(BluetoothMapUtils.stripEncoding(encText7).equals(decText7)); in testEncoder() 57 assertTrue(BluetoothMapUtils.stripEncoding(encText8).equals(decText8)); in testEncoder() [all …]
|
D | BluetoothMapbMessageTest.java | 16 import com.android.bluetooth.map.BluetoothMapUtils; 17 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 543 output = new String(BluetoothMapUtils.quotedPrintableToUtf8(input, charset)); in testQuotedPrintableIso8859_1() 566 output = new String(BluetoothMapUtils.quotedPrintableToUtf8(input, charset)); in testQuotedPrintableUTF_8()
|
D | BluetoothMapContentTest.java | 37 import com.android.bluetooth.map.BluetoothMapUtils; 38 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 450 String handle = BluetoothMapUtils.getMapHandle(id, TYPE.EMAIL); in testGetMessages() 583 handleStr = BluetoothMapUtils.getLongAsString(i | HANDLE_TYPE_SMS_CDMA_MASK); in testHandle()
|
D | MapObexTestServer.java | 21 import com.android.bluetooth.map.BluetoothMapUtils;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 106 private int mRemoteFeatureMask = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK; 110 private String mMessageVersion = BluetoothMapUtils.MAP_V10_STR; 309 mMessageVersion = BluetoothMapUtils.MAP_V10_STR;//always assume version 1.0 to start with in onConnect() 356 if((mRemoteFeatureMask & BluetoothMapUtils.MAP_FEATURE_MESSAGE_LISTING_FORMAT_V11_BIT) in onConnect() 357 == BluetoothMapUtils.MAP_FEATURE_MESSAGE_LISTING_FORMAT_V11_BIT) { in onConnect() 361 if((mRemoteFeatureMask & BluetoothMapUtils.MAP_FEATURE_MESSAGE_FORMAT_V11_BIT) in onConnect() 362 == BluetoothMapUtils.MAP_FEATURE_MESSAGE_FORMAT_V11_BIT){ in onConnect() 363 mMessageVersion = BluetoothMapUtils.MAP_V11_STR; in onConnect() 611 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); in pushMessage() [all …]
|
D | BluetoothMapContentObserver.java | 57 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 132 private int mMapSupportedFeatures = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK; 134 private int mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V10; 271 if((BluetoothMapUtils.MAP_FEATURE_EXTENDED_EVENT_REPORT_11_BIT in BluetoothMapContentObserver() 273 mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V11; in BluetoothMapContentObserver() 276 if((BluetoothMapUtils.MAP_FEATURE_EVENT_REPORT_V12_BIT in BluetoothMapContentObserver() 278 mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V12; in BluetoothMapContentObserver() 337 if ((BluetoothMapUtils.MAP_FEATURE_EXTENDED_EVENT_REPORT_11_BIT in setObserverRemoteFeatureMask() 339 mMapEventReportVersion = BluetoothMapUtils.MAP_EVENT_REPORT_V11; in setObserverRemoteFeatureMask() 342 if ((BluetoothMapUtils.MAP_FEATURE_EVENT_REPORT_V12_BIT in setObserverRemoteFeatureMask() [all …]
|
D | BluetoothMapMessageListingElement.java | 29 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 239 this.mThreadId = BluetoothMapUtils.getMapConvoHandle(threadId, type); in setThreadId() 277 BluetoothMapUtils.getMapHandle(mCpHandle, mType)); in encode() 279 String stripped = BluetoothMapUtils.stripInvalidChars(mSubject); in encode() 287 BluetoothMapUtils.stripInvalidChars(mSenderName)); in encode() 294 BluetoothMapUtils.stripInvalidChars(mRecipientName)); in encode()
|
D | BluetoothMapAccountItem.java | 38 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() 200 public BluetoothMapUtils.TYPE getType() { in getType()
|
D | BluetoothMapAccountLoader.java | 23 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 91 BluetoothMapUtils.TYPE msgType = (searchIntent.getAction().toString() == in parsePackages() 93 BluetoothMapUtils.TYPE.EMAIL : BluetoothMapUtils.TYPE.IM; in parsePackages() 133 BluetoothMapUtils.TYPE type) { in createAppItem()
|
D | BluetoothMapbMessageMime.java | 106 text = BluetoothMapUtils.encodeQuotedPrintable(mData); in encode() 125 text = BluetoothMapUtils.encodeQuotedPrintable(mData); in encodePlainText() 524 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders() 528 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders() 532 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders() 536 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders() 540 headerValue = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders() 544 subject = BluetoothMapUtils.stripEncoding(headerValue); in parseMimeHeaders() 660 return BluetoothMapUtils.quotedPrintableToUtf8(body, charset); in decodeBody()
|
D | BluetoothMapAppObserver.java | 224 BluetoothMapUtils.TYPE msgType = BluetoothMapUtils.TYPE.NONE; in createReceiver() 248 msgType = BluetoothMapUtils.TYPE.EMAIL; in createReceiver() 251 msgType = BluetoothMapUtils.TYPE.IM; in createReceiver()
|
D | BluetoothMapConvoListingElement.java | 32 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 214 return new String(BluetoothMapUtils.truncateUtf8StringToBytearray(mSummary, 256), in getSummary() 254 BluetoothMapUtils.stripInvalidChars(mName)); in encode()
|
D | BluetoothMapContent.java | 43 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 159 private String mMessageVersion = BluetoothMapUtils.MAP_V10_STR; 161 private int mRemoteFeatureMask = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK; 162 private int mMsgListingVersion = BluetoothMapUtils.MAP_MESSAGE_LISTING_FORMAT_V10; 641 if( (mMsgListingVersion > BluetoothMapUtils.MAP_MESSAGE_LISTING_FORMAT_V10) in setAttachment() 1832 id = BluetoothMapUtils.getCpHandle(msgHandle); in setWhereFilterMessageHandle() 1853 id = BluetoothMapUtils.getMsgHandleAsLong(msgHandle); in setWhereFilterThreadId() 2111 if(V) BluetoothMapUtils.printCursor(smsCursor); in msgListing() 2145 if(V) BluetoothMapUtils.printCursor(mmsCursor); in msgListing() 2181 if(V) BluetoothMapUtils.printCursor(emailCursor); in msgListing() [all …]
|
D | BluetoothMapConvoContactElement.java | 206 BluetoothMapUtils.stripInvalidChars(mDisplayName)); in encode() 210 BluetoothMapUtils.stripInvalidChars(mName)); in encode()
|
D | BluetoothMapAppParams.java | 527 "MSB=" + BluetoothMapUtils.getLongAsString(appParamBuf.getLong(i)) + in ParseParams() 528 ", LSB(+8)=" + BluetoothMapUtils.getLongAsString(appParamBuf.getLong(i+8))); in ParseParams() 1018 mFilterMsgHandle = BluetoothMapUtils.getLongFromString(handle); in setFilterMsgHandle() 1031 str = BluetoothMapUtils.getLongAsString(mFilterMsgHandle); in getFilterMsgHandleString() 1064 str = BluetoothMapUtils.getLongAsString(mFilterConvoId.getLeastSignificantBits()); in getFilterConvoIdString()
|
D | MapContact.java | 46 return BluetoothMapUtils.getLongLongAsString(mId, 0); in getXBtUidString()
|
D | BluetoothMapMasInstance.java | 29 import com.android.bluetooth.map.BluetoothMapUtils.TYPE; 102 private int mRemoteFeatureMask = BluetoothMapUtils.MAP_FEATURE_DEFAULT_BITMASK;
|
D | BluetoothMapbMessageSms.java | 23 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
|
D | BluetoothMapFolderElement.java | 272 xmlMsgElement.attribute(null, "version", BluetoothMapUtils.MAP_V10_STR); in encode()
|
D | BluetoothMapUtils.java | 38 public class BluetoothMapUtils { class
|
D | BluetoothMapbMessage.java | 31 import com.android.bluetooth.map.BluetoothMapUtils.TYPE;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | SignedLongLong.java | 21 import com.android.bluetooth.map.BluetoothMapUtils; 61 msb = BluetoothMapUtils.getLongFromString(msbStr); in fromString() 63 lsb = BluetoothMapUtils.getLongFromString(lsbStr); in fromString() 94 return BluetoothMapUtils.getLongLongAsString(mLeastSigBits, mMostSigBits); in toHexString()
|