/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | message_buffer.h | 14 template <typename Slot, std::size_t Capacity = 4096, typename T = std::uint8_t, 16 using MessageBuffer = ThreadLocalBuffer<T, Allocator, Capacity, Slot>;
|
H A D | thread_local_buffer.h | 39 // Slot provides multiple thread local slots for a given T, Allocator, Capacity 42 std::size_t Capacity = InitialBufferCapacity, 67 static BufferType& GetBuffer(std::size_t capacity = Capacity) { argument 73 // Gets a reference to the underlying buffer after reserving |Capacity| 78 Reserve(Capacity); 85 static BufferType& GetSizedBuffer(std::size_t size = Capacity) { argument 125 template <typename T, typename Allocator, std::size_t Capacity, typename Slot> 127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType* 128 ThreadLocalBuffer<T, Allocator, Capacity, Slot>::buffer_;
|
H A D | payload.h | 68 std::size_t Capacity() const { return buffer_.capacity(); } function in class:android::pdx::rpc::MessagePayload
|
H A D | remote_method.h | 355 reply_payload.Resize(reply_payload.Capacity()); 419 reply_payload.Resize(reply_payload.Capacity());
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | native_frame.h | 62 int Capacity() { function in class:android::filterfw::NativeFrame 76 // Capacity of data buffer in bytes.
|
/frameworks/ml/nn/driver/cache/nnCache/ |
H A D | nnCache_test.cpp | 55 ::testing::Values(NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::HALVE), 56 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::HALVE), 58 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT), 59 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT), 61 NNCache::Policy(NNCache::Select::RANDOM, NNCache::Capacity::FIT_HALVE), 62 NNCache::Policy(NNCache::Select::LRU, NNCache::Capacity::FIT_HALVE))); 147 case NNCache::Capacity::HALVE: 153 case NNCache::Capacity::FIT: 154 case NNCache::Capacity::FIT_HALVE: { 175 FAIL() << "Unknown Capacity valu [all...] |
H A D | nnCache.h | 35 typedef BlobCache::Capacity Capacity; typedef in class:android::NNCache
|
/frameworks/ml/nn/driver/cache/BlobCache/ |
H A D | BlobCache.h | 45 enum class Capacity { class in class:android::BlobCache 63 typedef std::pair<Select, Capacity> Policy; 65 static Policy defaultPolicy() { return Policy(Select::DEFAULT, Capacity::DEFAULT); } 173 // Is this Capacity value one of the *FIT* values? 174 static bool isFit(Capacity capacity); 331 const Capacity mPolicyCapacity;
|
H A D | BlobCache.cpp | 369 case Capacity::HALVE: 371 case Capacity::FIT: 373 case Capacity::FIT_HALVE: 381 bool BlobCache::isFit(Capacity capacity) { 383 case Capacity::HALVE: 385 case Capacity::FIT: 386 case Capacity::FIT_HALVE: 413 case Capacity::HALVE: 418 case Capacity::FIT: 419 case Capacity [all...] |
H A D | BlobCache_test.cpp | 60 ::testing::Values(BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::HALVE), 61 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::HALVE), 63 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT), 64 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT), 66 BlobCache::Policy(BlobCache::Select::RANDOM, BlobCache::Capacity::FIT_HALVE), 67 BlobCache::Policy(BlobCache::Select::LRU, BlobCache::Capacity::FIT_HALVE))); 314 if (GetParam().second == BlobCache::Capacity::FIT) 345 if (GetParam().second != BlobCache::Capacity::FIT) 399 case BlobCache::Capacity::HALVE: 405 case BlobCache::Capacity [all...] |
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_frame.cpp | 271 return frame ? frame->Capacity() : -1;
|