/packages/providers/ContactsProvider/tests/assets/test1/ |
D | expected_data.txt | 5 5 data1=Test Android 32 32 data1=Jane Doe 59 59 data1=John Doe 86 86 data1=This is a test account for Eclair Android Contacts 113 113 data1=Added On Android 140 140 data1=Acme Corp 167 167 data1=1-800-466-4411 194 194 data1=2345678901 221 221 data1=3456789012 248 248 data1=4567890123 [all …]
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
D | expected_data.txt | 5 5 data1=Lemmy Test 32 32 data1=Mail 59 59 data1=Number 86 86 data1=Number And Mail 113 113 data1=Not Synced Number 140 140 data1=Not Synced NumberMail 167 167 data1=Not Synced Mail 194 194 data1=Not Synced 221 221 data1=698-147-02 248 248 data1=716-5432 [all …]
|
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
D | expected_data.txt | 5 5 data1=Number And Mail 32 32 data1=Number 59 59 data1=Mail 86 86 data1=542-31 113 113 data1=716-5432 140 140 data1=698-147-02 167 167 data1=gdgjj.fxhnj@ggh.com 194 194 data1=weyj@xtdt.com 221 221 data1=mail@dom.com 248 248 data1=1 [all …]
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/ |
D | MoreContactUtilsTest.java | 151 CharSequence data1, CharSequence mimetype2, CharSequence data2) { in assertCollapses() argument 152 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype1, data1, mimetype2, in assertCollapses() 155 data1)); in assertCollapses() 159 if (data1 == data2 && data1 != null) { in assertCollapses() 163 if (data1 == data2_newref) { in assertCollapses() 170 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype1, data1, in assertCollapses() 173 mimetype1, data1)); in assertCollapses()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | ContactsUtils.java | 399 CharSequence data1, CharSequence mimetype2, CharSequence data2) { in areDataEqual() argument 402 if (data1 == data2) { in areDataEqual() 405 if (data1 == null || data2 == null) { in areDataEqual() 408 return PhoneNumberUtils.compare(context, data1.toString(), data2.toString()); in areDataEqual() 410 if (mimetype1 == mimetype2 && data1 == data2) { in areDataEqual() 413 return TextUtils.equals(mimetype1, mimetype2) && TextUtils.equals(data1, data2); in areDataEqual()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/ |
D | MoreContactUtils.java | 47 public static boolean shouldCollapse(CharSequence mimetype1, CharSequence data1, in shouldCollapse() argument 53 if (TextUtils.equals(data1, data2)) return true; in shouldCollapse() 56 if (data1 == null || data2 == null) return false; in shouldCollapse() 65 return shouldCollapsePhoneNumbers(data1.toString(), data2.toString()); in shouldCollapse()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | trie_map.h | 233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} in Entry()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | LegacyContactsProviderTest.java | 561 int type1, String label1, String data1, String auxData1, boolean primary1, in assertContactMethodUpdate() argument 573 values.put(ContactMethods.DATA, data1); in assertContactMethodUpdate()
|
D | BaseContactsProvider2Test.java | 1196 protected void assertDataUsageCursorContains(Uri uri, String data1, int timesUsed, in assertDataUsageCursorContains() argument 1201 assertCursorHasAnyRecordMatch(cursor, cv(Data.DATA1, data1, Data.TIMES_USED, timesUsed, in assertDataUsageCursorContains()
|
D | ContactsProvider2Test.java | 2109 String data1 = c.getString(c.getColumnIndex(RawContactsEntity.DATA1)); in testQueryRawContactEntitiesCorp_withCorpProfile() local 2110 assertEquals("Contact2 Corp", data1); in testQueryRawContactEntitiesCorp_withCorpProfile() 9120 private void sendFeedback(String data1, String usageType, ContentValues values) { in sendFeedback() argument 9122 Data.DATA1 + "=?", new String[] { data1 }, Data._ID); in sendFeedback()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 4484 final String data1 = values.getAsString(Data.DATA1); in maybeTrimLongPhoneNumber() local 4485 if (data1 != null && data1.length() > PHONE_NUMBER_LENGTH_LIMIT) { in maybeTrimLongPhoneNumber() 4486 values.put(Data.DATA1, data1.substring(0, PHONE_NUMBER_LENGTH_LIMIT)); in maybeTrimLongPhoneNumber()
|