Home
last modified time | relevance | path

Searched refs:registry (Results 1 – 24 of 24) 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/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/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DServerMain.java32 import java.rmi.registry.LocateRegistry;
33 import java.rmi.registry.Registry;
54 private ServerMain(int port, @NotNull Registry registry) { in ServerMain() argument
56 mRegistry = registry; in ServerMain()
155 Registry registry = LocateRegistry.getRegistry(runningPort); in forkAndStartServer() local
156 return new ServerMain(runningPort, registry) { in forkAndStartServer()
183 Registry registry = LocateRegistry.createRegistry(port);
184 registry.rebind(RemoteBridge.class.getName(), stub);
185 return new ServerMain(port, registry);
/frameworks/native/opengl/tools/glgen2/
Dglgen.py225 registry = reg.Registry() variable
226 registry.loadFile('registry/gl.xml')
228 registry.setGenerator(TrampolineGen())
251 registry.apiGen(opts)
255 registry.setGenerator(apigen)
269 registry.apiGen(opts)
275 registry.setGenerator(apigen)
297 registry.apiGen(opts)
304 registry.setGenerator(SpecGenerator())
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DAnimatingAppWindowTokenRegistryTest.java67 final AnimatingAppWindowTokenRegistry registry = in testDeferring() local
77 assertTrue(registry.notifyAboutToFinish(window1, mMockEndDeferFinishCallback1)); in testDeferring()
78 assertFalse(registry.notifyAboutToFinish(window2, mMockEndDeferFinishCallback2)); in testDeferring()
90 final AnimatingAppWindowTokenRegistry registry = in testContainerRemoved() local
100 registry.notifyAboutToFinish(window1, mMockEndDeferFinishCallback1); in testContainerRemoved()
/frameworks/layoutlib/bridge/src/libcore/util/
DNativeAllocationRegistry_Delegate.java63 /*package*/ static Runnable registerNativeAllocation(NativeAllocationRegistry registry, in registerNativeAllocation() argument
80 thunk = registry.new CleanerThunk(); in registerNativeAllocation()
83 registerNativeAllocation(registry.size); in registerNativeAllocation()
85 applyFreeFunction(registry.freeFunction, nativePtr); in registerNativeAllocation()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DBenchmarkListAdapter.java27 import com.android.benchmark.registry.BenchmarkGroup;
28 import com.android.benchmark.registry.BenchmarkRegistry;
40 BenchmarkRegistry registry) { in BenchmarkListAdapter() argument
42 mRegistry = registry; in BenchmarkListAdapter()
DUiResultsFragment.java29 import com.android.benchmark.registry.BenchmarkGroup;
30 import com.android.benchmark.registry.BenchmarkRegistry;
DHomeActivity.java35 import com.android.benchmark.registry.BenchmarkRegistry;
DRunLocalBenchmarksActivity.java36 import com.android.benchmark.registry.BenchmarkGroup;
37 import com.android.benchmark.registry.BenchmarkRegistry;
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/
DRemoteBridgeClient.java37 import java.rmi.registry.LocateRegistry;
38 import java.rmi.registry.Registry;
51 Registry registry = LocateRegistry.getRegistry(registryPort); in getRemoteBridge() local
52 RemoteBridge remoteBridge = (RemoteBridge) registry.lookup(RemoteBridge.class.getName()); in getRemoteBridge()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/
DBenchmarkCategory.java17 package com.android.benchmark.registry;
DBenchmarkGroup.java17 package com.android.benchmark.registry;
DBenchmarkRegistry.java17 package com.android.benchmark.registry;
/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java241 NativeAllocationRegistry registry = new NativeAllocationRegistry( in HardwareBuffer() local
243 mCleaner = registry.registerNativeAllocation(this, mNativeObject); in HardwareBuffer()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DTextScrollActivity.java25 import com.android.benchmark.registry.BenchmarkRegistry;
DFullScreenOverdrawActivity.java32 import com.android.benchmark.registry.BenchmarkRegistry;
DBitmapUploadActivity.java35 import com.android.benchmark.registry.BenchmarkRegistry;
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedImageDrawable.java316 NativeAllocationRegistry registry = NativeAllocationRegistry.createMalloced( in AnimatedImageDrawable() local
318 registry.registerNativeAllocation(mState, mState.mNativePtr); in AnimatedImageDrawable()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java158 NativeAllocationRegistry registry; in Bitmap() local
160 registry = NativeAllocationRegistry.createMalloced( in Bitmap()
163 registry = NativeAllocationRegistry.createNonmalloced( in Bitmap()
166 registry.registerNativeAllocation(this, nativeBitmap); in Bitmap()
/frameworks/native/vulkan/api/templates/
Dvk_xml.tmpl13 <registry>
263 «</registry>
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java5398 ITelephonyRegistry registry = getTelephonyRegistry(); in listen() local
5399 if (registry != null) { in listen()
5412 registry.listenForSubscriber(subId, getOpPackageName(), getFeatureId(), in listen()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt30658 Landroid/icu/text/Transliterator;->registry:Landroid/icu/text/TransliteratorRegistry;
30730 Landroid/icu/text/TransliteratorRegistry;->registry:Ljava/util/Map;
104881 Ljava/math/BigInt;->registry:Llibcore/util/NativeAllocationRegistry;
110881 Ljava/util/regex/Matcher;->registry:Llibcore/util/NativeAllocationRegistry;
110899 Ljava/util/regex/Pattern;->registry:Llibcore/util/NativeAllocationRegistry;
/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";