Home
last modified time | relevance | path

Searched +defs:type +defs:delegate (Results 1 – 25 of 1332) sorted by relevance

12345678910>>...54

/aosp_15_r20/external/gson/gson/src/test/java/com/google/gson/functional/
H A DRuntimeTypeAdapterFactoryFunctionalTest.java64 final ShapeType type; field in RuntimeTypeAdapterFactoryFunctionalTest.Shape
65 Shape(ShapeType type) { this.type = type; } in Shape()
127 public RuntimeTypeAdapterFactory<T> registerSubtype(Class<? extends T> type, String label) { in registerSubtype()
146 public RuntimeTypeAdapterFactory<T> registerSubtype(Class<? extends T> type) { in registerSubtype()
150 @Override public <R> TypeAdapter<R> create(Gson gson, TypeToken<R> type) { in create()
158 TypeAdapter<?> delegate = gson.getDelegateAdapter(this, TypeToken.get(entry.getValue())); in create() local
159 labelToDelegate.put(entry.getKey(), delegate); in create() local
160 subtypeToDelegate.put(entry.getValue(), delegate); in create() local
173 TypeAdapter<R> delegate = (TypeAdapter<R>) labelToDelegate.get(label); in create() local
185 TypeAdapter<R> delegate = (TypeAdapter<R>) subtypeToDelegate.get(srcType); in create() local
/aosp_15_r20/external/guava/android/guava/src/com/google/common/reflect/
H A DMutableTypeToInstanceMap.java47 public <T extends @NonNull B> T getInstance(Class<T> type) { in getInstance()
53 public <T extends @NonNull B> T getInstance(TypeToken<T> type) { in getInstance()
60 public <T extends B> T putInstance(Class<@NonNull T> type, @ParametricNullness T value) { in putInstance()
67 public <T extends B> T putInstance(TypeToken<@NonNull T> type, @ParametricNullness T value) { in putInstance()
105 protected Map<TypeToken<? extends @NonNull B>, B> delegate() { in delegate() method in MutableTypeToInstanceMap
111 private <T extends B> T trustedPut(TypeToken<@NonNull T> type, @ParametricNullness T value) { in trustedPut()
117 private <T extends @NonNull B> T trustedGet(TypeToken<T> type) { in trustedGet()
124 private final Entry<K, V> delegate; field in MutableTypeToInstanceMap.UnmodifiableEntry
165 private UnmodifiableEntry(Entry<K, V> delegate) { in UnmodifiableEntry()
170 protected Entry<K, V> delegate() { in delegate() method
H A DImmutableTypeToInstanceMap.java97 private final ImmutableMap<TypeToken<? extends B>, B> delegate; field in ImmutableTypeToInstanceMap
99 private ImmutableTypeToInstanceMap(ImmutableMap<TypeToken<? extends B>, B> delegate) { in ImmutableTypeToInstanceMap() argument
105 public <T extends B> T getInstance(TypeToken<T> type) { in getInstance()
111 public <T extends B> T getInstance(Class<T> type) { in getInstance()
126 public <T extends B> T putInstance(TypeToken<T> type, T value) { in putInstance()
141 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance()
174 protected Map<TypeToken<? extends B>, B> delegate() { in delegate() method in ImmutableTypeToInstanceMap
180 private <T extends B> T trustedGet(TypeToken<T> type) { in trustedGet()
/aosp_15_r20/external/guava/guava/src/com/google/common/reflect/
H A DMutableTypeToInstanceMap.java47 public <T extends @NonNull B> T getInstance(Class<T> type) { in getInstance()
53 public <T extends @NonNull B> T getInstance(TypeToken<T> type) { in getInstance()
60 public <T extends B> T putInstance(Class<@NonNull T> type, @ParametricNullness T value) { in putInstance()
67 public <T extends B> T putInstance(TypeToken<@NonNull T> type, @ParametricNullness T value) { in putInstance()
105 protected Map<TypeToken<? extends @NonNull B>, B> delegate() { in delegate() method in MutableTypeToInstanceMap
111 private <T extends B> T trustedPut(TypeToken<@NonNull T> type, @ParametricNullness T value) { in trustedPut()
117 private <T extends @NonNull B> T trustedGet(TypeToken<T> type) { in trustedGet()
124 private final Entry<K, V> delegate; field in MutableTypeToInstanceMap.UnmodifiableEntry
165 private UnmodifiableEntry(Entry<K, V> delegate) { in UnmodifiableEntry()
170 protected Entry<K, V> delegate() { in delegate() method
H A DImmutableTypeToInstanceMap.java97 private final ImmutableMap<TypeToken<? extends B>, B> delegate; field in ImmutableTypeToInstanceMap
99 private ImmutableTypeToInstanceMap(ImmutableMap<TypeToken<? extends B>, B> delegate) { in ImmutableTypeToInstanceMap() argument
105 public <T extends B> T getInstance(TypeToken<T> type) { in getInstance()
111 public <T extends B> T getInstance(Class<T> type) { in getInstance()
126 public <T extends B> T putInstance(TypeToken<T> type, T value) { in putInstance()
141 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance()
174 protected Map<TypeToken<? extends B>, B> delegate() { in delegate() method in ImmutableTypeToInstanceMap
180 private <T extends B> T trustedGet(TypeToken<T> type) { in trustedGet()
/aosp_15_r20/external/perfetto/src/trace_processor/util/
H A Dproto_to_args_parser.cc99 const std::string& type, in ParseMessage()
101 Delegate& delegate, in ParseMessage()
112 const std::string& type, in ParseMessageInternal()
114 Delegate& delegate, in ParseMessageInternal()
197 Delegate& delegate, in ParseField()
239 Delegate& delegate, in ParsePackedField()
301 void ProtoToArgsParser::AddParsingOverrideForType(const std::string& type, in AddParsingOverrideForType()
308 Delegate& delegate) { in MaybeApplyOverrideForField()
319 Delegate& delegate) { in MaybeApplyOverrideForType()
329 Delegate& delegate) { in ParseSimpleField()
[all …]
/aosp_15_r20/external/gson/extras/src/main/java/com/google/gson/typeadapters/
H A DRuntimeTypeAdapterFactory.java194 public RuntimeTypeAdapterFactory<T> registerSubtype(Class<? extends T> type, String label) { in registerSubtype()
213 public RuntimeTypeAdapterFactory<T> registerSubtype(Class<? extends T> type) { in registerSubtype()
218 public <R> TypeAdapter<R> create(Gson gson, TypeToken<R> type) { in create()
233 TypeAdapter<?> delegate = gson.getDelegateAdapter(this, TypeToken.get(entry.getValue())); in create() local
234 labelToDelegate.put(entry.getKey(), delegate); in create() local
235 subtypeToDelegate.put(entry.getValue(), delegate); in create() local
254 TypeAdapter<R> delegate = (TypeAdapter<R>) labelToDelegate.get(label); in create() local
266 TypeAdapter<R> delegate = (TypeAdapter<R>) subtypeToDelegate.get(srcType); in create() local
/aosp_15_r20/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/visitors/
H A DFilteringApiVisitor.kt51 val delegate: DelegatedVisitor, constant in com.android.tools.metalava.model.visitors.FilteringApiVisitor
176 private inner class FilteringSourceFile(val delegate: SourceFile) : SourceFile by delegate { in <lambda>() constant in FilteringSourceFile
186 val delegate: ClassItem, constant in FilteringClassItem
264 private inner class FilteringParameterItem(private val delegate: ParameterItem) : constant in FilteringParameterItem
267 override fun type() = delegate.type().transform(typeAnnotationFilter) in <lambda>() method
293 private inner class FilteringConstructorItem(private val delegate: ConstructorItem) : constant in FilteringConstructorItem
309 private inner class FilteringMethodItem(private val delegate: MethodItem) : constant in FilteringMethodItem
323 private inner class FilteringFieldItem(private val delegate: FieldItem) : constant in FilteringFieldItem
326 override fun type() = delegate.type().transform(typeAnnotationFilter) in <lambda>() method
333 private inner class FilteringPropertyItem(private val delegate: PropertyItem) : constant in FilteringPropertyItem
[all …]
/aosp_15_r20/external/guava/android/guava/src/com/google/common/collect/
H A DImmutableClassToInstanceMap.java66 public static <B, T extends B> ImmutableClassToInstanceMap<B> of(Class<T> type, T value) { in of()
119 Class<? extends T> type = entry.getKey(); in putAll() local
126 private static <T> T cast(Class<T> type, Object value) { in cast()
169 private final ImmutableMap<Class<? extends B>, B> delegate; field in ImmutableClassToInstanceMap
171 private ImmutableClassToInstanceMap(ImmutableMap<Class<? extends B>, B> delegate) { in ImmutableClassToInstanceMap() argument
176 protected Map<Class<? extends B>, B> delegate() { in delegate() method in ImmutableClassToInstanceMap
183 public <T extends B> T getInstance(Class<T> type) { in getInstance()
198 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance()
/aosp_15_r20/external/guava/guava/src/com/google/common/collect/
H A DImmutableClassToInstanceMap.java66 public static <B, T extends B> ImmutableClassToInstanceMap<B> of(Class<T> type, T value) { in of()
119 Class<? extends T> type = entry.getKey(); in putAll() local
126 private static <T> T cast(Class<T> type, Object value) { in cast()
169 private final ImmutableMap<Class<? extends B>, B> delegate; field in ImmutableClassToInstanceMap
171 private ImmutableClassToInstanceMap(ImmutableMap<Class<? extends B>, B> delegate) { in ImmutableClassToInstanceMap() argument
176 protected Map<Class<? extends B>, B> delegate() { in delegate() method in ImmutableClassToInstanceMap
183 public <T extends B> T getInstance(Class<T> type) { in getInstance()
198 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance()
/aosp_15_r20/external/perfetto/src/traced/probes/filesystem/
H A Dfile_scanner_unittest.cc48 InodeFileMap_Entry_Type type) override { in OnInodeFound()
89 FileEntry StatFileEntry(const std::string& path, InodeFileMap_Entry_Type type) { in StatFileEntry()
97 TestDelegate delegate( in TEST() local
117 TestDelegate delegate( in TEST() local
137 TestDelegate delegate( in TEST() local
139 const std::string& path, InodeFileMap_Entry_Type type) { in TEST()
169 TestDelegate delegate( in TEST() local
171 const std::string& path, InodeFileMap_Entry_Type type) { in TEST()
/aosp_15_r20/external/gson/gson/src/main/java/com/google/gson/internal/bind/
H A DTypeAdapterRuntimeTypeWrapper.java29 private final TypeAdapter<T> delegate; field in TypeAdapterRuntimeTypeWrapper
30 private final Type type; field in TypeAdapterRuntimeTypeWrapper
32 TypeAdapterRuntimeTypeWrapper(Gson context, TypeAdapter<T> delegate, Type type) { in TypeAdapterRuntimeTypeWrapper()
81 …TypeAdapter<?> delegate = ((SerializationDelegatingTypeAdapter<?>) typeAdapter).getSerializationDe… in isReflective() local
95 private static Type getRuntimeTypeIfMoreSpecific(Type type, Object value) { in getRuntimeTypeIfMoreSpecific()
/aosp_15_r20/external/mobile-data-download/java/com/google/android/libraries/mobiledatadownload/file/common/testing/
H A DFakeFileBackend.java38 private final Backend delegate; field in FakeFileBackend
68 public FakeFileBackend(Backend delegate) { in FakeFileBackend()
72 public void setFailure(OperationType type, IOException ex) { in setFailure()
84 public void clearFailure(OperationType type) { in clearFailure()
94 public void setSuspension(OperationType type) { in setSuspension()
106 public void clearSuspension(OperationType type) { in clearSuspension()
120 private void throwIf(OperationType type) throws IOException { in throwIf()
130 private void suspendIf(OperationType type) throws IOException { in suspendIf()
146 private void throwOrSuspendIf(OperationType type) throws IOException { in throwOrSuspendIf()
271 FailingOutputStream(OutputStream delegate, IOException exception) { in FailingOutputStream()
/aosp_15_r20/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
H A DSoundTriggerMiddlewareLogging.java113 @NonNull ISoundTriggerMiddlewareInternal delegate) { in SoundTriggerMiddlewareLogging()
122 @NonNull ISoundTriggerMiddlewareInternal delegate) { in SoundTriggerMiddlewareLogging()
191 void attach(@NonNull ISoundTriggerModule delegate, EventLogger eventLogger) { in attach()
378 private CallbackLogging(ISoundTriggerCallback delegate, in CallbackLogging()
541 public static void printSystemLog(int type, String tag, String message, Exception e) { in printSystemLog()
570 public static ServiceEvent createForException(Type type, String packageName, in createForException()
575 public static ServiceEvent createForReturn(Type type, String packageName, in createForReturn()
580 private ServiceEvent(Exception exception, Type type, String packageName, Object returnValue, in ServiceEvent()
590 public Event printLog(int type, String tag) { in printLog()
635 public static SessionEvent createForException(Type type, Exception exception, in createForException()
[all …]
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/reflect/
H A DInvokableTest.java90 private static String typeName(Class<?> type) { in typeName()
231 Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class; in testConstructor_returnType_hasTypeParameter() local
258 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_parameters() local
272 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_call() local
279 Invokable<?, Prepender> delegate = in testConstructor_returning() local
287 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_invalidReturning() local
292 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_returnType() local
297 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_exceptionTypes() local
302 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_typeParameters() local
309 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_parameters() local
[all …]
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/reflect/
H A DInvokableTest.java90 private static String typeName(Class<?> type) { in typeName()
231 Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class; in testConstructor_returnType_hasTypeParameter() local
258 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_parameters() local
272 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_call() local
279 Invokable<?, Prepender> delegate = in testConstructor_returning() local
287 Invokable<?, Prepender> delegate = Prepender.constructor(String.class, int.class); in testConstructor_invalidReturning() local
292 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_returnType() local
297 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_exceptionTypes() local
302 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_typeParameters() local
309 Invokable<?, ?> delegate = Prepender.method("prepend", String.class, Iterable.class); in testStaticMethod_parameters() local
[all …]
/aosp_15_r20/external/guice/core/src/com/google/inject/multibindings/
H A DMultibinder.java90 public static <T> Multibinder<T> newSetBinder(Binder binder, TypeLiteral<T> type) { in newSetBinder()
98 public static <T> Multibinder<T> newSetBinder(Binder binder, Class<T> type) { in newSetBinder()
107 Binder binder, TypeLiteral<T> type, Annotation annotation) { in newSetBinder()
116 Binder binder, Class<T> type, Annotation annotation) { in newSetBinder()
125 Binder binder, TypeLiteral<T> type, Class<? extends Annotation> annotationType) { in newSetBinder()
144 Binder binder, Class<T> type, Class<? extends Annotation> annotationType) { in newSetBinder()
148 private final RealMultibinder<T> delegate; field in Multibinder
150 private Multibinder(RealMultibinder<T> delegate) { in Multibinder()
H A DOptionalBinder.java142 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Class<T> type) { in newOptionalBinder()
147 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, TypeLiteral<T> type) { in newOptionalBinder()
152 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Key<T> type) { in newOptionalBinder()
157 private final RealOptionalBinder<T> delegate; field in OptionalBinder
159 private OptionalBinder(RealOptionalBinder<T> delegate) { in OptionalBinder()
/aosp_15_r20/external/pigweed/pw_bluetooth_sapphire/fuchsia/host/fidl/
H A Dgatt_server_server.cc91 bt::UUID type; in NewDescriptor() local
121 bt::UUID type; in NewCharacteristic() local
151 LocalServiceDelegatePtr delegate, in LocalServiceImpl()
171 LocalServiceDelegate* delegate() { return delegate_.get(); } in delegate() function in bthost::GattServerServer::LocalServiceImpl
238 fidl::InterfaceHandle<LocalServiceDelegate> delegate, in PublishService()
390 auto* delegate = iter->second->delegate(); in OnReadRequest() local
409 auto* delegate = iter->second->delegate(); in OnWriteRequest() local
436 auto* delegate = iter->second->delegate(); in OnCharacteristicConfig() local
/aosp_15_r20/external/libchrome/base/
H A Drun_loop.cc56 void RunLoop::RegisterDelegateForCurrentThread(Delegate* delegate) { in RegisterDelegateForCurrentThread()
70 RunLoop::RunLoop(Type type) in RunLoop()
179 Delegate* delegate = tls_delegate.Get().Get(); in IsRunningOnCurrentThread() local
185 Delegate* delegate = tls_delegate.Get().Get(); in IsNestedOnCurrentThread() local
191 Delegate* delegate = tls_delegate.Get().Get(); in AddNestingObserverOnCurrentThread() local
198 Delegate* delegate = tls_delegate.Get().Get(); in RemoveNestingObserverOnCurrentThread() local
206 Delegate* delegate = tls_delegate.Get().Get(); in QuitCurrentDeprecated() local
215 Delegate* delegate = tls_delegate.Get().Get(); in QuitCurrentWhenIdleDeprecated() local
/aosp_15_r20/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
H A DValueInstantiator.java295 …public Object createUsingDelegate(DeserializationContext ctxt, Object delegate) throws IOException… in createUsingDelegate()
304 …public Object createUsingArrayDelegate(DeserializationContext ctxt, Object delegate) throws IOExce… in createUsingArrayDelegate()
471 public Base(Class<?> type) { in Base()
475 public Base(JavaType type) { in Base()
503 protected Delegating(ValueInstantiator delegate) { in Delegating()
515 protected ValueInstantiator delegate() { return _delegate; } in delegate() method in ValueInstantiator.Delegating
584 …public Object createUsingDelegate(DeserializationContext ctxt, Object delegate) throws IOException… in createUsingDelegate()
589 …public Object createUsingArrayDelegate(DeserializationContext ctxt, Object delegate) throws IOExce… in createUsingArrayDelegate()
/aosp_15_r20/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
H A DExpandableController.kt303 val delegate = transitionController() in activityController() constant
354 val delegate = transitionController() in dialogController() constant
366 val delegate = transitionController() in dialogController() constant
383 val type = cuj?.cujType ?: return null in dialogController() constant
/aosp_15_r20/external/aws-sdk-java-v2/services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/converter/attribute/
H A DListAttributeConverter.java87 private final Delegate<T, ?> delegate; field in ListAttributeConverter
89 private ListAttributeConverter(Delegate<T, ?> delegate) { in ListAttributeConverter()
105 public EnhancedType<T> type() { in type() method in ListAttributeConverter
125 private final EnhancedType<T> type; field in ListAttributeConverter.Delegate
136 public EnhancedType<T> type() { in type() method in ListAttributeConverter.Delegate
H A DMapAttributeConverter.java81 private final Delegate<T, ?, ?> delegate; field in MapAttributeConverter
83 private MapAttributeConverter(Delegate<T, ?, ?> delegate) { in MapAttributeConverter()
128 public EnhancedType<T> type() { in type() method in MapAttributeConverter
148 private final EnhancedType<T> type; field in MapAttributeConverter.Delegate
160 public EnhancedType<T> type() { in type() method in MapAttributeConverter.Delegate
H A DSetAttributeConverter.java89 private final Delegate<T, ?> delegate; field in SetAttributeConverter
91 private SetAttributeConverter(Delegate<T, ?> delegate) { in SetAttributeConverter()
107 public EnhancedType<T> type() { in type() method in SetAttributeConverter
127 private final EnhancedType<T> type; field in SetAttributeConverter.Delegate
140 public EnhancedType<T> type() { in type() method in SetAttributeConverter.Delegate

12345678910>>...54