/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 163 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 …]
|
D | CrossProfileCalendarTest.java | 69 assertThat(isManagedProfile()).isTrue(); in requireRunningOnManagedProfile() 72 private boolean isManagedProfile() { in isManagedProfile() method in CrossProfileCalendarTest
|
D | UserManagerTest.java | 51 assertTrue(mUserManager.isManagedProfile()); in testIsManagedProfileReturnsTrue() 55 assertFalse(mUserManager.isManagedProfile()); in testIsManagedProfileReturnsFalse()
|
D | TestCrossProfileViewEventActivity.java | 46 && isManagedProfile()) { in onStart() 66 private boolean isManagedProfile() { in isManagedProfile() method in TestCrossProfileViewEventActivity
|
D | ProfileTimeoutTestHelper.java | 65 assertTrue(mDpm.isManagedProfile(ADMIN_COMPONENT)); in assertProfileOwner()
|
D | BaseManagedProfileTest.java | 58 assertTrue(mDevicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in setUp()
|
/cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/ |
D | DirectoryProvider.java | 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
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
D | ManagementTest.java | 43 assertTrue(mDevicePolicyManager.isManagedProfile( in testIsManagedProfile() 52 assertFalse(mDevicePolicyManager.isManagedProfile( in testIsDeviceOwner()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 112 .that(mDevicePolicyManager.isManagedProfile(admin)).isFalse(); in assertDeviceOwner()
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
D | ShortcutManagerDeviceTestBase.java | 66 mUserManager, UserManager::isManagedProfile); in setUp()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | OrgOwnedProfileOwnerParentTest.java | 64 assertTrue(devicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in setUp()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DevicePolicyManagerWrapper.java | 66 doAnswer(answer).when(spy).isManagedProfile(any()); in getWrapper()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | DevicePolicyManagerTest.java | 147 assertThat(sUserManager.isManagedProfile(profile.getIdentifier())).isTrue(); in newlyProvisionedManagedProfile_createsManagedProfile()
|
D | ResetPasswordWithTokenTest.java | 1123 return !sDeviceState.dpc().devicePolicyManager().isManagedProfile(DPC_COMPONENT_NAME) in allowFailure()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/res/apis/ |
D | test-current.txt | 872 method public boolean isManagedProfile();
|