Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DPermissionSearchIndexablesProvider.java56 String groupName = permissionGroupNames.get(i); in queryRawData() local
58 CharSequence label = getPermissionGroupLabel(groupName, pm); in queryRawData()
64 .add(COLUMN_KEY, createRawDataKey(groupName, context)) in queryRawData()
71 private CharSequence getPermissionGroupLabel(String groupName, PackageManager pm) { in getPermissionGroupLabel() argument
73 return pm.getPermissionGroupInfo(groupName, 0).loadLabel(pm); in getPermissionGroupLabel()
75 Log.w(LOG_TAG, "Cannot find group label for " + groupName, e); in getPermissionGroupLabel()
DRuntimePermissionsUpgradeController.java253 String groupName = Utils.getGroupOfPlatformPermission(perm); in onUpgradeLocked() local
255 if (!TextUtils.equals(groupName, Manifest.permission_group.LOCATION)) { in onUpgradeLocked()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMetaData.java52 public final String groupName; field in GroupMetaData
77 this.groupName = cursor.getString(GroupMetaDataLoader.TITLE); in GroupMetaData()
94 groupName = source.readString(); in GroupMetaData()
108 dest.writeString(groupName); in writeToParcel()
119 && !TextUtils.isEmpty(groupName) in isValid()
135 .add("groupName", groupName) in toString()
DGroupNameEditDialogFragment.java98 AccountWithDataSet account, String callbackAction, long groupId, String groupName) { in newInstanceForUpdate() argument
99 return newInstance(account, callbackAction, groupId, groupName); in newInstanceForUpdate()
103 AccountWithDataSet account, String callbackAction, long groupId, String groupName) { in newInstance() argument
111 args.putString(ARG_GROUP_NAME, groupName); in newInstance()
DGroupMembersFragment.java478 mGroupMetaData.groupName).show(getFragmentManager(), in onOptionsItemSelected()
602 mGroupMetaData.groupName); in deleteGroup()
618 mActivity.setTitle(mGroupMetaData.groupName); in onActivityCreated()
724 mActivity.setTitle(mGroupMetaData.groupName); in onGroupMetadataLoaded()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DAppPermissionActivity.java73 String groupName = Utils.getGroupOfPlatformPermission(permissionName); in onCreate() local
82 if (LocationUtils.isLocationGroupAndProvider(this, groupName, in onCreate()
92 this, groupName, packageName)) { in onCreate()
104 groupName, userHandle); in onCreate()
109 groupName, userHandle, caller, sessionId); in onCreate()
DGrantPermissionsWatchViewHandler.java81 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
89 Log.d(TAG, "updateUi() - groupName: " + groupName in updateUi()
97 mGroupName = groupName; in updateUi()
DGrantPermissionsViewHandler.java48 void onPermissionGrantResult(String groupName, @Result int result); in onPermissionGrantResult() argument
79 void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
DConfirmActionDialogFragment.java54 String groupName = getArguments().getString(ARG_ACTION); in onCreateDialog() local
56 .onActionConfirmed(groupName); in onCreateDialog()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java252 String groupName = Utils.getGroupOfPlatformPermission(permission.name); in getGroupOfPermission() local
253 if (groupName == null) { in getGroupOfPermission()
254 groupName = permission.group; in getGroupOfPermission()
257 return groupName; in getGroupOfPermission()
333 public static @Nullable PackageItemInfo getGroupInfo(@NonNull String groupName, in getGroupInfo() argument
336 return context.getPackageManager().getPermissionGroupInfo(groupName, 0); in getGroupInfo()
341 return context.getPackageManager().getPermissionInfo(groupName, 0); in getGroupInfo()
357 public static @Nullable List<PermissionInfo> getGroupPermissionInfos(@NonNull String groupName, in getGroupPermissionInfos() argument
360 return Utils.getPermissionInfosForGroup(context.getPackageManager(), groupName); in getGroupPermissionInfos()
366 .getPermissionInfo(groupName, 0); in getGroupPermissionInfos()
[all …]
DLocationUtils.java73 public static boolean isLocationGroupAndProvider(Context context, String groupName, in isLocationGroupAndProvider() argument
75 return LOCATION_PERMISSION.equals(groupName) in isLocationGroupAndProvider()
80 @NonNull String groupName, @NonNull String packageName) { in isLocationGroupAndControllerExtraPackage() argument
81 return LOCATION_PERMISSION.equals(groupName) in isLocationGroupAndControllerExtraPackage()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionFragment.java111 @NonNull String permName, @Nullable String groupName, @NonNull UserHandle userHandle) { in newInstance() argument
115 if (groupName == null) { in newInstance()
118 arguments.putString(Intent.EXTRA_PERMISSION_GROUP_NAME, groupName); in newInstance()
147 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in getAppPermissionGroup() local
148 if (groupName == null) { in getAppPermissionGroup()
149 groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in getAppPermissionGroup()
151 PackageItemInfo groupInfo = Utils.getGroupInfo(groupName, context); in getAppPermissionGroup()
152 List<PermissionInfo> groupPermInfos = Utils.getGroupPermissionInfos(groupName, context); in getAppPermissionGroup()
154 Log.i(LOG_TAG, "Illegal group: " + groupName); in getAppPermissionGroup()
DAutoPermissionAppsFragment.java86 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
87 mPermissionApps = new PermissionApps(getActivity(), groupName, /* callback= */ this); in onCreate()
94 bindUi(mPermissionApps, groupName); in onCreate()
138 private void bindUi(PermissionApps permissionApps, @NonNull String groupName) { in bindUi() argument
146 header.setSummary(Utils.getPermissionGroupDescriptionString(getContext(), groupName, in bindUi() local
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java125 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
126 mPermissionApps = new PermissionApps(getActivity(), groupName, this); in onCreate()
196 @NonNull String groupName) { in bindUi() argument
202 groupName, permissionApps.getDescription()), null); in bindUi() local
455 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onViewCreated() local
457 groupName, (Callback) null); in onViewCreated()
458 bindUi(this, permissionApps, groupName); in onViewCreated()
DAppPermissionFragment.java121 @NonNull String permName, @Nullable String groupName, in newInstance() argument
126 if (groupName == null) { in newInstance()
129 arguments.putString(Intent.EXTRA_PERMISSION_GROUP_NAME, groupName); in newInstance()
164 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in createAppPermissionGroup() local
165 if (groupName == null) { in createAppPermissionGroup()
166 groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in createAppPermissionGroup()
168 PackageItemInfo groupInfo = Utils.getGroupInfo(groupName, context); in createAppPermissionGroup()
169 List<PermissionInfo> groupPermInfos = Utils.getGroupPermissionInfos(groupName, context); in createAppPermissionGroup()
171 Log.i(LOG_TAG, "Illegal group: " + groupName); in createAppPermissionGroup()
DGrantPermissionsViewHandlerImpl.java129 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
133 mGroupName = groupName; in updateUi()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionApps.java69 public PermissionApps(Context context, String groupName, String packageName) { in PermissionApps() argument
70 this(context, groupName, packageName, null, null, null); in PermissionApps()
73 public PermissionApps(Context context, String groupName, Callback callback) { in PermissionApps() argument
74 this(context, groupName, null, callback, null, null); in PermissionApps()
77 public PermissionApps(Context context, String groupName, String packageName, in PermissionApps() argument
83 mGroupName = groupName; in PermissionApps()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DPermissionAppsFragment.java87 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() local
88 mPermissionApps = new PermissionApps(getActivity(), groupName, this); in onCreate()
407 String groupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onViewCreated() local
408 PermissionApps permissionApps = new PermissionApps(getActivity(), groupName, in onViewCreated()
DGrantPermissionsViewHandlerImpl.java84 public void updateUi(String groupName, int groupCount, int groupIndex, Icon icon, in updateUi() argument
88 mGroupName = groupName; in updateUi()
DAppPermissionsFragment.java273 String groupName = preference.getKey(); in onPreferenceChange() local
274 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange()
/packages/services/Car/evs/app/
DConfigManager.cpp34 static bool readChildNodeAsFloat(const char* groupName, in readChildNodeAsFloat() argument
43 printf("Missing or invalid field %s in record %s", childName, groupName); in readChildNodeAsFloat()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DReviewPermissionsWearFragment.java249 String groupName = preference.getKey(); in confirmPermissionsReview() local
250 AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in confirmPermissionsReview()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java756 public long createGroup(String groupName) { in createGroup() argument
760 values.put(ContactsContract.Groups.TITLE, groupName); in createGroup()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java1893 private String buildGroupNameMatchWhereClause(String groupName) { in buildGroupNameMatchWhereClause() argument
1902 + DatabaseUtils.sqlEscapeString(groupName) + "))"; in buildGroupNameMatchWhereClause()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5729 final String groupName; in getCollectionIcon() local
5731 default: groupName = android.Manifest.permission_group.STORAGE; break; in getCollectionIcon()
5734 final PermissionGroupInfo perm = pm.getPermissionGroupInfo(groupName, 0); in getCollectionIcon()