Searched refs:isProfileOwnerApp (Results 1 – 2 of 2) sorted by relevance
150 assertThat(devicePolicyManager.isProfileOwnerApp(testPackage)).isFalse(); in isProfileOwnerAppShouldReturnFalseForNonProfileOwnerApp()162 assertThat(devicePolicyManager.isProfileOwnerApp(testPackage)).isFalse(); in isProfileOwnerShouldReturnFalseForDeviceOwner()174 assertThat(devicePolicyManager.isProfileOwnerApp(testPackage)).isTrue(); in isProfileOwnerShouldReturnTrueForProfileOwner()
162 protected boolean isProfileOwnerApp(String packageName) { in isProfileOwnerApp() method in ShadowDevicePolicyManager