Searched refs:sOverrides (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserWrapperActivity.java | 50 static final OverrideData sOverrides = new OverrideData(); field in ChooserWrapperActivity 58 multiProfilePagerAdapter.setInjector(sOverrides.multiPagerAdapterInjector); in createMultiProfilePagerAdapter() 67 sOverrides.packageManager == null ? context.getPackageManager() in createChooserListAdapter() 68 : sOverrides.packageManager; in createChooserListAdapter() 115 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction() 116 return sOverrides.isVoiceInteraction; in isVoiceInteraction() 123 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity() 124 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity() 133 when(sOverrides.resolverListController.getUserHandle()).thenReturn(UserHandle.SYSTEM); in createListController() 134 return sOverrides.resolverListController; in createListController() [all …]
|
D | ResolverWrapperActivity.java | 39 static final OverrideData sOverrides = new OverrideData(); field in ResolverWrapperActivity 55 multiProfilePagerAdapter.setInjector(sOverrides.multiPagerAdapterInjector); in createMultiProfilePagerAdapter() 76 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction() 77 return sOverrides.isVoiceInteraction; in isVoiceInteraction() 84 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity() 85 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity() 94 when(sOverrides.resolverListController.getUserHandle()).thenReturn(UserHandle.SYSTEM); in createListController() 95 return sOverrides.resolverListController; in createListController() 97 when(sOverrides.workResolverListController.getUserHandle()).thenReturn(userHandle); in createListController() 98 return sOverrides.workResolverListController; in createListController() [all …]
|
D | ChooserActivityTest.java | 37 import static com.android.internal.app.ChooserWrapperActivity.sOverrides; 156 sOverrides.reset(); in cleanOverrideData() 157 sOverrides.createPackageManager = mPackageManagerOverride; in cleanOverrideData() 169 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitle() 186 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitleIgnoredForSendIntents() 199 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyTitle() 213 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyPreviewTitleAndThumbnail() 228 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in visiblePreviewTitleWithoutThumbnail() 245 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in visiblePreviewTitleWithInvalidThumbnail() 260 sOverrides.previewThumbnail = createBitmap(); in visiblePreviewTitleAndThumbnail() [all …]
|
D | ResolverActivityTest.java | 31 import static com.android.internal.app.ResolverWrapperActivity.sOverrides; 87 sOverrides.reset(); in cleanOverrideData() 95 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in twoOptionsAndUserSelectsOne() 106 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne() 126 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in setMaxHeight() 170 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in setShowAtTopToTrue() 202 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in hasLastChosenActivity() 205 when(sOverrides.resolverListController.getLastChosen()) in hasLastChosenActivity() 216 sOverrides.onSafelyStartCallback = targetInfo -> { in hasLastChosenActivity() 246 sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileOneOption() [all …]
|