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.java41 static final OverrideData sOverrides = new OverrideData(); field in ChooserWrapperActivity
59 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction()
60 return sOverrides.isVoiceInteraction; in isVoiceInteraction()
67 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity()
68 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity()
76 return sOverrides.resolverListController; in createListController()
81 if (sOverrides.createPackageManager != null) { in getPackageManager()
82 return sOverrides.createPackageManager.apply(super.getPackageManager()); in getPackageManager()
89 if (sOverrides.previewThumbnail != null) { in loadThumbnail()
90 return sOverrides.previewThumbnail; in loadThumbnail()
[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.java27 import static com.android.internal.app.ChooserWrapperActivity.sOverrides;
123 sOverrides.reset(); in cleanOverrideData()
124 sOverrides.createPackageManager = mPackageManagerOverride; in cleanOverrideData()
132 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitle()
149 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitleIgnoredForSendIntents()
162 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyTitle()
176 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyPreviewTitleAndThumbnail()
191 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in visiblePreviewTitleWithoutThumbnail()
208 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in visiblePreviewTitleWithInvalidThumbnail()
223 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 …]