Home
last modified time | relevance | path

Searched refs:Buffer (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DSharedBuffer.java25 private volatile Buffer mProducer = null;
26 private volatile Buffer mConsumer = null;
27 private volatile Buffer mIntermediate = null;
39 mProducer = new Buffer(producer); in setProducer()
45 public synchronized Buffer getProducer() { in getProducer()
49 public synchronized Buffer getConsumer() { in getConsumer()
54 Buffer intermediate = mIntermediate; in swapProducer()
64 Buffer intermediate = mIntermediate; in swapConsumerIfNeeded()
DBuffer.java27 public class Buffer { class
34 public Buffer(Bitmap bitmap) { in Buffer() method in Buffer
DFilterEnvironment.java62 public void cache(Buffer buffer) { in cache()
/packages/modules/StatsD/framework/java/android/util/
DStatsEvent.java235 private Buffer mBuffer;
238 private StatsEvent(final int atomId, @Nullable final Buffer buffer, in StatsEvent()
251 return new StatsEvent.Builder(Buffer.obtain()); in newBuilder()
341 private final Buffer mBuffer;
352 private Builder(final Buffer buffer) { in Builder()
696 private static final class Buffer { class in StatsEvent
700 private static Buffer sPool;
707 private static Buffer obtain() { in obtain()
708 final Buffer buffer; in obtain()
710 buffer = null == sPool ? new Buffer() : sPool; in obtain()
[all …]
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBuffer.cpp60 Buffer::Buffer(std::shared_ptr<ManagedBuffer> buffer, std::unique_ptr<BufferTracker::Token> token) in Buffer() function in android::nn::sample::Buffer
66 Request::MemoryDomainToken Buffer::getToken() const { in getToken()
70 GeneralResult<void> Buffer::copyTo(const SharedMemory& dst) const { in copyTo()
88 GeneralResult<void> Buffer::copyFrom(const SharedMemory& src, const Dimensions& dimensions) const { in copyFrom()
DCanonicalBuffer.h30 class Buffer final : public IBuffer {
32 Buffer(std::shared_ptr<ManagedBuffer> buffer, std::unique_ptr<BufferTracker::Token> token);
DCanonicalDevice.cpp253 auto sampleBuffer = std::make_shared<const Buffer>(std::move(bufferWrapper), std::move(token)); in allocate()
/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp1415 ExecutionPlan::Buffer::Buffer(void* pointer, uint32_t size) in Buffer() function in android::nn::ExecutionPlan::Buffer
1419 ExecutionPlan::Buffer::Buffer(RunTimePoolInfo info, uint32_t offset) in Buffer() function in android::nn::ExecutionPlan::Buffer
1422 void* ExecutionPlan::Buffer::getPointer() const { in getPointer()
1426 uint32_t ExecutionPlan::Buffer::getSize() const { in getSize()
1430 void ExecutionPlan::Buffer::flush() const { in flush()
1434 std::optional<ExecutionPlan::Buffer> ExecutionPlan::getBufferFromModelArgumentInfo( in getBufferFromModelArgumentInfo()
1438 return Buffer(info.buffer(), info.length()); in getBufferFromModelArgumentInfo()
1443 return Buffer(*poolInfo, info.locationAndLength().offset); in getBufferFromModelArgumentInfo()
1460 std::optional<ExecutionPlan::Buffer> ExecutionPlan::getBuffer( in getBuffer()
1471 return Buffer(memory->getPointer() + offset, memory->getSize() - offset); in getBuffer()
[all …]
DExecutionPlan.h793 class Buffer {
795 Buffer(void* pointer, uint32_t size);
796 Buffer(RunTimePoolInfo info, uint32_t offset);
807 std::optional<Buffer> getBuffer(std::shared_ptr<Controller> controller,
809 std::optional<Buffer> getBufferFromModelArgumentInfo(
/packages/apps/Nfc/nci/jni/extns/pn54x/src/mifare/
DphFriNfc_MifStdFormat.cpp555 uint8_t Buffer[1] = {PH_FRINFC_MFSTD_FMT_NDEF_COMPL}; in phFriNfc_MfStd_H_ProCon() local
727 uint8_t Buffer[1] = {PH_FRINFC_MFSTD_FMT_NDEF_COMPL}, in phFriNfc_MfStd_H_ProRdSectTr() local
777 uint8_t Buffer[1] = {PH_FRINFC_MFSTD_FMT_NDEF_COMPL}, in phFriNfc_MfStd_H_ProWrSectTr() local
1037 uint8_t Buffer[1] = {PH_FRINFC_MFSTD_FMT_NDEF_COMPL}, in phFriNfc_MfStd_H_ProErrAuth() local
1272 uint8_t Buffer[1] = {PH_FRINFC_MFSTD_FMT_NDEF_COMPL}, in phFriNfc_MfStd_H_ErrRdSectTr() local
DphFriNfc_NdefMap.h155 uint8_t Buffer[PH_FRINFC_NDEFMAP_MIFARESTD_RDWR_SIZE]; member
DphFriNfc_MifStdFormat.h309 &Buffer[PH_FRINFC_MFSTD_FMT_VAL_0], \
DphFriNfc_MifareStdMap.cpp693 NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifareStdMap_Process()
1086 memcpy(NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifStd_H_WrABlock()
2256 memcpy(NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifStd_H_WriteNdefLen()
3688 memcpy(NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifStd_H_fillSendBuf()
3771 NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifStd_H_ProWrTLV()
4480 NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifStd_H_ProWrABlock()
4507 NdefMap->StdMifareContainer.Buffer, *NdefMap->DataCount); in phFriNfc_MifStd_H_ProWrABlock()
4969 memcpy(NdefMap->StdMifareContainer.Buffer, in phFriNfc_MifStd_H_WrSectorTrailorBlock()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DModel.proto146 message Buffer { message
170 required Buffer data = 8;
DGenerateCorpus.cpp79 Buffer convert(bool noValue, const TestBuffer& buffer) { in convert()
80 Buffer protoBuffer; in convert()
DConverter.cpp62 TestBuffer convert(size_t size, const android_nn_fuzz::Buffer& buffer) { in convert()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DBitmapCache.java22 import com.android.gallery3d.filtershow.pipeline.Buffer;
121 public void cache(Buffer buffer) { in cache()
/packages/apps/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java25 import java.nio.Buffer;
497 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DPrimaryImage.java40 import com.android.gallery3d.filtershow.pipeline.Buffer;
334 Buffer consumer = mPreviewBuffer.getConsumer(); in getFilteredImage()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES11Canvas.java30 import java.nio.Buffer;
971 private int uploadBuffer(Buffer buf, int elementSize) { in uploadBuffer()
DGLES20Canvas.java28 import java.nio.Buffer;
951 private int uploadBuffer(Buffer buffer, int elementSize) { in uploadBuffer()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Ddom.md254 ## User Buffer {#UserBuffer}
Dinternals.md161 1. User supplied buffer if it is available. (See [User Buffer section in DOM](dom.md))
/packages/apps/TV/res/raw/
Dthird_party_licenses2785 Code generated by the Protocol Buffer compiler is owned by the owner
2822 Code generated by the Protocol Buffer compiler is owned by the owner
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/
Dthird_party_licenses10871 Code generated by the Protocol Buffer compiler is owned by the owner