Searched refs:resultCursor (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseAccessor.java | 110 try (final Cursor resultCursor = database.query(TABLE_SLICES_INDEX, columns, whereClause, in getSliceKeys() argument 112 if (!resultCursor.moveToFirst()) { in getSliceKeys() 117 keys.add(resultCursor.getString(0 /* key index */)); in getSliceKeys() 118 } while (resultCursor.moveToNext()); in getSliceKeys() 130 final Cursor resultCursor = database.query(TABLE_SLICES_INDEX, SELECT_COLUMNS_ALL, in getIndexedSliceData() local 133 int numResults = resultCursor.getCount(); in getIndexedSliceData() 144 resultCursor.moveToFirst(); in getIndexedSliceData() 145 return resultCursor; in getIndexedSliceData()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SlicesDatabaseAccessor.java | 110 try (final Cursor resultCursor = database.query(TABLE_SLICES_INDEX, columns, whereClause, in getSliceKeys() argument 112 if (!resultCursor.moveToFirst()) { in getSliceKeys() 117 keys.add(resultCursor.getString(0 /* key index */)); in getSliceKeys() 118 } while (resultCursor.moveToNext()); in getSliceKeys() 130 final Cursor resultCursor = database.query(TABLE_SLICES_INDEX, SELECT_COLUMNS_ALL, in getIndexedSliceData() local 133 int numResults = resultCursor.getCount(); in getIndexedSliceData() 144 resultCursor.moveToFirst(); in getIndexedSliceData() 145 return resultCursor; in getIndexedSliceData()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbSettingsStorage.java | 80 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/ |
D | TestDocumentsProvider.java | 140 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/ |
D | DatabaseResultTask.java | 222 try (Cursor resultCursor = database.query(TABLE_PREFS_INDEX, SELECT_COLUMNS, in query() argument 225 return mConverter.convertCursor(resultCursor, baseRank, mSiteMapManager); in query()
|