Searched refs:BluetoothMapConvoListingElement (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapConvoListingElementTest.java | 83 private BluetoothMapConvoListingElement mListingElement; 87 mListingElement = new BluetoothMapConvoListingElement(); in setUp() 154 BluetoothMapConvoListingElement listingElementFromXml = in encodeToXml_thenDecodeToInstance_returnsCorrectly() 155 BluetoothMapConvoListingElement.createFromXml(parser); in encodeToXml_thenDecodeToInstance_returnsCorrectly() 168 BluetoothMapConvoListingElement listingElement = new BluetoothMapConvoListingElement(); in equalsWithSameValues_returnsTrue() 174 BluetoothMapConvoListingElement listingElementEqual = new BluetoothMapConvoListingElement(); in equalsWithSameValues_returnsTrue() 185 BluetoothMapConvoListingElement listingElement = new BluetoothMapConvoListingElement(); in equalsWithDifferentRead_returnsFalse() 187 BluetoothMapConvoListingElement listingElementWithDifferentRead = in equalsWithDifferentRead_returnsFalse() 188 new BluetoothMapConvoListingElement(); in equalsWithDifferentRead_returnsFalse() 196 BluetoothMapConvoListingElement listingElement = new BluetoothMapConvoListingElement(); in compareToWithSameValues_returnsZero() [all …]
|
D | BluetoothMapConvoListingTest.java | 40 private BluetoothMapConvoListingElement mListingElementEarliestWithReadFalse; 41 private BluetoothMapConvoListingElement mListingElementMiddleWithReadFalse; 42 private BluetoothMapConvoListingElement mListingElementLatestWithReadTrue; 47 mListingElementEarliestWithReadFalse = new BluetoothMapConvoListingElement(); in setUp() 50 mListingElementMiddleWithReadFalse = new BluetoothMapConvoListingElement(); in setUp() 53 mListingElementLatestWithReadTrue = new BluetoothMapConvoListingElement(); in setUp() 152 final BluetoothMapConvoListingElement listingElementToAppendOne = in encodeToXml_thenAppendFromXml() 153 new BluetoothMapConvoListingElement(); in encodeToXml_thenAppendFromXml() 154 final BluetoothMapConvoListingElement listingElementToAppendTwo = in encodeToXml_thenAppendFromXml() 155 new BluetoothMapConvoListingElement(); in encodeToXml_thenAppendFromXml()
|
D | BluetoothMapContentTest.java | 129 private BluetoothMapConvoListingElement mConvoListingElement; 139 mConvoListingElement = new BluetoothMapConvoListingElement(); in setUp() 812 HashMap<Long, BluetoothMapConvoListingElement> emailMap = in setters_withConvoList() 813 new HashMap<Long, BluetoothMapConvoListingElement>(); in setters_withConvoList() 814 HashMap<Long, BluetoothMapConvoListingElement> smsMap = in setters_withConvoList() 815 new HashMap<Long, BluetoothMapConvoListingElement>(); in setters_withConvoList() 1252 BluetoothMapConvoListingElement emailElement = listing.getList().get(1); in convoListing_withNullFilterRecipient() 1257 BluetoothMapConvoListingElement smsElement = listing.getList().get(0); in convoListing_withNullFilterRecipient() 1356 BluetoothMapConvoListingElement imElement = listing.getList().get(1); in convoListing_withNonNullFilterRecipient() 1361 BluetoothMapConvoListingElement smsElement = listing.getList().get(0); in convoListing_withNonNullFilterRecipient()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapConvoListing.java | 45 private List<BluetoothMapConvoListingElement> mList; 48 mList = new ArrayList<BluetoothMapConvoListingElement>(); in BluetoothMapConvoListing() 51 public void add(BluetoothMapConvoListingElement element) { in add() 85 public List<BluetoothMapConvoListingElement> getList() { in getList() 107 for (BluetoothMapConvoListingElement element : mList) { in encode() 146 mList = new ArrayList<BluetoothMapConvoListingElement>(); // Return an empty list in segment() 150 mList = new ArrayList<BluetoothMapConvoListingElement>(); in segment() 203 .equalsIgnoreCase(BluetoothMapConvoListingElement.XML_TAG_CONVERSATION)) { in readConversations() 209 add(BluetoothMapConvoListingElement.createFromXml(parser)); in readConversations()
|
D | BluetoothMapConvoListingElement.java | 40 public class BluetoothMapConvoListingElement class 41 implements Comparable<BluetoothMapConvoListingElement> { 246 public int compareTo(BluetoothMapConvoListingElement e) { in compareTo() 295 public static BluetoothMapConvoListingElement createFromXml(XmlPullParser parser) in createFromXml() 297 BluetoothMapConvoListingElement newElement = new BluetoothMapConvoListingElement(); in createFromXml() 355 BluetoothMapConvoListingElement other = (BluetoothMapConvoListingElement) obj; in equals()
|
D | BluetoothMapMasInstance.java | 105 private HashMap<Long, BluetoothMapConvoListingElement> mSmsMmsConvoList = 106 new HashMap<Long, BluetoothMapConvoListingElement>(); 108 private HashMap<Long, BluetoothMapConvoListingElement> mImEmailConvoList = 109 new HashMap<Long, BluetoothMapConvoListingElement>(); 228 HashMap<Long, BluetoothMapConvoListingElement> getSmsMmsConvoList() { in getSmsMmsConvoList() 232 void setSmsMmsConvoList(HashMap<Long, BluetoothMapConvoListingElement> smsMmsConvoList) { in setSmsMmsConvoList() 236 HashMap<Long, BluetoothMapConvoListingElement> getImEmailConvoList() { in getImEmailConvoList() 240 void setImEmailConvoList(HashMap<Long, BluetoothMapConvoListingElement> imEmailConvoList) { in setImEmailConvoList()
|
D | BluetoothMapContent.java | 1220 void setLastActivity(BluetoothMapConvoListingElement e, Cursor c, FilterInfo fi) { in setLastActivity() 1332 private BluetoothMapConvoListingElement createConvoElement(Cursor c, FilterInfo fi) { in createConvoElement() 1333 BluetoothMapConvoListingElement e = new BluetoothMapConvoListingElement(); in createConvoElement() 2786 BluetoothMapConvoListingElement convoElement = null; in convoListing() 2850 BluetoothMapConvoListingElement e = null; in convoListing() 2893 List<BluetoothMapConvoListingElement> list = convoList.getList(); in convoListing() 2899 BluetoothMapConvoListingElement ele = list.get(x); in convoListing() 2964 BluetoothMapConvoListingElement convoElement = null; in refreshSmsMmsConvoVersions() 2968 HashMap<Long, BluetoothMapConvoListingElement> newList = in refreshSmsMmsConvoVersions() 2969 new HashMap<Long, BluetoothMapConvoListingElement>(size); in refreshSmsMmsConvoVersions() [all …]
|