Home
last modified time | relevance | path

Searched refs:marshaler (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshalRegistry.java68 Marshaler<T> marshaler = in getMarshaler() local
71 if (marshaler == null) { in getMarshaler()
84 marshaler = castedPotential.createMarshaler(typeToken, nativeType); in getMarshaler()
89 if (marshaler == null) { in getMarshaler()
98 sMarshalerMap.put(marshalToken, marshaler); in getMarshaler()
101 return marshaler; in getMarshaler()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java147 private <TElem> void marshalArrayElement(Marshaler<TElem> marshaler, in marshalArrayElement() argument
149 marshaler.marshal((TElem)Array.get(array, index), buffer); in marshalArrayElement()
158 private <TElem> int calculateElementMarshalSize(Marshaler<TElem> marshaler, in calculateElementMarshalSize() argument
162 return marshaler.calculateMarshalSize((TElem) elem); in calculateElementMarshalSize()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java539 Marshaler<T> marshaler = getMarshalerForKey(key, nativeType); in getBase() local
541 return marshaler.unmarshal(buffer); in getBase()
1397 Marshaler<T> marshaler = getMarshalerForKey(key, nativeType); in setBase() local
1398 int size = marshaler.calculateMarshalSize(value); in setBase()
1404 marshaler.marshal(value, buffer); in setBase()