Searched refs:privateProfileManager (Results 1 – 5 of 5) sorted by relevance
134 PrivateProfileManager privateProfileManager = spy(mPrivateProfileManager); in privateProfileDisabled_psHeaderContainsLockedView() local135 when(privateProfileManager.getCurrentState()).thenReturn(STATE_DISABLED); in privateProfileDisabled_psHeaderContainsLockedView()136 privateProfileManager.bindPrivateSpaceHeaderViewElements(mPsHeaderLayout); in privateProfileDisabled_psHeaderContainsLockedView()168 PrivateProfileManager privateProfileManager = spy(mPrivateProfileManager); in privateProfileEnabled_psHeaderContainsUnlockedView() local169 when(privateProfileManager.getCurrentState()).thenReturn(STATE_ENABLED); in privateProfileEnabled_psHeaderContainsUnlockedView()170 when(privateProfileManager.isPrivateSpaceSettingsAvailable()).thenReturn(true); in privateProfileEnabled_psHeaderContainsUnlockedView()171 privateProfileManager.bindPrivateSpaceHeaderViewElements(mPsHeaderLayout); in privateProfileEnabled_psHeaderContainsUnlockedView()210 PrivateProfileManager privateProfileManager = spy(mPrivateProfileManager); in privateProfileEnabledAndNoSettingsIntent_psHeaderContainsUnlockedView() local211 when(privateProfileManager.getCurrentState()).thenReturn(STATE_ENABLED); in privateProfileEnabledAndNoSettingsIntent_psHeaderContainsUnlockedView()212 when(privateProfileManager.isPrivateSpaceSettingsAvailable()).thenReturn(false); in privateProfileEnabledAndNoSettingsIntent_psHeaderContainsUnlockedView()[all …]
151 PrivateProfileManager privateProfileManager = spy(mPrivateProfileManager); in quietModeFlagPresent_privateSpaceIsResetToDisabled() local152 doNothing().when(privateProfileManager).addPrivateSpaceDecorator(anyInt()); in quietModeFlagPresent_privateSpaceIsResetToDisabled()153 doNothing().when(privateProfileManager).executeLock(); in quietModeFlagPresent_privateSpaceIsResetToDisabled()154 doReturn(mAllAppsRecyclerView).when(privateProfileManager).getMainRecyclerView(); in quietModeFlagPresent_privateSpaceIsResetToDisabled()159 privateProfileManager.reset(); in quietModeFlagPresent_privateSpaceIsResetToDisabled()161 privateProfileManager.getCurrentState()); in quietModeFlagPresent_privateSpaceIsResetToDisabled()164 privateProfileManager.reset(); in quietModeFlagPresent_privateSpaceIsResetToDisabled()166 privateProfileManager.getCurrentState()); in quietModeFlagPresent_privateSpaceIsResetToDisabled()171 PrivateProfileManager privateProfileManager = spy(mPrivateProfileManager); in transitioningToUnlocked_resetCallsPostUnlock() local172 doNothing().when(privateProfileManager).addPrivateSpaceDecorator(anyInt()); in transitioningToUnlocked_resetCallsPostUnlock()[all …]
267 PrivateProfileManager privateProfileManager = mApps.getPrivateProfileManager(); in onBindViewHolder() local268 if (privateProfileManager != null) { in onBindViewHolder()273 privateProfileManager.isPrivateSpaceItem(adapterItem); in onBindViewHolder()276 && privateProfileManager.isStateTransitioning() in onBindViewHolder()277 && (privateProfileManager.isScrolling() || in onBindViewHolder()278 privateProfileManager.getReadyToAnimate()) in onBindViewHolder()279 && privateProfileManager.getCurrentState() == STATE_ENABLED in onBindViewHolder()284 if (privateProfileManager.getCurrentState() == STATE_DISABLED in onBindViewHolder()
107 WorkProfileManager workProfileManager, PrivateProfileManager privateProfileManager) { in AlphabeticalAppsList() argument112 mPrivateProviderManager = privateProfileManager; in AlphabeticalAppsList()
216 PrivateProfileManager privateProfileManager =218 if (privateProfileManager == null || !privateProfileManager.isEnabled()) {222 UserHandle privateProfileUser = privateProfileManager.getProfileUser();