Home
last modified time | relevance | path

Searched refs:hashId (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java202 String hashId; in handleHashIdForInsert() local
204 hashId = photoHashId; in handleHashIdForInsert()
206 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert()
208 hashId = null; in handleHashIdForInsert()
210 if (TextUtils.isEmpty(hashId)) { in handleHashIdForInsert()
213 values.put(Data.HASH_ID, hashId); in handleHashIdForInsert()
240 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate() local
241 if (TextUtils.isEmpty(hashId)) { in handleHashIdForUpdate()
244 values.put(Data.HASH_ID, hashId); in handleHashIdForUpdate()
DContactsDatabaseHelper.java3304 final String hashId = legacyGenerateHashId(data1, data2, data15); in upgradeToVersion1101() local
3305 if (!TextUtils.isEmpty(hashId)) { in upgradeToVersion1101()
3306 update.bindString(1, hashId); in upgradeToVersion1101()
3459 final String hashId = generateHashIdForData(hashInput); in legacyGenerateHashId() local
3460 return hashId; in legacyGenerateHashId()
3475 final String hashId = generateHashIdForData(hashInput); in generateHashId() local
3476 return hashId; in generateHashId()
DContactsProvider2.java4938 private ArrayList<Long> queryDataId(SQLiteDatabase db, long rawContactId, String hashId) { in queryDataId() argument
4939 if (rawContactId == 0 || TextUtils.isEmpty(hashId)) { in queryDataId()
4943 mSelectionArgs2[1] = hashId; in queryDataId()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickCountRecordProvider.java117 final String hashId = uri.getPathSegments().get(1); in insert() local
118 key.put(Columns.FILE_HASH_ID, hashId); in insert()
123 new String[] { hashId }); in insert()
142 final String hashId = uri.getPathSegments().get(1); in delete() local
144 new String[] { hashId }); in delete()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java288 final String hashId = mDbHelper.generateHashId(dataString, null); in testUpgradeHashId() local
304 assertEquals(expectedHashId, hashId); in testUpgradeHashId()
DContactsProvider2Test.java1203 String hashId = helper.generateHashIdForData(combineString.getBytes()); in testDataInsertAndUpdateHashId() local
1204 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1213 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1261 String hashId = helper.getPhotoHashId(); in testDataInsertAndUpdateHashId_Photo() local
1262 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
1268 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
2886 String hashId = getStoredValue(dataUri, Data.HASH_ID); in testUpdateFromMetadataEntry() local
2927 FieldData fieldData = new FieldData(hashId, true, true, usageStatsList); in testUpdateFromMetadataEntry()