/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionAppsFragment.java | 113 private String mPermGroupName; field in PermissionAppsFragment 125 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate() 126 if (mPermGroupName == null) { in onCreate() 127 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() 134 new PermissionAppsViewModelFactory(getActivity().getApplication(), mPermGroupName, in onCreate() 169 if (Utils.shouldDisplayCardIfBlocked(mPermGroupName)) { in onCreate() 243 if (Utils.shouldDisplayCardIfBlocked(mPermGroupName)) { in displaySensorCard() 269 && mPermGroupName.equals(Manifest.permission_group.STORAGE); in ensurePreferenceScreen() 293 boolean isLocation = Manifest.permission_group.LOCATION.equals(mPermGroupName); in createSensorCard() 306 sensorCard.setIcon(Utils.getBlockedIcon(mPermGroupName)); in createSensorCard() [all …]
|
D | PermissionControlPreference.java | 68 private @NonNull String mPermGroupName; field in PermissionControlPreference 98 mPermGroupName = permGroupName; in PermissionControlPreference() 217 mContext, mPermGroupName, mPackageName)) { in onBindViewHolder() 222 mContext, mPermGroupName, mPackageName)) { in onBindViewHolder() 226 if (mPermGroupName.equals(Manifest.permission_group.NOTIFICATIONS)) { in onBindViewHolder() 231 && mPermGroupName.equals(HEALTH_PERMISSION_GROUP)) { in onBindViewHolder() 237 args.putString(Intent.EXTRA_PERMISSION_GROUP_NAME, mPermGroupName); in onBindViewHolder() 250 intent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, mPermGroupName); in onBindViewHolder()
|
D | AppPermissionFragment.java | 135 private @NonNull String mPermGroupName; field in AppPermissionFragment 191 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate() 192 if (mPermGroupName == null) { in onCreate() 193 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() 195 mIsStorageGroup = Objects.equals(mPermGroupName, STORAGE); in onCreate() 201 mPermGroupName).toString(); in onCreate() 210 getActivity().getApplication(), mPackageName, mPermGroupName, mUser, mSessionId, in onCreate() 267 int additional_info_label = Utils.isStatusBarIndicatorPermission(mPermGroupName) in onCreateView() 348 mViewModel.showPermissionRationaleActivity(getActivity(), mPermGroupName); in showPermissionRationaleDialog() local 366 args = PermissionAppsFragment.createArgs(mPermGroupName, mSessionId); in setBottomLinkState() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | AutoPermissionAppsFragment.java | 91 private String mPermGroupName; field in AutoPermissionAppsFragment 100 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate() 101 if (mPermGroupName == null) { in onCreate() 102 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() 105 Drawable icon = KotlinUtils.INSTANCE.getPermGroupIcon(getContext(), mPermGroupName); in onCreate() 106 CharSequence label = KotlinUtils.INSTANCE.getPermGroupLabel(getContext(), mPermGroupName); in onCreate() 108 mPermGroupName); in onCreate() 114 header.setSummary(Utils.getPermissionGroupDescriptionString(getContext(), mPermGroupName, in onCreate() local 122 new PermissionAppsViewModelFactory(getActivity().getApplication(), mPermGroupName, in onCreate() 250 lastAccessTime, context, mPermGroupName); in onPackagesLoaded() [all …]
|
D | AutoAppPermissionFragment.java | 106 private String mPermGroupName; field in AutoAppPermissionFragment 161 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate() 162 if (mPermGroupName == null) { in onCreate() 163 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() 170 mPermGroupName).toString(); in onCreate() 279 getActivity().getApplication(), mPackageName, mPermGroupName, mUser, sessionId); in onStart() 285 if (Manifest.permission_group.CAMERA.equals(mPermGroupName)) { in onStart() 289 if (Manifest.permission_group.LOCATION.equals(mPermGroupName)) { in onStart() 292 if (Manifest.permission_group.MICROPHONE.equals(mPermGroupName)) { in onStart() 313 if (Manifest.permission_group.CAMERA.equals(mPermGroupName)) { in setSensorStatus() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/ |
D | AppPermissionFragment.java | 103 private @NonNull String mPermGroupName; field in AppPermissionFragment 149 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_GROUP_NAME); in onCreate() 150 if (mPermGroupName == null) { in onCreate() 151 mPermGroupName = getArguments().getString(Intent.EXTRA_PERMISSION_NAME); in onCreate() 153 if (mPackageName == null || mPermGroupName == null) { in onCreate() 157 if (mPermGroupName == null) { in onCreate() 167 if (mPermGroupName.equals(NOTIFICATIONS)) { in onCreate() 171 mIsStorageGroup = Objects.equals(mPermGroupName, STORAGE); in onCreate() 177 mPermGroupName).toString(); in onCreate() 184 getActivity().getApplication(), mPackageName, mPermGroupName, mUser, mSessionId); in onCreate() [all …]
|