Home
last modified time | relevance | path

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

123

/aosp12/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
H A Dbuffer_wrapper.h102 using BufferType = typename std::vector<T, Allocator>;
103 using value_type = typename BufferType::value_type;
104 using size_type = typename BufferType::size_type;
105 using reference = typename BufferType::reference;
107 using pointer = typename BufferType::pointer;
108 using const_pointer = typename BufferType::const_pointer;
109 using iterator = typename BufferType::iterator;
110 using const_iterator = typename BufferType::const_iterator;
142 BufferType& buffer() { return buffer_; } in buffer()
143 const BufferType& buffer() const { return buffer_; } in buffer()
[all …]
H A Dthread_local_buffer.h46 using BufferType = std::vector<T, Allocator>;
67 static BufferType& GetBuffer(std::size_t capacity = Capacity) {
76 static BufferType& GetEmptyBuffer() { in GetEmptyBuffer()
85 static BufferType& GetSizedBuffer(std::size_t size = Capacity) {
104 GetBufferGuard().reset(buffer_ = new BufferType(capacity)); in InitializeBuffer()
115 static thread_local BufferType* buffer_;
117 static std::unique_ptr<BufferType>& GetBufferGuard() { in GetBufferGuard()
119 static thread_local std::unique_ptr<BufferType> buffer_guard; in GetBufferGuard()
127 typename ThreadLocalBuffer<T, Allocator, Capacity, Slot>::BufferType*
H A Dpayload.h19 using BufferType = typename MessageBuffer<Slot>::BufferType;
30 typename BufferType::iterator& Cursor() { return cursor_; } in Cursor()
34 typename BufferType::const_iterator& ConstCursor() { return const_cursor_; } in ConstCursor()
37 typename BufferType::const_iterator ConstEnd() { return buffer_.cend(); } in ConstEnd()
71 BufferType& buffer_;
72 typename BufferType::iterator cursor_;
73 typename BufferType::const_iterator const_cursor_;
121 using BufferType = typename ContainerType::BufferType; variable
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewFallbackLineSpacingTest.java30 import android.widget.TextView.BufferType;
54 { "Enabled - StaticLayout", true, BufferType.NORMAL}, in layouts()
55 { "Disabled - StaticLayout", false, BufferType.NORMAL}, in layouts()
56 { "Enabled - DynamicLayout", true, BufferType.EDITABLE}, in layouts()
57 { "Disabled - DynamicLayout", false, BufferType.EDITABLE}, in layouts()
66 private final BufferType mBufferType;
69 BufferType bufferType) { in TextViewFallbackLineSpacingTest()
115 if (mBufferType == BufferType.NORMAL) { in testFallbackLineSpacing()
H A DTextViewTest.java37 import android.widget.TextView.BufferType;
210 mTextView.setText(text, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
215 mTextView.setText(text, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
219 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
223 mTextView.setText(precomputed, BufferType.SPANNABLE); in testUseDynamicLayout_SPANNABLE()
236 mTextView.setText(text, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
240 mTextView.setText(text, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
244 mTextView.setText(precomputed, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
248 mTextView.setText(precomputed, BufferType.EDITABLE); in testUseDynamicLayout_EDITABLE()
322 public void setText(CharSequence text, BufferType type) { in setText()
H A DTextViewProcessTextTest.java26 import android.widget.TextView.BufferType;
62 mTextView.setText(originalText, BufferType.SPANNABLE); in testProcessTextActivityResultNonEditable()
82 mTextView.setText(originalText, BufferType.SPANNABLE); in testProcessTextActivityResultCancel()
98 mTextView.setText(originalText, BufferType.SPANNABLE); in testProcessTextActivityNoData()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/utils/
H A DFdEventsReader.java74 public abstract class FdEventsReader<BufferType> {
83 private final BufferType mBuffer;
95 protected FdEventsReader(@NonNull Handler h, @NonNull BufferType buffer) { in FdEventsReader()
130 protected abstract int recvBufSize(@NonNull BufferType buffer); in recvBufSize()
162 protected abstract int readPacket(@NonNull FileDescriptor fd, @NonNull BufferType buffer) in readPacket()
170 protected void handlePacket(@NonNull BufferType recvbuf, int length) {} in handlePacket()
/aosp12/frameworks/libs/net/common/device/com/android/net/module/util/
H A DFdEventsReader.java71 public abstract class FdEventsReader<BufferType> {
80 private final BufferType mBuffer;
92 protected FdEventsReader(@NonNull Handler h, @NonNull BufferType buffer) { in FdEventsReader()
127 protected abstract int recvBufSize(@NonNull BufferType buffer); in recvBufSize()
159 protected abstract int readPacket(@NonNull FileDescriptor fd, @NonNull BufferType buffer) in readPacket()
167 protected void handlePacket(@NonNull BufferType recvbuf, int length) {} in handlePacket()
/aosp12/frameworks/base/core/java/android/widget/
H A DEditText.java115 super.setText(text, BufferType.EDITABLE); in getText()
120 public void setText(CharSequence text, BufferType type) { in setText()
121 super.setText(text, BufferType.EDITABLE); in setText()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DLinkifyUtils.java25 import android.widget.TextView.BufferType;
65 textView.setText(text.toString(), BufferType.SPANNABLE); in linkify()
/aosp12/hardware/interfaces/drm/1.0/default/
H A DCryptoPlugin.cpp76 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt()
143 if (destination.type == BufferType::SHARED_MEMORY) { in decrypt()
166 } else if (destination.type == BufferType::NATIVE_HANDLE) { in decrypt()
/aosp12/frameworks/av/media/libmedia/include/media/
H A DOMXBuffer.h110 enum BufferType { enum
119 BufferType mBufferType;
/aosp12/frameworks/av/media/libstagefright/
H A DACodecBufferChannel.cpp50 using DrmBufferType = hardware::drm::V1_0::BufferType;
199 dstBuffer.type = BufferType::NATIVE_HANDLE; in queueSecureInputBuffer()
202 dstBuffer.type = BufferType::SHARED_MEMORY; in queueSecureInputBuffer()
244 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in queueSecureInputBuffer()
405 dstBuffer.type = BufferType::NATIVE_HANDLE; in attachEncryptedBuffer()
408 dstBuffer.type = BufferType::SHARED_MEMORY; in attachEncryptedBuffer()
450 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in attachEncryptedBuffer()
/aosp12/frameworks/av/media/libmedia/
H A DOMXBuffer.cpp115 BufferType bufferType = (BufferType) parcel->readInt32(); in readFromParcel()
/aosp12/hardware/interfaces/cas/native/1.0/
H A Dtypes.hal66 enum BufferType : uint32_t {
75 BufferType type;
/aosp12/hardware/interfaces/cas/1.0/default/
H A DDescramblerImpl.cpp148 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in descramble()
184 dstBuffer.type != BufferType::SHARED_MEMORY, in descramble()
/aosp12/hardware/interfaces/cas/1.1/default/
H A DDescramblerImpl.cpp138 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in descramble()
173 holder->descramble(dstBuffer.type != BufferType::SHARED_MEMORY, in descramble()
/aosp12/hardware/interfaces/cas/1.2/default/
H A DDescramblerImpl.cpp138 if (dstBuffer.type == BufferType::SHARED_MEMORY) { in descramble()
173 holder->descramble(dstBuffer.type != BufferType::SHARED_MEMORY, in descramble()
/aosp12/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp33 using drm::V1_0::BufferType;
323 if (hDestination.type == BufferType::SHARED_MEMORY) { in decrypt()
329 } else if (hDestination.type == BufferType::NATIVE_HANDLE) { in decrypt()
/aosp12/packages/apps/Dialer/java/com/android/dialer/widget/
H A DBidiTextView.java37 public void setText(CharSequence text, BufferType type) { in setText()
/aosp12/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
H A DDeletionHelperActivity.java34 import android.widget.TextView.BufferType;
70 emptyStateLink.setText(linkText, BufferType.SPANNABLE); in onCreate()
/aosp12/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
H A DSmsManagerTestApp.java96 mPhoneNumber.setText(getPhoneNumber(), TextView.BufferType.NORMAL); in onResume()
123 mPhoneNumber.setText(getPhoneNumber(), TextView.BufferType.NORMAL); in onRequestPermissionsResult()
/aosp12/frameworks/base/packages/SettingsLib/FooterPreference/src/com/android/settingslib/widget/
H A DLinkTextView.java41 public void setText(CharSequence text, BufferType type) { in setText()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
H A DTextViewListener.java42 public void setText(CharSequence text, BufferType bufferType) { in setText()
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/widget/
H A DAutoSizingTextClock.kt57 override fun setText(text: CharSequence, type: BufferType) {

123