Home
last modified time | relevance | path

Searched refs:deviceAdminPkg (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java902 protected void affiliateUsers(String deviceAdminPkg, int userId1, int userId2) in affiliateUsers() argument
904 CLog.d("Affiliating users %d and %d on admin package %s", userId1, userId2, deviceAdminPkg); in affiliateUsers()
906 deviceAdminPkg, ".AffiliationTest", "testSetAffiliationId1", userId1); in affiliateUsers()
908 deviceAdminPkg, ".AffiliationTest", "testSetAffiliationId1", userId2); in affiliateUsers()
1225 protected void grantDpmWrapperPermissions(String deviceAdminPkg, int userId) throws Exception { in grantDpmWrapperPermissions() argument
1233 grantPermission(deviceAdminPkg, PERMISSION_INTERACT_ACROSS_USERS, userId, "its PO needs to " in grantDpmWrapperPermissions()
1237 allowTestApiAccess(deviceAdminPkg); in grantDpmWrapperPermissions()
1240 protected void allowTestApiAccess(String deviceAdminPkg) throws Exception { in allowTestApiAccess() argument
1241 CLog.i("Granting ALLOW_TEST_API_ACCESS to package %s", deviceAdminPkg); in allowTestApiAccess()
1242 executeShellCommand("am compat enable ALLOW_TEST_API_ACCESS %s", deviceAdminPkg); in allowTestApiAccess()
DDeviceOwnerTest.java612 String deviceAdminPkg = DeviceAdminHelper.getDeviceAdminApkPackage(adminVersion); in testDisallowFactoryReset() local
619 deviceAdminPkg, in testDisallowFactoryReset()
624 getDevice().uninstallPackage(deviceAdminPkg); in testDisallowFactoryReset()