Searched refs:hashId (Results 1 – 6 of 6) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 202 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()
|
D | ContactsDatabaseHelper.java | 3307 final String hashId = legacyGenerateHashId(data1, data2, data15); in upgradeToVersion1101() local 3308 if (!TextUtils.isEmpty(hashId)) { in upgradeToVersion1101() 3309 update.bindString(1, hashId); in upgradeToVersion1101() 3462 final String hashId = generateHashIdForData(hashInput); in legacyGenerateHashId() local 3463 return hashId; in legacyGenerateHashId() 3478 final String hashId = generateHashIdForData(hashInput); in generateHashId() local 3479 return hashId; in generateHashId()
|
D | ContactsProvider2.java | 4938 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/ |
D | PickCountRecordProvider.java | 117 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/ |
D | ContactsDatabaseHelperTest.java | 288 final String hashId = mDbHelper.generateHashId(dataString, null); in testUpgradeHashId() local 304 assertEquals(expectedHashId, hashId); in testUpgradeHashId()
|
D | ContactsProvider2Test.java | 1229 String hashId = helper.generateHashIdForData(combineString.getBytes()); in testDataInsertAndUpdateHashId() local 1230 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId() 1239 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId() 1287 String hashId = helper.getPhotoHashId(); in testDataInsertAndUpdateHashId_Photo() local 1288 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo() 1294 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo() 2912 String hashId = getStoredValue(dataUri, Data.HASH_ID); in testUpdateFromMetadataEntry() local 2953 FieldData fieldData = new FieldData(hashId, true, true, usageStatsList); in testUpdateFromMetadataEntry()
|