Home
last modified time | relevance | path

Searched refs:viewUsageIntent (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPermissionHistoryPreference.java195 Intent viewUsageIntent = new Intent(); in getViewPermissionUsageForPeriodIntent() local
196 viewUsageIntent.setAction(Intent.ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD); in getViewPermissionUsageForPeriodIntent()
197 viewUsageIntent.setPackage(mPackageName); in getViewPermissionUsageForPeriodIntent()
198 viewUsageIntent.putExtra(Intent.EXTRA_PERMISSION_GROUP_NAME, mPermissionGroup); in getViewPermissionUsageForPeriodIntent()
199 viewUsageIntent.putExtra(Intent.EXTRA_ATTRIBUTION_TAGS, in getViewPermissionUsageForPeriodIntent()
201 viewUsageIntent.putExtra(Intent.EXTRA_START_TIME, in getViewPermissionUsageForPeriodIntent()
203 viewUsageIntent.putExtra(Intent.EXTRA_END_TIME, mAccessEndTime); in getViewPermissionUsageForPeriodIntent()
204 viewUsageIntent.putExtra(IntentCompat.EXTRA_SHOWING_ATTRIBUTION, showingAttribution); in getViewPermissionUsageForPeriodIntent()
205 viewUsageIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getViewPermissionUsageForPeriodIntent()
207 ResolveInfo resolveInfo = mUserPackageManager.resolveActivity(viewUsageIntent, in getViewPermissionUsageForPeriodIntent()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DAppPermissionGroupsFragment.java376 Intent viewUsageIntent = new Intent() in updatePreferences() local
380 ResolveInfo resolveInfo = packageManager.resolveActivity(viewUsageIntent, in updatePreferences()
386 viewUsageIntent.setComponent(new ComponentName( in updatePreferences()
394 startActivity(viewUsageIntent); in updatePreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java1113 Intent viewUsageIntent = new Intent(Intent.ACTION_VIEW_PERMISSION_USAGE); in shouldShowHealthPermission() local
1114 viewUsageIntent.addCategory(HealthConnectManager.CATEGORY_HEALTH_PERMISSIONS); in shouldShowHealthPermission()
1115 viewUsageIntent.setPackage(packageInfo.getPackageName()); in shouldShowHealthPermission()
1117 ResolveInfo resolveInfo = pm.resolveActivity(viewUsageIntent, PackageManager.MATCH_ALL); in shouldShowHealthPermission()