Home
last modified time | relevance | path

Searched refs:groupName (Results 1 – 12 of 12) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionApps.java60 public PermissionApps(Context context, String groupName, Callback callback) { in PermissionApps() argument
61 this(context, groupName, callback, null); in PermissionApps()
64 public PermissionApps(Context context, String groupName, Callback callback, PmCache cache) { in PermissionApps() argument
68 mGroupName = groupName; in PermissionApps()
216 private PackageItemInfo getGroupInfo(String groupName) { in getGroupInfo() argument
218 return mContext.getPackageManager().getPermissionGroupInfo(groupName, 0); in getGroupInfo()
223 return mContext.getPackageManager().getPermissionInfo(groupName, 0); in getGroupInfo()
230 private List<PermissionInfo> getGroupPermissionInfos(String groupName) { in getGroupPermissionInfos() argument
232 return mContext.getPackageManager().queryPermissionsByGroup(groupName, 0); in getGroupPermissionInfos()
238 .getPermissionInfo(groupName, 0); in getGroupPermissionInfos()
/packages/apps/Settings/src/com/android/settings/applications/
DAppPermissions.java101 String groupName = permInfo.group != null ? permInfo.group : permName; in loadPermissionGroups() local
103 PermissionGroup group = mGroups.get(groupName); in loadPermissionGroups()
106 mGroups.put(groupName, group); in loadPermissionGroups()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactsListFragment.java112 public void setGroupMode(String groupName) { in setGroupMode() argument
113 boolean reload = (MODE_GROUP != mMode) || !groupName.equals(mGroupName); in setGroupMode()
115 mGroupName = groupName; in setGroupMode()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DPermissionAppsFragment.java97 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
98 mPermissionApps = new PermissionApps(getActivity(), groupName, this); in onCreate()
417 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onViewCreated() local
418 PermissionApps permissionApps = new PermissionApps(getActivity(), groupName, null); in onViewCreated()
DGrantPermissionsViewHandler.java35 void onPermissionGrantResult(String groupName, boolean granted, boolean doNotAskAgain); in onPermissionGrantResult() argument
64 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
DGrantPermissionsTvViewHandler.java81 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
83 mGroupName = groupName; in updateUi()
DAppPermissionsFragment.java264 String groupName = preference.getKey(); in onPreferenceChange() local
265 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange()
DGrantPermissionsDefaultViewHandler.java137 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
139 mGroupName = groupName; in updateUi()
/packages/apps/Browser/src/com/android/browser/view/
DBookmarkExpandableView.java408 String groupName = mGroups.get(groupPosition); in getGroupView() local
409 if (groupName == null) { in getGroupView()
410 groupName = mContext.getString(R.string.local_bookmarks); in getGroupView()
412 name.setText(groupName); in getGroupView()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DLocationUtils.java73 public static boolean isLocationGroupAndProvider(String groupName, String packageName) { in isLocationGroupAndProvider() argument
74 return LOCATION_PERMISSION.equals(groupName) && isNetworkLocationProvider(packageName); in isLocationGroupAndProvider()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java645 public long createGroup(String groupName) { in createGroup() argument
649 values.put(ContactsContract.Groups.TITLE, groupName); in createGroup()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java1971 private String buildGroupNameMatchWhereClause(String groupName) { in buildGroupNameMatchWhereClause() argument
1980 + DatabaseUtils.sqlEscapeString(groupName) + "))"; in buildGroupNameMatchWhereClause()