Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java78 private static final String PKG_PREFIX = "pkg_"; field in AppRestrictionsFragment
475 return PKG_PREFIX + packageName; in getKeyForPackage()
506 final String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onClick()
537 mAppList.findPreference(PKG_PREFIX+packageName); in onPreferenceChange()
583 if (preference.getKey().startsWith(PKG_PREFIX)) { in onAppSettingsIconClicked()
587 String packageName = preference.getKey().substring(PKG_PREFIX.length()); in onAppSettingsIconClicked()
720 p.setKey(preference.getKey().substring(PKG_PREFIX.length()) + DELIMITER in onRestrictionsReceived()
759 String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onActivityResult()
789 if (preference.getKey().startsWith(PKG_PREFIX)) { in onPreferenceClick()
792 final String packageName = arp.getKey().substring(PKG_PREFIX.length()); in onPreferenceClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppRestrictionsFragment.java87 private static final String PKG_PREFIX = "pkg_"; field in AppRestrictionsFragment
519 return PKG_PREFIX + packageName; in getKeyForPackage()
527 if (key.startsWith(PKG_PREFIX)) { in getPackageFromKey()
528 return key.substring(PKG_PREFIX.length()); in getPackageFromKey()