Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/devicepolicy/
DScreenCaptureDevicePolicyResolver.kt34 @WorkProfile private val workProfileUserHandle: UserHandle? constant in com.android.systemui.mediaprojection.devicepolicy.ScreenCaptureDevicePolicyResolver
84 if (workProfileUserHandle != null) { in isScreenCaptureCompletelyDisabled()
86 targetAppUserHandle = workProfileUserHandle, in isScreenCaptureCompletelyDisabled()
108 workProfileUserHandle?.let { in <lambda>()
115 workProfileUserHandle?.let { in <lambda>()
124 private fun UserHandle?.isWorkProfile(): Boolean = this == workProfileUserHandle
DMediaProjectionDevicePolicyModule.kt41 fun workProfileUserHandle(userTracker: UserTracker): UserHandle? = in workProfileUserHandle() method in com.android.systemui.mediaprojection.devicepolicy.MediaProjectionDevicePolicyModule
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityOverrideData.java72 public UserHandle workProfileUserHandle; field in ChooserActivityOverrideData
100 workProfileUserHandle = null; in reset()
111 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in reset()
117 UserHandle workProfileUserHandle) { in reset()
DResolverWrapperActivity.java146 return sOverrides.workProfileUserHandle; in getWorkProfileUserHandle()
190 public UserHandle workProfileUserHandle; field in ResolverWrapperActivity.OverrideData
206 workProfileUserHandle = null; in reset()
216 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in reset()
222 UserHandle workProfileUserHandle) { in reset()
DResolverActivityTest.java254 sOverrides.workProfileUserHandle); in hasOtherProfileOneOption()
451 sOverrides.workProfileUserHandle); in testWorkTab_workTabListPopulatedBeforeGoingToTab()
473 sOverrides.workProfileUserHandle); in testWorkTab_workTabUsesExpectedAdapter()
493 sOverrides.workProfileUserHandle); in testWorkTab_personalTabUsesExpectedAdapter()
514 sOverrides.workProfileUserHandle); in testWorkTab_workProfileHasExpectedNumberOfTargets()
536 sOverrides.workProfileUserHandle); in testWorkTab_selectingWorkTabAppOpensAppInWorkProfile()
569 sOverrides.workProfileUserHandle); in testWorkTab_noPersonalApps_workTabHasExpectedNumberOfTargets()
590 sOverrides.workProfileUserHandle); in testWorkTab_headerIsVisibleInPersonalTab()
610 sOverrides.workProfileUserHandle); in testWorkTab_switchTabs_headerStaysSame()
639 sOverrides.workProfileUserHandle); in testWorkTab_noPersonalApps_canStartWorkApps()
[all …]
DChooserWrapperActivity.java236 return sOverrides.workProfileUserHandle; in getWorkProfileUserHandle()
DChooserActivityWorkProfileTest.java298 ChooserWrapperActivity.sOverrides.workProfileUserHandle = WORK_USER_HANDLE; in markWorkProfileUserAvailable()
DResolverActivityWorkProfileTest.java290 ResolverWrapperActivity.sOverrides.workProfileUserHandle = WORK_USER_HANDLE; in markWorkProfileUserAvailable()
DChooserActivityTest.java3181 ChooserActivityOverrideData.getInstance().workProfileUserHandle = UserHandle.of(10);
/frameworks/base/core/java/com/android/internal/app/
DResolverMultiProfilePagerAdapter.java44 UserHandle workProfileUserHandle, in ResolverMultiProfilePagerAdapter() argument
47 workProfileUserHandle, cloneUserHandle); in ResolverMultiProfilePagerAdapter()
59 UserHandle workProfileUserHandle, in ResolverMultiProfilePagerAdapter() argument
62 workProfileUserHandle, cloneUserHandle); in ResolverMultiProfilePagerAdapter()
DChooserMultiProfilePagerAdapter.java47 UserHandle workProfileUserHandle, in ChooserMultiProfilePagerAdapter() argument
51 workProfileUserHandle, cloneUserHandle); in ChooserMultiProfilePagerAdapter()
64 UserHandle workProfileUserHandle, in ChooserMultiProfilePagerAdapter() argument
68 quietModeManager, workProfileUserHandle, cloneUserHandle); in ChooserMultiProfilePagerAdapter()
DAbstractMultiProfilePagerAdapter.java69 UserHandle workProfileUserHandle, in AbstractMultiProfilePagerAdapter() argument
74 mWorkProfileUserHandle = workProfileUserHandle; in AbstractMultiProfilePagerAdapter()
80 private boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in isQuietModeEnabled() argument
81 return mQuietModeManager.isQuietModeEnabled(workProfileUserHandle); in isQuietModeEnabled()
585 boolean isQuietModeEnabled(UserHandle workProfileUserHandle); in isQuietModeEnabled() argument
590 void requestQuietModeEnabled(boolean enabled, UserHandle workProfileUserHandle); in requestQuietModeEnabled() argument
DWorkProfilePausedEmptyStateProvider.java48 @Nullable UserHandle workProfileUserHandle, in WorkProfilePausedEmptyStateProvider() argument
53 mWorkProfileUserHandle = workProfileUserHandle; in WorkProfilePausedEmptyStateProvider()
DNoAppsAvailableEmptyStateProvider.java54 public NoAppsAvailableEmptyStateProvider(Context context, UserHandle workProfileUserHandle, in NoAppsAvailableEmptyStateProvider() argument
58 mWorkProfileUserHandle = workProfileUserHandle; in NoAppsAvailableEmptyStateProvider()
DResolverActivity.java566 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) {
567 return userManager.isQuietModeEnabled(workProfileUserHandle);
571 public void requestQuietModeEnabled(boolean enabled, UserHandle workProfileUserHandle) {
573 userManager.requestQuietModeEnabled(enabled, workProfileUserHandle);
628 @Nullable UserHandle workProfileUserHandle) {
632 new WorkProfilePausedEmptyStateProvider(this, workProfileUserHandle,
642 workProfileUserHandle,
715 UserHandle workProfileUserHandle = getWorkProfileUserHandle();
722 == workProfileUserHandle.getIdentifier()),
723 /* userHandle */ workProfileUserHandle);