Home
last modified time | relevance | path

Searched refs:mNativeType (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryablePrimitive.java70 return getPrimitiveTypeSize(mNativeType); in calculateMarshalSize()
76 checkNativeTypeEquals(TYPE_INT32, mNativeType); in marshal()
80 checkNativeTypeEquals(TYPE_FLOAT, mNativeType); in marshal()
84 checkNativeTypeEquals(TYPE_INT64, mNativeType); in marshal()
88 checkNativeTypeEquals(TYPE_RATIONAL, mNativeType); in marshal()
91 checkNativeTypeEquals(TYPE_DOUBLE, mNativeType); in marshal()
95 checkNativeTypeEquals(TYPE_BYTE, mNativeType); in marshal()
130 switch (mNativeType) { in unmarshalObject()
147 "Can't unmarshal native type " + mNativeType); in unmarshalObject()
153 return getPrimitiveTypeSize(mNativeType); in getNativeSize()
DMarshalQueryableEnum.java62 if (mNativeType == TYPE_INT32) { in marshal()
64 } else if (mNativeType == TYPE_BYTE) { in marshal()
79 switch (mNativeType) { in unmarshal()
97 return getPrimitiveTypeSize(mNativeType); in getNativeSize()
DMarshalQueryablePair.java70 actualTypeArgToken, mNativeType); in MarshalerPair()
80 actualTypeArgToken, mNativeType); in MarshalerPair()
DMarshalQueryableArray.java115 mComponentMarshaler = MarshalRegistry.getMarshaler(componentToken, mNativeType);
152 mComponentClass == getPrimitiveTypeClass(mNativeType)) {
DMarshalQueryableRange.java66 actualTypeArgToken, mNativeType); in MarshalerRange()
/frameworks/base/media/java/android/media/
DAudioDeviceAttributes.java84 private final int mNativeType; field in AudioDeviceAttributes
107 mNativeType = deviceInfo.getInternalType(); in AudioDeviceAttributes()
145 mNativeType = AudioDeviceInfo.convertDeviceTypeToInternalDevice(type); in AudioDeviceAttributes()
148 mNativeType = AudioDeviceInfo.convertDeviceTypeToInternalInputDevice(type, address); in AudioDeviceAttributes()
150 mNativeType = AudioSystem.DEVICE_NONE; in AudioDeviceAttributes()
184 mNativeType = nativeType; in AudioDeviceAttributes()
199 mNativeType = ada.getInternalType(); in AudioDeviceAttributes()
259 return mNativeType; in getInternalType()
326 + " type:" + (mRole == ROLE_OUTPUT ? AudioSystem.getOutputDeviceName(mNativeType) in toString()
327 : AudioSystem.getInputDeviceName(mNativeType)) in toString()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/
DMarshaler.java37 protected final int mNativeType; field in Marshaler
58 mNativeType = checkNativeType(nativeType); in Marshaler()
146 return mNativeType; in getNativeType()
/frameworks/base/core/jni/
Dandroid_media_AudioDeviceAttributes.cpp29 jfieldID mNativeType; member
51 gAudioDeviceAttributesFields.mNativeType); in createAudioDeviceTypeAddrFromJava()
69 gAudioDeviceAttributesFields.mNativeType = in register_android_media_AudioDeviceAttributes()