Searched refs:sOverrides (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ResolverWrapperActivity.java | 35 static final OverrideData sOverrides = new OverrideData(); field in ResolverWrapperActivity 44 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction() 45 return sOverrides.isVoiceInteraction; in isVoiceInteraction() 52 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity() 53 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity() 61 return sOverrides.resolverListController; in createListController() 66 if (sOverrides.createPackageManager != null) { in getPackageManager() 67 return sOverrides.createPackageManager.apply(super.getPackageManager()); in getPackageManager()
|
D | ChooserWrapperActivity.java | 31 static final OverrideData sOverrides = new OverrideData(); field in ChooserWrapperActivity 49 if (sOverrides.isVoiceInteraction != null) { in isVoiceInteraction() 50 return sOverrides.isVoiceInteraction; in isVoiceInteraction() 57 if (sOverrides.onSafelyStartCallback != null && in safelyStartActivity() 58 sOverrides.onSafelyStartCallback.apply(cti)) { in safelyStartActivity() 66 return sOverrides.resolverListController; in createListController() 71 if (sOverrides.createPackageManager != null) { in getPackageManager() 72 return sOverrides.createPackageManager.apply(super.getPackageManager()); in getPackageManager()
|
D | ChooserActivityTest.java | 47 import static com.android.internal.app.ChooserWrapperActivity.sOverrides; 67 sOverrides.reset(); in cleanOverrideData() 75 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in customTitle() 88 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in emptyTitle() 102 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in twoOptionsAndUserSelectsOne() 114 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne() 131 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in updateChooserCountsAndModelAfterUserSelection() 139 verify(sOverrides.resolverListController, times(1)) in updateChooserCountsAndModelAfterUserSelection() 142 sOverrides.onSafelyStartCallback = targetInfo -> { in updateChooserCountsAndModelAfterUserSelection() 149 verify(sOverrides.resolverListController, times(1)) in updateChooserCountsAndModelAfterUserSelection() [all …]
|
D | ResolverActivityTest.java | 52 import static com.android.internal.app.ResolverWrapperActivity.sOverrides; 73 sOverrides.reset(); in cleanOverrideData() 81 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in twoOptionsAndUserSelectsOne() 91 sOverrides.onSafelyStartCallback = targetInfo -> { in twoOptionsAndUserSelectsOne() 110 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in setShowAtTopToTrue() 139 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in hasLastChosenActivity() 142 when(sOverrides.resolverListController.getLastChosen()) in hasLastChosenActivity() 153 sOverrides.onSafelyStartCallback = targetInfo -> { in hasLastChosenActivity() 170 when(sOverrides.resolverListController.getResolversForIntent(Mockito.anyBoolean(), in hasOtherProfileOneOption() 181 sOverrides.onSafelyStartCallback = targetInfo -> { in hasOtherProfileOneOption() [all …]
|