Home
last modified time | relevance | path

Searched refs:adminPackage (Results 1 – 4 of 4) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java204 String adminPackage = mAdmin.getPackageName(); in isProfileOrDeviceOwner() local
209 boolean isDeviceOwner = mDevicePolicyManager.isDeviceOwnerApp(adminPackage); in isProfileOrDeviceOwner()
210 boolean isProfileOwner = mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isProfileOrDeviceOwner()
219 showToast(getString(R.string.not_device_owner, adminPackage)); in isProfileOrDeviceOwner()
225 showToast(getString(R.string.not_profile_owner, adminPackage)); in isProfileOrDeviceOwner()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileCalendarTest.java73 String adminPackage = ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local
74 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()
DTestCrossProfileViewEventActivity.java67 String adminPackage = ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local
68 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()
DContactsTest.java1150 String adminPackage = BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local
1151 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()