Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/
DMockUiProviderTests.java80 Cursor foldersCursor = provider.query(u, UIProvider.FOLDERS_PROJECTION, null, null, in testGetFolders() local
82 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 …]
/packages/apps/Email/provider_src/com/android/email/provider/
DFolderPickerDialog.java61 final Cursor foldersCursor = context.getContentResolver().query( in FolderPickerDialog() local
65 mAdapter.addSection(new FolderPickerSelectorAdapter(context, foldersCursor, in FolderPickerDialog()
69 foldersCursor.close(); in FolderPickerDialog()
/packages/apps/UnifiedEmail/tests/src/com/android/mail/compose/
DComposeActivityTest.java68 Cursor foldersCursor = resolver.query(folderListUri, in getRefMessage() local
71 if (foldersCursor != null) { in getRefMessage()
72 foldersCursor.moveToFirst(); in getRefMessage()
73 convUri = Uri.parse(foldersCursor in getRefMessage()
75 foldersCursor.close(); in getRefMessage()