/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 121 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyMappingAtControlPoints() 134 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyMappingBetweenControlPoints() 148 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyIgnoresNewConfiguration() 163 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT); in testSimpleStrategyIgnoresNullConfiguration() 176 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_NITS, in testPhysicalStrategyMappingAtControlPoints() 189 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_NITS, in testPhysicalStrategyMappingBetweenControlPoints() 206 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_NITS, in testPhysicalStrategyUsesNewConfigurations() 231 Resources res = createResources(LUX_LEVELS, DISPLAY_LEVELS_BACKLIGHT, in testDefaultStrategyIsPhysical() 244 Resources res = createResources(lux, DISPLAY_LEVELS_NITS, in testNonStrictlyIncreasingLuxLevelsFails() 251 res = createResources(lux, DISPLAY_LEVELS_NITS, DISPLAY_RANGE_NITS, BACKLIGHT_RANGE); in testNonStrictlyIncreasingLuxLevelsFails() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | HighRefreshRateBlacklistTest.java | 61 final Resources r = createResources(APP1, APP2); in testDefaultBlacklist() 71 final Resources r = createResources(); in testNoDefaultBlacklist() 79 final Resources r = createResources(APP1); in testDefaultBlacklistIsOverriddenByDeviceConfig() 91 final Resources r = createResources(APP1); in testDefaultBlacklistIsOverriddenByEmptyDeviceConfig() 101 final Resources r = createResources(APP1); in testDefaultBlacklistIsOverriddenByDeviceConfigUpdate() 125 final Resources r = createResources(APP1); in testOverriddenByDeviceConfigUnrelatedFlagChanged() 140 private Resources createResources(String... defaultBlacklist) { in createResources() method in HighRefreshRateBlacklistTest
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wm/ |
D | DisplayLayoutTest.java | 47 Resources res = createResources(40, 50, false, 30, 40); in testInsets() 86 Resources res = createResources(40, 50, false, 30, 40); in testRotate() 98 res = createResources(40, 50, true, 30, 40); in testRotate() 105 private Resources createResources( in createResources() method in DisplayLayoutTest
|
/frameworks/base/core/java/android/app/ |
D | ResourcesManager.java | 770 return createResources(token, key, classLoader); in createBaseTokenResources() 824 private @Nullable Resources createResources(@Nullable IBinder activityToken, in createResources() method in ResourcesManager 902 return createResources(activityToken, key, classLoader); in getResources()
|
D | ContextImpl.java | 2246 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, in createResources() method in ContextImpl 2280 c.setResources(createResources(mToken, pi, null, displayId, null, in createApplicationContext() 2315 c.setResources(createResources(mToken, pi, null, displayId, null, in createPackageContextAsUser() 2376 context.setResources(createResources(mToken, mPackageInfo, mSplitName, displayId, in createConfigurationContext() 2394 context.setResources(createResources(mToken, mPackageInfo, mSplitName, displayId, in createDisplayContext() 2634 context.setResources(createResources(null, packageInfo, null, displayId, null, in createSystemUiContext()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 1694 HSPLandroid/app/ContextImpl;->createResources(Landroid/os/IBinder;Landroid/app/LoadedApk;Ljava/lang… 3018 HSPLandroid/app/ResourcesManager;->createResources(Landroid/os/IBinder;Landroid/content/res/Resourc…
|