/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 60 private ResourcesManager mResourcesManager; field in ResourcesManagerTest 96 mResourcesManager = new ResourcesManager() { in setUp() 123 Resources resources = mResourcesManager.getResources( in testMultipleCallsWithIdenticalParametersCacheReference() 128 Resources newResources = mResourcesManager.getResources( in testMultipleCallsWithIdenticalParametersCacheReference() 138 Resources resources = mResourcesManager.getResources( in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 145 Resources newResources = mResourcesManager.getResources( in testMultipleCallsWithDifferentParametersReturnDifferentReferences() 155 Resources resources1 = mResourcesManager.getResources( in testAddingASplitCreatesANewImpl() 160 Resources resources2 = mResourcesManager.getResources( in testAddingASplitCreatesANewImpl() 173 Resources resources1 = mResourcesManager.getResources( in testUpdateConfigurationUpdatesAllAssetManagers() 178 Resources resources2 = mResourcesManager.getResources( in testUpdateConfigurationUpdatesAllAssetManagers() [all …]
|
/frameworks/base/core/tests/mockingcoretests/src/android/window/ |
D | ConfigurationHelperTest.java | 57 ResourcesManager mResourcesManager; field in ConfigurationHelperTest 66 mResourcesManager = ResourcesManager.getInstance(); in setUp() 90 doReturn(false).when(mResourcesManager).isSameResourcesOverrideConfig(any(), any()); in testShouldUpdateResources_DifferentResources_ReturnsTrue() 99 doReturn(true).when(mResourcesManager).isSameResourcesOverrideConfig(any(), any()); in testShouldUpdateResources_DifferentBounds_ReturnsTrue() 116 doReturn(true).when(mResourcesManager).isSameResourcesOverrideConfig(any(), any()); in testShouldUpdateResources_SameConfig_ReturnsFalse() 128 doReturn(true).when(mResourcesManager).isSameResourcesOverrideConfig(any(), any()); in testShouldUpdateResources_DifferentConfig_ReturnsTrue() 141 doReturn(true).when(mResourcesManager).isSameResourcesOverrideConfig(any(), any()); in testShouldUpdateResources_DifferentNonPublicConfig_ReturnsTrue() 154 doReturn(true).when(mResourcesManager).isSameResourcesOverrideConfig(any(), any()); in testShouldUpdateResources_OverrideConfigChanged_ReturnsFalse()
|
/frameworks/base/core/java/android/app/ |
D | ConfigurationController.java | 53 private final ResourcesManager mResourcesManager = ResourcesManager.getInstance(); field in ConfigurationController 66 synchronized (mResourcesManager) { in updatePendingConfiguration() 78 synchronized (mResourcesManager) { in getPendingConfiguration() 107 if (mResourcesManager.applyCompatConfiguration(displayDensity, mCompatConfiguration)) { in applyCompatConfiguration() 175 synchronized (mResourcesManager) { in handleConfigurationChangedInner() 201 mResourcesManager.applyConfigurationToResources(config, compat); in handleConfigurationChangedInner() 286 final LocaleList newLocaleList = mResourcesManager.getConfiguration().getLocales(); in updateLocaleListFromAppContext()
|
D | ActivityThread.java | 500 private final ResourcesManager mResourcesManager; field in ActivityThread 1394 synchronized (mResourcesManager) { in scheduleApplicationInfoChanged() 1404 mResourcesManager.appendPendingAppInfoUpdate(new String[]{ai.sourceDir}, ai); in scheduleApplicationInfoChanged() 2793 return mResourcesManager.getResources(null, resDir, splitResDirs, legacyOverlayDirs, in getTopLevelResources() 2817 synchronized (mResourcesManager) { in getPackageInfo() 2896 synchronized (mResourcesManager) { in peekPackageInfo() 2918 synchronized (mResourcesManager) { in getPackageInfo() 2998 mResourcesManager = ResourcesManager.getInstance(); in ActivityThread() 3972 synchronized (mResourcesManager) { in performLaunchActivity() 5976 synchronized (mResourcesManager) { in performDestroyActivity() [all …]
|
D | ContextImpl.java | 248 private final @NonNull ResourcesManager mResourcesManager; field in ContextImpl 3025 return windowContextBase.mResourcesManager.createBaseTokenResources(token, resDir, in createWindowContextResources() 3123 return mResourcesManager.getAdjustedDisplay(Display.DEFAULT_DISPLAY, in getDisplayNoVerify() 3138 setDisplay(mResourcesManager.getAdjustedDisplay(displayId, mResources)); in updateDisplay() 3367 context.mResources.updateConfiguration(context.mResourcesManager.getConfiguration(), in createSystemContext() 3368 context.mResourcesManager.getDisplayMetrics()); in createSystemContext() 3502 mResourcesManager = ResourcesManager.getInstance(); in ContextImpl() 3586 mResourcesManager.setLocaleConfig(lc); in setResources()
|
/frameworks/base/core/java/android/window/ |
D | WindowTokenClient.java | 67 private final ResourcesManager mResourcesManager = ResourcesManager.getInstance(); field in WindowTokenClient 201 mResourcesManager.updateResourcesForActivity(this, newConfig, newDisplayId); in onConfigurationChangedInner()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/ |
D | RootTaskDisplayAreaOrganizer.java | 304 private final ResourcesManager mResourcesManager = ResourcesManager.getInstance(); field in RootTaskDisplayAreaOrganizer.DisplayAreaContext 315 mResourcesManager.updateResourcesForActivity(mToken, newConfig, getDisplayId()); in updateConfigurationChanges()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 343 private final DevicePolicyResourcesManager mResourcesManager; field in DevicePolicyManager 357 mResourcesManager = new DevicePolicyResourcesManager(context, service); in DevicePolicyManager() 17351 return mResourcesManager; in getResources()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 4685 Landroid/app/ContextImpl;->mResourcesManager:Landroid/app/ResourcesManager;
|