Home
last modified time | relevance | path

Searched refs:data2 (Results 1 – 17 of 17) sorted by relevance

/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_data.txt6 6 data2=Test
33 33 data2=Jane
60 60 data2=John
87 87 data2=null
114 114 data2=Added
141 141 data2=1
168 168 data2=1
195 195 data2=3
222 222 data2=2
249 249 data2=5
[all …]
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_data.txt6 6 data2=Lemmy
33 33 data2=Mail
60 60 data2=Number
87 87 data2=Number
114 114 data2=Not
141 141 data2=Not
168 168 data2=Not
195 195 data2=Not
222 222 data2=2
249 249 data2=2
[all …]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_data.txt6 6 data2=Number
33 33 data2=Number
60 60 data2=Mail
87 87 data2=2
114 114 data2=2
141 141 data2=2
168 168 data2=1
195 195 data2=1
222 222 data2=1
249 249 data2=null
[all …]
/packages/apps/Dialer/java/com/android/dialer/simulator/
DSimulator.java134 @Nullable public final String data2; field in Simulator.Event
140 public Event(@Type int type, String data1, String data2) { in Event() argument
143 this.data2 = data2; in Event()
157 && Objects.equals(data2, event.data2); in equals()
162 return Objects.hash(Integer.valueOf(type), data1, data2); in hashCode()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java199 final String data2 = values.getAsString(Data.DATA2); in handleHashIdForInsert() local
205 } else if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in handleHashIdForInsert()
206 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert()
227 String data2 = values.getAsString(Data.DATA2); in handleHashIdForUpdate() local
234 data2 = values.containsKey(Data.DATA2) ? data2 : c.getString(1); in handleHashIdForUpdate()
240 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate()
DContactsDatabaseHelper.java3302 final String data2 = c.getString(2); in upgradeToVersion1101() local
3304 final String hashId = legacyGenerateHashId(data1, data2, data15); in upgradeToVersion1101()
3448 public String legacyGenerateHashId(String data1, String data2, byte[] data15) { in legacyGenerateHashId() argument
3451 if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in legacyGenerateHashId()
3453 sb.append(data2); in legacyGenerateHashId()
3466 public String generateHashId(String data1, String data2) { in generateHashId() argument
3469 if (!TextUtils.isEmpty(data1) || !TextUtils.isEmpty(data2)) { in generateHashId()
3471 sb.append(data2); in generateHashId()
/packages/apps/Contacts/tests/src/com/android/contacts/
DMoreContactUtilsTest.java151 CharSequence data1, CharSequence mimetype2, CharSequence data2) { in assertCollapses() argument
153 data2)); in assertCollapses()
154 assertEquals(message, expected, MoreContactUtils.shouldCollapse(mimetype2, data2, mimetype1, in assertCollapses()
159 if (data1 == data2 && data1 != null) { in assertCollapses()
161 final CharSequence data2_newref = new StringBuilder(data2).append("").toString(); in assertCollapses()
/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.java48 CharSequence mimetype2, CharSequence data2) { 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/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql34 …GER NOT NULL DEFAULT 0,data_version INTEGER NOT NULL DEFAULT 0,data1 TEXT,data2 TEXT,data3 TEXT,da… field
139 …S res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, dat…
142 …S res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, dat…
143 …S res_package,data.mimetype_id,mimetype AS mimetype, is_read_only, data1, data2, data3, data4, dat…
155 …S primary_email, phone._id AS primary_phone, phone.data1 AS number, phone.data2 AS type, phone.dat…
156 …sprimary, accounts.account_name, accounts.account_type, data1 AS company, data2 AS type, data3 AS …
157data2 AS type, (CASE WHEN mimetype='vnd.android.cursor.item/im' THEN (CASE WHEN data.data5=-1 THEN…
158data2 AS type, data.data3 AS label, _PHONE_NUMBER_STRIPPED_REVERSED(data.data1) AS number_key, nam…
159 …d AS person, accounts.account_name, accounts.account_type, data1 AS name, data2 AS value FROM data…
162 …S exists_on_server, legacy_photo.data3 AS download_required, legacy_photo.data2 AS local_version, …
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java116 …NdefRecord data2 = new NdefRecord(NdefRecord.TNF_WELL_KNOWN, NdefRecord.RTD_TEXT, new byte[0], pay… in getLargeNdef() local
117 return new NdefMessage(new NdefRecord[]{data2}); in getLargeNdef()
/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()
DSimulatorRttCall.java126 if (Connection.stateToString(Connection.STATE_ACTIVE).equals(event.data2)) { in onEvent()
DSimulatorConference.java162 && Connection.stateToString(Connection.STATE_DISCONNECTED).equals(event.data2)) { in onGsmEvent()
DSimulatorConnection.java178 VideoProfile toProfile = new VideoProfile(Integer.parseInt(event.data2)); in handleSessionModifyRequest()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java586 int type2, String label2, String data2, String auxData2, boolean primary2) { in assertContactMethodUpdate() argument
606 values.put(ContactMethods.DATA, data2); in assertContactMethodUpdate()
DContactsProvider2Test.java1201 String data2 = values.getAsString(Data.DATA2); in testDataInsertAndUpdateHashId() local
1202 String combineString = data1+data2; in testDataInsertAndUpdateHashId()
1221 combineString = newData1+data2; in testDataInsertAndUpdateHashId()