Home | History | Annotate | Download | only in com.example.android.basicmanagedprofile

Lines Matching refs:DevicePolicyManager

22 import android.app.admin.DevicePolicyManager;
42 import static android.app.admin.DevicePolicyManager.FLAG_MANAGED_CAN_ACCESS_PARENT;
43 import static android.app.admin.DevicePolicyManager.FLAG_PARENT_CAN_ACCESS_MANAGED;
123 DevicePolicyManager devicePolicyManager =
124 (DevicePolicyManager) activity.getSystemService(Activity.DEVICE_POLICY_SERVICE);
125 return !devicePolicyManager.isApplicationHidden(
209 DevicePolicyManager devicePolicyManager =
210 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
220 devicePolicyManager.enableSystemApp(
230 devicePolicyManager.setApplicationHidden(
248 final DevicePolicyManager manager =
249 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
300 final DevicePolicyManager manager =
301 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
318 DevicePolicyManager manager =
319 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
340 DevicePolicyManager manager =
341 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
354 DevicePolicyManager manager =
355 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);
377 DevicePolicyManager manager =
378 (DevicePolicyManager) activity.getSystemService(Context.DEVICE_POLICY_SERVICE);