/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | ChooserActivityOverrideData.java | 63 public boolean hasCrossProfileIntents; field in ChooserActivityOverrideData 77 hasCrossProfileIntents = true; in reset() 82 when(mCrossProfileIntentsChecker.hasCrossProfileIntents(any(), anyInt(), anyInt())) in reset() 83 .thenAnswer(invocation -> hasCrossProfileIntents); in reset()
|
D | ResolverWrapperActivity.java | 148 public boolean hasCrossProfileIntents; field in ResolverWrapperActivity.OverrideData 156 hasCrossProfileIntents = true; in reset() 158 when(mCrossProfileIntentsChecker.hasCrossProfileIntents(any(), anyInt(), anyInt())) in reset() 159 .thenAnswer(invocation -> hasCrossProfileIntents); in reset()
|
D | ChooserActivityWorkProfileTest.java | 137 sOverrides.hasCrossProfileIntents = mTestCase.hasCrossProfileIntents(); in testBlocker() 432 public TestCase(boolean isSendAction, boolean hasCrossProfileIntents, in TestCase() argument 435 mHasCrossProfileIntents = hasCrossProfileIntents; in TestCase() 445 public boolean hasCrossProfileIntents() { in hasCrossProfileIntents() method in ChooserActivityWorkProfileTest.TestCase
|
D | ResolverActivityTest.java | 617 sOverrides.hasCrossProfileIntents = false; in testWorkTab_crossProfileIntentsDisabled_personalToWork_emptyStateShown() 691 sOverrides.hasCrossProfileIntents = false; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown() 782 sOverrides.hasCrossProfileIntents = false; in testWorkTab_onePersonalTarget_emptyStateOnWorkTarget_doesNotAutoLaunch() 932 sOverrides.hasCrossProfileIntents = false; in testClonedProfilePresent_personalProfileActivityIsStartedInCorrectUser()
|
D | ChooserActivityTest.java | 2188 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_crossProfileIntentsDisabled_personalToWork_emptyStateShown() 2294 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_xProfileOff_noAppsAvailable_workOff_xProfileOffEmptyStateShown() 2566 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_onePersonalTarget_emptyStateOnWorkTarget_doesNotAutoLaunch() 2636 ChooserActivityOverrideData.getInstance().hasCrossProfileIntents = false; in testWorkTab_xProfileIntentsDisabled_personalToWork_nonSendIntent_emptyStateShown()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/emptystate/ |
D | CrossProfileIntentsCheckerTest.kt | 52 assertThat(checker.hasCrossProfileIntents(intents, PERSONAL_USER_ID, WORK_USER_ID)).isTrue() in testChecker_hasCrossProfileIntents() 70 assertThat(checker.hasCrossProfileIntents(intents, PERSONAL_USER_ID, WORK_USER_ID)) in testChecker_noCrossProfileIntents() 79 assertThat(checker.hasCrossProfileIntents(intents, PERSONAL_USER_ID, WORK_USER_ID)) in testChecker_noIntents()
|
D | NoCrossProfileEmptyStateProviderTest.kt | 84 hasCrossProfileIntents( in <lambda>() 218 .hasCrossProfileIntents(same(list), sourceUserId.capture(), targetUserId.capture()) in CrossProfileIntentsChecker()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/emptystate/ |
D | NoCrossProfileEmptyStateProvider.java | 59 private boolean hasCrossProfileIntents(List<Intent> intents, Profile source, Profile target) { in hasCrossProfileIntents() method in NoCrossProfileEmptyStateProvider 64 return mCrossProfileIntentsChecker.hasCrossProfileIntents(intents, in hasCrossProfileIntents() 90 if (hasCrossProfileIntents(adapter.getIntents(), effectiveSource, effectiveTarget)) { in getEmptyState()
|
D | CrossProfileIntentsChecker.java | 52 public boolean hasCrossProfileIntents( in hasCrossProfileIntents() method in CrossProfileIntentsChecker
|