Home
last modified time | relevance | path

Searched refs:addRow (Results 1 – 25 of 42) 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/services/tests/servicestests/src/com/android/server/people/data/
DMmsQueryHelperTest.java91 mMmsCursor.addRow(new Object[] { in testQueryIncomingMessage()
93 mAddrCursors.get(0).addRow(new Object[] { in testQueryIncomingMessage()
95 mAddrCursors.get(0).addRow(new Object[] { in testQueryIncomingMessage()
109 mMmsCursor.addRow(new Object[] { in testQueryOutgoingMessage()
111 mAddrCursors.get(0).addRow(new Object[] { in testQueryOutgoingMessage()
113 mAddrCursors.get(0).addRow(new Object[] { in testQueryOutgoingMessage()
127 mMmsCursor.addRow(new Object[] { in testQueryMultipleMessages()
129 mMmsCursor.addRow(new Object[] { in testQueryMultipleMessages()
131 mAddrCursors.get(0).addRow(new Object[] { in testQueryMultipleMessages()
133 mAddrCursors.get(0).addRow(new Object[] { in testQueryMultipleMessages()
[all …]
DContactsQueryHelperTest.java111 mContactsCursor.addRow(new Object[] { in testQueryWithUri()
114 mPhoneCursor.addRow(new String[] { PHONE_NUMBER }); in testQueryWithUri()
125 mContactsCursor.addRow(new Object[] { in testQueryWithUriNotStarredNoPhoneNumber()
144 mContactsLookupCursor.addRow(new Object[] { in testQueryWithPhoneNumber()
146 mPhoneCursor.addRow(new String[] { PHONE_NUMBER }); in testQueryWithPhoneNumber()
156 mContactsLookupCursor.addRow(new Object[] { in testQueryWithEmail()
167 mContactsCursor.addRow(new Object[] { in testQueryUpdatedContactSinceTime()
179 mContactsLookupCursor.addRow(new Object[] { in testQueryWithUnsupportedScheme()
181 mPhoneCursor.addRow(new String[] { PHONE_NUMBER }); in testQueryWithUnsupportedScheme()
DCallLogQueryHelperTest.java84 mCursor.addRow(new Object[] { in testQueryIncomingCall()
100 mCursor.addRow(new Object[] { in testQueryOutgoingCall()
116 mCursor.addRow(new Object[] { in testQueryMissedCall()
132 mCursor.addRow(new Object[] { in testQueryMultipleCalls()
135 mCursor.addRow(new Object[] { in testQueryMultipleCalls()
DSmsQueryHelperTest.java85 mSmsCursor.addRow(new Object[] { in testQueryIncomingMessage()
100 mSmsCursor.addRow(new Object[] { in testQueryOutgoingMessage()
115 mSmsCursor.addRow(new Object[] { in testQueryMultipleMessages()
118 mSmsCursor.addRow(new Object[] { in testQueryMultipleMessages()
/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()
/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.java301 mc.addRow(new Object[] { in query()
316 mc.addRow(new Object[] { in query()
331 mc.addRow(new Object[] { in query()
346 mc.addRow(new Object[] { in query()
361 mc.addRow(new Object[] { in query()
376 mc.addRow(new Object[] { in query()
391 mc.addRow(new Object[] { in query()
406 mc.addRow(new Object[] { in query()
421 mc.addRow(new Object[] { in query()
436 mc.addRow(new Object[] { in query()
[all …]
DInboundSmsTrackerTest.java70 mc.addRow(new Object[]{HexDump.toHexString(FAKE_PDU), in createFakeCursor()
74 mc.addRow(new Object[]{HexDump.toHexString(FAKE_PDU), in createFakeCursor()
/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.java108 public void addRow(Object[] columnValues) { in addRow() method in MatrixCursor
129 public void addRow(Iterable<?> columnValues) { in addRow() method in MatrixCursor
135 addRow((ArrayList<?>) columnValues, start); in addRow()
161 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.java169 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundSecondRow()
170 cursor.addRow(new Object[] { 1, 0, null, 400, 0, in testGetFontFromProvider_resultFontNotFoundSecondRow()
201 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundOtherRow()
202 cursor.addRow(new Object[] { 1, 0, null, 400, 0, in testGetFontFromProvider_resultFontNotFoundOtherRow()
204 cursor.addRow(new Object[] { 1, 0, null, 400, 0, RESULT_CODE_OK}); in testGetFontFromProvider_resultFontNotFoundOtherRow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DCustomizationProvider.kt266 addRow( in <lambda>()
296 addRow( in <lambda>()
321 addRow( in <lambda>()
340 addRow( in <lambda>()
DKeyguardSliceProvider.java225 builder.addRow(new RowBuilder(mDateUri).setTitle(mLastText)); in onBindSlice()
267 listBuilder.addRow(albumBuilder); in addMediaLocked()
280 builder.addRow(primaryActionRow); in addPrimaryActionLocked()
292 builder.addRow(alarmRowBuilder); in addNextAlarmLocked()
309 builder.addRow(dndBuilder); in addZenModeLocked()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperTest.java409 cursor.addRow(new Object[] {100L}); in testRestoreValue_customRingtone_useCustomLookup_success()
474 cursor.addRow(new Object[] {200L}); in testRestoreValue_customRingtone_notificationSound_useCustomLookup_success()
541 cursor.addRow(new Object[] {300L}); in testRestoreValue_customRingtone_alarmSound_useCustomLookup_success()
610 cursor.addRow(new Object[] {100L}); in testRestoreValue_customRingtone_useCustomLookup_multipleResults_notRestore()
611 cursor.addRow(new Object[] {110L}); in testRestoreValue_customRingtone_useCustomLookup_multipleResults_notRestore()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/slice/provider/
DDemo.kt46 .addRow(ListBuilder.RowBuilder().apply { in createDemoSlice()
/frameworks/libs/systemui/weathereffects/src/com/google/android/wallpaper/weathereffects/provider/
DWeatherEffectsContentProvider.kt88 cursor.addRow(projection.map { column -> in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java209 verify(listBuilder, never()).addRow(any(ListBuilder.RowBuilder.class)); in addZenMode_addedToSlice()
213 verify(listBuilder).addRow(any(ListBuilder.RowBuilder.class)); in addZenMode_addedToSlice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java685 addRow(STREAM_ACCESSIBILITY, R.drawable.ic_volume_accessibility, in initDialog()
688 addRow(AudioManager.STREAM_MUSIC, in initDialog()
692 addRow(AudioManager.STREAM_RING, R.drawable.ic_ring_volume, in initDialog()
696 addRow(STREAM_ALARM, in initDialog()
698 addRow(AudioManager.STREAM_VOICE_CALL, in initDialog()
701 addRow(AudioManager.STREAM_BLUETOOTH_SCO, in initDialog()
703 addRow(AudioManager.STREAM_SYSTEM, R.drawable.ic_volume_system, in initDialog()
777 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important, in addRow() method in VolumeDialogImpl
779 addRow(stream, iconRes, iconMuteRes, important, defaultStream, false); in addRow()
782 private void addRow(int stream, int iconRes, int iconMuteRes, boolean important, in addRow() method in VolumeDialogImpl
[all …]
/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/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java254 cursor.addRow(new Object[]{i}); in makeCursor()

12