Home
last modified time | relevance | path

Searched refs:isQuietModeEnabled (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityOverrideData.java76 public boolean isQuietModeEnabled; field in ChooserActivityOverrideData
104 isQuietModeEnabled = false; in reset()
111 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in reset()
112 return isQuietModeEnabled; in reset()
118 isQuietModeEnabled = enabled; in reset()
DResolverWrapperActivity.java196 public boolean isQuietModeEnabled; field in ResolverWrapperActivity.OverrideData
212 isQuietModeEnabled = false; in reset()
216 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in reset()
217 return isQuietModeEnabled; in reset()
223 isQuietModeEnabled = enabled; in reset()
DChooserWrapperActivity.java274 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in ChooserWrapperActivity
275 return sOverrides.isQuietModeEnabled; in isQuietModeEnabled()
DResolverActivityTest.java705 sOverrides.isQuietModeEnabled = true; in testWorkTab_workProfileDisabled_emptyStateShown()
757 sOverrides.isQuietModeEnabled = true; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
830 sOverrides.isQuietModeEnabled = true; in testWorkTab_noAppsAvailable_workOff_noAppsAvailableEmptyStateShown()
DChooserActivityTest.java2009 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_workProfileDisabled_emptyStateShown()
2061 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
2087 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_noAppsAvailable_workOff_noAppsAvailableEmptyStateShown()
2767 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_selectingWorkTabWithPausedWorkProfile_directShareTargetsNotQueried()
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java80 private boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in isQuietModeEnabled() method in AbstractMultiProfilePagerAdapter
81 return mQuietModeManager.isQuietModeEnabled(workProfileUserHandle); in isQuietModeEnabled()
438 && isQuietModeEnabled(mWorkProfileUserHandle)); in shouldShowEmptyStateScreen()
585 boolean isQuietModeEnabled(UserHandle workProfileUserHandle); in isQuietModeEnabled() method
DWorkProfilePausedEmptyStateProvider.java63 || !mQuietModeManager.isQuietModeEnabled(mWorkProfileUserHandle) in getEmptyState()
DResolverActivity.java566 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) {
567 return userManager.isQuietModeEnabled(workProfileUserHandle);
1133 if (mQuietModeManager.isQuietModeEnabled(getWorkProfileUserHandle())) {
1158 return !userManager.isQuietModeEnabled(workUserHandle)
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DRecentAppOpsAccessesTest.java146 when(mUserManager.isQuietModeEnabled(any())).thenReturn(false); in testGetAppList_quietModeDisabled_shouldFilterRecentAccesses()
163 when(mUserManager.isQuietModeEnabled(any())).thenReturn(true); in testGetAppList_quietModeEnabledShowInQuietDefault_shouldFilterRecentAccesses()
183 when(mUserManager.isQuietModeEnabled(any())).thenReturn(true); in testGetAppList_quietModeEnabledShowInQuietHidden_shouldNotFilterRecentAccesses()
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/template/common/
DUserProfilePager.kt75 return if (userInfo.isQuietModeEnabled && userProperties.showInQuietMode in UserManager()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DUserInfoTest.java53 assertThat(ui.isQuietModeEnabled()).isEqualTo(false); in testSimple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt363 private fun isQuietModeEnabled(userHandle: UserHandle): Boolean = in <lambda>() method
365 userManager.isQuietModeEnabled(userHandle) in <lambda>()
408 inQuietMode = isQuietModeEnabled(widget.providerInfo.profile) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java126 if (ui.isQuietModeEnabled()) { in isWorkModeEnabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
DLaunchConversationActivityTest.java153 when(mUserManager.isQuietModeEnabled(any(UserHandle.class))).thenReturn(false); in setUp()
239 when(mUserManager.isQuietModeEnabled(eq(USER_HANDLE))).thenReturn(true); in testQuietModeOpensQuietModeDialog()
DPeopleSpaceWidgetManagerTest.java295 when(mUserManager.isQuietModeEnabled(any())).thenReturn(false); in setUp()
411 when(mUserManager.isQuietModeEnabled(any())).thenReturn(true); in testGetTilesReturnsNothingInQuietMode()
1325 when(mUserManager.isQuietModeEnabled(any())).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundWithUserQuieted()
/frameworks/base/packages/SettingsLib/ProfileSelector/src/com/android/settingslib/widget/
DProfileSelectFragment.java221 return !userManager.isQuietModeEnabled(userHandle) in shouldShowUserInQuietMode()
/frameworks/base/core/java/android/os/
DIUserManager.aidl108 boolean isQuietModeEnabled(int userId); in isQuietModeEnabled() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java124 if (mUserManager.isQuietModeEnabled(userHandle)) { in onCreate()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java254 when(mUserManager.isQuietModeEnabled(eq(UserHandle.of(TEST_USER_ID)))).thenReturn(true); in testInterceptQuietProfile()
268 when(mUserManager.isQuietModeEnabled(eq(UserHandle.of(TEST_USER_ID)))).thenReturn(true); in testInterceptQuietProfileWhenPackageSuspended()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java212 return userManager.isQuietModeEnabled(userHandle) in shouldHideUser()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java413 public boolean isQuietModeEnabled() { in isQuietModeEnabled() method in UserInfo
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java286 if (!mUserManager.isQuietModeEnabled(UserHandle.of(mUserId))) { in interceptQuietProfileIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java257 return userHandle != null && !mUserManager.isQuietModeEnabled(userHandle); in isWorkProfileOn()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt153 whenever(userManager.isQuietModeEnabled(any<UserHandle>())).thenReturn(false) in <lambda>()
919 whenever(userManager.isQuietModeEnabled(eq(UserHandle.of(USER_INFO_WORK.id)))) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java302 .filter(c -> !userManager.isQuietModeEnabled(c.getUserHandle())) in getSortedTiles()

12