/frameworks/rs/cpp/ |
D | Type.cpp | 93 uintptr_t dataBuffer[6]; in updateFromNative() local 94 RS::dispatch->TypeGetNativeData(mRS->getContext(), getID(), dataBuffer, 6); in updateFromNative() 96 mDimX = (uint32_t)dataBuffer[0]; in updateFromNative() 97 mDimY = (uint32_t)dataBuffer[1]; in updateFromNative() 98 mDimZ = (uint32_t)dataBuffer[2]; in updateFromNative() 99 mDimMipmaps = dataBuffer[3] == 1 ? true : false; in updateFromNative() 100 mDimFaces = dataBuffer[4] == 1 ? true : false; in updateFromNative() 102 uintptr_t elementID = dataBuffer[5]; in updateFromNative()
|
/frameworks/base/opengl/java/android/opengl/ |
D | ETC1Util.java | 170 … ByteBuffer dataBuffer = ByteBuffer.allocateDirect(encodedSize).order(ByteOrder.nativeOrder()); in createTexture() local 176 dataBuffer.put(ioBuffer, 0, chunkSize); in createTexture() 179 dataBuffer.position(0); in createTexture() 180 return new ETC1Texture(width, height, dataBuffer); in createTexture() 207 ByteBuffer dataBuffer = texture.getData(); in writeTexture() local 208 int originalPosition = dataBuffer.position(); in writeTexture() 220 dataBuffer.get(ioBuffer, 0, chunkSize); in writeTexture() 225 dataBuffer.position(originalPosition); in writeTexture()
|
/frameworks/base/rs/java/android/renderscript/ |
D | Type.java | 241 long[] dataBuffer = new long[6]; in updateFromNative() local 242 mRS.nTypeGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 244 mDimX = (int)dataBuffer[0]; in updateFromNative() 245 mDimY = (int)dataBuffer[1]; in updateFromNative() 246 mDimZ = (int)dataBuffer[2]; in updateFromNative() 247 mDimMipmaps = dataBuffer[3] == 1 ? true : false; in updateFromNative() 248 mDimFaces = dataBuffer[4] == 1 ? true : false; in updateFromNative() 250 long elementID = dataBuffer[5]; in updateFromNative()
|
D | Element.java | 1111 int[] dataBuffer = new int[5]; in updateFromNative() local 1112 mRS.nElementGetNativeData(getID(mRS), dataBuffer); in updateFromNative() local 1114 mNormalized = dataBuffer[2] == 1 ? true : false; in updateFromNative() 1115 mVectorSize = dataBuffer[3]; in updateFromNative() 1118 if(dt.mID == dataBuffer[0]){ in updateFromNative() 1124 if(dk.mID == dataBuffer[1]){ in updateFromNative() 1129 int numSubElements = dataBuffer[4]; in updateFromNative()
|
/frameworks/av/media/ndk/fuzzer/ |
D | ndk_extractor_fuzzer.cpp | 37 std::vector<char> dataBuffer = mFdp.ConsumeBytes<char>( in NdkExtractorFuzzer() local 39 mDataSize = dataBuffer.size(); in NdkExtractorFuzzer() 40 write(mDataSourceFd, dataBuffer.data(), dataBuffer.size()); in NdkExtractorFuzzer()
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_handle_fuzzer.cpp | 69 std::vector<char> dataBuffer = mFdp.ConsumeBytes<char>( in writeInputFile() local 71 write(fd, dataBuffer.data(), dataBuffer.size()); in writeInputFile() 73 return dataBuffer.size(); in writeInputFile()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | ShaderCacheTests.cpp | 265 std::vector<uint8_t> dataBuffer(dataSize); in TEST() local 266 genRandomData(dataBuffer); in TEST() 267 setShader(inVS, dataBuffer); in TEST() 272 ASSERT_TRUE(checkShader(outVS2, dataBuffer)); in TEST() 308 std::vector<uint8_t> dataBuffer(dataSize); in TEST() local 310 genRandomData(dataBuffer); in TEST() 314 setShader(data, dataBuffer); in TEST()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | DecoderTest.java | 146 ByteBuffer dataBuffer = ByteBuffer.allocate(info.size); in testDecoder() local 147 dataBuffer.put(extractor.getFrameBuffer().array(), 0, info.size); in testDecoder() 149 inputBuffer.add(dataBuffer); in testDecoder()
|
D | EncoderTest.java | 190 ByteBuffer dataBuffer = ByteBuffer.allocate(info.size); in decodeFile() local 191 dataBuffer.put(extractor.getFrameBuffer().array(), 0, info.size); in decodeFile() 193 inputBuffer.add(dataBuffer); in decodeFile()
|
/frameworks/base/services/core/java/com/android/server/pdb/ |
D | PersistentDataBlockService.java | 1342 ByteBuffer dataBuffer = ByteBuffer.allocate(dataLength + 4); in writeInternal() local 1343 dataBuffer.putInt(data == null ? 0 : data.length); in writeInternal() 1345 dataBuffer.put(data); in writeInternal() 1347 dataBuffer.flip(); in writeInternal() 1349 writeDataBuffer(offset, dataBuffer); in writeInternal() 1352 private boolean writeDataBuffer(long offset, ByteBuffer dataBuffer) { in writeDataBuffer() argument 1359 channel.write(dataBuffer); in writeDataBuffer()
|
/frameworks/av/drm/common/ |
D | IDrmManagerService.cpp | 244 const DrmBuffer dataBuffer = drmInfo->getData(); in processDrmInfo() local 245 const int dataBufferSize = dataBuffer.length; in processDrmInfo() 248 data.write(dataBuffer.data, dataBufferSize); in processDrmInfo() 350 const DrmBuffer dataBuffer = drmRights.getData(); in saveRights() local 351 data.writeInt32(dataBuffer.length); in saveRights() 352 data.write(dataBuffer.data, dataBuffer.length); in saveRights()
|