Searched refs:foldersCursor (Results 1 – 3 of 3) sorted by relevance
80 Cursor foldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, null, in testGetFolders() local82 assertNotNull(foldersCursor); in testGetFolders()83 assertEquals(foldersCursor.getCount(), 2); in testGetFolders()86 int name = foldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME); in testGetFolders()87 int childColumnIndex = foldersCursor in testGetFolders()89 int convColumnIndex = foldersCursor in testGetFolders()91 int hasChildrenIndex = foldersCursor in testGetFolders()93 while (foldersCursor.moveToNext()) { in testGetFolders()96 assertEquals(foldersCursor.getString(name), "Folder zero"); in testGetFolders()97 childUri = Uri.parse(foldersCursor.getString(childColumnIndex)); in testGetFolders()[all …]
61 final Cursor foldersCursor = context.getContentResolver().query( in FolderPickerDialog() local65 mAdapter.addSection(new FolderPickerSelectorAdapter(context, foldersCursor, in FolderPickerDialog()69 foldersCursor.close(); in FolderPickerDialog()
68 Cursor foldersCursor = resolver.query(folderListUri, in getRefMessage() local71 if (foldersCursor != null) { in getRefMessage()72 foldersCursor.moveToFirst(); in getRefMessage()73 convUri = Uri.parse(foldersCursor in getRefMessage()75 foldersCursor.close(); in getRefMessage()