/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | ContactsTest.java | 182 assertFalse(isManagedProfile()); in testPrimaryProfilePhoneAndEmailLookup_insertedAndfound() 207 assertTrue(isManagedProfile()); in testManagedProfilePhoneAndEmailLookup_insertedAndfound() 234 assertFalse(isManagedProfile()); in testPrimaryProfileDuplicatedPhoneEmailContact_insertedAndfound() 259 assertTrue(isManagedProfile()); in testManagedProfileDuplicatedPhoneEmailContact_insertedAndfound() 280 assertFalse(isManagedProfile()); in testPrimaryProfileContactList_canListOnlyPrimaryContacts() 289 assertFalse(isManagedProfile()); in testPrimaryProfilePhoneList_canListOnlyPrimaryContacts() 298 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseContactList_canListAllContacts() 309 assertFalse(isManagedProfile()); in testPrimaryProfileEnterprisePhoneList_canListAllContacts() 320 assertFalse(isManagedProfile()); in testPrimaryProfileEnterpriseContactList_canListOnlyPrimaryContacts() 329 assertFalse(isManagedProfile()); in testPrimaryProfileEnterprisePhoneList_canListOnlyPrimaryContacts() [all …]
|
D | CrossProfileCalendarTest.java | 69 assertThat(isManagedProfile()).isTrue(); in requireRunningOnManagedProfile() 72 private boolean isManagedProfile() { in isManagedProfile() method in CrossProfileCalendarTest
|
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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserInfo.kt | 84 fun isManagedProfile(): Boolean = proxy.isManagedProfile() method in com.android.bedstead.nene.users.UserInfo
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | ManagedProfileTest.java | 103 assertThat(sDeviceState.dpc().userManager().isManagedProfile()).isTrue(); in isManagedProfile_runOnWorkProfile_returnsTrue() 110 assertThat(sUserManager.isManagedProfile(TestApis.users().instrumented().id())) in isManagedProfile_runOnUser_returnsFalse()
|
D | CrossProfileAppsTest.java | 264 sCrossProfileApps.isManagedProfile(sDeviceState.otherUser().userHandle()); in isManagedProfile_targetIsInvalid_throwsSecurityException() 279 assertThat(sCrossProfileApps.isManagedProfile(sDeviceState.otherUser().userHandle())) in isManagedProfile_managedProfile_returnsTrue() 296 assertThat(sCrossProfileApps.isManagedProfile(sDeviceState.otherUser().userHandle())) in isManagedProfile_notManagedProfile_returnsFalse()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningContactsSharingApps/ManagedProfileOwnerApp/src/com/android/cts/managedprofile/owner/app/ |
D | ManagedProfileOwnerAppTest.java | 58 assertThat(mDevicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)).isTrue(); in setUp()
|
/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/DeviceOwner/src/com/android/cts/deviceowner/ |
D | BaseDeviceOwnerTest.java | 114 .that(mDevicePolicyManager.isManagedProfile(admin)).isFalse(); in assertDeviceOwner()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | OrgOwnedProfileOwnerParentTest.java | 64 assertTrue(devicePolicyManager.isManagedProfile(ADMIN_RECEIVER_COMPONENT)); in setUp()
|
/cts/hostsidetests/appsearch/src/android/appsearch/cts/ |
D | EnterpriseContactsMultiUserTest.java | 107 if (userInfo.isManagedProfile()) { in setUpEnterpriseProfile()
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | UserManagerTest.java | 583 assertThat(umOfProfile.isManagedProfile()).isTrue(); in testManagedProfile() 584 assertThat(umOfProfile.isManagedProfile(userHandle.getIdentifier())).isTrue(); in testManagedProfile() 724 assertThat(umOfSys.isManagedProfile()).isFalse(); in testSystemUser() 725 assertThat(umOfSys.isManagedProfile(UserHandle.USER_SYSTEM)).isFalse(); in testSystemUser()
|
/cts/common/device-side/bedstead/testapisreflection/java/apis/ |
D | allowlisted-test-methods.txt | 48 android.content.pm.UserInfo,public boolean isManagedProfile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodHelperActivity.java | 254 && mDevicePolicyManager.isManagedProfile(mAdminReceiverComponent)) { in onCreate()
|
/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/tests/telecom/src/android/telecom/cts/ |
D | PhoneAccountRegistrarTest.java | 949 if (userManager.isManagedProfile(userHandle.getIdentifier())) { in hasWorkProfile()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | test-current.txt | 1178 method public boolean isManagedProfile();
|
D | system-current.txt | 11267 …Manifest.permission.INTERACT_ACROSS_USERS}, conditional=true) public boolean isManagedProfile(int);
|
D | current.txt | 8120 method public boolean isManagedProfile(@NonNull android.content.ComponentName); 12397 …ndroid.app.admin.flags.allow_querying_profile_type") public boolean isManagedProfile(@NonNull andr… 34020 method public boolean isManagedProfile();
|