/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityOverrideData.java | 75 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()
|
D | ResolverWrapperActivity.java | 162 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()
|
D | ChooserWrapperActivity.java | 277 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in ChooserWrapperActivity 278 return sOverrides.isQuietModeEnabled; in isQuietModeEnabled()
|
D | ResolverActivityTest.java | 671 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()
|
D | ChooserActivityTest.java | 1995 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/ |
D | AbstractMultiProfilePagerAdapter.java | 77 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
|
D | WorkProfilePausedEmptyStateProvider.java | 63 || !mQuietModeManager.isQuietModeEnabled(mWorkProfileUserHandle) in getEmptyState()
|
D | ResolverActivity.java | 516 public boolean isQuietModeEnabled(UserHandle workProfileUserHandle) { 517 return userManager.isQuietModeEnabled(workProfileUserHandle); 985 if (mQuietModeManager.isQuietModeEnabled(getWorkProfileUserHandle())) { 1010 return !userManager.isQuietModeEnabled(workUserHandle)
|
D | ChooserActivity.java | 2113 if (isQuietModeEnabled(userHandle)) { 2891 protected boolean isQuietModeEnabled(UserHandle userHandle) { 2893 return userManager.isQuietModeEnabled(userHandle);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ManagedProfileControllerImpl.java | 125 if (ui.isQuietModeEnabled()) { in isWorkModeEnabled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivityTest.java | 153 when(mUserManager.isQuietModeEnabled(any(UserHandle.class))).thenReturn(false); in setUp() 239 when(mUserManager.isQuietModeEnabled(eq(USER_HANDLE))).thenReturn(true); in testQuietModeOpensQuietModeDialog()
|
D | PeopleSpaceWidgetManagerTest.java | 288 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/ |
D | ActivityStartInterceptorTest.java | 246 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/ |
D | IUserManager.aidl | 100 boolean isQuietModeEnabled(int userId); in isQuietModeEnabled() method
|
D | UserManager.java | 4561 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/ |
D | LaunchConversationActivity.java | 124 if (mUserManager.isQuietModeEnabled(userHandle)) { in onCreate()
|
D | PeopleSpaceWidgetManager.java | 1156 tile.getUserHandle() != null && mUserManager.isQuietModeEnabled( in getUserQuieted()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 351 public boolean isQuietModeEnabled() { in isQuietModeEnabled() method in UserInfo
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 267 if (!mUserManager.isQuietModeEnabled(UserHandle.of(mUserId))) { in interceptQuietProfileIfNeeded()
|
D | RecentTasks.java | 1260 if (userInfo != null && userInfo.isManagedProfile() && userInfo.isQuietModeEnabled()) { in trimInactiveRecentTasks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 232 return userHandle != null && !mUserManager.isQuietModeEnabled(userHandle); in isWorkProfileOn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceUtils.java | 302 .filter(c -> !userManager.isQuietModeEnabled(c.getUserHandle())) in getSortedTiles()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 1227 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/ |
D | UserController.java | 1368 && user.id != currentUserId && !user.isQuietModeEnabled()) {
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 661 !mUserManager.isQuietModeEnabled(userHandle)) { in maybeShowEncryptionNotificationForUser()
|