Searched refs:addOverride (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ScreenDecorationsTest.java | 100 mContext.getOrCreateTestableResources().addOverride( in testNoRounding_NoCutout() 102 mContext.getOrCreateTestableResources().addOverride(dimen.rounded_corner_radius, 0); in testNoRounding_NoCutout() 103 mContext.getOrCreateTestableResources().addOverride(dimen.rounded_corner_radius_top, 0); in testNoRounding_NoCutout() 104 mContext.getOrCreateTestableResources().addOverride(dimen.rounded_corner_radius_bottom, 0); in testNoRounding_NoCutout() 106 .addOverride(dimen.rounded_corner_content_padding, 0); in testNoRounding_NoCutout() 119 mContext.getOrCreateTestableResources().addOverride( in testRounding() 121 mContext.getOrCreateTestableResources().addOverride(dimen.rounded_corner_radius, 20); in testRounding() 123 .addOverride(dimen.rounded_corner_content_padding, 20); in testRounding() 139 mContext.getOrCreateTestableResources().addOverride( in testCutout() 141 mContext.getOrCreateTestableResources().addOverride(dimen.rounded_corner_radius, 0); in testCutout() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableResourcesTest.java | 57 mContext.getOrCreateTestableResources().addOverride(nonExistentId, 0xffffff); in testAddingResource() 66 mContext.getOrCreateTestableResources().addOverride(nonExistentId, 0xffffff); in testClearingResource() 81 mContext.getOrCreateTestableResources().addOverride(existentId, "Other strings"); in testOverrideExisting() 91 mContext.getOrCreateTestableResources().addOverride(existentId, null); in testNonExistentException()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 94 resources.addOverride(R.integer.config_showTemperatureWarning, 0); in testNoConfig_NoWarnings() 95 resources.addOverride(R.integer.config_warningTemperature, 55); in testNoConfig_NoWarnings() 106 resources.addOverride(R.integer.config_showTemperatureWarning, 1); in testConfig_NoWarnings() 107 resources.addOverride(R.integer.config_warningTemperature, 55); in testConfig_NoWarnings() 118 resources.addOverride(R.integer.config_showTemperatureWarning, 1); in testConfig_Warnings() 119 resources.addOverride(R.integer.config_warningTemperature, 55); in testConfig_Warnings() 130 resources.addOverride(R.integer.config_showTemperatureWarning, 0); in testSettingOverrideConfig() 131 resources.addOverride(R.integer.config_warningTemperature, 55); in testSettingOverrideConfig() 142 resources.addOverride(R.integer.config_showTemperatureWarning, 1); in testShutdownBasedThreshold() 143 resources.addOverride(R.integer.config_warningTemperature, -1); in testShutdownBasedThreshold() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | PhoneWindowManagerTestBase.java | 81 mContext.getResourceMocker().addOverride( in setUpBase() 83 mContext.getResourceMocker().addOverride( in setUpBase() 85 mContext.getResourceMocker().addOverride( in setUpBase() 87 mContext.getResourceMocker().addOverride( in setUpBase() 89 mContext.getResourceMocker().addOverride( in setUpBase()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyConstantsTest.java | 51 resources.addOverride(R.bool.config_smart_replies_in_notifications_enabled, true); in setUp() 52 resources.addOverride( in setUp()
|
D | IconLoggerImplTest.java | 71 mContext.getOrCreateTestableResources().addOverride( in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationSnoozeTest.java | 58 resources.addOverride(R.integer.config_notification_snooze_time_default, RES_DEFAULT); in setUp() 59 resources.addOverride(R.array.config_notification_snooze_times, RES_OPTIONS); in setUp()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableResources.java | 66 public void addOverride(int id, Object value) { in addOverride() method in TestableResources
|