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.java916 protected void affiliateUsers(String deviceAdminPkg, int userId1, int userId2) in affiliateUsers() argument
918 CLog.d("Affiliating users %d and %d on admin package %s", userId1, userId2, deviceAdminPkg); in affiliateUsers()
920 deviceAdminPkg, ".AffiliationTest", "testSetAffiliationId1", userId1); in affiliateUsers()
922 deviceAdminPkg, ".AffiliationTest", "testSetAffiliationId1", userId2); in affiliateUsers()
1244 protected void grantDpmWrapperPermissions(String deviceAdminPkg, int userId) throws Exception { in grantDpmWrapperPermissions() argument
1252 grantPermission(deviceAdminPkg, PERMISSION_INTERACT_ACROSS_USERS, userId, "its PO needs to " in grantDpmWrapperPermissions()
1256 allowTestApiAccess(deviceAdminPkg); in grantDpmWrapperPermissions()
1259 protected void allowTestApiAccess(String deviceAdminPkg) throws Exception { in allowTestApiAccess() argument
1260 CLog.i("Granting ALLOW_TEST_API_ACCESS to package %s", deviceAdminPkg); in allowTestApiAccess()
1261 executeShellCommand("am compat enable ALLOW_TEST_API_ACCESS %s", deviceAdminPkg); in allowTestApiAccess()
DDeviceOwnerTest.java587 String deviceAdminPkg = DeviceAdminHelper.getDeviceAdminApkPackage(adminVersion); in testDisallowFactoryReset() local
594 deviceAdminPkg, in testDisallowFactoryReset()
599 getDevice().uninstallPackage(deviceAdminPkg); in testDisallowFactoryReset()