Home
last modified time | relevance | path

Searched refs:AppPermissionGroup (Results 1 – 16 of 16) sorted by relevance

/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
DAppPermissions.java35 private final ArrayList<AppPermissionGroup> mGroups = new ArrayList<>();
37 private final LinkedHashMap<String, AppPermissionGroup> mNameToGroupMap = new LinkedHashMap<>();
77 public AppPermissionGroup getPermissionGroup(String name) { in getPermissionGroup()
81 public List<AppPermissionGroup> getPermissionGroups() { in getPermissionGroups()
91 AppPermissionGroup group = mGroups.get(i); in isReviewRequired()
128 AppPermissionGroup group = AppPermissionGroup.create(mContext, in loadPermissionGroups()
144 AppPermissionGroup group = AppPermissionGroup.create(mContext, in loadPermissionGroups()
159 for (AppPermissionGroup group : mGroups) { in loadPermissionGroups()
165 for (AppPermissionGroup group : mGroups) { in hasGroupForPermission()
DAppPermissionGroup.java39 public final class AppPermissionGroup implements Comparable<AppPermissionGroup> { class
61 public static AppPermissionGroup create(Context context, PackageInfo packageInfo, in create()
100 public static AppPermissionGroup create(Context context, PackageInfo packageInfo, in create()
104 AppPermissionGroup group = new AppPermissionGroup(context, packageInfo, groupInfo.name, in create()
185 private AppPermissionGroup(Context context, PackageInfo packageInfo, String name, in AppPermissionGroup() method in AppPermissionGroup
582 public int compareTo(AppPermissionGroup another) { in compareTo()
606 AppPermissionGroup other = (AppPermissionGroup) obj; in equals()
DPermissionApps.java190 AppPermissionGroup group = AppPermissionGroup.create(mContext, in loadPermissionApps()
292 private final AppPermissionGroup mAppPermissionGroup;
297 public PermissionApp(String packageName, AppPermissionGroup appPermissionGroup, in PermissionApp()
362 public AppPermissionGroup getPermissionGroup() { in getPermissionGroup()
DPermissionStatusReceiver.java194 for (AppPermissionGroup group : appPermissions.getPermissionGroups()) { in getPermissionsCount()
242 for (AppPermissionGroup group : appPermissions.getPermissionGroups()) { in getAppsWithRuntimePermissions()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/
DAppPermissionsFragmentWear.java34 import com.android.packageinstaller.permission.model.AppPermissionGroup;
50 private List<AppPermissionGroup> mToggledGroups;
138 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in initializePermissionGroupList()
139 List<SettingsAdapter.Setting<AppPermissionGroup>> nonSystemGroups = new ArrayList<>(); in initializePermissionGroupList()
143 final AppPermissionGroup group = groups.get(i); in initializePermissionGroupList()
150 SettingsAdapter.Setting<AppPermissionGroup> setting = in initializePermissionGroupList()
151 new SettingsAdapter.Setting<AppPermissionGroup>( in initializePermissionGroupList()
168 final SettingsAdapter.Setting<AppPermissionGroup> setting = nonSystemGroups.get(i); in initializePermissionGroupList()
182 SettingsAdapter.Setting<AppPermissionGroup> setting = mAdapter.get(index); in onClick()
183 final AppPermissionGroup group = setting.data; in onClick()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
DSafetyNetLogger.java21 import com.android.packageinstaller.permission.model.AppPermissionGroup;
41 List<AppPermissionGroup> groups) { in logPermissionsRequested()
47 public static void logPermissionsToggled(String packageName, List<AppPermissionGroup> groups) { in logPermissionsToggled()
54 List<AppPermissionGroup> groups) { in buildChangedGroupForPackageMessage()
61 AppPermissionGroup group = groups.get(i); in buildChangedGroupForPackageMessage()
DUtils.java32 import com.android.packageinstaller.permission.model.AppPermissionGroup;
81 public static boolean shouldShowPermission(AppPermissionGroup group, String packageName) { in shouldShowPermission()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java45 import com.android.packageinstaller.permission.model.AppPermissionGroup;
133 AppPermissionGroup group = null; in onCreate()
134 for (AppPermissionGroup nextGroup : mAppPermissions.getPermissionGroups()) { in onCreate()
280 private void updateGrantResults(AppPermissionGroup group) { in updateGrantResults()
390 List<AppPermissionGroup> groups = new ArrayList<>(groupCount); in logRequestedPermissionGroups()
403 final AppPermissionGroup mGroup;
406 GroupState(AppPermissionGroup group) { in GroupState()
DReviewPermissionsActivity.java46 import com.android.packageinstaller.permission.model.AppPermissionGroup;
147 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in onCreate()
230 AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in confirmPermissionsReview()
304 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences()
368 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated()
371 AppPermissionGroup group = groups.get(i); in isPackageUpdated()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/
DPermissionsSettingsAdapter.java27 import com.android.packageinstaller.permission.model.AppPermissionGroup;
29 public final class PermissionsSettingsAdapter extends SettingsAdapter<AppPermissionGroup> {
46 AppPermissionGroup group = get(position).data; in onBindViewHolder()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionsFragment.java49 import com.android.packageinstaller.permission.model.AppPermissionGroup;
71 private List<AppPermissionGroup> mToggledGroups;
203 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences()
268 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange()
316 private void addToggledGroup(AppPermissionGroup group) { in addToggledGroup()
349 AppPermissionGroup group = mAppPermissions.getPermissionGroup(switchPref.getKey()); in setPreferencesCheckedState()
DPermissionAppsFragment.java42 import com.android.packageinstaller.permission.model.AppPermissionGroup;
79 private ArrayMap<String, AppPermissionGroup> mToggledGroups;
367 private void addToggledGroup(String packageName, AppPermissionGroup group) { in addToggledGroup()
384 List<AppPermissionGroup> groups = new ArrayList<>(); in logToggledGroups()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/service/
DRuntimePermissionPresenterServiceImpl.java26 import com.android.packageinstaller.permission.model.AppPermissionGroup;
53 for (AppPermissionGroup group : appPermissions.getPermissionGroups()) { in onGetAppPermissions()
93 for (AppPermissionGroup group : appPermissions.getPermissionGroups()) { in onGetAppsUsingPermissions()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DAppPermissionsFragment.java52 import com.android.packageinstaller.permission.model.AppPermissionGroup;
71 private List<AppPermissionGroup> mToggledGroups;
229 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences()
287 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange()
335 private void addToggledGroup(AppPermissionGroup group) { in addToggledGroup()
368 AppPermissionGroup group = mAppPermissions.getPermissionGroup(switchPref.getKey()); in setPreferencesCheckedState()
DPermissionAppsFragment.java45 import com.android.packageinstaller.permission.model.AppPermissionGroup;
79 private ArrayMap<String, AppPermissionGroup> mToggledGroups;
359 private void addToggledGroup(String packageName, AppPermissionGroup group) { in addToggledGroup()
376 List<AppPermissionGroup> groups = new ArrayList<>(); in logToggledGroups()
DAllAppPermissionsFragment.java46 import com.android.packageinstaller.permission.model.AppPermissionGroup;
227 final AppPermissionGroup permGroup = mAppPermissions.getPermissionGroup(group.name); in getMutablePreference()