Searched refs:hasCrossProfileIntents (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityOverrideData.java | 75 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()
|
D | ResolverWrapperActivity.java | 195 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()
|
D | ChooserActivityWorkProfileTest.java | 95 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
|
D | ResolverActivityWorkProfileTest.java | 94 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
|
D | ResolverActivityTest.java | 677 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()
|
D | ChooserActivityTest.java | 1984 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/ |
D | NoCrossProfileEmptyStateProvider.java | 61 .hasCrossProfileIntents(resolverListAdapter.getIntents(), in getEmptyState()
|
D | AbstractMultiProfilePagerAdapter.java | 355 public boolean hasCrossProfileIntents(List<Intent> intents, @UserIdInt int source, in hasCrossProfileIntents() method in AbstractMultiProfilePagerAdapter.CrossProfileIntentsChecker
|