Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityOverrideData.java75 public boolean isQuietModeEnabled; field in ChooserActivityOverrideData
102 isQuietModeEnabled = false; in reset()
109 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in reset()
110 return isQuietModeEnabled; in reset()
116 isQuietModeEnabled = enabled; in reset()
DResolverWrapperActivity.java162 public boolean isQuietModeEnabled; field in ResolverWrapperActivity.OverrideData
176 isQuietModeEnabled = false; in reset()
180 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in reset()
181 return isQuietModeEnabled; in reset()
187 isQuietModeEnabled = enabled; in reset()
DChooserWrapperActivity.java277 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in ChooserWrapperActivity
278 return sOverrides.isQuietModeEnabled; in isQuietModeEnabled()
DResolverActivityTest.java671 sOverrides.isQuietModeEnabled = true; in testWorkTab_workProfileDisabled_emptyStateShown()
723 sOverrides.isQuietModeEnabled = true; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
796 sOverrides.isQuietModeEnabled = true; in testWorkTab_noAppsAvailable_workOff_noAppsAvailableEmptyStateShown()
DChooserActivityTest.java1995 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_workProfileDisabled_emptyStateShown()
2047 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
2073 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_noAppsAvailable_workOff_noAppsAvailableEmptyStateShown()
2752 ChooserActivityOverrideData.getInstance().isQuietModeEnabled = true; in testWorkTab_selectingWorkTabWithPausedWorkProfile_directShareTargetsNotQueried()
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java77 private boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { in isQuietModeEnabled() method in AbstractMultiProfilePagerAdapter
78 return mQuietModeManager.isQuietModeEnabled(workProfileUserHandle); in isQuietModeEnabled()
431 && isQuietModeEnabled(mWorkProfileUserHandle)); in shouldShowEmptyStateScreen()
578 boolean isQuietModeEnabled(UserHandle workProfileUserHandle); in isQuietModeEnabled() method
DWorkProfilePausedEmptyStateProvider.java63 || !mQuietModeManager.isQuietModeEnabled(mWorkProfileUserHandle) in getEmptyState()
DResolverActivity.java516 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) {
517 return userManager.isQuietModeEnabled(workProfileUserHandle);
985 if (mQuietModeManager.isQuietModeEnabled(getWorkProfileUserHandle())) {
1010 return !userManager.isQuietModeEnabled(workUserHandle)
DChooserActivity.java2113 if (isQuietModeEnabled(userHandle)) {
2891 protected boolean isQuietModeEnabled(UserHandle userHandle) {
2893 return userManager.isQuietModeEnabled(userHandle);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DManagedProfileControllerImpl.java125 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.java288 when(mUserManager.isQuietModeEnabled(any())).thenReturn(false); in setUp()
398 when(mUserManager.isQuietModeEnabled(any())).thenReturn(true); in testGetTilesReturnsNothingInQuietMode()
1293 when(mUserManager.isQuietModeEnabled(any())).thenReturn(true); in testUpdateWidgetsFromBroadcastInBackgroundWithUserQuieted()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java246 when(mUserManager.isQuietModeEnabled(eq(UserHandle.of(TEST_USER_ID)))).thenReturn(true); in testInterceptQuietProfile()
260 when(mUserManager.isQuietModeEnabled(eq(UserHandle.of(TEST_USER_ID)))).thenReturn(true); in testInterceptQuietProfileWhenPackageSuspended()
/frameworks/base/core/java/android/os/
DIUserManager.aidl100 boolean isQuietModeEnabled(int userId); in isQuietModeEnabled() method
DUserManager.java4561 public boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in UserManager
4563 return mService.isQuietModeEnabled(userHandle.getIdentifier()); in isQuietModeEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DLaunchConversationActivity.java124 if (mUserManager.isQuietModeEnabled(userHandle)) { in onCreate()
DPeopleSpaceWidgetManager.java1156 tile.getUserHandle() != null && mUserManager.isQuietModeEnabled( in getUserQuieted()
/frameworks/base/core/java/android/content/pm/
DUserInfo.java351 public boolean isQuietModeEnabled() { in isQuietModeEnabled() method in UserInfo
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartInterceptor.java267 if (!mUserManager.isQuietModeEnabled(UserHandle.of(mUserId))) { in interceptQuietProfileIfNeeded()
DRecentTasks.java1260 if (userInfo != null && userInfo.isManagedProfile() && userInfo.isQuietModeEnabled()) { in trimInactiveRecentTasks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSecurityControllerImpl.java232 return userHandle != null && !mUserManager.isQuietModeEnabled(userHandle); in isWorkProfileOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceUtils.java302 .filter(c -> !userManager.isQuietModeEnabled(c.getUserHandle())) in getSortedTiles()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1227 if (profile.isQuietModeEnabled() == enableQuietMode) { in setQuietModeEnabled()
1285 public boolean isQuietModeEnabled(@UserIdInt int userId) { in isQuietModeEnabled() method in UserManagerService
1294 return info.isQuietModeEnabled(); in isQuietModeEnabled()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java1368 && user.id != currentUserId && !user.isQuietModeEnabled()) {
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java661 !mUserManager.isQuietModeEnabled(userHandle)) { in maybeShowEncryptionNotificationForUser()

12