Searched refs:viewUsageIntent (Results 1 – 3 of 3) sorted by relevance
195 Intent viewUsageIntent = new Intent(); in getViewPermissionUsageForPeriodIntent() local196 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 …]
376 Intent viewUsageIntent = new Intent() in updatePreferences() local380 ResolveInfo resolveInfo = packageManager.resolveActivity(viewUsageIntent, in updatePreferences()386 viewUsageIntent.setComponent(new ComponentName( in updatePreferences()394 startActivity(viewUsageIntent); in updatePreferences()
1113 Intent viewUsageIntent = new Intent(Intent.ACTION_VIEW_PERMISSION_USAGE); in shouldShowHealthPermission() local1114 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()