/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityOverrideData.java | 76 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()
|
D | ResolverWrapperActivity.java | 196 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()
|
D | ChooserWrapperActivity.java | 274 protected boolean isQuietModeEnabled(UserHandle userHandle) { in isQuietModeEnabled() method in ChooserWrapperActivity 275 return sOverrides.isQuietModeEnabled; in isQuietModeEnabled()
|
D | ResolverActivityTest.java | 705 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()
|
D | ChooserActivityTest.java | 2009 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/ |
D | AbstractMultiProfilePagerAdapter.java | 80 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
|
D | WorkProfilePausedEmptyStateProvider.java | 63 || !mQuietModeManager.isQuietModeEnabled(mWorkProfileUserHandle) in getEmptyState()
|
D | ResolverActivity.java | 566 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/ |
D | RecentAppOpsAccessesTest.java | 146 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/ |
D | UserProfilePager.kt | 75 return if (userInfo.isQuietModeEnabled && userProperties.showInQuietMode in UserManager()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | UserInfoTest.java | 53 assertThat(ui.isQuietModeEnabled()).isEqualTo(false); in testSimple()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractor.kt | 363 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/ |
D | ManagedProfileControllerImpl.java | 126 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 | 295 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/ |
D | ProfileSelectFragment.java | 221 return !userManager.isQuietModeEnabled(userHandle) in shouldShowUserInQuietMode()
|
/frameworks/base/core/java/android/os/ |
D | IUserManager.aidl | 108 boolean isQuietModeEnabled(int userId); in isQuietModeEnabled() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | LaunchConversationActivity.java | 124 if (mUserManager.isQuietModeEnabled(userHandle)) { in onCreate()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 254 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/ |
D | RecentAppOpsAccess.java | 212 return userManager.isQuietModeEnabled(userHandle) in shouldHideUser()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 413 public boolean isQuietModeEnabled() { in isQuietModeEnabled() method in UserInfo
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartInterceptor.java | 286 if (!mUserManager.isQuietModeEnabled(UserHandle.of(mUserId))) { in interceptQuietProfileIfNeeded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 257 return userHandle != null && !mUserManager.isQuietModeEnabled(userHandle); in isWorkProfileOn()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractorTest.kt | 153 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/ |
D | PeopleSpaceUtils.java | 302 .filter(c -> !userManager.isQuietModeEnabled(c.getUserHandle())) in getSortedTiles()
|