Searched refs:devicePolicyManager (Results 1 – 6 of 6) sorted by relevance
39 NotificationManager notificationManager, DevicePolicyManager devicePolicyManager, in MockLockSettingsContext() argument45 mDevicePolicyManager = devicePolicyManager; in MockLockSettingsContext()
196 final DevicePolicyManager devicePolicyManager = (DevicePolicyManager) in getPrimaryColor() local198 return devicePolicyManager.getOrganizationColorForUser(getTargetUserId()); in getPrimaryColor()
98 final DevicePolicyManager devicePolicyManager = mAppContext.getSystemService( in isDefaultActiveApp() local100 if (devicePolicyManager.packageHasActiveAdmins(pkg)) { in isDefaultActiveApp()
213 DevicePolicyManagerInternal devicePolicyManager = LocalServices in interceptSuspendedByAdminPackage() local215 if (devicePolicyManager == null) { in interceptSuspendedByAdminPackage()218 mIntent = devicePolicyManager.createShowAdminSupportIntent(mUserId, true); in interceptSuspendedByAdminPackage()
345 DevicePolicyManager devicePolicyManager = in checkPrivilegedReadPermissionOrCarrierPrivilegePermission() local348 if (devicePolicyManager != null && devicePolicyManager.checkDeviceIdentifierAccess( in checkPrivilegedReadPermissionOrCarrierPrivilegePermission()
256 DevicePolicyManager devicePolicyManager = in setupAndStartUsers() local258 if (devicePolicyManager != null && devicePolicyManager.getUserProvisioningState() in setupAndStartUsers()