/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/ |
D | format_utils_test.cpp | 32 const std::vector<uint8_t> getBuffer(const int magicNumber, const int version, const uint16_t flags, in getBuffer() function 59 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_2, 0, 0); in TEST() 65 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_202, 0, 0); in TEST() 71 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_402, 0, 0); in TEST() 77 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_403, 0, 0); in TEST() 84 getBuffer(FormatUtils::MAGIC_NUMBER - 1, FormatUtils::VERSION_402, 0, 0); in TEST() 90 getBuffer(FormatUtils::MAGIC_NUMBER, 100, 0, 0); in TEST() 96 getBuffer(FormatUtils::MAGIC_NUMBER, FormatUtils::VERSION_402, 0, 0); in TEST()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | ByteArrayRingBufferTest.java | 49 assertSame(data, rb.getBuffer(0)); in canAddAndRetrieveSingleElement() 60 assertSame(data1, rb.getBuffer(0)); in canAddAndRetrieveMultipleElements() 61 assertSame(data2, rb.getBuffer(1)); in canAddAndRetrieveMultipleElements() 101 assertSame(data2, rb.getBuffer(0)); in appendPrunesBufferIfNecessary() 115 assertSame(data3, rb.getBuffer(0)); in appendPrunesMultipleBuffersIfNecessary() 140 assertSame(data2, rb.getBuffer(0)); in appendPrunesInFifoOrder() 141 assertSame(data3, rb.getBuffer(1)); in appendPrunesInFifoOrder()
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalBuffer.cpp | 32 CHECK(srcPool.getBuffer() != nullptr); in copyRunTimePoolInfos() 33 CHECK(dstPool.getBuffer() != nullptr); in copyRunTimePoolInfos() 35 std::copy(srcPool.getBuffer(), srcPool.getBuffer() + srcPool.getSize(), dstPool.getBuffer()); in copyRunTimePoolInfos()
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtpPacketTest.cpp | 42 EXPECT_EQ(memcmp(pRtpPayLoad, pobjRtpBuffer->getBuffer(), sizeof(pRtpPayLoad)), 0); in TEST() 52 EXPECT_EQ(memcmp(pRtpExtHdr, pobjRtpExtHdr->getBuffer(), sizeof(pRtpExtHdr)), 0); in TEST() 95 EXPECT_EQ(memcmp(pRtpExtHdr, pobjRtpExtHdr->getBuffer(), sizeof(pRtpExtHdr)), 0); in TEST() 104 EXPECT_EQ(memcmp(pRtpPayLoad, pobjRtpBuffer->getBuffer(), sizeof(pRtpPayLoad)), 0); in TEST() 219 EXPECT_EQ(memcmp(pRtpPayLoad, pobjRtpBuffer->getBuffer(), sizeof(pRtpPayLoad)), 0); in TEST() 262 EXPECT_EQ(memcmp(rtpPacketbuf.getBuffer(), pExpectedBuffer, uiRtpLength), 0); in TEST() 335 EXPECT_EQ(memcmp(rtpPacketbuf.getBuffer(), pExpectedBuffer, uiRtpLength), 0); in TEST()
|
D | RtcpXrPacketTest.cpp | 39 memcmp(pTestReportBuf->getBuffer(), pRetReportBuf->getBuffer(), sizeof(testReport)), 0); in TEST() 75 RtpDt_UChar* buf = objRtcpPktBuf.getBuffer(); in TEST()
|
D | RtcpFbPacketTest.cpp | 43 EXPECT_EQ(memcmp(pRtpBuf->getBuffer(), testFci, sizeof(testFci)), 0); in TEST() 64 EXPECT_EQ(memcmp(pRtpBuf->getBuffer(), (bufPacket + RTP_WORD_SIZE), in TEST() 91 RtpDt_UChar* buf = objRtcpPktBuf.getBuffer(); in TEST()
|
D | RtcpRrPacketTest.cpp | 65 EXPECT_EQ(memcmp(rtpbuffer.getBuffer(), pExtBuf->getBuffer(), 11), 0); in TEST_F() 111 EXPECT_EQ(memcmp(objRtcpPktBuf.getBuffer(), RtcpRrPacketTest::bufRrWithOneReport, bBufLen), 0); in TEST_F()
|
D | RtcpByePacketTest.cpp | 142 EXPECT_EQ(memcmp(reasonBuf->getBuffer(), reason, strlen(reason)), 0); in TEST_F() 176 EXPECT_EQ(memcmp((byePacketBuffer->getBuffer() + RTCP_FIXED_HDR_LEN), pExpectedBuffer, in TEST_F() 216 EXPECT_EQ(memcmp((byePacketBuffer->getBuffer() + RTCP_FIXED_HDR_LEN), pExpectedBuffer, in TEST_F()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskJpegEncode.java | 81 ByteBuffer y_buffer = planeList.get(0).getBuffer(); in convertYUV420ImageToPackedNV21() 82 ByteBuffer u_buffer = planeList.get(1).getBuffer(); in convertYUV420ImageToPackedNV21() 83 ByteBuffer v_buffer = planeList.get(2).getBuffer(); in convertYUV420ImageToPackedNV21() 106 ByteBuffer y_buffer = planeList.get(0).getBuffer(); in convertYUV420ImageToPackedNV21() 107 ByteBuffer u_buffer = planeList.get(1).getBuffer(); in convertYUV420ImageToPackedNV21() 108 ByteBuffer v_buffer = planeList.get(2).getBuffer(); in convertYUV420ImageToPackedNV21()
|
D | TaskConvertImageToRGBPreview.java | 267 ByteBuffer buf0 = planeList.get(0).getBuffer(); in colorInscribedDataCircleFromYuvImage() 268 ByteBuffer bufU = planeList.get(1).getBuffer(); // Downsampled by 2 in colorInscribedDataCircleFromYuvImage() 269 ByteBuffer bufV = planeList.get(2).getBuffer(); // Downsampled by 2 in colorInscribedDataCircleFromYuvImage() 556 ByteBuffer bufY = planeList.get(0).getBuffer(); in colorSubSampleFromYuvImage() 557 ByteBuffer bufU = planeList.get(1).getBuffer(); // Downsampled by 2 in colorSubSampleFromYuvImage() 558 ByteBuffer bufV = planeList.get(2).getBuffer(); // Downsampled by 2 in colorSubSampleFromYuvImage()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | terminal_position_lookup_table.cpp | 27 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition() 55 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) { in flushToFile() 76 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | terminal_position_lookup_table.cpp | 37 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition() 65 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) { in flushToFile() 87 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds()
|
D | probability_dict_content.cpp | 40 const BufferWithExtendableBuffer *const buffer = getBuffer(); in getProbabilityEntry() 70 int writingPos = getBuffer()->getTailPosition(); in setProbabilityEntry() 87 if (getEntryPos(mSize) < getBuffer()->getTailPosition()) { in flushToFile()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/core/ |
D | RtpPacket.cpp | 73 RtpDt_UChar* pcRtpBuf = pobjRtpPktBuf->getBuffer(); in formPacket() 89 const RtpDt_UChar* pRtpUtlBuf = m_pobjExt->getBuffer(); in formPacket() 99 const RtpDt_UChar* pRtpUtlBuf = m_pobjRtpPayload->getBuffer(); in formPacket() 134 RtpDt_UChar* pcRtpBuf = pobjRtpPktBuf->getBuffer(); in decodePacket()
|
D | RtcpRrPacket.cpp | 137 RtpDt_UChar* pucExtHdr = m_pobjExt->getBuffer(); in formRrPacket() 139 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRrPacket() 156 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRrPacket()
|
D | RtcpXrPacket.cpp | 72 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formRtcpXrPacket() 85 memcpy(pucBuffer, pReportBlk->getBuffer(), pReportBlk->getLength()); in formRtcpXrPacket()
|
D | RtcpAppPacket.cpp | 94 RtpDt_UChar* pucBuffer = pobjRtcpPktBuf->getBuffer(); in formAppPacket() 107 memcpy(pucBuffer, m_pAppData->getBuffer(), m_pAppData->getLength()); in formAppPacket()
|
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/protocol/rtp/utils/ |
D | RtpBufferTest.cpp | 48 ASSERT_TRUE(testBuf->getBuffer() == nullptr); in TEST_F() 64 EXPECT_EQ(0, memcmp(testBuf->getBuffer(), pBuf, 7)); in TEST_F()
|
/packages/services/Car/cpp/evs/manager/aidl/wrappers/src/ |
D | AidlCameraStream.cpp | 54 bool AidlCameraStream::getBuffer(int id, BufferDesc* _return) { in getBuffer() function in aidl::android::automotive::evs::implementation::AidlCameraStream 55 return mImpl->getBuffer(id, _return); in getBuffer() 58 bool AidlCameraStream::IHidlCameraStream::getBuffer(int id, BufferDesc* _return) { in getBuffer() function in aidl::android::automotive::evs::implementation::AidlCameraStream::IHidlCameraStream
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_pt_node_array_reader.cpp | 35 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readPtNodeArrayInfoAndReturnIfValid() 64 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readForwardLinkAndReturnIfValid()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_pt_node_array_reader.cpp | 44 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readPtNodeArrayInfoAndReturnIfValid() 73 const uint8_t *const dictBuf = mBuffer->getBuffer(usesAdditionalBuffer); in readForwardLinkAndReturnIfValid()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 130 copyImagePlaneToBitmap(width, height, plane.getBuffer(), plane.getPixelStride(), in copyImagePlaneToBitmap() 234 Preconditions.checkState(plane.getBuffer().isDirect()); in compressJpegFromYUV420Image() 236 planeBuf[i] = plane.getBuffer(); in compressJpegFromYUV420Image()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioTrackPlayer.java | 106 short[] buffer = getBuffer(); in startTrackLocked() 117 private short[] getBuffer() { in getBuffer() method in AudioTrackPlayer
|
/packages/services/Car/cpp/evs/manager/aidl/wrappers/include/ |
D | AidlCameraStream.h | 43 bool getBuffer(int id, aidlevs::BufferDesc* _return); 57 virtual bool getBuffer(int id, aidlevs::BufferDesc* _return);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | dict_file_writing_utils.cpp | 132 if (originalBufSize > 0 && fwrite(buffer->getBuffer(false /* usesAdditionalBuffer */), in writeBufferToFile() 137 if (additionalBufSize > 0 && fwrite(buffer->getBuffer(true /* usesAdditionalBuffer */), in writeBufferToFile()
|