Searched refs:getDeviceOwner (Results 1 – 3 of 3) sorted by relevance
258 protected String getDeviceOwner() { in getDeviceOwner() method in ShadowDevicePolicyManager265 return getDeviceOwner() != null; in isDeviceManaged()
1805 && devicePolicyManager.getDeviceOwner() != null); in hasProfileOwnerOrDeviceOwnerOnCurrentUser()1825 return packageName.equals(devicePolicyManager.getDeviceOwner()); in isPackageDeviceAdmin()
112 assertThat(devicePolicyManager.getDeviceOwner()).isEqualTo(testPackage); in getDeviceOwnerShouldReturnDeviceOwnerPackageName()120 assertThat(devicePolicyManager.getDeviceOwner()).isNull(); in getDeviceOwnerShouldReturnNullWhenThereIsNoDeviceOwner()