Home
last modified time | relevance | path

Searched refs:isProfile (Results 1 – 15 of 15) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DUserHelper.java94 boolean isProfile = userManager.isProfile(); in UserHelper()
108 + ", isForeground=" + isForeground + ", isProfile=" + isProfile in UserHelper()
113 if (isVisible && !isForeground && !isProfile) { in UserHelper()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUserManagerTest.java72 assertThat(mUserManager.isProfile()).isTrue(); in testIsProfileReturnsTrue_runAsProfile()
80 assertThat(mUserManager.isProfile()).isFalse(); in testIsProfileReturnsFalse_runAsPrimary()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserInfo.kt81 fun isProfile(): Boolean = proxy.isProfile() method
DUserReference.java495 || (isProfile() && currentUser.equals(parent())); in isVisible()
526 return isVisible() && !isForeground() && !isProfile(); in isVisibleBagroundNonProfileUser()
588 public boolean isProfile() { in isProfile() method in UserReference
1011 if (!isForeground() && (!isProfile() || !parent().isForeground())) { in canShowActivities()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DCujTestBase.java132 return um.isUserVisible() && !um.isUserForeground() && !um.isProfile(); in isVisibleBackgroundNonProfileUser()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DLockTest.java101 sDeviceState.dpc().user().isProfile()); in lockNow_noPasswordSet_turnsScreenOff()
DCrossProfileAppsTest.java215 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()
DPasswordComplexityTest.java353 TestApis.users().instrumented().isProfile()); in setRequiredPasswordComplexity_none_canSetNone()
DSecurityLoggingTest.kt802 !u.isProfile) in <lambda>()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserManagerTest.java409 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()
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/
DActivityContext.java245 (TestApis.users().instrumented().isProfile() in getWithContextInternal()
/cts/common/device-side/bedstead/testapisreflection/java/apis/
Dallowlisted-test-methods.txt47 android.content.pm.UserInfo,public boolean isProfile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DManifestTestListAdapter.java638 return userMgr.isUserVisible() && !userMgr.isUserForeground() && !userMgr.isProfile(); in isVisibleBackgroundNonProfileUser()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dtest-current.txt1181 method public boolean isProfile();
Dcurrent.txt12398 …i("android.app.admin.flags.allow_querying_profile_type") public boolean isProfile(@NonNull android…
34021 method public boolean isProfile();