Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DContactsTest.java163 assertFalse(isManagedProfile()); in testPrimaryProfilePhoneAndEmailLookup_insertedAndfound()
188 assertTrue(isManagedProfile()); in testManagedProfilePhoneAndEmailLookup_insertedAndfound()
215 assertFalse(isManagedProfile()); in testPrimaryProfileDuplicatedPhoneEmailContact_insertedAndfound()
240 assertTrue(isManagedProfile()); in testManagedProfileDuplicatedPhoneEmailContact_insertedAndfound()
262 assertFalse(isManagedProfile()); in testPrimaryProfileEnterprisePhoneLookup_canAccessEnterpriseContact()
274 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseSipLookup_canAccessEnterpriseContact()
285 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseEmailLookup_canAccessEnterpriseContact()
297 assertFalse(isManagedProfile()); in testPrimaryProfileEnterprisePhoneLookupDuplicated_canAccessPrimaryContact()
308 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseEmailLookupDuplicated_canAccessPrimaryContact()
318 assertTrue(isManagedProfile()); in testManagedProfileEnterprisePhoneLookupDuplicated_canAccessEnterpriseContact()
[all …]
DDummyCrossProfileViewEventActivity.java46 && isManagedProfile()) { in onStart()
66 private boolean isManagedProfile() { in isManagedProfile() method in DummyCrossProfileViewEventActivity
DBaseManagedProfileTest.java58 assertTrue(mDevicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in setUp()
DProfileTimeoutTestHelper.java65 assertTrue(mDpm.isManagedProfile(ADMIN_COMPONENT)); in assertProfileOwner()
DCrossProfileCalendarTest.java465 assertThat(isManagedProfile()).isTrue(); in requireRunningOnManagedProfile()
470 assertThat(isManagedProfile()).isFalse(); in requireRunningOnPrimaryProfile()
521 private boolean isManagedProfile() { in isManagedProfile() method in CrossProfileCalendarTest
DProvisioningTest.java93 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.java58 assertFalse(mDevicePolicyManager.isManagedProfile(getWho())); in assertDeviceOwner()
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/
DShortcutManagerDeviceTestBase.java66 mUserManager, UserManager::isManagedProfile); in setUp()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAndProfileOwnerTest.java809 boolean isManagedProfile = (mPrimaryUserId != mUserId); in testDelegatedCertInstaller()