Home
last modified time | relevance | path

Searched refs:hasCrossProfileIntents (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityOverrideData.java75 public boolean hasCrossProfileIntents; field in ChooserActivityOverrideData
103 hasCrossProfileIntents = true; in reset()
132 when(mCrossProfileIntentsChecker.hasCrossProfileIntents(any(), anyInt(), anyInt())) in reset()
133 .thenAnswer(invocation -> hasCrossProfileIntents); in reset()
DResolverWrapperActivity.java195 public boolean hasCrossProfileIntents; field in ResolverWrapperActivity.OverrideData
211 hasCrossProfileIntents = true; in reset()
237 when(mCrossProfileIntentsChecker.hasCrossProfileIntents(any(), anyInt(), anyInt())) in reset()
238 .thenAnswer(invocation -> hasCrossProfileIntents); in reset()
DChooserActivityWorkProfileTest.java95 sOverrides.hasCrossProfileIntents = mTestCase.hasCrossProfileIntents(); in testBlocker()
394 public TestCase(boolean isSendAction, boolean hasCrossProfileIntents, in TestCase() argument
397 mHasCrossProfileIntents = hasCrossProfileIntents; in TestCase()
407 public boolean hasCrossProfileIntents() { in hasCrossProfileIntents() method in ChooserActivityWorkProfileTest.TestCase
DResolverActivityWorkProfileTest.java94 sOverrides.hasCrossProfileIntents = mTestCase.hasCrossProfileIntents(); in testBlocker()
375 public TestCase(@Nullable UserHandle extraCallingUser, boolean hasCrossProfileIntents, in TestCase() argument
378 mHasCrossProfileIntents = hasCrossProfileIntents; in TestCase()
389 public boolean hasCrossProfileIntents() { in hasCrossProfileIntents() method in ResolverActivityWorkProfileTest.TestCase
DResolverActivityTest.java677 sOverrides.hasCrossProfileIntents = false; in testWorkTab_crossProfileIntentsDisabled_personalToWork_emptyStateShown()
758 sOverrides.hasCrossProfileIntents = false; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
906 sOverrides.hasCrossProfileIntents = false; in testWorkTab_onePersonalTarget_emptyStateOnWorkTarget_autolaunch()
1076 sOverrides.hasCrossProfileIntents = false; in testClonedProfilePresent_personalProfileActivityIsStartedInCorrectUser()
DChooserActivityTest.java1984 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_crossProfileIntentsDisabled_personalToWork_emptyStateShown()
2062 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown()
2568 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_onePersonalTarget_emptyStateOnWorkTarget_autolaunch()
2663 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown()
/frameworks/base/core/java/com/android/internal/app/
DNoCrossProfileEmptyStateProvider.java61 .hasCrossProfileIntents(resolverListAdapter.getIntents(), in getEmptyState()
DAbstractMultiProfilePagerAdapter.java355 public boolean hasCrossProfileIntents(List<Intent> intents, @UserIdInt int source, in hasCrossProfileIntents() method in AbstractMultiProfilePagerAdapter.CrossProfileIntentsChecker