/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/ |
D | ReviewPermissionsWearFragment.java | 69 private AppPermissions mAppPermissions; field in ReviewPermissionsWearFragment 88 mAppPermissions = new AppPermissions(activity, packageInfo, false, in onCreatePreferences() 91 if (mAppPermissions.getPermissionGroups().isEmpty()) { in onCreatePreferences() 97 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in onCreatePreferences() 112 mAppPermissions.refresh(); in onResume() 137 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences() 197 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated() 250 AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in confirmPermissionsReview() 267 Drawable icon = mAppPermissions.getPackageInfo().applicationInfo.loadIcon( in addTitlePreferenceToScreen() 272 String appLabel = mAppPermissions.getAppLabel().toString(); in addTitlePreferenceToScreen()
|
D | AppPermissionsFragmentWear.java | 71 private AppPermissions mAppPermissions; field in AppPermissionsFragmentWear 131 mAppPermissions = new AppPermissions( in onCreate() 141 mAppPermissions.refresh(); in onResume() 144 for (final AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in onResume() 163 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in initializePermissionGroupList() 332 getContext(), mAppPermissions.getAppLabel()); in createSwitchPreferenceForGroup()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/ |
D | ReviewPermissionsFragment.java | 73 private AppPermissions mAppPermissions; field in ReviewPermissionsFragment 108 mAppPermissions = new AppPermissions(activity, packageInfo, false, true, in onCreate() 112 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in onCreate() 142 mAppPermissions.refresh(); in onResume() 161 mAppPermissions.getPackageInfo().packageName); in onClick() 163 mAppPermissions.getPackageInfo().applicationInfo.uid)); in onClick() 225 mAppPermissions.persistChanges(true); in confirmPermissionsReview() 230 PackageInfo pkg = mAppPermissions.getPackageInfo(); in confirmPermissionsReview() 268 Drawable icon = mAppPermissions.getPackageInfo().applicationInfo.loadIcon( in bindUi() 278 mAppPermissions.getAppLabel()), 0); in bindUi() [all …]
|
D | AppPermissionsFragment.java | 76 private AppPermissions mAppPermissions; field in AppPermissionsFragment 123 mAppPermissions = new AppPermissions(activity, packageInfo, true, new Runnable() { in onCreate() 139 mAppPermissions.refresh(); in onResume() 162 if (mAppPermissions != null) { in onViewCreated() 163 bindUi(this, mAppPermissions.getPackageInfo()); in onViewCreated() 228 mAppPermissions.getPermissionGroups()); in updatePreferences() 353 permissionGroupName, mAppPermissions.getPackageInfo().applicationInfo.uid, in logAppPermissionsFragmentViewEntry() 354 mAppPermissions.getPackageInfo().packageName, category); in logAppPermissionsFragmentViewEntry() 357 + mAppPermissions.getPackageInfo().applicationInfo.uid + " packageName=" in logAppPermissionsFragmentViewEntry() 358 + mAppPermissions.getPackageInfo().packageName + " category=" + category); in logAppPermissionsFragmentViewEntry()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/ |
D | AppPermissionsFragment.java | 64 private AppPermissions mAppPermissions; field in AppPermissionsFragment 100 mAppPermissions = new AppPermissions(activity, packageInfo, true, in onCreate() 103 if (mAppPermissions.isReviewRequired()) { in onCreate() 117 mAppPermissions.refresh(); in onResume() 146 if (mAppPermissions != null) { in onViewCreated() 147 bindUi(this, mAppPermissions.getPackageInfo()); in onViewCreated() 192 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences() 274 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceChange() 284 LocationUtils.showLocationDialog(getContext(), mAppPermissions.getAppLabel()); in onPreferenceChange() 348 AppPermissionGroup group = mAppPermissions.getPermissionGroup(switchPref.getKey()); in setPreferencesCheckedState()
|
D | AllAppPermissionsFragment.java | 63 private AppPermissions mAppPermissions; field in AllAppPermissionsFragment 91 mAppPermissions = new AppPermissions(getActivity(), mPackageInfo, false, in onCreate() 239 final AppPermissionGroup permGroup = mAppPermissions.getPermissionGroup(group.name); in getMutablePreference()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/ |
D | AutoAppPermissionsFragment.java | 51 private AppPermissions mAppPermissions; field in AutoAppPermissionsFragment 94 mAppPermissions = new AppPermissions(activity, packageInfo, /* sortGroups= */ true, in onCreate() 109 mAppPermissions.refresh(); in onStart() 110 bindUi(mAppPermissions.getPackageInfo()); in onStart() 161 mAppPermissions.getPackageInfo().applicationInfo)); in updatePreferences() 170 mAppPermissions.getPermissionGroups()); in updatePreferences() 193 mAppPermissions.getPackageInfo().applicationInfo)); in updatePreferences()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | GrantPermissionsActivity.java | 105 private AppPermissions mAppPermissions; field in GrantPermissionsActivity 155 mAppPermissions.getPackageInfo().requestedPermissions, permName)) { in addRequestedPermissions() 325 mAppPermissions = new AppPermissions(this, callingPackageInfo, false, in onCreate() 344 mAppPermissions.getGroupForPermission(affectedPermissions.get(i)); in onCreate() 372 boolean foregroundGroupAlreadyGranted = mAppPermissions.getPermissionGroup( in onCreate() 614 CharSequence appLabel = mAppPermissions.getAppLabel(); in showNextPermissionGroupGrantRequest() 899 SafetyNetLogger.logPermissionsRequested(mAppPermissions.getPackageInfo(), groups); in logRequestedPermissionGroups() 916 mAppPermissions.getPackageInfo().applicationInfo.targetSdkVersion; in computeAffectedPermissions() 941 AppPermissionGroup group = mAppPermissions.getGroupForPermission( in computeAffectedPermissions()
|