Home
last modified time | relevance | path

Searched refs:isManagedProfile (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java164 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 …]
DBaseManagedProfileTest.java56 assertTrue(mDevicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in setUp()
DProfileTimeoutTestHelper.java64 assertTrue(mDpm.isManagedProfile(ADMIN_COMPONENT)); in assertProfileOwner()
DProvisioningTest.java90 assertTrue(mDpm.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in testIsManagedProfile()
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DDirectoryProvider.java170 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
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/
DManagementTest.java43 assertTrue(mDevicePolicyManager.isManagedProfile( in testIsManagedProfile()
52 assertFalse(mDevicePolicyManager.isManagedProfile( in testIsDeviceOwner()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseDeviceOwnerTest.java52 assertFalse(mDevicePolicyManager.isManagedProfile(getWho())); in assertDeviceOwner()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java596 boolean isManagedProfile = (mPrimaryUserId != mUserId); in testDelegatedCertInstaller()
605 if (!isManagedProfile) { in testDelegatedCertInstaller()