Home
last modified time | relevance | path

Searched refs:memberIds (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPlaylistPerformanceTest.java82 final long[] memberIds = new long[expected]; in testBulkInsertPlaylistMembers() local
84 memberIds[i] = (createAudio(i)); in testBulkInsertPlaylistMembers()
91 final ContentValues[] valuesArray = createValuesForMembers(memberIds); in testBulkInsertPlaylistMembers()
103 final long[] memberIds = new long[expected]; in testDeletePlaylistMembers() local
105 memberIds[i] = (createAudio(i)); in testDeletePlaylistMembers()
112 final ContentValues[] valuesArray = createValuesForMembers(memberIds); in testDeletePlaylistMembers()
118 for (int i = 0; i < memberIds.length; i++) { in testDeletePlaylistMembers()
119 whereArgs[0] = "" + memberIds[i]; in testDeletePlaylistMembers()
153 private @NonNull ContentValues[] createValuesForMembers(@NonNull long[] memberIds) { in createValuesForMembers() argument
154 final ContentValues[] valuesArray = new ContentValues[memberIds.length]; in createValuesForMembers()
[all …]
DClientPlaylistTest.java294 public long createPlaylist(long... memberIds) throws IOException { in createPlaylist() argument
311 for (int i = 0; i < memberIds.length; i++) { in createPlaylist()
312 final long memberId = memberIds[i]; in createPlaylist()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1876 final long[] memberIds = new long[membersCursor.getCount()]; in captureDeletionUndoData() local
1879 memberIds[i++] = membersCursor.getLong(0); in captureDeletionUndoData()
1881 result.putLongArray(KEY_GROUP_MEMBERS, memberIds); in captureDeletionUndoData()
1893 final long[] memberIds = deletedGroupData.getLongArray(KEY_GROUP_MEMBERS); in undoDeletion() local
1894 if (memberIds == null) { in undoDeletion()
1897 final ContentValues[] memberInsertions = new ContentValues[memberIds.length]; in undoDeletion()
1898 for (int i = 0; i < memberIds.length; i++) { in undoDeletion()
1900 memberInsertions[i].put(Data.RAW_CONTACT_ID, memberIds[i]); in undoDeletion()
1905 if (inserted != memberIds.length) { in undoDeletion()