Searched refs:isProfile (Results 1 – 15 of 15) sorted by relevance
94 boolean isProfile = userManager.isProfile(); in UserHelper()108 + ", isForeground=" + isForeground + ", isProfile=" + isProfile in UserHelper()113 if (isVisible && !isForeground && !isProfile) { in UserHelper()
72 assertThat(mUserManager.isProfile()).isTrue(); in testIsProfileReturnsTrue_runAsProfile()80 assertThat(mUserManager.isProfile()).isFalse(); in testIsProfileReturnsFalse_runAsPrimary()
81 fun isProfile(): Boolean = proxy.isProfile() method
495 || (isProfile() && currentUser.equals(parent())); in isVisible()526 return isVisible() && !isForeground() && !isProfile(); in isVisibleBagroundNonProfileUser()588 public boolean isProfile() { in isProfile() method in UserReference1011 if (!isForeground() && (!isProfile() || !parent().isForeground())) { in canShowActivities()
132 return um.isUserVisible() && !um.isUserForeground() && !um.isProfile(); in isVisibleBackgroundNonProfileUser()
101 sDeviceState.dpc().user().isProfile()); in lockNow_noPasswordSet_turnsScreenOff()
215 sCrossProfileApps.isProfile(sDeviceState.otherUser().userHandle()); in isProfile_targetIsInvalid_throwsSecurityException()232 assertThat(sCrossProfileApps.isProfile(sDeviceState.otherUser().userHandle())).isTrue(); in isProfile_profile_returnsTrue()246 assertThat(sCrossProfileApps.isProfile(sDeviceState.otherUser().userHandle())).isFalse(); in isProfile_notProfile_returnsFalse()
353 TestApis.users().instrumented().isProfile()); in setRequiredPasswordComplexity_none_canSetNone()
802 !u.isProfile) in <lambda>()
409 assertThat(cloneUserManager.isProfile()).isTrue(); in testCloneProfile()440 assertThat(umOfCommunal.isProfile()).isTrue(); in testCommunalProfile()585 assertThat(umOfProfile.isProfile()).isTrue(); in testManagedProfile()624 assertThat(umOfProfile.isProfile()).isTrue(); in testPrivateProfile()723 assertThat(umOfSys.isProfile()).isFalse(); in testSystemUser()
245 (TestApis.users().instrumented().isProfile() in getWithContextInternal()
47 android.content.pm.UserInfo,public boolean isProfile()
638 return userMgr.isUserVisible() && !userMgr.isUserForeground() && !userMgr.isProfile(); in isVisibleBackgroundNonProfileUser()
1181 method public boolean isProfile();
12398 …i("android.app.admin.flags.allow_querying_profile_type") public boolean isProfile(@NonNull android…34021 method public boolean isProfile();