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.java103 Resources resources1 = mResourcesManager.getResources( in testAddingASplitCreatesANewImpl() local
106 assertNotNull(resources1); in testAddingASplitCreatesANewImpl()
113 assertNotSame(resources1, resources2); in testAddingASplitCreatesANewImpl()
114 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testAddingASplitCreatesANewImpl()
119 Resources resources1 = mResourcesManager.getResources( in testUpdateConfigurationUpdatesAllAssetManagers() local
122 assertNotNull(resources1); in testUpdateConfigurationUpdatesAllAssetManagers()
138 assertNotSame(resources1, resources2); in testUpdateConfigurationUpdatesAllAssetManagers()
139 assertNotSame(resources1, resources3); in testUpdateConfigurationUpdatesAllAssetManagers()
143 assertNotSame(resources1.getImpl(), resources2.getImpl()); in testUpdateConfigurationUpdatesAllAssetManagers()
144 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()