Home
last modified time | relevance | path

Searched refs:getStringOrNull (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DCustomTileStatePersister.kt97 label = json.getStringOrNull(LABEL)
98 subtitle = json.getStringOrNull(SUBTITLE)
99 contentDescription = json.getStringOrNull(CONTENT_DESCRIPTION)
100 stateDescription = json.getStringOrNull(STATE_DESCRIPTION)
106 private fun JSONObject.getStringOrNull(name: String): String? {
/aosp14/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java324 String text1 = getStringOrNull(cursor, mText1Col); in bindView()
329 CharSequence text2 = getStringOrNull(cursor, mText2UrlCol); in bindView()
333 text2 = getStringOrNull(cursor, mText2Col); in bindView()
719 return getStringOrNull(cursor, col); in getColumnString()
722 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull() method in SuggestionsAdapter