/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseAccessor.java | 31 import com.android.settings.slices.SlicesDatabaseHelper.IndexColumns; 42 IndexColumns.KEY, 43 IndexColumns.TITLE, 44 IndexColumns.SUMMARY, 45 IndexColumns.SCREENTITLE, 46 IndexColumns.KEYWORDS, 47 IndexColumns.ICON_RESOURCE, 48 IndexColumns.FRAGMENT, 49 IndexColumns.CONTROLLER, 50 IndexColumns.PLATFORM_SLICE, [all …]
|
D | SlicesDatabaseHelper.java | 45 public interface IndexColumns { interface in SlicesDatabaseHelper 106 IndexColumns.KEY + 108 IndexColumns.TITLE + 110 IndexColumns.SUMMARY + 112 IndexColumns.SCREENTITLE + 114 IndexColumns.KEYWORDS + 116 IndexColumns.ICON_RESOURCE + 118 IndexColumns.FRAGMENT + 120 IndexColumns.CONTROLLER + 122 IndexColumns.PLATFORM_SLICE + [all …]
|
D | SlicesIndexer.java | 29 import com.android.settings.slices.SlicesDatabaseHelper.IndexColumns; 103 values.put(IndexColumns.KEY, dataRow.getKey()); in insertSliceData() 104 values.put(IndexColumns.TITLE, dataRow.getTitle()); in insertSliceData() 105 values.put(IndexColumns.SUMMARY, dataRow.getSummary()); in insertSliceData() 106 values.put(IndexColumns.SCREENTITLE, dataRow.getScreenTitle().toString()); in insertSliceData() 107 values.put(IndexColumns.KEYWORDS, dataRow.getKeywords()); in insertSliceData() 108 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData() 109 values.put(IndexColumns.FRAGMENT, dataRow.getFragmentClassName()); in insertSliceData() 110 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData() 111 values.put(IndexColumns.PLATFORM_SLICE, dataRow.isPlatformDefined()); in insertSliceData() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SlicesDatabaseAccessor.java | 31 import com.android.car.developeroptions.slices.SlicesDatabaseHelper.IndexColumns; 42 IndexColumns.KEY, 43 IndexColumns.TITLE, 44 IndexColumns.SUMMARY, 45 IndexColumns.SCREENTITLE, 46 IndexColumns.KEYWORDS, 47 IndexColumns.ICON_RESOURCE, 48 IndexColumns.FRAGMENT, 49 IndexColumns.CONTROLLER, 50 IndexColumns.PLATFORM_SLICE, [all …]
|
D | SlicesDatabaseHelper.java | 45 public interface IndexColumns { interface in SlicesDatabaseHelper 106 IndexColumns.KEY + 108 IndexColumns.TITLE + 110 IndexColumns.SUMMARY + 112 IndexColumns.SCREENTITLE + 114 IndexColumns.KEYWORDS + 116 IndexColumns.ICON_RESOURCE + 118 IndexColumns.FRAGMENT + 120 IndexColumns.CONTROLLER + 122 IndexColumns.PLATFORM_SLICE + [all …]
|
D | SlicesIndexer.java | 29 import com.android.car.developeroptions.slices.SlicesDatabaseHelper.IndexColumns; 103 values.put(IndexColumns.KEY, dataRow.getKey()); in insertSliceData() 104 values.put(IndexColumns.TITLE, dataRow.getTitle()); in insertSliceData() 105 values.put(IndexColumns.SUMMARY, dataRow.getSummary()); in insertSliceData() 106 values.put(IndexColumns.SCREENTITLE, dataRow.getScreenTitle().toString()); in insertSliceData() 107 values.put(IndexColumns.KEYWORDS, dataRow.getKeywords()); in insertSliceData() 108 values.put(IndexColumns.ICON_RESOURCE, dataRow.getIconResource()); in insertSliceData() 109 values.put(IndexColumns.FRAGMENT, dataRow.getFragmentClassName()); in insertSliceData() 110 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData() 111 values.put(IndexColumns.PLATFORM_SLICE, dataRow.isPlatformDefined()); in insertSliceData() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SlicesDatabaseHelperTest.java | 29 import com.android.settings.slices.SlicesDatabaseHelper.IndexColumns; 67 IndexColumns.KEY, in testDatabaseSchema() 68 IndexColumns.TITLE, in testDatabaseSchema() 69 IndexColumns.SUMMARY, in testDatabaseSchema() 70 IndexColumns.SCREENTITLE, in testDatabaseSchema() 71 IndexColumns.KEYWORDS, in testDatabaseSchema() 72 IndexColumns.ICON_RESOURCE, in testDatabaseSchema() 73 IndexColumns.FRAGMENT, in testDatabaseSchema() 74 IndexColumns.CONTROLLER, in testDatabaseSchema() 75 IndexColumns.PLATFORM_SLICE, in testDatabaseSchema() [all …]
|
D | SlicesIndexerTest.java | 30 import com.android.settings.slices.SlicesDatabaseHelper.IndexColumns; 89 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))).isEqualTo(newKey); in testAlreadyIndexed_doesNotIndexAgain() 90 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE))) in testAlreadyIndexed_doesNotIndexAgain() 121 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.KEY))) in testInsertSliceData_mockDataInserted() 123 assertThat(cursor.getString(cursor.getColumnIndex(IndexColumns.TITLE))) in testInsertSliceData_mockDataInserted() 126 cursor.getString(cursor.getColumnIndex(IndexColumns.FRAGMENT))) in testInsertSliceData_mockDataInserted() 129 cursor.getColumnIndex(IndexColumns.SCREENTITLE))).isEqualTo(SCREEN_TITLE); in testInsertSliceData_mockDataInserted() 131 cursor.getString(cursor.getColumnIndex(IndexColumns.KEYWORDS))) in testInsertSliceData_mockDataInserted() 134 cursor.getInt(cursor.getColumnIndex(IndexColumns.ICON_RESOURCE))) in testInsertSliceData_mockDataInserted() 137 cursor.getString(cursor.getColumnIndex(IndexColumns.CONTROLLER))) in testInsertSliceData_mockDataInserted() [all …]
|
D | SlicesDatabaseAccessorTest.java | 278 values.put(SlicesDatabaseHelper.IndexColumns.KEY, key); in insertSpecialCase() 279 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, FAKE_TITLE); in insertSpecialCase() 280 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, FAKE_SUMMARY); in insertSpecialCase() 281 values.put(SlicesDatabaseHelper.IndexColumns.SCREENTITLE, FAKE_SCREEN_TITLE); in insertSpecialCase() 282 values.put(SlicesDatabaseHelper.IndexColumns.KEYWORDS, FAKE_KEYWORDS); in insertSpecialCase() 283 values.put(SlicesDatabaseHelper.IndexColumns.ICON_RESOURCE, FAKE_ICON); in insertSpecialCase() 284 values.put(SlicesDatabaseHelper.IndexColumns.FRAGMENT, FAKE_FRAGMENT_NAME); in insertSpecialCase() 285 values.put(SlicesDatabaseHelper.IndexColumns.CONTROLLER, FAKE_CONTROLLER_NAME); in insertSpecialCase() 286 values.put(SlicesDatabaseHelper.IndexColumns.PLATFORM_SLICE, isPlatformSlice); in insertSpecialCase() 287 values.put(SlicesDatabaseHelper.IndexColumns.SLICE_TYPE, SliceData.SliceType.INTENT); in insertSpecialCase() [all …]
|
D | SettingsSliceProviderTest.java | 569 values.put(SlicesDatabaseHelper.IndexColumns.KEY, key); in insertSpecialCase() 570 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, TITLE); in insertSpecialCase() 571 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, "s"); in insertSpecialCase() 572 values.put(SlicesDatabaseHelper.IndexColumns.SCREENTITLE, "s"); in insertSpecialCase() 573 values.put(SlicesDatabaseHelper.IndexColumns.ICON_RESOURCE, R.drawable.ic_settings_accent); in insertSpecialCase() 574 values.put(SlicesDatabaseHelper.IndexColumns.FRAGMENT, "test"); in insertSpecialCase() 575 values.put(SlicesDatabaseHelper.IndexColumns.CONTROLLER, PREF_CONTROLLER); in insertSpecialCase() 576 values.put(SlicesDatabaseHelper.IndexColumns.PLATFORM_SLICE, isPlatformSlice); in insertSpecialCase() 577 values.put(SlicesDatabaseHelper.IndexColumns.SLICE_TYPE, SliceData.SliceType.INTENT); in insertSpecialCase()
|
D | SliceBroadcastReceiverTest.java | 347 values.put(SlicesDatabaseHelper.IndexColumns.KEY, key); in insertSpecialCase() 348 values.put(SlicesDatabaseHelper.IndexColumns.TITLE, fakeTitle); in insertSpecialCase() 349 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, fakeSummary); in insertSpecialCase() 350 values.put(SlicesDatabaseHelper.IndexColumns.SCREENTITLE, fakeScreenTitle); in insertSpecialCase() 351 values.put(SlicesDatabaseHelper.IndexColumns.ICON_RESOURCE, fakeIcon); in insertSpecialCase() 352 values.put(SlicesDatabaseHelper.IndexColumns.FRAGMENT, fakeFragmentClassName); in insertSpecialCase() 353 values.put(SlicesDatabaseHelper.IndexColumns.CONTROLLER, controllerClass.getName()); in insertSpecialCase()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/ |
D | DatabaseResultTask.java | 19 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns; 58 IndexColumns.DATA_TITLE, 59 IndexColumns.DATA_SUMMARY_ON, 60 IndexColumns.DATA_SUMMARY_OFF, 61 IndexColumns.CLASS_NAME, 62 IndexColumns.SCREEN_TITLE, 63 IndexColumns.ICON, 64 IndexColumns.INTENT_ACTION, 65 IndexColumns.DATA_PACKAGE, 66 IndexColumns.DATA_AUTHORITY, [all …]
|
D | CursorToSearchResultConverter.java | 125 IndexDatabaseHelper.IndexColumns.DATA_PACKAGE)); in buildSingleSearchResultFromCursor() 127 IndexDatabaseHelper.IndexColumns.DATA_TITLE)); in buildSingleSearchResultFromCursor() 129 IndexDatabaseHelper.IndexColumns.DATA_SUMMARY_ON)); in buildSingleSearchResultFromCursor() 131 IndexDatabaseHelper.IndexColumns.DATA_KEY_REF)); in buildSingleSearchResultFromCursor() 133 IndexDatabaseHelper.IndexColumns.ICON)); in buildSingleSearchResultFromCursor() 135 IndexDatabaseHelper.IndexColumns.PAYLOAD_TYPE)); in buildSingleSearchResultFromCursor() 137 IndexDatabaseHelper.IndexColumns.PAYLOAD)); in buildSingleSearchResultFromCursor() 190 IndexDatabaseHelper.IndexColumns.SCREEN_TITLE)); in getBreadcrumbs() 192 IndexDatabaseHelper.IndexColumns.CLASS_NAME)); in getBreadcrumbs()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 54 public interface IndexColumns { interface in IndexDatabaseHelper 97 IndexColumns.DATA_TITLE + 99 IndexColumns.DATA_TITLE_NORMALIZED + 101 IndexColumns.DATA_SUMMARY_ON + 103 IndexColumns.DATA_SUMMARY_ON_NORMALIZED + 105 IndexColumns.DATA_SUMMARY_OFF + 107 IndexColumns.DATA_SUMMARY_OFF_NORMALIZED + 109 IndexColumns.DATA_ENTRIES + 111 IndexColumns.DATA_KEYWORDS + 113 IndexColumns.DATA_PACKAGE + [all …]
|
D | DatabaseIndexingManager.java | 20 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 21 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 22 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.CL… 23 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 24 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 25 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 26 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 27 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 28 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… 29 import static com.android.settings.intelligence.search.indexing.IndexDatabaseHelper.IndexColumns.DA… [all …]
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/search/ |
D | SettingsSearchResultRegressionTest.java | 60 public interface IndexColumns { interface in SettingsSearchResultRegressionTest 159 IndexColumns.DATA_TITLE); in getSearchDataFromCursor() 161 IndexColumns.DATA_KEY_REF); in getSearchDataFromCursor()
|