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