Searched refs:isManagedProfile (Results 1 – 8 of 8) sorted by relevance
164 assertFalse(isManagedProfile()); in testPrimaryProfilePhoneAndEmailLookup_insertedAndfound()189 assertTrue(isManagedProfile()); in testManagedProfilePhoneAndEmailLookup_insertedAndfound()216 assertFalse(isManagedProfile()); in testPrimaryProfileDuplicatedPhoneEmailContact_insertedAndfound()241 assertTrue(isManagedProfile()); in testManagedProfileDuplicatedPhoneEmailContact_insertedAndfound()263 assertFalse(isManagedProfile()); in testPrimaryProfileEnterprisePhoneLookup_canAccessEnterpriseContact()275 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseSipLookup_canAccessEnterpriseContact()286 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseEmailLookup_canAccessEnterpriseContact()298 assertFalse(isManagedProfile()); in testPrimaryProfileEnterprisePhoneLookupDuplicated_canAccessPrimaryContact()309 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseEmailLookupDuplicated_canAccessPrimaryContact()319 assertTrue(isManagedProfile()); in testManagedProfileEnterprisePhoneLookupDuplicated_canAccessEnterpriseContact()[all …]
56 assertTrue(mDevicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in setUp()
64 assertTrue(mDpm.isManagedProfile(ADMIN_COMPONENT)); in assertProfileOwner()
90 assertTrue(mDpm.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in testIsManagedProfile()
170 row[i] = isManagedProfile() ? MANAGED_THUMBNAIL_URI.toString() in query()173 row[i] = isManagedProfile() ? MANAGED_PHOTO_URI.toString() in query()232 resId = isManagedProfile() ? 0 : R.raw.primary_thumbnail; in openAssetFile()235 resId = isManagedProfile() ? 0 : R.raw.primary_photo; in openAssetFile()238 resId = isManagedProfile() ? R.raw.managed_thumbnail : 0; in openAssetFile()241 resId = isManagedProfile() ? R.raw.managed_photo : 0; in openAssetFile()255 private boolean isManagedProfile() { in isManagedProfile() method in DirectoryProvider
43 assertTrue(mDevicePolicyManager.isManagedProfile( in testIsManagedProfile()52 assertFalse(mDevicePolicyManager.isManagedProfile( in testIsDeviceOwner()
52 assertFalse(mDevicePolicyManager.isManagedProfile(getWho())); in assertDeviceOwner()
596 boolean isManagedProfile = (mPrimaryUserId != mUserId); in testDelegatedCertInstaller()605 if (!isManagedProfile) { in testDelegatedCertInstaller()