Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickCountRecordProvider.java120 final String hashId = uri.getPathSegments().get(1); in insert() local
121 key.put(Columns.FILE_HASH_ID, hashId); in insert()
126 new String[] { hashId }); in insert()
145 final String hashId = uri.getPathSegments().get(1); in delete() local
147 new String[] { hashId }); in delete()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandler.java203 String hashId; in handleHashIdForInsert() local
205 hashId = photoHashId; in handleHashIdForInsert()
207 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert()
209 hashId = null; in handleHashIdForInsert()
211 if (TextUtils.isEmpty(hashId)) { in handleHashIdForInsert()
214 values.put(Data.HASH_ID, hashId); in handleHashIdForInsert()
241 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate() local
242 if (TextUtils.isEmpty(hashId)) { in handleHashIdForUpdate()
245 values.put(Data.HASH_ID, hashId); in handleHashIdForUpdate()
DContactsDatabaseHelper.java3327 final String hashId = legacyGenerateHashId(data1, data2, data15); in upgradeToVersion1101() local
3328 if (!TextUtils.isEmpty(hashId)) { in upgradeToVersion1101()
3329 update.bindString(1, hashId); in upgradeToVersion1101()
3578 final String hashId = generateHashIdForData(hashInput); in legacyGenerateHashId() local
3579 return hashId; in legacyGenerateHashId()
3594 final String hashId = generateHashIdForData(hashInput); in generateHashId() local
3595 return hashId; in generateHashId()
DContactsProvider2.java5271 private ArrayList<Long> queryDataId(SQLiteDatabase db, long rawContactId, String hashId) { in queryDataId() argument
5272 if (rawContactId == 0 || TextUtils.isEmpty(hashId)) { in queryDataId()
5276 mSelectionArgs2[1] = hashId; in queryDataId()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java290 final String hashId = mDbHelper.generateHashId(dataString, null); in testUpgradeHashId() local
306 assertEquals(expectedHashId, hashId); in testUpgradeHashId()
DContactsProvider2Test.java1448 String hashId = helper.generateHashIdForData(combineString.getBytes()); in testDataInsertAndUpdateHashId() local
1449 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1458 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId()
1506 String hashId = helper.getPhotoHashId(); in testDataInsertAndUpdateHashId_Photo() local
1507 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
1513 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()