Home
last modified time | relevance | path

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

/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()
DApplicationFeatureProviderImpl.java191 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() argument
192 super(context, permissions, packageManager, packageManagerService, devicePolicyManager); in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
223 DevicePolicyManager devicePolicyManager, UserManager userManager, in CurrentUserAppWithAdminGrantedPermissionsLister() argument
225 super(permissions, packageManager, packageManagerService, devicePolicyManager, in CurrentUserAppWithAdminGrantedPermissionsLister()
DAppWithAdminGrantedPermissionsLister.java36 DevicePolicyManager devicePolicyManager, UserManager userManager) { in AppWithAdminGrantedPermissionsLister() argument
40 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsLister()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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()
DApplicationFeatureProviderImpl.java191 DevicePolicyManager devicePolicyManager, NumberOfAppsCallback callback) { in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter() argument
192 super(context, permissions, packageManager, packageManagerService, devicePolicyManager); in CurrentUserAndManagedProfileAppWithAdminGrantedPermissionsCounter()
223 DevicePolicyManager devicePolicyManager, UserManager userManager, in CurrentUserAppWithAdminGrantedPermissionsLister() argument
225 super(permissions, packageManager, packageManagerService, devicePolicyManager, in CurrentUserAppWithAdminGrantedPermissionsLister()
DAppWithAdminGrantedPermissionsLister.java36 DevicePolicyManager devicePolicyManager, UserManager userManager) { in AppWithAdminGrantedPermissionsLister() argument
40 mDevicePolicyManager = devicePolicyManager; in AppWithAdminGrantedPermissionsLister()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java315 DevicePolicyManager devicePolicyManager = in launchChooseLock_callingAppIsAdmin_setsAdminExtra() local
317 Shadows.shadowOf(devicePolicyManager).setActiveAdmin(buildTestComponentName(PKG_NAME)); in launchChooseLock_callingAppIsAdmin_setsAdminExtra()
331 DevicePolicyManager devicePolicyManager = in launchChooseLock_callingAppIsNotAdmin_doesNotSetAdminExtra() local
333 Shadows.shadowOf(devicePolicyManager) in launchChooseLock_callingAppIsNotAdmin_doesNotSetAdminExtra()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DNonRequiredAppsLogic.java85 DevicePolicyManager devicePolicyManager, in NonRequiredAppsLogic() argument
92 mDevicePolicyManager = checkNotNull(devicePolicyManager); in NonRequiredAppsLogic()
/packages/apps/Settings/src/com/android/settings/password/
DSetNewPasswordActivity.java132 DevicePolicyManager devicePolicyManager = getSystemService(DevicePolicyManager.class); in isCallingAppAdmin() local
134 List<ComponentName> admins = devicePolicyManager.getActiveAdmins(); in isCallingAppAdmin()
DSetNewPasswordController.java99 DevicePolicyManager devicePolicyManager, in SetNewPasswordController() argument
105 mDevicePolicyManager = checkNotNull(devicePolicyManager); in SetNewPasswordController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DSetNewPasswordController.java99 DevicePolicyManager devicePolicyManager, in SetNewPasswordController() argument
105 mDevicePolicyManager = checkNotNull(devicePolicyManager); in SetNewPasswordController()
/packages/apps/Settings/src/com/android/settings/
DUtils.java892 DevicePolicyManager devicePolicyManager, String packageName) { in isProfileOrDeviceOwner() argument
894 if (devicePolicyManager.isDeviceOwnerAppOnAnyUser(packageName)) { in isProfileOrDeviceOwner()
898 ComponentName cn = devicePolicyManager.getProfileOwnerAsUser(userInfos.get(i).id); in isProfileOrDeviceOwner()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java897 DevicePolicyManager devicePolicyManager, String packageName) { in isProfileOrDeviceOwner() argument
899 if (devicePolicyManager.isDeviceOwnerAppOnAnyUser(packageName)) { in isProfileOrDeviceOwner()
903 ComponentName cn = devicePolicyManager.getProfileOwnerAsUser(userInfos.get(i).id); in isProfileOrDeviceOwner()
/packages/apps/KeyChain/src/com/android/keychain/
DKeyChainActivity.java201 IDevicePolicyManager devicePolicyManager = IDevicePolicyManager.Stub.asInterface( in chooseCertificate() local
207 devicePolicyManager.choosePrivateKeyAlias(mSenderUid, uri, alias, callback); in chooseCertificate()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsActivity.java127 DevicePolicyManager devicePolicyManager = getSystemService(DevicePolicyManager.class); in getPermissionPolicy() local
128 return devicePolicyManager.getPermissionPolicy(null); in getPermissionPolicy()