Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DCallbackRegistryTest.java34 CallbackRegistry<Integer, CallbackRegistryTest, Integer> registry; field in CallbackRegistryTest
60 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddListener()
63 assertNotNull(registry.copyListeners()); in testAddListener()
64 assertEquals(0, registry.copyListeners().size()); in testAddListener()
66 registry.add(callback); in testAddListener()
67 ArrayList<Integer> callbacks = registry.copyListeners(); in testAddListener()
71 registry.add(callback); in testAddListener()
72 callbacks = registry.copyListeners(); in testAddListener()
77 registry.add(otherListener); in testAddListener()
78 callbacks = registry.copyListeners(); in testAddListener()
[all …]
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DCallbackRegistryTest.java32 CallbackRegistry<Integer, CallbackRegistryTest, Integer> registry; field in CallbackRegistryTest
59 registry = new CallbackRegistry<Integer, CallbackRegistryTest, Integer>(notifier); in testAddListener()
62 assertNotNull(registry.copyCallbacks()); in testAddListener()
63 assertEquals(0, registry.copyCallbacks().size()); in testAddListener()
65 registry.add(callback); in testAddListener()
66 ArrayList<Integer> callbacks = registry.copyCallbacks(); in testAddListener()
70 registry.add(callback); in testAddListener()
71 callbacks = registry.copyCallbacks(); in testAddListener()
76 registry.add(otherListener); in testAddListener()
77 callbacks = registry.copyCallbacks(); in testAddListener()
[all …]
/frameworks/ex/framesequence/jni/
DRegistry.cpp36 Registry* registry = gHead; in Find() local
39 while (registry) { in Find()
40 if (registry->mImpl.acceptsBuffer()) { in Find()
41 return &(registry->mImpl); in Find()
43 registry = registry->mNext; in Find()
49 while (registry) { in Find()
50 if (headerSize >= registry->mImpl.requiredHeaderBytes in Find()
51 && registry->mImpl.checkHeader(header, headerSize)) { in Find()
52 return &(registry->mImpl); in Find()
54 registry = registry->mNext; in Find()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGapWorkerTest.java47 GapWorker.LayoutPrefetchRegistryImpl registry = new GapWorker.LayoutPrefetchRegistryImpl(); in registrySimple() local
48 registry.addPosition(0, 0); in registrySimple()
49 registry.addPosition(2, 0); in registrySimple()
50 registry.addPosition(3, 0); in registrySimple()
51 assertTrue(registry.lastPrefetchIncludedPosition(0)); in registrySimple()
52 assertFalse(registry.lastPrefetchIncludedPosition(1)); in registrySimple()
53 assertTrue(registry.lastPrefetchIncludedPosition(2)); in registrySimple()
54 assertTrue(registry.lastPrefetchIncludedPosition(3)); in registrySimple()
59 GapWorker.LayoutPrefetchRegistryImpl registry = new GapWorker.LayoutPrefetchRegistryImpl(); in registryNegativeLayout() local
60 registry.addPosition(-1, 0); in registryNegativeLayout()
[all …]
/frameworks/native/opengl/tools/glgen2/
Dglgen.py219 registry = reg.Registry() variable
220 registry.loadFile('registry/gl.xml')
222 registry.setGenerator(TrampolineGen())
245 registry.apiGen(opts)
248 registry.setGenerator(apigen)
270 registry.apiGen(opts)
277 registry.setGenerator(SpecGenerator())
D.gitignore1 registry/reg.pyc
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetPrefetchTest.java45 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry in validatePrefetch() local
49 state, registry); in validatePrefetch()
51 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt()); in validatePrefetch()
53 verify(registry).addPosition(aPositionData[0], aPositionData[1]); in validatePrefetch()
232 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry
235 gridView.getAdapter().getItemCount(), registry);
237 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt());
239 verify(registry).addPosition(position, 0);
DSingleRowTest.java172 RecyclerView.LayoutManager.LayoutPrefetchRegistry registry in validatePrefetch() local
174 mSingleRow.collectAdjacentPrefetchPositions(fromLimit, delta, registry); in validatePrefetch()
176 verify(registry, times(positionData.length)).addPosition(anyInt(), anyInt()); in validatePrefetch()
178 verify(registry).addPosition(aPositionData[0], aPositionData[1]); in validatePrefetch()
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java161 NativeAllocationRegistry registry = new NativeAllocationRegistry( in HardwareBuffer() local
163 mCleaner = registry.registerNativeAllocation(this, mNativeObject); in HardwareBuffer()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java128 NativeAllocationRegistry registry = new NativeAllocationRegistry( in Bitmap() local
130 registry.registerNativeAllocation(this, nativeBitmap); in Bitmap()
/frameworks/native/vulkan/api/templates/
Dvk_xml.tmpl13 <registry>
263 «</registry>
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt54928 field public static final java.lang.String AUTHSCHEME_REGISTRY = "http.authscheme-registry";
54930 field public static final java.lang.String COOKIESPEC_REGISTRY = "http.cookiespec-registry";