Home
last modified time | relevance | path

Searched refs:data1 (Results 1 – 23 of 23) sorted by relevance

/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt5 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/
Dexpected_data.txt5 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/
Dexpected_data.txt5 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/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql34 …rimary INTEGER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,da… field
126 CREATE INDEX data_mimetype_data1_index ON data (mimetype_id,data1);
139data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, dat…
142data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, dat…
143data1, data2, data3, data4, data5, data6, data7, data8, data9, data10, data11, data12, data13, dat…
155data1 AS name, raw_contacts.display_name AS display_name, trim(trim(ifnull(name.data7,' ')||' '||i…
156 …n, is_primary AS isprimary, accounts.account_name, accounts.account_type, data1 AS company, data2 …
157data1 END) AS data, data.data3 AS label, data.data14 AS aux_data, name.data1 AS name, raw_contacts…
158data1 AS number, data.data2 AS type, data.data3 AS label, _PHONE_NUMBER_STRIPPED_REVERSED(data.dat…
159 …a.raw_contact_id AS person, accounts.account_name, accounts.account_type, data1 AS name, data2 AS …
[all …]
/packages/apps/Dialer/java/com/android/dialer/simulator/
DSimulator.java130 @Nullable public final String data1; field in Simulator.Event
140 public Event(@Type int type, String data1, String data2) { in Event() argument
142 this.data1 = data1; in Event()
156 && Objects.equals(data1, event.data1) in equals()
162 return Objects.hash(Integer.valueOf(type), data1, data2); in hashCode()
/packages/apps/Contacts/tests/src/com/android/contacts/
DMoreContactUtilsTest.java151 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/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java198 final String data1 = values.getAsString(Data.DATA1); in handleHashIdForInsert() local
205 } else if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in handleHashIdForInsert()
206 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert()
226 String data1 = values.getAsString(Data.DATA1); in handleHashIdForUpdate() local
233 data1 = values.containsKey(Data.DATA1) ? data1 : c.getString(0); in handleHashIdForUpdate()
240 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate()
DContactsDatabaseHelper.java3304 final String data1 = c.getString(1); in upgradeToVersion1101() local
3307 final String hashId = legacyGenerateHashId(data1, data2, data15); in upgradeToVersion1101()
3451 public String legacyGenerateHashId(String data1, String data2, byte[] data15) { in legacyGenerateHashId() argument
3454 if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in legacyGenerateHashId()
3455 sb.append(data1); in legacyGenerateHashId()
3469 public String generateHashId(String data1, String data2) { in generateHashId() argument
3472 if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in generateHashId()
3473 sb.append(data1); in generateHashId()
DContactsProvider2.java4677 final String data1 = values.getAsString(Data.DATA1); in maybeTrimLongPhoneNumber() local
4678 if (data1 != null && data1.length() > PHONE_NUMBER_LENGTH_LIMIT) { in maybeTrimLongPhoneNumber()
4679 values.put(Data.DATA1, data1.substring(0, PHONE_NUMBER_LENGTH_LIMIT)); in maybeTrimLongPhoneNumber()
/packages/apps/Dialer/java/com/android/contacts/common/
DMoreContactUtils.java41 CharSequence mimetype1, CharSequence data1, CharSequence mimetype2, CharSequence data2) { in shouldCollapse() argument
48 if (TextUtils.equals(data1, data2)) { in shouldCollapse()
53 if (data1 == null || data2 == null) { in shouldCollapse()
63 return shouldCollapsePhoneNumbers(data1.toString(), data2.toString()); in shouldCollapse()
/packages/apps/Contacts/src/com/android/contacts/
DMoreContactUtils.java47 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/apps/Dialer/java/com/android/dialer/callcomposer/
DGalleryComposerFragment.java123 GalleryGridItemData data1 = in onActivityCreated()
125 insertedImages.add(0, data1); in onActivityCreated()
126 setSelected(data1, true); in onActivityCreated()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java134 …NdefRecord data1 = new NdefRecord(NdefRecord.TNF_WELL_KNOWN, NdefRecord.RTD_TEXT, new byte[0], pay… in getSmallNdef() local
135 return new NdefMessage(new NdefRecord[]{data1}); in getSmallNdef()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java283 final StringBuilder data1 = new StringBuilder(); in testUpgradeHashId() local
285 data1.append("L"); in testUpgradeHashId()
287 final String dataString = data1.toString(); in testUpgradeHashId()
DLegacyContactsProviderTest.java585 int type1, String label1, String data1, String auxData1, boolean primary1, in assertContactMethodUpdate() argument
597 values.put(ContactMethods.DATA, data1); in assertContactMethodUpdate()
DBaseContactsProvider2Test.java1237 protected void assertDataUsageZero(Uri uri, String data1) { in assertDataUsageZero() argument
1242 assertCursorHasAnyRecordMatch(cursor, cv(Data.DATA1, data1, Data.TIMES_USED, 0, in assertDataUsageZero()
DContactsProvider2Test.java1226 String data1 = values.getAsString(Data.DATA1); in testDataInsertAndUpdateHashId() local
1228 String combineString = data1+data2; in testDataInsertAndUpdateHashId()
2403 String data1 = c.getString(c.getColumnIndex(RawContactsEntity.DATA1)); in testQueryRawContactEntitiesCorp_withCorpProfile() local
2404 assertEquals("Contact2 Corp", data1); in testQueryRawContactEntitiesCorp_withCorpProfile()
9799 private void sendFeedback(String data1, String usageType, ContentValues values) { in sendFeedback() argument
9801 Data.DATA1 + "=?", new String[] { data1 }, Data._ID); in sendFeedback()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h233 Entry(const uint32_t data0, const uint32_t data1) : mData0(data0), mData1(data1) {} in Entry()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DNonSimulatorConnectionListener.java36 String.format("state changed from %s to %s ", event.data1, event.data2)); in onEvent()
DSimulatorVideoCall.java120 connection.setVideoState(Integer.parseInt(event.data1)); in onEvent()
DSimulatorConnectionsBankImpl.java132 SimulatorSimCallManager.findConnectionByTag(event.data1); in onEvent()
DSimulatorConnection.java177 VideoProfile fromProfile = new VideoProfile(Integer.parseInt(event.data1)); in handleSessionModifyRequest()
DSimulatorConferenceCreator.java200 SimulatorSimCallManager.findConnectionByTag(event.data1); in onEvent()