/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | CallbackRegistryTest.java | 34 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/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Reflection/ |
D | TypeRegistryTest.cs | 45 … var registry = TypeRegistry.FromFiles(DurationReflection.Descriptor, StructReflection.Descriptor); in CreateWithFileDescriptor() 46 AssertDescriptorPresent(registry, Duration.Descriptor); in CreateWithFileDescriptor() 47 AssertDescriptorPresent(registry, ListValue.Descriptor); in CreateWithFileDescriptor() 48 AssertDescriptorAbsent(registry, Timestamp.Descriptor); in CreateWithFileDescriptor() 55 var registry = TypeRegistry.FromMessages(TestAllTypes.Types.NestedMessage.Descriptor); in TypesFromSameFile() 57 AssertDescriptorPresent(registry, TestFieldOrderings.Descriptor); in TypesFromSameFile() 59 AssertDescriptorPresent(registry, TestFieldOrderings.Types.NestedMessage.Descriptor); in TypesFromSameFile() 65 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in DependenciesAreIncluded() 67 AssertDescriptorPresent(registry, ImportMessage.Descriptor); in DependenciesAreIncluded() 69 AssertDescriptorPresent(registry, PublicImportMessage.Descriptor); in DependenciesAreIncluded() [all …]
|
/frameworks/ex/framesequence/jni/ |
D | Registry.cpp | 36 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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | ExtensionRegistryFactoryTest.java | 80 ExtensionRegistryLite registry = ExtensionRegistryFactory.create(); in testCreate() local 82 assertEquals(registry.getClass(), ExtensionRegistry.class); in testCreate() 95 ExtensionRegistryLite registry = ExtensionRegistryFactory.create(); in testIsFullRegistry() local 96 assertTrue(ExtensionRegistryFactory.isFullRegistry(registry)); in testIsFullRegistry() 137 ExtensionRegistryLite registry = ExtensionRegistryFactory.create(); in testCreate() local 139 assertEquals(registry.getClass(), ExtensionRegistryLite.class); in testCreate() 152 ExtensionRegistryLite registry = ExtensionRegistryFactory.create(); in testIsFullRegistry() local 153 assertFalse(ExtensionRegistryFactory.isFullRegistry(registry)); in testIsFullRegistry() 158 ExtensionRegistryLite registry = ExtensionRegistryLite.newInstance(); in testAdd() local 159 NonNestedExtensionLite.registerAllExtensions(registry); in testAdd() [all …]
|
D | ParserTest.java | 66 ExtensionRegistryLite registry) in assertRoundTripEquals() argument 73 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 76 offset, length, registry)); in assertRoundTripEquals() 78 message.toByteString(), registry)); in assertRoundTripEquals() 80 new ByteArrayInputStream(data), registry)); in assertRoundTripEquals() 82 CodedInputStream.newInstance(data), registry)); in assertRoundTripEquals() 233 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize() local 234 UnittestOptimizeFor.registerAllExtensions(registry); in testOptimizeForSize() 236 assertRoundTripEquals(message, registry); in testOptimizeForSize() 297 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge() local [all …]
|
D | WireFormatTest.java | 164 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParseExtensions() local 167 TestAllExtensions.parseFrom(rawBytes, registry); in testParseExtensions() 177 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParsePackedExtensions() local 180 TestPackedExtensions.parseFrom(rawBytes, registry); in testParsePackedExtensions() 201 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParseExtensionsLite() local 204 TestAllExtensionsLite.parseFrom(rawBytes, registry); in testParseExtensionsLite() 214 ExtensionRegistryLite registry = TestUtilLite.getExtensionRegistryLite(); in testParsePackedExtensionsLite() local 217 TestPackedExtensionsLite.parseFrom(rawBytes, registry); in testParsePackedExtensionsLite()
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/ |
D | ServerMain.java | 32 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/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | ParserTest.java | 65 ExtensionRegistryLite registry) in assertRoundTripEquals() argument 72 assertMessageEquals(message, parser.parseFrom(data, registry)); in assertRoundTripEquals() 75 offset, length, registry)); in assertRoundTripEquals() 77 message.toByteString(), registry)); in assertRoundTripEquals() 79 new ByteArrayInputStream(data), registry)); in assertRoundTripEquals() 81 CodedInputStream.newInstance(data), registry)); in assertRoundTripEquals() 202 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testOptimizeForSize() local 203 UnittestOptimizeFor.registerAllExtensions(registry); in testOptimizeForSize() 205 assertRoundTripEquals(message, registry); in testOptimizeForSize() 258 ExtensionRegistry registry = ExtensionRegistry.newInstance(); in testParsingMerge() local [all …]
|
D | WireFormatTest.java | 135 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParseExtensions() local 138 TestAllExtensions.parseFrom(rawBytes, registry); in testParseExtensions() 148 ExtensionRegistry registry = TestUtil.getExtensionRegistry(); in testParsePackedExtensions() local 151 TestPackedExtensions.parseFrom(rawBytes, registry); in testParsePackedExtensions()
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 225 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())
|
D | .gitignore | 1 registry/reg.pyc
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | AnimatingAppWindowTokenRegistryTest.java | 67 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/ |
D | NativeAllocationRegistry_Delegate.java | 63 /*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/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/ |
D | JsonFormatTest.java | 131 private void assertRoundTripEquals(Message message, TypeRegistry registry) throws Exception { in assertRoundTripEquals() argument 132 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in assertRoundTripEquals() 133 JsonFormat.Parser parser = JsonFormat.parser().usingTypeRegistry(registry); in assertRoundTripEquals() 808 JsonFormat.TypeRegistry registry = in testAnyFields() local 810 JsonFormat.Printer printer = JsonFormat.printer().usingTypeRegistry(registry); in testAnyFields() 820 assertRoundTripEquals(message, registry); in testAnyFields() 835 assertRoundTripEquals(anyMessage, registry); in testAnyFields() 845 assertRoundTripEquals(anyMessage, registry); in testAnyFields() 853 assertRoundTripEquals(anyMessage, registry); in testAnyFields() 861 assertRoundTripEquals(anyMessage, registry); in testAnyFields() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 241 ExtensionRegistry registry, String name); in findExtensionByName() argument 244 ExtensionRegistry registry, Descriptors.Descriptor containingType, in findExtensionByNumber() argument 325 Object parseGroup(CodedInputStream input, ExtensionRegistryLite registry, in parseGroup() argument 333 Object parseMessage(CodedInputStream input, ExtensionRegistryLite registry, in parseMessage() argument 343 ByteString bytes, ExtensionRegistryLite registry, in parseMessageFromBytes() argument 440 ExtensionRegistry registry, String name) { in findExtensionByName() argument 441 return registry.findImmutableExtensionByName(name); in findExtensionByName() 446 ExtensionRegistry registry, Descriptors.Descriptor containingType, int fieldNumber) { in findExtensionByNumber() argument 447 return registry.findImmutableExtensionByNumber(containingType, in findExtensionByNumber() 626 ExtensionRegistry registry, String name) { in findExtensionByName() argument [all …]
|
D | ExtensionRegistryFactory.java | 85 static boolean isFullRegistry(ExtensionRegistryLite registry) { in isFullRegistry() argument 87 && EXTENSION_REGISTRY_CLASS.isAssignableFrom(registry.getClass()); in isFullRegistry()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/ |
D | BenchmarkListAdapter.java | 27 import com.android.benchmark.registry.BenchmarkGroup; 28 import com.android.benchmark.registry.BenchmarkRegistry; 40 BenchmarkRegistry registry) { in BenchmarkListAdapter() argument 42 mRegistry = registry; in BenchmarkListAdapter()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/ |
D | JsonFormat.java | 111 private final TypeRegistry registry; field in JsonFormat.Printer 117 TypeRegistry registry, in Printer() argument 121 this.registry = registry; in Printer() 133 public Printer usingTypeRegistry(TypeRegistry registry) { in usingTypeRegistry() argument 134 if (this.registry != TypeRegistry.getEmptyTypeRegistry()) { in usingTypeRegistry() 138 registry, in usingTypeRegistry() 152 registry, true, preservingProtoFieldNames, omittingInsignificantWhitespace); in includingDefaultValueFields() 163 registry, includingDefaultValueFields, true, omittingInsignificantWhitespace); in preservingProtoFieldNames() 183 return new Printer(registry, includingDefaultValueFields, preservingProtoFieldNames, true); in omittingInsignificantWhitespace() 197 registry, in appendTo() [all …]
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/ |
D | RemoteBridgeClient.java | 37 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/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/google/protobuf/ |
D | Api.pbobjc.m | 36 // about thread safety and initialization of registry. 37 static GPBExtensionRegistry* registry = nil; 38 if (!registry) { 40 registry = [[GPBExtensionRegistry alloc] init]; 41 [registry addExtensions:[GPBSourceContextRoot extensionRegistry]]; 42 [registry addExtensions:[GPBTypeRoot extensionRegistry]]; 44 return registry;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBExtensionRegistry.m | 99 - (void)addExtensions:(GPBExtensionRegistry *)registry { 100 if (registry == nil) { 104 NSMutableDictionary *otherClassMap = registry->mutableClassMap_; 109 [registry extensionMapForContainingMessageClass:containingMessageClass];
|
D | GPBExtensionRegistry.h | 68 - (void)addExtensions:(GPBExtensionRegistry *)registry;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | JsonParserTest.cs | 805 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in Any_RegularMessage() 810 var parser = new JsonParser(new JsonParser.Settings(10, registry)); in Any_RegularMessage() 819 var registry = TypeRegistry.FromMessages(TestAllTypes.Descriptor); in Any_CustomPrefix() 822 var parser = new JsonParser(new JsonParser.Settings(10, registry)); in Any_CustomPrefix() 844 var registry = TypeRegistry.FromMessages(Timestamp.Descriptor); in Any_WellKnownType() 845 var formatter = new JsonFormatter(new JsonFormatter.Settings(false, registry)); in Any_WellKnownType() 849 var parser = new JsonParser(new JsonParser.Settings(10, registry)); in Any_WellKnownType() 858 … var registry = TypeRegistry.FromMessages(TestWellKnownTypes.Descriptor, TestAllTypes.Descriptor); in Any_Nested() 859 var formatter = new JsonFormatter(new JsonFormatter.Settings(false, registry)); in Any_Nested() 860 var parser = new JsonParser(new JsonParser.Settings(10, registry)); in Any_Nested()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/registry/ |
D | BenchmarkCategory.java | 17 package com.android.benchmark.registry;
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBWireFormatTests.m | 111 GPBExtensionRegistry* registry = [self extensionRegistry]; 114 extensionRegistry:registry 134 GPBExtensionRegistry* registry = [self extensionRegistry]; 137 extensionRegistry:registry
|