Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesManagerTest.java101 Resources resources1 = mResourcesManager.getResources( in testAddingASplitCreatesANewImpl() local
104 assertNotNull(resources1); in testAddingASplitCreatesANewImpl()
111 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl()
112 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl()
117 Resources resources1 = mResourcesManager.getResources( in testUpdateConfigurationUpdatesAllAssetManagers() local
120 assertNotNull(resources1); in testUpdateConfigurationUpdatesAllAssetManagers()
136 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
137 assertNotSame(resources1, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
141 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
142 assertNotSame(resources1.getImpl(), resources3.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
[all …]
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp105 static bool isEqualResources(const Vector<MediaResource> &resources1, in isEqualResources() argument
107 if (resources1.size() != resources2.size()) { in isEqualResources()
110 for (size_t i = 0; i < resources1.size(); ++i) { in isEqualResources()
111 if (resources1[i] != resources2[i]) { in isEqualResources()
154 Vector<MediaResource> resources1; in addResource() local
155 resources1.push_back(MediaResource(MediaResource::kSecureCodec, 1)); in addResource()
156 mService->addResource(kTestPid1, getId(mTestClient1), mTestClient1, resources1); in addResource()
157 resources1.push_back(MediaResource(MediaResource::kGraphicMemory, 200)); in addResource()
181 expectEqResourceInfo(infos1[0], mTestClient1, resources1); in addResource()