Searched refs:hashId (Results 1 – 6 of 6) sorted by relevance
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | DataRowHandler.java | 199 String hashId; in handleHashIdForInsert() local 201 hashId = photoHashId; in handleHashIdForInsert() 203 hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForInsert() 205 hashId = null; in handleHashIdForInsert() 207 if (TextUtils.isEmpty(hashId)) { in handleHashIdForInsert() 210 values.put(Data.HASH_ID, hashId); in handleHashIdForInsert() 237 String hashId = mDbHelper.generateHashId(data1, data2); in handleHashIdForUpdate() local 238 if (TextUtils.isEmpty(hashId)) { in handleHashIdForUpdate() 241 values.put(Data.HASH_ID, hashId); in handleHashIdForUpdate()
|
D | ContactsDatabaseHelper.java | 3246 final String hashId = legacyGenerateHashId(data1, data2, data15); in upgradeToVersion1101() local 3247 if (!TextUtils.isEmpty(hashId)) { in upgradeToVersion1101() 3248 update.bindString(1, hashId); in upgradeToVersion1101() 3398 final String hashId = generateHashIdForData(hashInput); in legacyGenerateHashId() local 3399 return hashId; in legacyGenerateHashId() 3414 final String hashId = generateHashIdForData(hashInput); in generateHashId() local 3415 return hashId; in generateHashId()
|
D | ContactsProvider2.java | 5017 private ArrayList<Long> queryDataId(SQLiteDatabase db, long rawContactId, String hashId) { in queryDataId() argument 5018 if (rawContactId == 0 || TextUtils.isEmpty(hashId)) { in queryDataId() 5022 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 | 1222 String hashId = helper.generateHashIdForData(combineString.getBytes()); in testDataInsertAndUpdateHashId() local 1223 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId() 1232 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId() 1280 String hashId = helper.getPhotoHashId(); in testDataInsertAndUpdateHashId_Photo() local 1281 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo() 1287 assertStoredValue(dataUri, Data.HASH_ID, hashId); in testDataInsertAndUpdateHashId_Photo()
|