/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableResourcesTest.java | 58 mContext.getOrCreateTestableResources().addOverride(nonExistentId, 0xffffff); in testAddingResource() 67 mContext.getOrCreateTestableResources().addOverride(nonExistentId, 0xffffff); in testClearingResource() 69 mContext.getOrCreateTestableResources().removeOverride(nonExistentId); in testClearingResource() 82 mContext.getOrCreateTestableResources().addOverride(existentId, "Other strings"); in testOverrideExisting() 92 mContext.getOrCreateTestableResources().addOverride(existentId, null); in testNonExistentException()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/carrier/ |
D | ShadeCarrierTest.java | 132 mContext.getOrCreateTestableResources().addOverride(R.integer.shade_carrier_max_em, maxEms); in testCarrierNameMaxWidth_smallScreen_fromResource() 133 mContext.getOrCreateTestableResources() in testCarrierNameMaxWidth_smallScreen_fromResource() 145 mContext.getOrCreateTestableResources().addOverride(R.integer.shade_carrier_max_em, maxEms); in testCarrierNameMaxWidth_largeScreen_maxInt() 146 mContext.getOrCreateTestableResources() in testCarrierNameMaxWidth_largeScreen_maxInt()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/clipboardoverlay/ |
D | IntentCreatorTest.java | 53 getContext().getOrCreateTestableResources().addOverride(R.string.config_remoteCopyPackage, in test_getRemoteCopyIntent() 66 getContext().getOrCreateTestableResources().addOverride(R.string.config_remoteCopyPackage, in test_getRemoteCopyIntent() 75 getContext().getOrCreateTestableResources().addOverride(R.string.config_screenshotEditor, in test_getImageEditIntent() 89 getContext().getOrCreateTestableResources().addOverride(R.string.config_screenshotEditor, in test_getImageEditIntent()
|
D | ClipboardOverlayUtilsTest.java | 151 TestableResources res = mContext.getOrCreateTestableResources(); in test_extra_withPackage_returnsTrue() 162 TestableResources res = mContext.getOrCreateTestableResources(); in test_noExtra_returnsFalse() 175 TestableResources res = mContext.getOrCreateTestableResources(); in test_falseExtra_returnsFalse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | BatteryMeterViewControllerTest.java | 78 mContext.getOrCreateTestableResources().addOverride( in setup() 138 mContext.getOrCreateTestableResources().addOverride( in shieldFlagDisabled_viewNotified() 148 mContext.getOrCreateTestableResources().addOverride( in shieldFlagEnabled_viewNotified()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorationTests.java | 230 final int systemDensity = mTestableContext.getOrCreateTestableResources().getResources() in updateRelayoutParams_appHeader_usesTaskDensity() 252 final int systemDensity = mTestableContext.getOrCreateTestableResources().getResources() in updateRelayoutParams_appHeader_usesSystemDensity() 465 mTestableContext.getOrCreateTestableResources().addOverride( in fillRoundedCornersResources() 467 mTestableContext.getOrCreateTestableResources().addOverride( in fillRoundedCornersResources() 469 mTestableContext.getOrCreateTestableResources().addOverride( in fillRoundedCornersResources() 471 mTestableContext.getOrCreateTestableResources().addOverride( in fillRoundedCornersResources() 473 mTestableContext.getOrCreateTestableResources().addOverride( in fillRoundedCornersResources() 475 mTestableContext.getOrCreateTestableResources().addOverride( in fillRoundedCornersResources()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
D | TileQueryHelperTest.java | 183 mContext.getOrCreateTestableResources().addOverride(R.string.quick_settings_tiles_stock, in testQueryTiles_correctTilesAndOrderOnlyStockTiles() 203 mContext.getOrCreateTestableResources().addOverride(R.string.quick_settings_tiles_stock, in testQueryTiles_correctTilesAndOrderOtherFactoryTiles() 223 mContext.getOrCreateTestableResources().addOverride(R.string.quick_settings_tiles_stock, in testQueryTiles_otherTileNotIncluded() 263 mContext.getOrCreateTestableResources().addOverride(R.string.quick_settings_tiles_stock, in testThirdPartyTilesInactive() 278 mContext.getOrCreateTestableResources().addOverride(R.string.quick_settings_tiles_stock, in testQueryTiles_nullSetting() 293 mContext.getOrCreateTestableResources().addOverride(R.string.quick_settings_tiles_stock, in testQueryTiles_notAvailableDestroyed_tileSpecIsSet()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/ |
D | HideDisplayCutoutControllerTest.java | 89 mContext.getOrCreateTestableResources().addOverride( in testToggleHideDisplayCutout_On() 99 mContext.getOrCreateTestableResources().addOverride( in testToggleHideDisplayCutout_Off()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSTileHostTest.java | 234 mContext.getOrCreateTestableResources() in testInvalidSpecUsesDefault() 287 mContext.getOrCreateTestableResources() in testSpecWithInvalidDoesNotUseDefault() 321 mContext.getOrCreateTestableResources() in testDefault() 332 mContext.getOrCreateTestableResources() in testNoRepeatedSpecs_addTile() 345 mContext.getOrCreateTestableResources() in testAddTileAtValidPosition() 360 mContext.getOrCreateTestableResources() in testAddTileAtInvalidPositionAddsToEnd() 375 mContext.getOrCreateTestableResources() in testAddTileAtEnd() 443 mContext.getOrCreateTestableResources() in testLoadTileSpec_repeatedInDefault() 450 mContext.getOrCreateTestableResources() in testLoadTileSpec_repeatedDefaultAndSetting()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | SystemZenRulesTest.java | 67 mContext.getOrCreateTestableResources().overrideConfiguration(config); in setUp() 68 mContext.getOrCreateTestableResources().addOverride( in setUp() 70 mContext.getOrCreateTestableResources().addOverride( in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 1505 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1508 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1511 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1514 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1517 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1520 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1523 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1526 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1528 mContext.getOrCreateTestableResources().addOverride( in setupResources() 1530 mContext.getOrCreateTestableResources().addOverride( in setupResources() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | HotspotControllerImplTest.java | 105 mContext.getOrCreateTestableResources() in setUp() 192 mContext.getOrCreateTestableResources() in testHotspotSupported_resource_false()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/ |
D | PipBoundsAlgorithmTest.java | 91 final TestableResources res = mContext.getOrCreateTestableResources(); in initializeMockResources() 130 final TestableResources res = mContext.getOrCreateTestableResources(); in onConfigurationChanged_reloadResources() 485 final TestableResources res = mContext.getOrCreateTestableResources(); in overrideDefaultAspectRatio() 493 final TestableResources res = mContext.getOrCreateTestableResources(); in overrideDefaultStackGravity()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | PinnerServiceTest.java | 111 TestableResources resources = mContext.getOrCreateTestableResources(); in setUp() 244 mContext.getOrCreateTestableResources() in testPinHomeApp() 268 mContext.getOrCreateTestableResources() in testPinHomeAppOnBootCompleted()
|
D | DockObserverTest.java | 62 mContext.getOrCreateTestableResources().addOverride( in observerWithMappingConfig()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 521 mContext.getOrCreateTestableResources().addOverride( in setUpResources() 527 mContext.getOrCreateTestableResources().addOverride( in setUpResources() 531 mContext.getOrCreateTestableResources().addOverride( in setUpResources() 533 mContext.getOrCreateTestableResources().addOverride( in setUpResources() 535 mContext.getOrCreateTestableResources().addOverride( in setUpResources()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionControllerTest.kt | 119 .getOrCreateTestableResources() in setup() 122 .getOrCreateTestableResources() in setup() 354 .getOrCreateTestableResources() in testDragDownAmount_depthDistanceIsZero_setsProgressToZero() 366 .getOrCreateTestableResources() in testDragDownAmount_depthDistanceNonZero_setsProgressBasedOnDistance()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | AutoTileManagerTest.java | 141 mContext.getOrCreateTestableResources().addOverride( in setUp() 148 mContext.getOrCreateTestableResources().addOverride( in setUp() 150 mContext.getOrCreateTestableResources().addOverride( in setUp() 614 mContext.getOrCreateTestableResources().addOverride( in testEmptyArray_doesNotCrash() 621 mContext.getOrCreateTestableResources().addOverride( in testMissingConfig_doesNotCrash()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | KeyguardQuickAffordanceLocalUserSelectionManagerTest.kt | 92 .getOrCreateTestableResources() in tearDown() 95 .getOrCreateTestableResources() in tearDown()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qrcodescanner/controller/ |
D | QRCodeScannerControllerTest.java | 91 mContext.getOrCreateTestableResources().addOverride( in setUpLocal() 94 mContext.getOrCreateTestableResources().addOverride( in setUpLocal()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/hearingaid/ |
D | HearingDevicesDialogDelegateTest.java | 201 mContext.getOrCreateTestableResources().addOverride( in showDialog_hasLiveCaption_noRelatedToolsInConfig_showOneRelatedTool() 218 mContext.getOrCreateTestableResources().addOverride( in showDialog_hasLiveCaption_oneRelatedToolInConfig_showTwoRelatedTools()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 186 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_enableSkinTemperatureWarning() 199 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_enableUsbTemperatureAlarm() 212 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_disableSkinTemperatureWarning() 225 TestableResources resources = mContext.getOrCreateTestableResources(); in testSettingOverrideConfig_disableUsbTemperatureAlarm()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/ |
D | FaceEnrollClientTest.java | 132 mContext.getOrCreateTestableResources().addOverride(R.string.face_error_hw_not_available, in setup() 134 mContext.getOrCreateTestableResources().addOverride(R.string.face_acquired_too_dark, in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationSnoozeTest.java | 56 TestableResources resources = mContext.getOrCreateTestableResources(); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | BurnInInteractorTest.kt | 66 .getOrCreateTestableResources() in setUp()
|