Home
last modified time | relevance | path

Searched refs:addRow (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
DSampleProvider.java72 addRow(matrix, PHOTO_INDIVIDUAL_1); in query()
73 addRow(matrix, PHOTO_INDIVIDUAL_2); in query()
74 addRow(matrix, PHOTO_INDIVIDUAL_3); in query()
75 addRow(matrix, PHOTO_INDIVIDUAL_4); in query()
80 addRow(matrix, PHOTO_INDIVIDUAL_1); in query()
83 addRow(matrix, PHOTO_INDIVIDUAL_2); in query()
86 addRow(matrix, PHOTO_INDIVIDUAL_3); in query()
89 addRow(matrix, PHOTO_INDIVIDUAL_4); in query()
104 private void addRow(MatrixCursor matrix, int match_id) { in addRow() method in SampleProvider
/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java81 cursor.addRow(new Object[] { "a", 1, 2, 3, 4, 5, new byte[] {(byte) 0xaa, (byte) 0x55} }); in testAddArray()
86 cursor.addRow(new Object[0]); in testAddArray()
94 cursor.addRow(Arrays.asList("a", 1, 2, 3, 4, 5, new byte[] {(byte) 0xaa, (byte) 0x55})); in testAddIterable()
99 cursor.addRow(Collections.emptyList()); in testAddIterable()
104 cursor.addRow(Arrays.asList("a", 1, 2, 3, 4, 5, in testAddIterable()
113 cursor.addRow(new NonIterableArrayList<Object>( in testAddArrayList()
119 cursor.addRow(new NonIterableArrayList<Object>()); in testAddArrayList()
124 cursor.addRow(new NonIterableArrayList<Object>( in testAddArrayList()
DTranslatingCursorTest.java30 base.addRow(new Object[] { 0, "r1_a", "r1_b", "r1_a"}); in testDuplicateColumnName()
31 base.addRow(new Object[] { 1, "r2_a", "r2_b", "r2_a"}); in testDuplicateColumnName()
/frameworks/base/core/tests/coretests/src/android/content/
DRedactingProvider.java38 cursor.addRow(new Object[] { "foo", 10, "/path/to/foo" }); in query()
39 cursor.addRow(new Object[] { "bar", 20, "/path/to/bar" }); in query()
48 cursor.addRow(new Object[] { "foo", 10, "/path/to/foo" }); in query()
49 cursor.addRow(new Object[] { "bar", 20, "/path/to/bar" }); in query()
59 cursor.addRow(new Object[] { "/path", "foo", "/path" }); in query()
DContentProviderOperationTest.java225 cursor.addRow(values); in getCursor()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsNumberUtilsTest.java69 mc.addRow(new Object[]{"011"}); // US IDD code in query()
72 mc.addRow(new Object[]{"002"}); // Taiwan IDD code in query()
75 mc.addRow(new Object[]{"010"}); // Japan IDD code in query()
78 mc.addRow(new Object[]{"010"}); // India IDD code in query()
95 mccCursor.addRow(new Object[]{"1"}); in query()
96 mccCursor.addRow(new Object[]{"886"}); in query()
97 mccCursor.addRow(new Object[]{"81"}); in query()
98 mccCursor.addRow(new Object[]{"91"}); in query()
DCarrierResolverTest.java311 mc.addRow(new Object[] { in query()
326 mc.addRow(new Object[] { in query()
341 mc.addRow(new Object[] { in query()
356 mc.addRow(new Object[] { in query()
371 mc.addRow(new Object[] { in query()
386 mc.addRow(new Object[] { in query()
401 mc.addRow(new Object[] { in query()
416 mc.addRow(new Object[] { in query()
431 mc.addRow(new Object[] { in query()
446 mc.addRow(new Object[] { in query()
[all …]
DInboundSmsTrackerTest.java57 mc.addRow(new Object[]{HexDump.toHexString(FAKE_PDU), in createFakeCursor()
61 mc.addRow(new Object[]{HexDump.toHexString(FAKE_PDU), in createFakeCursor()
DContextFixture.java135 cursor.addRow(new String[]{mKeyValuePairs.get(selectionArgs[0])}); in query()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DRecipientAlternatesAdapterTest.java40 addRow(c, "a", "1@android.com", 1, "home", 1000, 2000, "x", 0); in testRemoveUndesiredDestinations()
48 addRow(c, "a", "2@android.com", 1, "home", 1000, 2000, "x", 0); in testRemoveUndesiredDestinations()
57 addRow(c, "ax", "1@android.com", 11, "homex", 10001, 2000, "xx", 1); in testRemoveUndesiredDestinations()
67 addRow(c, "ax", "2@android.com", 11, "homex", 10001, 2000, "xx", 1); in testRemoveUndesiredDestinations()
77 private static MatrixCursor addRow(MatrixCursor c, in addRow() method in RecipientAlternatesAdapterTest
87 c.addRow(new Object[] {displayName, destination, destinationType, destinationLabel, in addRow()
/frameworks/base/core/java/android/database/
DMatrixCursor.java107 public void addRow(Object[] columnValues) { in addRow() method in MatrixCursor
128 public void addRow(Iterable<?> columnValues) { in addRow() method in MatrixCursor
134 addRow((ArrayList<?>) columnValues, start); in addRow()
160 private void addRow(ArrayList<?> columnValues, int start) { in addRow() method in MatrixCursor
/frameworks/base/core/tests/coretests/src/android/app/
DSuggestionProvider.java72 addRow(cursor, query + suffix); in query()
80 private void addRow(MatrixCursor cursor, String string) { in addRow() method in SuggestionProvider
/frameworks/base/core/tests/coretests/src/android/provider/
DTestFontsProvider.java87 cursor.addRow(new Object[] { 1, TTC_INDEX, VARIATION_SETTINGS, 400, 0, mResultCode }); in query()
90 cursor.addRow(new Object[] { 1 }); in query()
DFontsContractTest.java168 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundSecondRow()
169 cursor.addRow(new Object[] { 1, 0, null, 400, 0, in testGetFontFromProvider_resultFontNotFoundSecondRow()
200 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundOtherRow()
201 cursor.addRow(new Object[] { 1, 0, null, 400, 0, in testGetFontFromProvider_resultFontNotFoundOtherRow()
203 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundOtherRow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java220 builder.addRow(new RowBuilder(mDateUri).setTitle(mLastText)); in onBindSlice()
255 listBuilder.addRow(albumBuilder); in addMediaLocked()
268 builder.addRow(primaryActionRow); in addPrimaryActionLocked()
280 builder.addRow(alarmRowBuilder); in addNextAlarmLocked()
297 builder.addRow(dndBuilder); in addZenModeLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java283 addRow(STREAM_ACCESSIBILITY, R.drawable.ic_volume_accessibility, in initDialog()
286 addRow(AudioManager.STREAM_MUSIC, in initDialog()
289 addRow(AudioManager.STREAM_RING, in initDialog()
291 addRow(STREAM_ALARM, in initDialog()
293 addRow(AudioManager.STREAM_VOICE_CALL, in initDialog()
296 addRow(AudioManager.STREAM_BLUETOOTH_SCO, in initDialog()
298 addRow(AudioManager.STREAM_SYSTEM, R.drawable.ic_volume_system, in initDialog()
343 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important, in addRow() method in VolumeDialogImpl
345 addRow(stream, iconRes, iconMuteRes, important, defaultStream, false); in addRow()
348 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important, in addRow() method in VolumeDialogImpl
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java172 verify(listBuilder, never()).addRow(any(ListBuilder.RowBuilder.class)); in addZenMode_addedToSlice()
176 verify(listBuilder).addRow(any(ListBuilder.RowBuilder.class)); in addZenMode_addedToSlice()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DDcTrackerTest.java237 mc.addRow(new Object[]{ in query()
270 mc.addRow(new Object[]{ in query()
303 mc.addRow(new Object[]{ in query()
336 mc.addRow(new Object[]{ in query()
369 mc.addRow(new Object[]{ in query()
402 mc.addRow(new Object[]{ in query()
442 mc.addRow(new Object[]{ mPreferredApnSet }); in query()
443 mc.addRow(new Object[]{ 0 }); in query()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DRcsMessageStoreControllerTest.java100 canonicalAddressQueryCursor.addRow(new Object[]{456}); in testCreateRcsParticipant()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java496 cursor.addRow(new Object[]{""}); in createLoadingCursor()
545 newCursor.addRow(new Object[]{displayName, emailAddress}); in removeDuplicatesAndTruncate()
/frameworks/base/core/tests/coretests/src/android/widget/
DSimpleCursorAdapterTest.java246 cursor.addRow(row); in createCursor()
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java253 cursor.addRow(new Object[]{i}); in makeCursor()
DGroupingListAdapterTests.java111 mCursor.addRow(new Object[]{mNextId, number}); in buildCursor()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DIccProvider.java540 cursor.addRow(contact); in loadRecord()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java555 result.addRow(row); in removeUndesiredDestinations()

12