Searched refs:adminPackage (Results 1 – 4 of 4) sorted by relevance
204 String adminPackage = mAdmin.getPackageName(); in isProfileOrDeviceOwner() local209 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()
73 String adminPackage = ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local74 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()
67 String adminPackage = ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local68 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()
1150 String adminPackage = BaseManagedProfileTest.ADMIN_RECEIVER_COMPONENT.getPackageName(); in isManagedProfile() local1151 return mDevicePolicyManager.isProfileOwnerApp(adminPackage); in isManagedProfile()