Lines Matching refs:pm
19 import static android.content.pm.PackageManager.GET_ACTIVITIES;
20 import static android.content.pm.PackageManager.GET_META_DATA;
21 import static android.content.pm.PackageManager.GET_RESOLVED_FILTER;
22 import static android.content.pm.PackageManager.MATCH_DISABLED_COMPONENTS;
30 import android.content.pm.PackageManager;
31 import android.content.pm.ResolveInfo;
32 import android.content.pm.ShortcutInfo;
33 import android.content.pm.ShortcutManager;
34 import android.content.pm.UserInfo;
62 final PackageManager pm = context.getPackageManager(); in onReceive() local
63 managedProfileSetup(context, pm, broadcast, userInfo); in onReceive()
64 webviewSettingSetup(context, pm, userInfo); in onReceive()
68 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup() argument
76 pm.clearCrossProfileIntentFilters(userInfo.id); in managedProfileSetup()
84 List<ResolveInfo> resolvedIntents = pm.queryIntentActivities(intent, in managedProfileSetup()
94 pm.addCrossProfileIntentFilter(info.filter, userInfo.id, in managedProfileSetup()
102 pm.setComponentEnabledSetting(settingsComponentName, in managedProfileSetup()
107 pm.setComponentEnabledSetting(shortcutComponentName, in managedProfileSetup()
112 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup() argument
119 pm.setComponentEnabledSetting(settingsComponentName, in webviewSettingSetup()