/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
D | AppPermissions.java | 35 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()
|
D | AppPermissionGroup.java | 39 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()
|
D | PermissionApps.java | 190 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()
|
D | PermissionStatusReceiver.java | 194 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/ |
D | AppPermissionsFragmentWear.java | 34 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/ |
D | SafetyNetLogger.java | 21 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()
|
D | Utils.java | 32 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/ |
D | GrantPermissionsActivity.java | 45 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()
|
D | ReviewPermissionsActivity.java | 46 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/ |
D | PermissionsSettingsAdapter.java | 27 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/ |
D | AppPermissionsFragment.java | 49 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()
|
D | PermissionAppsFragment.java | 42 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/ |
D | RuntimePermissionPresenterServiceImpl.java | 26 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/ |
D | AppPermissionsFragment.java | 52 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()
|
D | PermissionAppsFragment.java | 45 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()
|
D | AllAppPermissionsFragment.java | 46 import com.android.packageinstaller.permission.model.AppPermissionGroup; 227 final AppPermissionGroup permGroup = mAppPermissions.getPermissionGroup(group.name); in getMutablePreference()
|