Searched refs:PKG_PREFIX (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Permission/tests/cts/permissionpolicy/src/android/permissionpolicy/cts/ |
D | RestrictedStoragePermissionSharedUidTest.java | 146 return mPkg.substring(PKG_PREFIX.length()); in toString() 156 super("", PKG_PREFIX + "(none)", true, false); in NoApp() 184 …private static final String PKG_PREFIX = "android.permissionpolicy.cts.legacystoragewithshareduid.… field in RestrictedStoragePermissionSharedUidTest 188 PKG_PREFIX + "notisolated", false, true), 190 PKG_PREFIX + "isolated", false, false), 192 PKG_PREFIX + "restricted", true, false), 194 PKG_PREFIX + "restrictedsdk28", true, true),
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | AppRestrictionsFragment.java | 80 private static final String PKG_PREFIX = "pkg_"; field in AppRestrictionsFragment 473 return PKG_PREFIX + packageName; in getKeyForPackage() 504 final String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onClick() 535 mAppList.findPreference(PKG_PREFIX+packageName); in onPreferenceChange() 581 if (preference.getKey().startsWith(PKG_PREFIX)) { in onAppSettingsIconClicked() 585 String packageName = preference.getKey().substring(PKG_PREFIX.length()); in onAppSettingsIconClicked() 723 p.setKey(preference.getKey().substring(PKG_PREFIX.length()) + DELIMITER in onRestrictionsReceived() 762 String packageName = pref.getKey().substring(PKG_PREFIX.length()); in onActivityResult() 792 if (preference.getKey().startsWith(PKG_PREFIX)) { in onPreferenceClick() 795 final String packageName = arp.getKey().substring(PKG_PREFIX.length()); in onPreferenceClick()
|
D | AppCopyFragment.java | 46 private static final String PKG_PREFIX = "pkg_"; field in AppCopyFragment 216 final String packageName = preference.getKey().substring(PKG_PREFIX.length()); in populateApps() 229 return PKG_PREFIX + packageName; in getKeyForPackage()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsFragment.java | 89 private static final String PKG_PREFIX = "pkg_"; field in AppRestrictionsFragment 553 return PKG_PREFIX + packageName; in getKeyForPackage() 561 if (key.startsWith(PKG_PREFIX)) { in getPackageFromKey() 562 return key.substring(PKG_PREFIX.length()); in getPackageFromKey()
|