Searched refs:resources2 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | ResourcesManagerTest.java | 108 Resources resources2 = mResourcesManager.getResources( in testAddingASplitCreatesANewImpl() local 111 assertNotNull(resources2); in testAddingASplitCreatesANewImpl() 113 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl() 114 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl() 124 Resources resources2 = mResourcesManager.getResources( in testUpdateConfigurationUpdatesAllAssetManagers() local 127 assertNotNull(resources2); in testUpdateConfigurationUpdatesAllAssetManagers() 138 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers() 140 assertNotSame(resources2, resources3); in testUpdateConfigurationUpdatesAllAssetManagers() 143 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers() 145 assertNotSame(resources2.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers() [all …]
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 106 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()
|