Home
last modified time | relevance | path

Searched refs:sOverrides (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java42 static final OverrideData sOverrides = new OverrideData(); field in ChooserWrapperActivity
60 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction()
61 return sOverrides.isVoiceInteraction; in isVoiceInteraction()
68 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity()
69 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity()
77 return sOverrides.resolverListController; in createListController()
82 if (sOverrides.createPackageManager != null) { in getPackageManager()
83 return sOverrides.createPackageManager.apply(super.getPackageManager()); in getPackageManager()
90 if (sOverrides.resources != null) { in getResources()
91 return sOverrides.resources; in getResources()
[all …]
DResolverWrapperActivity.java30 static final OverrideData sOverrides = new OverrideData(); field in ResolverWrapperActivity
39 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction()
40 return sOverrides.isVoiceInteraction; in isVoiceInteraction()
47 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity()
48 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity()
56 return sOverrides.resolverListController; in createListController()
61 if (sOverrides.createPackageManager != null) { in getPackageManager()
62 return sOverrides.createPackageManager.apply(super.getPackageManager()); in getPackageManager()
DChooserActivityTest.java33 import static com.android.internal.app.ChooserWrapperActivity.sOverrides;
132 sOverrides.reset(); in cleanOverrideData()
133 sOverrides.createPackageManager = mPackageManagerOverride; in cleanOverrideData()
141 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitle()
158 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitleIgnoredForSendIntents()
171 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyTitle()
185 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyPreviewTitleAndThumbnail()
200 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in visiblePreviewTitleWithoutThumbnail()
217 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in visiblePreviewTitleWithInvalidThumbnail()
232 sOverrides.previewThumbnail = createBitmap(); in visiblePreviewTitleAndThumbnail()
[all …]
DResolverActivityTest.java27 import static com.android.internal.app.ResolverWrapperActivity.sOverrides;
72 sOverrides.reset(); in cleanOverrideData()
80 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in twoOptionsAndUserSelectsOne()
90 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne()
109 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in setMaxHeight()
152 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in setShowAtTopToTrue()
181 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in hasLastChosenActivity()
184 when(sOverrides.resolverListController.getLastChosen()) in hasLastChosenActivity()
195 sOverrides.onSafelyStartCallback = targetInfo -> { in hasLastChosenActivity()
212 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in hasOtherProfileOneOption()
[all …]