Searched refs:smsPackage (Results 1 – 1 of 1) sorted by relevance
343 PackageParser.Package smsPackage = getDefaultSystemHandlerActivityPackageLPr( in grantDefaultSystemHandlerPermissions() local345 if (smsPackage != null) { in grantDefaultSystemHandlerPermissions()346 grantDefaultPermissionsToDefaultSystemSmsAppLPr(smsPackage, userId); in grantDefaultSystemHandlerPermissions()350 PackageParser.Package smsPackage = getSystemPackageLPr(smsPackageName); in grantDefaultSystemHandlerPermissions() local351 if (smsPackage != null) { in grantDefaultSystemHandlerPermissions()352 grantDefaultPermissionsToDefaultSystemSmsAppLPr(smsPackage, userId); in grantDefaultSystemHandlerPermissions()626 PackageParser.Package smsPackage, int userId) { in grantDefaultPermissionsToDefaultSystemSmsAppLPr() argument627 if (doesPackageSupportRuntimePermissions(smsPackage)) { in grantDefaultPermissionsToDefaultSystemSmsAppLPr()628 grantRuntimePermissionsLPw(smsPackage, PHONE_PERMISSIONS, userId); in grantDefaultPermissionsToDefaultSystemSmsAppLPr()629 grantRuntimePermissionsLPw(smsPackage, CONTACTS_PERMISSIONS, userId); in grantDefaultPermissionsToDefaultSystemSmsAppLPr()[all …]