Home
last modified time | relevance | path

Searched refs:devicePolicyManager (Results 1 – 25 of 50) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java896 DevicePolicyManager devicePolicyManager = in retrieveDevicePolicyManagerFromContext() local
898 if (devicePolicyManager == null in retrieveDevicePolicyManagerFromContext()
903 return devicePolicyManager; in retrieveDevicePolicyManagerFromContext()
931 DevicePolicyManager devicePolicyManager = in getDeviceOwner() local
933 if (devicePolicyManager == null) return null; in getDeviceOwner()
938 deviceOwnerUser = devicePolicyManager.getDeviceOwnerUser(); in getDeviceOwner()
939 deviceOwnerComponent = devicePolicyManager.getDeviceOwnerComponentOnAnyUser(); in getDeviceOwner()
1054 DevicePolicyManager devicePolicyManager = in isProfileOwner() local
1056 if (devicePolicyManager == null) return false; in isProfileOwner()
1057 return devicePolicyManager.isProfileOwnerApp(packageName); in isProfileOwner()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppWithAdminGrantedPermissionsCounter.java38 DevicePolicyManager devicePolicyManager) { in AppWithAdminGrantedPermissionsCounter() argument
42 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsCounter()
52 DevicePolicyManager devicePolicyManager, PackageManager packageManager, in includeInCount() argument
58 if (devicePolicyManager.getPermissionGrantState(null /* admin */, info.packageName, in includeInCount()
DAppWithAdminGrantedPermissionsLister.java36 DevicePolicyManager devicePolicyManager, UserManager userManager) { in AppWithAdminGrantedPermissionsLister() argument
40 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsLister()
DApplicationFeatureProviderImpl.java212 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() argument
213 super(context, permissions, packageManager, packageManagerService, devicePolicyManager); in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
244 DevicePolicyManager devicePolicyManager, UserManager userManager, in CurrentUserAppWithAdminGrantedPermissionsLister() argument
246 super(permissions, packageManager, packageManagerService, devicePolicyManager, in CurrentUserAppWithAdminGrantedPermissionsLister()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/
DAppWithAdminGrantedPermissionsCounter.java43 DevicePolicyManager devicePolicyManager) { in AppWithAdminGrantedPermissionsCounter() argument
47 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsCounter()
57 DevicePolicyManager devicePolicyManager, PackageManager packageManager, in includeInCount() argument
63 if (devicePolicyManager.getPermissionGrantState(null /* admin */, info.packageName, in includeInCount()
DApplicationFeatureProviderImpl.java152 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() argument
153 super(context, permissions, packageManager, packageManagerService, devicePolicyManager); in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
184 DevicePolicyManager devicePolicyManager, UserManager userManager, in CurrentUserAppWithAdminGrantedPermissionsLister() argument
186 super(permissions, packageManager, packageManagerService, devicePolicyManager, in CurrentUserAppWithAdminGrantedPermissionsLister()
DAppWithAdminGrantedPermissionsLister.java38 DevicePolicyManager devicePolicyManager, UserManager userManager) { in AppWithAdminGrantedPermissionsLister() argument
42 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsLister()
/packages/apps/Car/Settings/src/com/android/car/settingslib/applications/
DAppWithAdminGrantedPermissionsCounter.java42 DevicePolicyManager devicePolicyManager) { in AppWithAdminGrantedPermissionsCounter() argument
46 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsCounter()
59 DevicePolicyManager devicePolicyManager, PackageManager packageManager, in includeInCount() argument
65 if (devicePolicyManager.getPermissionGrantState(null /* admin */, info.packageName, in includeInCount()
DAppWithAdminGrantedPermissionsLister.java38 DevicePolicyManager devicePolicyManager, UserManager userManager) { in AppWithAdminGrantedPermissionsLister() argument
42 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsLister()
DApplicationFeatureProviderImpl.java216 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() argument
217 super(context, permissions, packageManager, packageManagerService, devicePolicyManager); in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
248 DevicePolicyManager devicePolicyManager, UserManager userManager, in CurrentUserAppWithAdminGrantedPermissionsLister() argument
250 super(permissions, packageManager, packageManagerService, devicePolicyManager, in CurrentUserAppWithAdminGrantedPermissionsLister()
/packages/apps/Settings/src/com/android/settings/
DRemoteBugreportActivity.java50 DevicePolicyManager devicePolicyManager = getSystemService(DevicePolicyManager.class); in onCreate() local
57 .setMessage(devicePolicyManager.getResources().getString( in onCreate()
88 .setTitle(devicePolicyManager.getResources().getString( in onCreate()
91 .setMessage(devicePolicyManager.getResources().getString(overrideMessageId, in onCreate()
/packages/apps/Settings/src/com/android/settings/password/
DForgotPasswordActivity.java53 DevicePolicyManager devicePolicyManager = getSystemService(DevicePolicyManager.class); in onCreate() local
55 forgotPasswordText.setText(devicePolicyManager.getResources().getString( in onCreate()
68 layout.setHeaderText(devicePolicyManager.getResources().getString( in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DDevicePolicyManagementRoleBehavior.java35 DevicePolicyManager devicePolicyManager = in shouldAllowBypassingQualification() local
37 return devicePolicyManager.shouldAllowBypassingDevicePolicyManagementRoleQualification(); in shouldAllowBypassingQualification()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioninglisteners/
DManagedUserRemovalUtils.java38 DevicePolicyManager devicePolicyManager = in resetPrimaryUserProvisioningStateIfNecessary() local
40 if (devicePolicyManager.getUserProvisioningState() != STATE_USER_PROFILE_FINALIZED) { in resetPrimaryUserProvisioningStateIfNecessary()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DPrimaryProfileFinalizationHelper.java46 DevicePolicyManager devicePolicyManager = (DevicePolicyManager) in finalizeProvisioningInPrimaryProfile() local
48 devicePolicyManager.finalizeWorkProfileProvisioning( in finalizeProvisioningInPrimaryProfile()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java145 DevicePolicyManager devicePolicyManager = in isNiapModeOn() local
147 if (devicePolicyManager == null in isNiapModeOn()
151 if (devicePolicyManager == null) return false; in isNiapModeOn()
152 return devicePolicyManager.isCommonCriteriaModeEnabled(null); in isNiapModeOn()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectFragment.java229 final DevicePolicyManager devicePolicyManager = in getPageTitle() local
233 return devicePolicyManager.getResources().getString(WORK_CATEGORY_HEADER, in getPageTitle()
237 return devicePolicyManager.getResources().getString(PERSONAL_CATEGORY_HEADER, in getPageTitle()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityViaNfc.java64 DevicePolicyManager devicePolicyManager = in transformIntentToProvisioningIntent() local
66 return devicePolicyManager.createProvisioningIntentFromNfcIntent(getIntent()); in transformIntentToProvisioningIntent()
/packages/apps/Settings/src/com/android/settings/bugreporthandler/
DBugReportHandlerPicker.java195 DevicePolicyManager devicePolicyManager = in getDescription() local
199 return devicePolicyManager.getResources().getString(WORK_PROFILE_APP_SUBTEXT, in getDescription()
202 return devicePolicyManager.getResources().getString(PERSONAL_PROFILE_APP_SUBTEXT, in getDescription()
/packages/apps/Settings/src/com/android/settings/enterprise/
DEnterpriseSetDefaultAppsListPreferenceController.java130 DevicePolicyManager devicePolicyManager = in updateUi() local
137 category.setTitle(devicePolicyManager.getResources().getString( in updateUi()
141 category.setTitle(devicePolicyManager.getResources().getString( in updateUi()
DActionDisabledByAdminDialog.java65 DevicePolicyManager devicePolicyManager = getSystemService(DevicePolicyManager.class); in getAdminDetailsFromIntent() local
66 adminDetails = devicePolicyManager.getEnforcingAdminAndUserDetails(userId, in getAdminDetailsFromIntent()
/packages/apps/Settings/src/com/android/settings/users/
DUserDialogs.java93 DevicePolicyManager devicePolicyManager = in createRemoveManagedUserDialogView() local
110 openingParagraph.setText(devicePolicyManager.getResources().getString( in createRemoveManagedUserDialogView()
116 closingParagraph.setText(devicePolicyManager.getResources().getString( in createRemoveManagedUserDialogView()
/packages/apps/Settings/src/com/android/settings/notification/
DRedactionInterstitial.java121 DevicePolicyManager devicePolicyManager = getSystemService(DevicePolicyManager.class); in onViewCreated() local
133 mShowAllButton.setText(devicePolicyManager in onViewCreated()
138 .setText(devicePolicyManager.getResources().getString( in onViewCreated()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DSecurityFragment.java337 final DevicePolicyManager devicePolicyManager = getContext().getSystemService( in isDeviceManaged() local
339 return devicePolicyManager.isDeviceManaged(); in isDeviceManaged()
343 final DevicePolicyManager devicePolicyManager = getContext().getSystemService( in hasActiveAdmins() local
345 final List<ComponentName> admins = devicePolicyManager.getActiveAdmins(); in hasActiveAdmins()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ota/
DCrossProfileAppsPregrantController.java62 DevicePolicyManager devicePolicyManager, in CrossProfileAppsPregrantController() argument
68 mDevicePolicyManager = devicePolicyManager; in CrossProfileAppsPregrantController()

12