Home
last modified time | relevance | path

Searched refs:resources2 (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java106 Resources resources2 = mResourcesManager.getResources( in testAddingASplitCreatesANewImpl() local
109 assertNotNull(resources2); in testAddingASplitCreatesANewImpl()
111 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl()
112 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl()
122 Resources resources2 = mResourcesManager.getResources( in testUpdateConfigurationUpdatesAllAssetManagers() local
125 assertNotNull(resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
136 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
138 assertNotSame(resources2, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
141 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
143 assertNotSame(resources2.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
[all …]
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp106 const Vector<MediaResource> &resources2) { in isEqualResources() argument
107 if (resources1.size() != resources2.size()) { in isEqualResources()
111 if (resources1[i] != resources2[i]) { in isEqualResources()
163 Vector<MediaResource> resources2; in addResource() local
164 resources2.push_back(MediaResource(MediaResource::kNonSecureCodec, 1)); in addResource()
165 resources2.push_back(MediaResource(MediaResource::kGraphicMemory, 300)); in addResource()
166 mService->addResource(kTestPid2, getId(mTestClient2), mTestClient2, resources2); in addResource()
187 expectEqResourceInfo(infos2[0], mTestClient2, resources2); in addResource()