/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | ResultActivity.java | 60 addRow("", "No data intent returned"); in addRowsForIntent() 62 addRow("INTENT", intent.toString()); in addRowsForIntent() 69 addRow("EXTRA", key); in addRowsForIntent() 85 addRow(label, "null"); in addRowForValue() 89 addRow(label, "INTENT"); in addRowForValue() 92 addRow(label, "DATA"); in addRowForValue() 95 addRow(label, "ARRAY"); in addRowForValue() 101 addRow(label, String.valueOf(value)); in addRowForValue() 108 addRow("", "No data for this URI"); in addRowsForQuery() 112 addRow("", "DATA"); in addRowsForQuery() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | ContactsManagerTest.java | 82 mMatrixCursor.addRow(new Object[] { 1, contactName1, 0, 0, 0 }); in testGetValidNames() 83 mMatrixCursor.addRow(new Object[] { 2, null /* null name */, 0, 0, 0 }); in testGetValidNames() 84 mMatrixCursor.addRow(new Object[] { 3, contactName2, 0, 0, 0 }); in testGetValidNames() 85 mMatrixCursor.addRow(new Object[] { 4, "floopy@example.com" /* invalid name */, 0, 0, 0 }); in testGetValidNames() 86 mMatrixCursor.addRow(new Object[] { 5, "news-group" /* invalid name */, 0, 0, 0 }); in testGetValidNames() 100 mMatrixCursor.addRow(new Object[] { i, "name" + i, i, now, 1 }); in testGetValidNamesAffinity() 118 mMatrixCursor.addRow(new Object[] { 1, "name", 1, month_ago, 1 }); in testComputeAffinity() 134 mMatrixCursor.addRow(new Object[] { 1, "firstname", 0, 0, 0 }); in testGetCount() 135 mMatrixCursor.addRow(new Object[] { 2, null /* null name */, 0, 0, 0 }); in testGetCount() 136 mMatrixCursor.addRow(new Object[] { 3, "larry", 0, 0, 0 }); in testGetCount() [all …]
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastSearchIndexableProvider.java | 130 cursor.addRow(ref); in queryXmlResources() 177 cursor.addRow(raw); in queryRawData() 192 cursor.addRow(ref); in queryNonIndexableKeys() 201 cursor.addRow(ref); in queryNonIndexableKeys() 209 cursor.addRow(ref); in queryNonIndexableKeys() 217 cursor.addRow(ref); in queryNonIndexableKeys() 224 cursor.addRow(ref); in queryNonIndexableKeys() 231 cursor.addRow(ref); in queryNonIndexableKeys() 241 cursor.addRow(ref); in queryNonIndexableKeys() 249 cursor.addRow(ref); in queryNonIndexableKeys() [all …]
|
/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/ |
D | EventsLiveDataTest.java | 202 mTestContentProvider.addRow(buildTestRowWithDuration(CURRENT_DATE_TIME, 1)); in addObserver_oneEventResult() 232 mTestContentProvider.addRow(buildTestRow()); in notifyDataChange_dataNotChanged_onChangedNotCalled() 262 mTestContentProvider.addRow(buildTestRow()); in notifyDataChange_dataChanged_onChangedCalled() 284 mTestContentProvider.addRow(buildTestRowWithTitle("Another event")); in notifyDataChange_dataChanged_onChangedCalled() 307 mTestContentProvider.addRow(buildTestRow()); in noCalendars_valueNull() 331 mTestContentProvider.addRow(buildTestRowWithDuration(CURRENT_DATE_TIME, 24)); in multiDayEvent_createsMultipleEvents() 348 mTestContentProvider.addRow(buildTestRowWithDuration(CURRENT_DATE_TIME, hours)); in multiDayEvent_keepsOriginalTimes() 370 mTestContentProvider.addRow(buildTestRowWithDuration(twoHoursAfterCurrentTime, 1)); in multipleEvents_resultsSortedStart() 371 mTestContentProvider.addRow(buildTestRowWithDuration(CURRENT_DATE_TIME, 1)); in multipleEvents_resultsSortedStart() 391 mTestContentProvider.addRow(buildTestRowWithTitle("Title B")); in multipleEvents_resultsSortedTitle() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/ |
D | UserDictionaryCursorLoaderTest.java | 69 cursor.addRow(new Object[]{1, "word1", "shortcut1"}); in query() 70 cursor.addRow(new Object[]{2, "word2", "shortcut2"}); in query() 71 cursor.addRow(new Object[]{3, "word3", "shortcut3"}); in query() 72 cursor.addRow(new Object[]{4, "word3", "shortcut3"}); // dupe of 3 in query() 73 cursor.addRow(new Object[]{5, "word5", null}); // no shortcut in query()
|
D | UserDictionaryListControllerTest.java | 146 cursor.addRow(new Object[]{"en"}); in query() 147 cursor.addRow(new Object[]{"es"}); in query()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/ |
D | ProviderModelSliceTest.java | 175 verify(mListBuilder, times(1)).addRow(mMockCarrierRowBuild); in getSlice_noWifiAndHasCarrierNoData_oneCarrier() 189 verify(mListBuilder, times(1)).addRow(mMockCarrierRowBuild); in getSlice_noWifiAndNoCarrier_oneCarrier() 203 verify(mListBuilder, times(1)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_airplaneModeIsOn_oneWifiToggle() 226 verify(mListBuilder, times(1)).addRow(mMockCarrierRowBuild); in getSlice_haveTwoWifiAndOneCarrier_getFiveRow() 227 verify(mListBuilder, times(5)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveTwoWifiAndOneCarrier_getFiveRow() 250 verify(mListBuilder, times(5)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveOneConnectedWifiAndTwoDisconnectedWifiAndNoCarrier_getFiveRow() 270 verify(mListBuilder, times(4)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveTwoDisconnectedWifiAndNoCarrier_getFourRow() 293 verify(mListBuilder, times(1)).addRow(mMockCarrierRowBuild); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow() 294 verify(mListBuilder, times(6)).addRow(any(ListBuilder.RowBuilder.class)); in getSlice_haveEthernetAndCarrierAndTwoDisconnectedWifi_getSixRow() 317 verify(mListBuilder, times(1)).addRow(mMockCarrierRowBuild); in getSlice_haveEthernetAndCarrierAndConnectedWifiAndDisconnectedWifi_getSixRow() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EnterpriseContactsCursorWrapperTest.java | 63 c.addRow(new Object[] { in testWrappedResults() 86 c.addRow(new Object[] { in testWrappedResults() 109 c.addRow(new Object[] { in testWrappedResults() 132 c.addRow(new Object[] { in testWrappedResults() 155 c.addRow(new Object[] { in testWrappedResults()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSlice.java | 117 listBuilder.addRow(createEthernetRow()); in getSlice() 127 listBuilder.addRow( in getSlice() 136 listBuilder.addRow(createWifiToggleRow(mContext, isWifiEnabled)); in getSlice() 152 listBuilder.addRow(getWifiSliceItemRow(connectedWifiItem)); in getSlice() 163 listBuilder.addRow(getWifiSliceItemRow(item)); in getSlice() 168 listBuilder.addRow(getSeeAllRow()); in getSlice()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | HelpersTest.java | 255 cursor.addRow(new Object[]{++counter, uid, destination, file.getPath()}); in prepareData() 265 cursor.addRow(new Object[]{++counter, uid, destination, file1.getPath()}); in prepareData() 273 cursor.addRow(new Object[]{++counter, uid, destination, file2.getPath()}); in prepareData() 283 cursor.addRow(new Object[]{++counter, uid, destination, file1.getPath()}); in prepareData() 291 cursor.addRow(new Object[]{++counter, uid, destination, file2.getPath()}); in prepareData() 302 cursor.addRow(new Object[]{++counter, uid, destination, filePath}); in prepareData()
|
/packages/apps/QuickSearchBox/tests/naughty/src/com/android/quicksearchbox/tests/naughty/ |
D | CrashingSuggestionProvider.java | 69 cursor.addRow(new Object[]{ in query() 82 cursor.addRow(new Object[]{ in query() 93 cursor.addRow(new Object[]{ in query()
|
D | HangingSuggestionProvider.java | 61 cursor.addRow(new Object[]{ in query() 74 cursor.addRow(new Object[]{ in query() 85 cursor.addRow(new Object[]{ in query()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/ |
D | PreferenceSliceBuilderImpl.java | 133 addRow(builder, TYPE_PREFERENCE); in addPreference() 141 addRow(builder, TYPE_PREFERENCE_CATEGORY); in addPreferenceCategory() 149 addRow(builder, TYPE_PREFERENCE_SCREEN_TITLE); in addScreenTitle() 157 addRow(new RowBuilder().setTitle(key), TYPE_FOCUSED_PREFERENCE); in setFocusedPreference() 165 addRow(builder, TYPE_PREFERENCE_EMBEDDED); in setEmbeddedPreference() 173 addRow(new RowBuilder().setTitle(redirectedSliceUri), TYPE_REDIRECTED_SLICE_URI); in setRedirectedSliceUri() 180 private void addRow(@NonNull RowBuilder builder, String type) { in addRow() method in PreferenceSliceBuilderImpl
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | DirectoryListLoader.java | 181 result.addRow(new Object[]{directoryId, directoryType, displayName, photoSupport}); in loadInBackground() 197 mDefaultDirectoryList.addRow(new Object[] { in getDefaultDirectories() 203 mDefaultDirectoryList.addRow(new Object[] { in getDefaultDirectories()
|
/packages/apps/Settings/src/com/android/settings/wifi/calling/ |
D | WifiCallingSliceHelper.java | 178 .addRow(new RowBuilder() in getWifiCallingSlice() 284 listBuilder.addRow(wifiPreferenceRowBuilder(listBuilder, in getWifiCallingPreferenceSlice() 290 listBuilder.addRow(wifiPreferenceRowBuilder(listBuilder, in getWifiCallingPreferenceSlice() 295 listBuilder.addRow(wifiPreferenceRowBuilder(listBuilder, in getWifiCallingPreferenceSlice() 473 .addRow(rowBuilder) in getNonActionableWifiCallingSlice()
|
/packages/apps/Car/Settings/src/com/android/car/settings/search/ |
D | CarSettingsSearchIndexablesProvider.java | 84 cursor.addRow(ref); in queryXmlResources() 102 cursor.addRow(createIndexableRawColumnObjects(raw)); in queryRawData() 146 cursor.addRow(ref); in queryNonIndexableKeys()
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSlice.java | 109 listBuilder.addRow(getWifiSliceItemRow(apList.get(i))); in getSlice() 111 listBuilder.addRow(getLoadingRow(placeholder)); in getSlice() 113 listBuilder.addRow(new ListBuilder.RowBuilder() in getSlice() 146 .addRow(getHeaderRow(isWifiEnabled, wifiSliceItem)) in getListBuilder()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | SearchContactsCursorLoader.java | 114 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance() 170 cursor.addRow(newRow); in convertSmartDialCursorToSearchCursor() 185 headerCursor.addRow(new String[] {context.getString(R.string.all_contacts)}); in newInstance()
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 107 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); in testGetAppWidgetModel_1Event() 146 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater() 167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater()
|
/packages/apps/Traceur/src/com/android/traceur/ |
D | SearchProvider.java | 63 cursor.addRow(ref); in queryRawData() 77 cursor.addRow(row); in queryNonIndexableKeys()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | SettingsSearchIndexablesProvider.java | 129 cursor.addRow(ref); in queryXmlResources() 143 cursor.addRow(createIndexableRawColumnObjects(val)); in queryRawData() 161 cursor.addRow(ref); in queryNonIndexableKeys() 192 cursor.addRow(createIndexableRawColumnObjects(raw)); in queryDynamicRawData()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactsCursor.java | 105 headerCursor.addRow( in createHeaderCursor() 108 headerCursor.addRow(new Object[] {context.getString(R.string.directory, name), id}); in createHeaderCursor()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBuilderUtils.java | 257 .addRow(rowBuilder) in buildToggleSlice() 281 .addRow(rowBuilder) in buildIntentSlice() 352 .addRow(rowBuilder) in buildCopyableSlice() 444 .addRow(rowBuilder) in buildUnavailableSlice()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | LowStorageSlice.java | 80 .addRow(buildRowBuilder(titleStorage, summaryStorage, icon)) in getSlice() 90 .addRow(buildRowBuilder(titleLowStorage, summaryLowStorage, icon)) in getSlice()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | GalleryGridAdapter.java | 112 extraRow.addRow(new Object[] {0L, entry.getFilePath(), entry.getMimeType(), ""}); in insertEntries() 123 extraRow.addRow(new Object[] {0L, filePath, mimeType, ""}); in insertEntry()
|