Home
last modified time | relevance | path

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

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDevicePolicyManagerTest.java76 assertThat(devicePolicyManager.isDeviceOwnerApp(testPackage)).isFalse(); in isDeviceOwnerAppShouldReturnFalseForNonDeviceOwnerApp()
88 assertThat(devicePolicyManager.isDeviceOwnerApp(testPackage)).isFalse(); in isDeviceOwnerShouldReturnFalseForProfileOwner()
100 assertThat(devicePolicyManager.isDeviceOwnerApp(testPackage)).isTrue(); in isDeviceOwnerShouldReturnTrueForDeviceOwner()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDevicePolicyManager.java157 protected boolean isDeviceOwnerApp(String packageName) { in isDeviceOwnerApp() method in ShadowDevicePolicyManager