Searched refs:adminPackage (Results 1 – 4 of 4) sorted by relevance
181 String adminPackage = mAdmin.getPackageName(); in isProfileOrDeviceOwner() local182 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()
67 String adminPackage = ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local68 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()
522 String adminPackage = ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local523 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()
1033 String adminPackage = BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local1034 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()