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