Home
last modified time | relevance | path

Searched refs:resultCursor (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseAccessor.java100 try (Cursor resultCursor = database.query(TABLE_SLICES_INDEX, columns, in getSliceUris() argument
103 if (!resultCursor.moveToFirst()) { in getSliceUris()
108 final Uri uri = Uri.parse(resultCursor.getString(0 /* SLICE_URI */)); in getSliceUris()
113 } while (resultCursor.moveToNext()); in getSliceUris()
124 final Cursor resultCursor = database.query(TABLE_SLICES_INDEX, SELECT_COLUMNS_ALL, in getIndexedSliceData() local
127 int numResults = resultCursor.getCount(); in getIndexedSliceData()
130 resultCursor.close(); in getIndexedSliceData()
135 resultCursor.close(); in getIndexedSliceData()
140 resultCursor.moveToFirst(); in getIndexedSliceData()
141 return resultCursor; in getIndexedSliceData()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbSettingsStorage.java80 Cursor resultCursor = queryFor(db, device)) { in getSettings()
81 if (resultCursor.getCount() > 1) { in getSettings()
83 + " returned " + resultCursor.getCount() + " results"); in getSettings()
85 if (resultCursor.getCount() == 0) { in getSettings()
89 List<UsbDeviceSettings> settings = constructSettings(resultCursor); in getSettings()
135 Cursor resultCursor = db.query( in getAllSettings()
143 return constructSettings(resultCursor); in getAllSettings()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java140 final MatrixCursor resultCursor = new MatrixCursor(columnNames, count); in filterCursorByString() local
149 final MatrixCursor.RowBuilder builder = resultCursor.newRow(); in filterCursorByString()
168 return resultCursor; in filterCursorByString()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java222 try (Cursor resultCursor = database.query(TABLE_PREFS_INDEX, SELECT_COLUMNS, in query() argument
225 return mConverter.convertCursor(resultCursor, baseRank, mSiteMapManager); in query()