Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DPermissionLockdownTestActivity.java181 String adminPackage = mAdmin.getPackageName(); in isProfileOrDeviceOwner() local
182 if (mDeviceOwnerTest && !mDevicePolicyManager.isDeviceOwnerApp(adminPackage)) { in isProfileOrDeviceOwner()
183 showToast(getString(R.string.not_device_owner, adminPackage)); in isProfileOrDeviceOwner()
185 } else if (!mDeviceOwnerTest && !mDevicePolicyManager.isProfileOwnerApp(adminPackage)) { in isProfileOrDeviceOwner()
186 showToast(getString(R.string.not_profile_owner, adminPackage)); in isProfileOrDeviceOwner()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java1022 String adminPackage = BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local
1023 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()