Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java78 private static final String PKG_PREFIX = "pkg_"; field in AppRestrictionsFragment
469 return PKG_PREFIX + packageName; in getKeyForPackage()
500 final String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onClick()
531 mAppList.findPreference(PKG_PREFIX+packageName); in onPreferenceChange()
577 if (preference.getKey().startsWith(PKG_PREFIX)) { in onAppSettingsIconClicked()
581 String packageName = preference.getKey().substring(PKG_PREFIX.length()); in onAppSettingsIconClicked()
714 p.setKey(preference.getKey().substring(PKG_PREFIX.length()) + DELIMITER in onRestrictionsReceived()
753 String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onActivityResult()
783 if (preference.getKey().startsWith(PKG_PREFIX)) { in onPreferenceClick()
786 final String packageName = arp.getKey().substring(PKG_PREFIX.length()); in onPreferenceClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java78 private static final String PKG_PREFIX = "pkg_"; field in AppRestrictionsFragment
469 return PKG_PREFIX + packageName; in getKeyForPackage()
500 final String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onClick()
531 mAppList.findPreference(PKG_PREFIX+packageName); in onPreferenceChange()
577 if (preference.getKey().startsWith(PKG_PREFIX)) { in onAppSettingsIconClicked()
581 String packageName = preference.getKey().substring(PKG_PREFIX.length()); in onAppSettingsIconClicked()
714 p.setKey(preference.getKey().substring(PKG_PREFIX.length()) + DELIMITER in onRestrictionsReceived()
753 String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onActivityResult()
783 if (preference.getKey().startsWith(PKG_PREFIX)) { in onPreferenceClick()
786 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()