Home
last modified time | relevance | path

Searched refs:newRow (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/
DQCRowTest.java61 QCRow newRow = writeAndLoadFromBundle(row); in createFromParcel_accurateData() local
62 assertThat(newRow.getType()).isEqualTo(QC_TYPE_ROW); in createFromParcel_accurateData()
63 assertThat(newRow.getTitle()).isEqualTo(TEST_TITLE); in createFromParcel_accurateData()
64 assertThat(newRow.getSubtitle()).isEqualTo(TEST_SUBTITLE); in createFromParcel_accurateData()
65 assertThat(newRow.getPrimaryAction()).isNotNull(); in createFromParcel_accurateData()
66 assertThat(newRow.getStartIcon()).isNotNull(); in createFromParcel_accurateData()
75 QCRow newRow = writeAndLoadFromBundle(row); in createFromParcel_accurateData_startItem() local
76 assertThat(newRow.getStartItems().size()).isEqualTo(1); in createFromParcel_accurateData_startItem()
85 QCRow newRow = writeAndLoadFromBundle(row); in createFromParcel_accurateData_endItem() local
86 assertThat(newRow.getEndItems().size()).isEqualTo(1); in createFromParcel_accurateData_endItem()
[all …]
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DSearchContactsCursorLoader.java145 Object[] newRow = new Object[Projections.CP2_PROJECTION.length]; in convertSmartDialCursorToSearchCursor() local
152 newRow[i] = smartDialCursor.getInt(index); in convertSmartDialCursorToSearchCursor()
155 newRow[i] = smartDialCursor.getString(index); in convertSmartDialCursorToSearchCursor()
158 newRow[i] = smartDialCursor.getFloat(index); in convertSmartDialCursorToSearchCursor()
161 newRow[i] = smartDialCursor.getBlob(index); in convertSmartDialCursorToSearchCursor()
170 cursor.addRow(newRow); in convertSmartDialCursorToSearchCursor()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DTestRootProvider.java70 final RowBuilder row = c.newRow(); in queryRoots()
84 final RowBuilder row = c.newRow(); in addFile()
98 final RowBuilder row = c.newRow(); in addFolder()
DInspectorProvider.java135 final RowBuilder row = c.newRow(); in addFileWithSize()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java118 MatrixCursor.RowBuilder row = c.newRow(); in setUp()
232 MatrixCursor.RowBuilder row = c.newRow(); in testSort_sizesWithBucketing_ascending()
284 MatrixCursor.RowBuilder row = c.newRow(); in testSort_sizesWithBucketing_descending()
337 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_ascending()
344 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_ascending()
374 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_descending()
381 MatrixCursor.RowBuilder row = c.newRow(); in testSort_time_descending()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java84 MatrixCursor.RowBuilder row = c.newRow(); in setUp()
122 MatrixCursor.RowBuilder row0 = cIn1.newRow(); in testModelIdIsUnique()
126 MatrixCursor.RowBuilder row1 = cIn2.newRow(); in testModelIdIsUnique()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DResourcesProvider.java81 final RowBuilder row = result.newRow(); in queryRoots()
95 final RowBuilder row = result.newRow(); in queryDocument()
143 final RowBuilder row = result.newRow(); in includeDocument()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java1124 final RowBuilder row = result.newRow(); in includeImagesRoot()
1140 final RowBuilder row = result.newRow(); in includeVideosRoot()
1156 final RowBuilder row = result.newRow(); in includeAudioRoot()
1172 final RowBuilder row = result.newRow(); in includeDocumentsRoot()
1182 final RowBuilder row = result.newRow(); in includeImagesRootDocument()
1191 final RowBuilder row = result.newRow(); in includeVideosRootDocument()
1200 final RowBuilder row = result.newRow(); in includeAudioRootDocument()
1207 final RowBuilder row = result.newRow(); in includeDocumentsRootDocument()
1234 final RowBuilder row = result.newRow(); in includeImagesBucket()
1265 final RowBuilder row = result.newRow(); in includeImage()
[all …]
DDatabaseBackupAndRecovery.java574 @NonNull FileRow oldRow, @NonNull FileRow newRow) { in updateNextRowIdAndSetDirty() argument
575 updateNextRowIdXattr(helper, newRow.getId()); in updateNextRowIdAndSetDirty()
1109 public void updateBackup(DatabaseHelper helper, FileRow oldRow, FileRow newRow) { in updateBackup() argument
1110 if (!isBackupUpdateAllowed(helper, newRow.getVolumeName())) { in updateBackup()
1117 newRow.getVolumeName())); in updateBackup()
1128 new String[]{String.valueOf(newRow.getId())}, null, null, null, in updateBackup()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/
DSafetyCenterSearchIndexablesProvider.kt141 keysToRemove.forEach { key -> cursor.newRow().add(NonIndexableKey.COLUMN_KEY_VALUE, key) } in <lambda>()
154 newRow() in <lambda>()
176 newRow() in <lambda>()
350 newRow() in <lambda>()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhoneLookupWithStarPrefix.java84 final MatrixCursor.RowBuilder b = matrixCursor.newRow(); in removeNonStarMatchesFromCursor()
175 final MatrixCursor.RowBuilder b = matrixCursor.newRow(); in removeNoMatchPhoneNumber()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDocumentsProvider.java123 cursor.newRow() in createDocumentsCursor()
150 final MatrixCursor.RowBuilder builder = resultCursor.newRow(); in filterCursorByString()
/packages/apps/Traceur/src/com/android/traceur/
DStorageProvider.java80 final MatrixCursor.RowBuilder row = result.newRow(); in queryRoots()
95 final MatrixCursor.RowBuilder row = result.newRow(); in queryDocument()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java2936 ContentValues newRow, ContentValues mergedValues, in mergeFieldsAndUpdateDb() argument
2938 if (newRow.containsKey(TYPE)) { in mergeFieldsAndUpdateDb()
2941 String newType = newRow.getAsString(TYPE); in mergeFieldsAndUpdateDb()
2945 newRow.put(TYPE, ""); in mergeFieldsAndUpdateDb()
2956 PROFILE_ID)) + " newRow " + newRow); in mergeFieldsAndUpdateDb()
2960 if (separateRowsNeeded(db, table, oldRow, newRow, context, oldTypes, in mergeFieldsAndUpdateDb()
2979 newRow.put(TYPE, mergedType.toString()); in mergeFieldsAndUpdateDb()
2982 mergedValues.put(TYPE, newRow.getAsString(TYPE)); in mergeFieldsAndUpdateDb()
2985 if (newRow.containsKey(BEARER_BITMASK)) { in mergeFieldsAndUpdateDb()
2987 int newBearer = newRow.getAsInteger(BEARER_BITMASK); in mergeFieldsAndUpdateDb()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DGridCustomizationsProvider.java106 cursor.newRow() in query()
119 cursor.newRow().add(BOOLEAN_VALUE, isThemedIconEnabled(getContext()) ? 1 : 0); in query()
/packages/modules/HealthFitness/tests/integrationtests/utils/HealthConnectDocumentProviderTestUtils/src/android/healthconnect/tests/documentprovider/utils/
DFakeDocumentProviderRoots.java54 root.build(cursor.newRow()); in getCursor()
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/
DStressProvider.java179 final RowBuilder row = result.newRow(); in includeRoot()
187 final RowBuilder row = result.newRow(); in includeDocument()
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java226 cursor.newRow() in querySiteMapPairs()
236 cursor.newRow() in querySiteMapPairs()
265 cursor.newRow() in querySliceUriPairs()
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DFakeContentProvider.kt49 .newRow() in query()
/packages/modules/StatsD/framework/java/android/app/
DStatsCursor.java46 MatrixCursor.RowBuilder builder = mMatrixCursor.newRow(); in StatsCursor()
/packages/apps/EmergencyInfo/src/com/android/emergency/
DEmergencySearchIndexablesProvider.java59 cursor.newRow() in queryXmlResources()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DPermissionSearchIndexablesProvider.java61 cursor.newRow().add(COLUMN_RANK, 0) in queryRawData()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/service/
DRoleSearchIndexablesProvider.java75 cursor.newRow() in queryRawData()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
DDumpFileProvider.java102 final MatrixCursor.RowBuilder b = c.newRow(); in query()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DLauncherSearchIndexablesProvider.java55 cursor.newRow() in queryXmlResources()

12