Lines Matching refs:PackageManager

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;
66 final PackageManager pm = context.getPackageManager(); in onReceive()
74 private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, in managedProfileSetup()
101 userInfo.profileGroupId, PackageManager.SKIP_CURRENT_PROFILE); in managedProfileSetup()
109 private void cloneProfileSetup(Context context, PackageManager pm, UserInfo userInfo) { in cloneProfileSetup()
118 private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo) { in webviewSettingSetup()
127 PackageManager.COMPONENT_ENABLED_STATE_ENABLED : in webviewSettingSetup()
128 PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in webviewSettingSetup()
129 PackageManager.DONT_KILL_APP); in webviewSettingSetup()
152 private void enableTwoPaneDeepLinkActivityIfNecessary(PackageManager pm, Context context) { in enableTwoPaneDeepLinkActivityIfNecessary()
158 ? PackageManager.COMPONENT_ENABLED_STATE_ENABLED in enableTwoPaneDeepLinkActivityIfNecessary()
159 : PackageManager.COMPONENT_ENABLED_STATE_DISABLED; in enableTwoPaneDeepLinkActivityIfNecessary()
160 pm.setComponentEnabledSetting(deepLinkHome, enableState, PackageManager.DONT_KILL_APP); in enableTwoPaneDeepLinkActivityIfNecessary()
162 PackageManager.DONT_KILL_APP); in enableTwoPaneDeepLinkActivityIfNecessary()