/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/ |
D | ReviewPermissionsWearFragment.java | 70 private AppPermissions mAppPermissions; field in ReviewPermissionsWearFragment 89 mAppPermissions = new AppPermissions(activity, packageInfo, false, in onCreatePreferences() 92 if (mAppPermissions.getPermissionGroups().isEmpty()) { in onCreatePreferences() 98 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in onCreatePreferences() 113 mAppPermissions.refresh(); in onResume() 138 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences() 198 List<AppPermissionGroup> groups = mAppPermissions.getPermissionGroups(); in isPackageUpdated() 251 AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in confirmPermissionsReview() 268 Drawable icon = mAppPermissions.getPackageInfo().applicationInfo.loadIcon( in addTitlePreferenceToScreen() 273 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/permissioncontroller/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() 143 mAppPermissions.refresh(); in onResume() 162 mAppPermissions.getPackageInfo().packageName); in onClick() 164 mAppPermissions.getPackageInfo().applicationInfo.uid)); in onClick() 229 mAppPermissions.persistChanges(true); in confirmPermissionsReview() 234 PackageInfo pkg = mAppPermissions.getPackageInfo(); in confirmPermissionsReview() 272 Drawable icon = mAppPermissions.getPackageInfo().applicationInfo.loadIcon( in bindUi() 282 mAppPermissions.getAppLabel()), 0); in bindUi() [all …]
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoAppPermissionsFragment.java | 52 private AppPermissions mAppPermissions; field in AutoAppPermissionsFragment 95 mAppPermissions = new AppPermissions(activity, packageInfo, /* sortGroups= */ true, in onCreate() 110 mAppPermissions.refresh(); in onStart() 111 bindUi(mAppPermissions.getPackageInfo()); in onStart() 162 mAppPermissions.getPackageInfo().applicationInfo)); in updatePreferences() 171 mAppPermissions.getPermissionGroups()); in updatePreferences() 194 mAppPermissions.getPackageInfo().applicationInfo)); in updatePreferences()
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AppPermissionsFragment.java | 75 private AppPermissions mAppPermissions; field in AppPermissionsFragment 114 mAppPermissions = new AppPermissions(activity, packageInfo, true, in onCreate() 117 if (mAppPermissions.isReviewRequired()) { in onCreate() 138 mAppPermissions.refresh(); in onResume() 168 if (mAppPermissions != null) { in onViewCreated() 220 for (AppPermissionGroup group : mAppPermissions.getPermissionGroups()) { in loadPreferences() 306 final AppPermissionGroup group = mAppPermissions.getPermissionGroup(groupName); in onPreferenceClick() 316 LocationUtils.showLocationDialog(getContext(), mAppPermissions.getAppLabel()); in onPreferenceClick() 375 AppPermissionGroup group = mAppPermissions.getPermissionGroup(preference.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/permissioncontroller/permission/ui/ |
D | GrantPermissionsActivity.java | 136 private AppPermissions mAppPermissions; field in GrantPermissionsActivity 189 mAppPermissions.getPackageInfo().requestedPermissions, permName)) { in addRequestedPermissions() 365 mAppPermissions = new AppPermissions(this, callingPackageInfo, false, in onCreate() 384 mAppPermissions.getGroupForPermission(affectedPermissions.get(i)); in onCreate() 392 if (mAppPermissions.getPackageInfo().applicationInfo.targetSdkVersion in onCreate() 421 boolean foregroundGroupAlreadyGranted = mAppPermissions.getPermissionGroup( in onCreate() 674 CharSequence appLabel = mAppPermissions.getAppLabel(); in showNextPermissionGroupGrantRequest() 716 if (mAppPermissions.getPackageInfo().applicationInfo.targetSdkVersion in showNextPermissionGroupGrantRequest() 808 if (mAppPermissions.getPermissionGroup( in showNextPermissionGroupGrantRequest() 977 .putExtra(Intent.EXTRA_PACKAGE_NAME, mAppPermissions.getPackageInfo().packageName) [all …]
|