/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/ |
D | CarSystemBarControllerTest.java | 174 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, false); in testGetTopWindow_topDisabled_returnsNull() 175 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in testGetTopWindow_topDisabled_returnsNull() 178 mTestableResources.addOverride(R.string.config_notificationPanelViewMediator, in testGetTopWindow_topDisabled_returnsNull() 189 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in testGetTopWindow_topEnabled_returnsWindow() 199 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in testGetTopWindow_topEnabled_calledTwice_returnsSameWindow() 210 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, false); in testGetBottomWindow_bottomDisabled_returnsNull() 211 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in testGetBottomWindow_bottomDisabled_returnsNull() 214 mTestableResources.addOverride(R.string.config_notificationPanelViewMediator, in testGetBottomWindow_bottomDisabled_returnsNull() 225 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in testGetBottomWindow_bottomEnabled_returnsWindow() 235 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in testGetBottomWindow_bottomEnabled_calledTwice_returnsSameWindow() [all …]
|
D | CarSystemBarTest.java | 194 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in restartNavbars_refreshesTaskChanged() 195 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in restartNavbars_refreshesTaskChanged() 213 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in restartNavBars_newUserNotSetupWithKeyguardShowing_showsKeyguardButtons() 214 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in restartNavBars_newUserNotSetupWithKeyguardShowing_showsKeyguardButtons() 233 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in restartNavbars_newUserIsSetupWithKeyguardHidden_showsNavigationButtons() 234 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in restartNavbars_newUserIsSetupWithKeyguardHidden_showsNavigationButtons() 277 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in showTransient_wrongDisplayId_transientModeNotUpdated() 278 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in showTransient_wrongDisplayId_transientModeNotUpdated() 291 mTestableResources.addOverride(R.bool.config_enableTopSystemBar, true); in showTransient_correctDisplayId_noStatusBarInset_transientModeNotUpdated() 292 mTestableResources.addOverride(R.bool.config_enableBottomSystemBar, true); in showTransient_correctDisplayId_noStatusBarInset_transientModeNotUpdated() [all …]
|
D | CarSystemBarViewTest.java | 65 getContext().getOrCreateTestableResources().addOverride( in tearDown() 67 getContext().getOrCreateTestableResources().addOverride( in tearDown() 73 getContext().getOrCreateTestableResources().addOverride( in dispatchTouch_shadeOpen_flagOff_doesNotConsumeTouch() 92 getContext().getOrCreateTestableResources().addOverride( in dispatchTouch_shadeOpen_flagOn_consumesTouch() 95 getContext().getOrCreateTestableResources().addOverride( in dispatchTouch_shadeOpen_flagOn_consumesTouch()
|
D | RecentsButtonStateProviderTest.java | 110 mTestableResources.addOverride(R.bool.config_enableRecentsEntryPoint, true); in setUp() 114 mTestableResources.addOverride(com.android.internal.R.string.config_recentsComponentName, in setUp() 205 mTestableResources.addOverride(R.bool.config_enableRecentsEntryPoint, false); in setUpIntents_onLongClick_configSetToFalse_recentsNotActive_returnsFalse() 220 mTestableResources.addOverride(R.bool.config_enableRecentsEntryPoint, false); in setUpIntents_onLongClick_configSetToFalse_recentsNotActive_noKeyEventSent()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarHeadsUpNotificationQueueTest.java | 164 mContext.getOrCreateTestableResources().addOverride( in addToQueue_prioritises_categoriesOfHeadsUp() 166 mContext.getOrCreateTestableResources().addOverride( in addToQueue_prioritises_categoriesOfHeadsUp() 198 mContext.getOrCreateTestableResources().addOverride( in addToQueue_prioritises_internalCategoryAsLeastPriority() 200 mContext.getOrCreateTestableResources().addOverride( in addToQueue_prioritises_internalCategoryAsLeastPriority() 247 mContext.getOrCreateTestableResources().addOverride( in addToQueue_shows_immediateShowHeadsUp() 285 mContext.getOrCreateTestableResources().addOverride( in triggerCallback_expireNotifications_whenParked() 287 mContext.getOrCreateTestableResources().addOverride( in triggerCallback_expireNotifications_whenParked() 320 mContext.getOrCreateTestableResources().addOverride( in triggerCallback_doesNot_expireNotifications_whenParked() 322 mContext.getOrCreateTestableResources().addOverride( in triggerCallback_doesNot_expireNotifications_whenParked() 353 mContext.getOrCreateTestableResources().addOverride( in triggerCallback_expireNotifications_whenDriving() [all …]
|
D | HeadsUpNotificationOnTouchListenerTest.java | 102 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, false); in setUp() 103 mTestableResources.addOverride(R.dimen.max_translation_headsup, 0f); in setUp() 150 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionMove_moveLessThanTouchSlop_vertical_returnsFalse() 172 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionMove_moveLessThanTouchSlop_vertical_viewNotMoved() 195 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionMove_moveMoreThanTouchSlop_vertical_viewTranslationSet() 221 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionUp_moveMoreThanMin_vertical_callbackSent() 251 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionUp_flingMoreThanThreshold_vertical_callbackSent() 282 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionUp_flingEqualInBothDirection_vertical_callbackNotSent() 313 .addOverride(R.bool.config_isHeadsUpNotificationDismissibleVertically, true); in onTouch_actionUp_moveLessThanMin_velocityLessThanMin_vertical_callbackNotSent()
|
D | CarHeadsUpNotificationManagerTest.java | 133 mContext.getOrCreateTestableResources().addOverride( in setup() 135 mContext.getOrCreateTestableResources().addOverride( in setup() 379 mContext.getOrCreateTestableResources().addOverride( in getActiveHeadsUpNotifications_shouldReturnOne() 399 mContext.getOrCreateTestableResources().addOverride( in getActiveHeadsUpNotifications_diffNotifications_shouldReturnTwo() 421 mContext.getOrCreateTestableResources().addOverride( in getActiveHeadsUpNotifications_sameNotifications_shouldReturnOne()
|
D | PreprocessingManagerTest.java | 985 mContext.getOrCreateTestableResources().addOverride( in onAdditionalGroupAndRank_addToExistingGroup_groupSurpassGroupingThresholdExist() 1016 mContext.getOrCreateTestableResources().addOverride( in onAdditionalGroupAndRank_addNewNotification_notSurpassGroupingThreshold() 1043 mContext.getOrCreateTestableResources().addOverride( in onAdditionalGroupAndRank_createsNewGroup_surpassGroupingThreshold() 1072 mContext.getOrCreateTestableResources().addOverride( in onAdditionalGroupAndRank_doesNotGroup_groupSummaryMissing() 1167 testableResources.addOverride(R.bool.config_showRecentAndOldHeaders, recentOld); in setConfig() 1168 testableResources.addOverride(R.bool.config_useLauncherIcon, launcherIcon); in setConfig() 1169 testableResources.addOverride(R.integer.config_minimumGroupingThreshold, groupThreshold); in setConfig()
|
D | CarNotificationViewAdapterTest.java | 978 testableResources.addOverride(R.bool.config_showRecentAndOldHeaders, in initializeWithFactory()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/ |
D | NearbyShareModuleTest.kt | 54 context.fakeResources { addOverride(R.string.config_defaultNearbySharingComponent, "") } in valueIsAbsent_whenUnset() 65 addOverride( in defaultValue_readFromResources() 84 addOverride( in secureSettings_overridesDefault()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/ |
D | GroupNotificationViewHolderTest.java | 81 .addOverride(R.bool.config_showNavigationHeadsup, GROUP_EXPANSION_INCREMENT_SIZE); in setup() 83 .addOverride(R.bool.config_useLauncherIcon, /* value= */ true); in setup()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/ |
D | HeadsUpContainerViewTestActivity.java | 39 mContext.getOrCreateTestableResources().addOverride(R.bool.config_focusHUNWhenShown, in onCreate()
|
/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/recents/view/ |
D | RecentsRecyclerViewTest.java | 124 mContext.getOrCreateTestableResources().addOverride(R.dimen.recent_task_width_first, in setup() 126 mContext.getOrCreateTestableResources().addOverride(R.dimen.recent_task_width, in setup() 128 mContext.getOrCreateTestableResources().addOverride(R.dimen.recent_task_col_space, in setup()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/devapi/ |
D | CustomAudienceOverrider.java | 110 public void addOverride( in addOverride() method in CustomAudienceOverrider 273 mCustomAudienceDevOverridesHelper.addOverride( in callAddOverride()
|
D | AdSelectionOverrider.java | 119 public void addOverride( in addOverride() method in AdSelectionOverrider 266 public void addOverride( in addOverride() method in AdSelectionOverrider
|
D | CustomAudienceDevOverridesHelper.java | 126 public void addOverride( in addOverride() method in CustomAudienceDevOverridesHelper
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/sideloaded/ |
D | SideLoadedAppDetectorTest.java | 72 testableResources.addOverride(R.array.config_allowedAppInstallSources, in setUp()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/toast/ |
D | CarToastUITest.java | 176 mContext.getOrCreateTestableResources().addOverride( in showToast_isSystemNotPrivilegedNotPlatformKeyAllowListed_createToastCalled()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AdSelectionServiceImpl.java | 1178 overrider.addOverride( in overrideAdSelectionConfigRemoteInfo() 1368 overrider.addOverride(config, selectionLogicJs, selectionSignals, callback); in overrideAdSelectionFromOutcomesConfigRemoteInfo()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/customaudience/ |
D | CustomAudienceServiceImpl.java | 601 overrider.addOverride( in overrideCustomAudienceRemoteInfo()
|