Home
last modified time | relevance | path

Searched refs:ACTION_PROVISION_MANAGED_DEVICE (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOverlayPackagesProviderTest.java19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
124 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "app.a", "app.b"); in testAppsWithLauncherAreNonRequiredByDefault()
133 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "app.c"); in testDeviceOwnerRequiredApps()
158 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "app.a"); in testDpcIsRequired()
167 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "app.a", "app.b"); in testDisallowedAppsAreNonRequiredEvenIfNoLauncher()
175 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "app.b"); in testDeviceOwnerImesAreRequired()
199 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "app.a", "app.c"); in testDisallowedAppsAreNonInstalled()
211 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, TEST_DPC_PACKAGE_NAME); in testAllowedAndDisallowedAtTheSameTimeManagedDevice()
287 verifyAppsAreNonRequired(ACTION_PROVISION_MANAGED_DEVICE, "package3"); in testGetNonRequiredApps_mainlineModules_managedDevice_works()
326 ACTION_PROVISION_MANAGED_DEVICE, "package1", "package2"); in testGetNonRequiredApps_managedDevice_roleHolder_works()
DDevicePolicyManagerTest.java3557 assertProvisioningAllowed(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, false); in testIsProvisioningAllowed_DeviceAdminFeatureOff()
3562 assertProvisioningAllowed(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, false); in testIsProvisioningAllowed_DeviceAdminFeatureOff()
3569 assertCheckProvisioningPreCondition(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, in testCheckProvisioningPreCondition_DeviceAdminFeatureOff()
3593 assertProvisioningAllowed(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, true); in testIsProvisioningAllowed_ManagedProfileFeatureOff()
3605 assertCheckProvisioningPreCondition(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, in testCheckProvisioningPreCondition_ManagedProfileFeatureOff()
3632 assertProvisioningAllowed(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, true); in testIsProvisioningAllowed_firstBoot_systemUser()
3637 assertProvisioningAllowed(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, true); in testIsProvisioningAllowed_firstBoot_systemUser()
3647 assertCheckProvisioningPreCondition(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, in testCheckProvisioningPreCondition_firstBoot_systemUser()
3655 assertCheckProvisioningPreCondition(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, in testCheckProvisioningPreCondition_firstBoot_systemUser()
3690 assertProvisioningAllowed(DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, in testIsProvisioningAllowed_systemUserSetupComplete_systemUser()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOverlayPackagesProvider.java19 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
75 sActionToMetadataKeyMap.put(ACTION_PROVISION_MANAGED_DEVICE, REQUIRED_APP_MANAGED_DEVICE); in sActionToMetadataKeyMap.put() argument
83 sAllowedActions.add(ACTION_PROVISION_MANAGED_DEVICE);
295 case ACTION_PROVISION_MANAGED_DEVICE -> R.array.required_apps_managed_device; in getRequiredAppsSet()
306 case ACTION_PROVISION_MANAGED_DEVICE -> R.array.disallowed_apps_managed_device; in getDisallowedAppsSet()
317 case ACTION_PROVISION_MANAGED_DEVICE -> R.array.vendor_required_apps_managed_device; in getVendorRequiredAppsSet()
328 case ACTION_PROVISION_MANAGED_DEVICE -> R.array.vendor_disallowed_apps_managed_device; in getVendorDisallowedAppsSet()
DDevicePolicyManagerService.java123 import static android.app.admin.DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE;
17099 case DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE:
21947 ACTION_PROVISION_MANAGED_DEVICE, deviceAdmin, caller.getUserId());
21984 ACTION_PROVISION_MANAGED_DEVICE,
22054 admin, userId, ACTION_PROVISION_MANAGED_DEVICE);
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java769 DevicePolicyManager.ACTION_PROVISION_MANAGED_DEVICE, userId), in grantDefaultSystemHandlerPermissions()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java578 public static final String ACTION_PROVISION_MANAGED_DEVICE field in DevicePolicyManager
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt8277 …field @Deprecated public static final String ACTION_PROVISION_MANAGED_DEVICE = "android.app.action…