Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java123 String keyHint = "key"; in getTilesForIntent_shouldParseKeyHintForSystemApp() local
128 ResolveInfo resolveInfo = newInfo(true, null /* category */, keyHint); in getTilesForIntent_shouldParseKeyHintForSystemApp()
139 assertThat(outTiles.get(0).key).isEqualTo(keyHint); in getTilesForIntent_shouldParseKeyHintForSystemApp()
343 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint) { in newInfo() argument
344 return newInfo(systemApp, category, keyHint, null, null); in newInfo()
347 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint, in newInfo() argument
349 return newInfo(systemApp, category, keyHint, iconUri, summaryUri, null, 0); in newInfo()
352 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint, in newInfo() argument
364 if (keyHint != null) { in newInfo()
365 info.activityInfo.metaData.putString("com.android.settings.keyhint", keyHint); in newInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/
DTileUtils.java362 String keyHint = null; in updateTileData() local
400 keyHint = res.getString(metaData.getInt(META_DATA_PREFERENCE_KEYHINT)); in updateTileData()
402 keyHint = metaData.getString(META_DATA_PREFERENCE_KEYHINT); in updateTileData()
433 tile.key = keyHint; in updateTileData()