Home
last modified time | relevance | path

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

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DPermissionApps.java61 public PermissionApps(Context context, String groupName, Callback callback) { in PermissionApps() argument
62 this(context, groupName, callback, null); in PermissionApps()
65 public PermissionApps(Context context, String groupName, Callback callback, PmCache cache) { in PermissionApps() argument
69 mGroupName = groupName; in PermissionApps()
232 private PackageItemInfo getGroupInfo(String groupName) { in getGroupInfo() argument
234 return mContext.getPackageManager().getPermissionGroupInfo(groupName, 0); in getGroupInfo()
239 return mContext.getPackageManager().getPermissionInfo(groupName, 0); in getGroupInfo()
246 private List<PermissionInfo> getGroupPermissionInfos(String groupName) { in getGroupPermissionInfos() argument
248 return mContext.getPackageManager().queryPermissionsByGroup(groupName, 0); in getGroupPermissionInfos()
254 .getPermissionInfo(groupName, 0); in getGroupPermissionInfos()
/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/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/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsWatchViewHandler.java67 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
70 Log.d(TAG, "updateUi() - groupName: " + groupName in updateUi()
78 mGroupName = groupName; in updateUi()
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
DConfirmActionDialogFragment.java55 String groupName = getArguments().getString(ARG_ACTION); in onCreateDialog() local
57 .onActionConfirmed(groupName); in onCreateDialog()
DReviewPermissionsActivity.java214 private void showWarnRevokeDialog(final String groupName) { in showWarnRevokeDialog() argument
216 getString(R.string.old_sdk_deny_warning), groupName); in showWarnRevokeDialog()
229 String groupName = preference.getKey(); in confirmPermissionsReview() local
230 AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in confirmPermissionsReview()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DLocationUtils.java59 public static boolean isLocationGroupAndProvider(String groupName, String packageName) { in isLocationGroupAndProvider() argument
60 return LOCATION_PERMISSION.equals(groupName) && isNetworkLocationProvider(packageName); in isLocationGroupAndProvider()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java100 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
101 mPermissionApps = new PermissionApps(getActivity(), groupName, this); in onCreate()
406 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onViewCreated() local
407 PermissionApps permissionApps = new PermissionApps(getActivity(), groupName, null); in onViewCreated()
DGrantPermissionsViewHandlerImpl.java82 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
84 mGroupName = groupName; in updateUi()
DAppPermissionsFragment.java286 String groupName = preference.getKey(); in onPreferenceChange() local
287 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java100 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
101 mPermissionApps = new PermissionApps(getActivity(), groupName, this); in onCreate()
410 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onViewCreated() local
411 PermissionApps permissionApps = new PermissionApps(getActivity(), groupName, null); in onViewCreated()
DGrantPermissionsViewHandlerImpl.java113 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
115 mGroupName = groupName; in updateUi()
DAppPermissionsFragment.java267 String groupName = preference.getKey(); in onPreferenceChange() local
268 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java278 String groupName = group.getName(); in getPermissionGroupIcon() local
282 switch (groupName) { in getPermissionGroupIcon()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java681 public long createGroup(String groupName) { in createGroup() argument
685 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()