Home
last modified time | relevance | path

Searched refs:bufferType (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DByteBufferPerfTest.java86 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws IOException { in newBuffer() argument
89 switch (bufferType) { in newBuffer()
122 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getByte() argument
123 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte()
136 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getByteArray() argument
137 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray()
151 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getByte_indexed() argument
152 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte_indexed()
165 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getChar() argument
166 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getChar()
[all …]
DByteBufferScalarVersusVectorPerfTest.java111 ByteBufferPerfTest.MyBufferType bufferType) in timeManualByteBufferCopy() argument
113 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
114 ByteBuffer dst = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
DBulkPerfTest.java92 public static ByteBuffer newBuffer(boolean aligned, MyBufferType bufferType, int bsize) in newBuffer() argument
96 switch (bufferType) { in newBuffer()
/frameworks/base/apct-tests/perftests/core/src/android/conscrypt/conscrypt/
DEngineWrapPerfTest.java74 Config(BufferType bufferType, in Config() argument
77 a_bufferType = bufferType; in Config()
81 public BufferType bufferType() { in bufferType() method in EngineWrapPerfTest.Config
96 for (BufferType bufferType : BufferType.values()) { in getParams()
99 params.add(new Object[] {new Config(bufferType, messageSize, cipher)}); in getParams()
121 BufferType bufferType = config.bufferType(); in setup() local
127 clientApplicationBuffer = bufferType.newApplicationBuffer(clientEngine); in setup()
128 serverApplicationBuffer = bufferType.newApplicationBuffer(serverEngine); in setup()
129 clientPacketBuffer = bufferType.newPacketBuffer(clientEngine); in setup()
130 serverPacketBuffer = bufferType.newPacketBuffer(serverEngine); in setup()
[all …]
DEngineHandshakePerfTest.java70 Config(BufferType bufferType, in Config() argument
73 a_bufferType = bufferType; in Config()
77 public BufferType bufferType() { in bufferType() method in EngineHandshakePerfTest.Config
93 for (BufferType bufferType : BufferType.values()) { in getParams()
95 params.add(new Object[] {new Config(bufferType, cipher, 100)}); in getParams()
115 BufferType bufferType = config.bufferType(); in setup() local
121 clientApplicationBuffer = bufferType.newApplicationBuffer(clientEngine); in setup()
122 serverApplicationBuffer = bufferType.newApplicationBuffer(serverEngine); in setup()
123 clientPacketBuffer = bufferType.newPacketBuffer(clientEngine); in setup()
124 serverPacketBuffer = bufferType.newPacketBuffer(serverEngine); in setup()
DCipherEncryptPerfTest.java79 Config(BufferType bufferType, CipherFactory cipherFactory, Transformation transformation) { in Config() argument
80 b_bufferType = bufferType; in Config()
84 public BufferType bufferType() { in bufferType() method in CipherEncryptPerfTest.Config
99 for (BufferType bufferType : BufferType.values()) { in getParams()
103 bufferType, cipherFactory, transformation)}); in getParams()
115 switch (config.bufferType()) { in encrypt()
188 switch (config.bufferType()) { in ByteBufferStrategy()
207 "Unexpected buffertype: " + config.bufferType()); in ByteBufferStrategy()
/frameworks/av/media/libmedia/
DOMXBuffer.cpp115 BufferType bufferType = (BufferType) parcel->readInt32(); in readFromParcel() local
116 CHECK(bufferType != kBufferTypeHidlMemory); in readFromParcel()
118 switch(bufferType) { in readFromParcel()
171 mBufferType = bufferType; in readFromParcel()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java69 BufferType bufferType) { in TextViewFallbackLineSpacingTest() argument
71 mBufferType = bufferType; in TextViewFallbackLineSpacingTest()
/frameworks/wilhelm/src/itf/
DIAndroidBufferQueue.cpp56 SLuint16 bufferType, AdvancedBufferHeader *pBuff, bool *pEOS) in setItems() argument
59 switch (bufferType) { in setItems()
93 switch (bufferType) { in setItems()
188 switch (bufferType) { in setItems()
/frameworks/rs/
DrsMesh.cpp223 const Type *bufferType = mHal.state.vertexBuffers[ct]->getType(); in computeBBox() local
224 const Element *bufferElem = bufferType->getElement(); in computeBBox()
235 numVerts = bufferType->getDimX(); in computeBBox()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp528 MetadataBufferType bufferType = *(MetadataBufferType *)src; in extractGraphicBuffer() local
529 bool usingANWBuffer = bufferType == kMetadataBufferTypeANWBuffer; in extractGraphicBuffer()
530 if (!usingANWBuffer && bufferType != kMetadataBufferTypeGrallocSource) { in extractGraphicBuffer()
531 ALOGE("Unsupported metadata type (%d)", bufferType); in extractGraphicBuffer()
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java1049 JType bufferType = bufferArgTypes.get(0); in emitJniCode() local
1050 if (bufferType.isTypedBuffer()) { in emitJniCode()
1051 String typedArrayType = getJniType(bufferType.getArrayTypeForTypedBuffer()); in emitJniCode()
1059 JType bufferType = bufferArgTypes.get(0); in emitJniCode() local
1060 if (bufferType.isTypedBuffer()) { in emitJniCode()
1061 String typedArrayType = getJniType(bufferType.getArrayTypeForTypedBuffer()); in emitJniCode()
/frameworks/base/core/java/android/widget/
DTextView.java1657 BufferType bufferType = BufferType.EDITABLE;
1772 bufferType = BufferType.SPANNABLE;
1780 bufferType = BufferType.NORMAL;
1783 bufferType = BufferType.SPANNABLE;
1786 bufferType = BufferType.EDITABLE;
1800 if (bufferType == BufferType.NORMAL) {
1801 bufferType = BufferType.SPANNABLE;
1881 if (bufferType == BufferType.EDITABLE && singleLine && maxlength == -1) {
1894 setText(text, bufferType);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt351 field public static final int bufferType = 16843086; // 0x101014e
/frameworks/base/core/api/
Dcurrent.txt569 field public static final int bufferType = 16843086; // 0x101014e
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt74902 Lcom/android/internal/R$attr;->bufferType:I