/frameworks/base/core/java/android/text/method/ |
D | ScrollingMovementMethod.java | 30 protected boolean left(TextView widget, Spannable buffer) { in left() 35 protected boolean right(TextView widget, Spannable buffer) { in right() 40 protected boolean up(TextView widget, Spannable buffer) { in up() 45 protected boolean down(TextView widget, Spannable buffer) { in down() 50 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 55 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 60 protected boolean top(TextView widget, Spannable buffer) { in top() 65 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() 70 protected boolean lineStart(TextView widget, Spannable buffer) { in lineStart() 75 protected boolean lineEnd(TextView widget, Spannable buffer) { in lineEnd() [all …]
|
D | ArrowKeyMovementMethod.java | 33 private static boolean isSelecting(Spannable buffer) { in isSelecting() 38 private static int getCurrentLineTop(Spannable buffer, Layout layout) { in getCurrentLineTop() 51 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() 69 protected boolean left(TextView widget, Spannable buffer) { in left() 79 protected boolean right(TextView widget, Spannable buffer) { in right() 89 protected boolean up(TextView widget, Spannable buffer) { in up() 99 protected boolean down(TextView widget, Spannable buffer) { in down() 109 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 133 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 157 protected boolean top(TextView widget, Spannable buffer) { in top() [all …]
|
D | BaseMovementMethod.java | 136 protected int getMovementMetaState(Spannable buffer, KeyEvent event) { in getMovementMetaState() 160 protected boolean handleMovementKey(TextView widget, Spannable buffer, in handleMovementKey() 252 protected boolean left(TextView widget, Spannable buffer) { in left() 264 protected boolean right(TextView widget, Spannable buffer) { in right() 276 protected boolean up(TextView widget, Spannable buffer) { in up() 288 protected boolean down(TextView widget, Spannable buffer) { in down() 300 protected boolean pageUp(TextView widget, Spannable buffer) { in pageUp() 312 protected boolean pageDown(TextView widget, Spannable buffer) { in pageDown() 324 protected boolean top(TextView widget, Spannable buffer) { in top() 336 protected boolean bottom(TextView widget, Spannable buffer) { in bottom() [all …]
|
D | LinkMovementMethod.java | 49 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode, in handleMovementKey() 66 protected boolean up(TextView widget, Spannable buffer) { in up() 75 protected boolean down(TextView widget, Spannable buffer) { in down() 84 protected boolean left(TextView widget, Spannable buffer) { in left() 93 protected boolean right(TextView widget, Spannable buffer) { in right() 101 private boolean action(int what, TextView widget, Spannable buffer) { in action() 205 public boolean onTouchEvent(TextView widget, Spannable buffer, in onTouchEvent()
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryablePrimitive.java | 64 public T unmarshal(ByteBuffer buffer) { in unmarshal() 74 public void marshal(T value, ByteBuffer buffer) { in marshal() 89 marshalPrimitive((Rational) value, buffer); in marshal() local 104 private void marshalPrimitive(int value, ByteBuffer buffer) { in marshalPrimitive() 108 private void marshalPrimitive(float value, ByteBuffer buffer) { in marshalPrimitive() 112 private void marshalPrimitive(double value, ByteBuffer buffer) { in marshalPrimitive() 116 private void marshalPrimitive(long value, ByteBuffer buffer) { in marshalPrimitive() 120 private void marshalPrimitive(Rational value, ByteBuffer buffer) { in marshalPrimitive() 125 private void marshalPrimitive(byte value, ByteBuffer buffer) { in marshalPrimitive() 129 private Object unmarshalObject(ByteBuffer buffer) { in unmarshalObject()
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 35 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testEmptyRingBuffer() local 43 RingBuffer<String> buffer = new RingBuffer<>(String.class, -10); in testIncorrectConstructorArguments() local 49 RingBuffer<String> buffer = new RingBuffer<>(String.class, 0); in testIncorrectConstructorArguments() local 57 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testRingBufferWithNoWrapping() local 71 RingBuffer<String> buffer = new RingBuffer<>(String.class, 1); in testRingBufferWithCapacity1() local 92 RingBuffer<String> buffer = new RingBuffer<>(String.class, capacity); in testRingBufferWithWrapping() local 133 RingBuffer<DummyClass1> buffer = new RingBuffer<>(DummyClass1.class, capacity); in testGetNextSlot() local
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | buffer_wrapper.h | 32 BufferWrapper(pointer buffer, size_type capacity, size_type size) in BufferWrapper() 37 BufferWrapper(pointer buffer, size_type size) in BufferWrapper() 113 explicit BufferWrapper(const BufferType& buffer) : buffer_(buffer) {} in BufferWrapper() 114 BufferWrapper(const BufferType& buffer, const Allocator& allocator) in BufferWrapper() 116 explicit BufferWrapper(BufferType&& buffer) : buffer_(std::move(buffer)) {} in BufferWrapper() 117 BufferWrapper(BufferType&& buffer, const Allocator& allocator) in BufferWrapper() 142 BufferType& buffer() { return buffer_; } in buffer() function 143 const BufferType& buffer() const { return buffer_; } in buffer() function 150 BufferWrapper<T*> WrapBuffer(T* buffer, SizeType size) { in WrapBuffer() 155 BufferWrapper<std::uint8_t*> WrapBuffer(void* buffer, SizeType size) { in WrapBuffer() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | HSConnectionCapabilityElementTest.java | 50 private void appendProtocolPortTuple(ByteBuffer buffer, ProtocolPortTuple tuple) { in appendProtocolPortTuple() 63 ByteBuffer buffer = ByteBuffer.allocate(tuples.length * ProtocolPortTuple.RAW_BYTE_SIZE) in getTestBuffer() local 93 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE - 1); in parseBufferWithLessThanMinimumSize() local 108 ByteBuffer buffer = ByteBuffer.allocate(ProtocolPortTuple.RAW_BYTE_SIZE + 1); in parseBufferWithIncompleteTupleBytes() local 123 ByteBuffer buffer = getTestBuffer(new ProtocolPortTuple[] {TEST_TUPLE1, TEST_TUPLE2}); in parseBufferWithTestData() local
|
D | VenueNameElementTest.java | 99 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {TEST_VENUE_NAME1})); in parseTruncatedBuffer() local 113 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[0])); in parseBufferWithEmptyVenueName() local 130 ByteBuffer buffer = ByteBuffer.wrap( in parseBufferWithValidVenueNames() local 147 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {text})); in parseBufferWithMaxLengthVenueName() local 168 ByteBuffer buffer = ByteBuffer.wrap(getTestData(new String[] {text})); in parseBufferWithVenueNameLengthExceedMax() local
|
D | NAIRealmDataTest.java | 54 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseTruncatedBuffer() local 67 ByteBuffer buffer = ByteBuffer.wrap(NAIRealmDataTestUtil.TEST_REAML_WITH_UTF8_DATA_BYTES); in parseBufferWithUTF8EncodedNAIRealmData() local 79 ByteBuffer buffer = ByteBuffer.wrap( in parseBufferWithNonUTF8EncodedNAIRealmData() local
|
D | ANQPParserTest.java | 186 ByteBuffer buffer = ByteBuffer.allocate(HSWanMetricsElement.EXPECTED_BUFFER_SIZE) in getHSWanMetricsPayload() local 281 ByteBuffer buffer = ByteBuffer.wrap(getVenueNamePayload(language, text)); in parseVenueNameElement() local 303 ByteBuffer buffer = ByteBuffer.wrap(new byte[] {(byte) ipAddressAvailability}); in parseIPAddressTypeAvailabilityElement() local 319 ByteBuffer buffer = ByteBuffer.wrap(getDomainNamePayload(testNames)); in parseDomainNameElement() local 336 ByteBuffer buffer = ByteBuffer.wrap(getRoamingConsortiumPayload(ois, oisLength)); in parseRoamingConsortium() local 353 ByteBuffer buffer = ByteBuffer.wrap(getNAIRealmPayload(testBytes)); in parseNAIRealmElement() local 373 ByteBuffer buffer = ByteBuffer.wrap(getThreeGPPNetworkPayload( in parseThreeGPPNetworkElement() local 387 ByteBuffer buffer = ByteBuffer.wrap( in parseNonHS20VendorSpecificElement() local 434 ByteBuffer buffer = ByteBuffer.wrap(getHSFriendlyNamePayload(language, text)); in parseHSFrendlyNameElement() local 461 ByteBuffer buffer = ByteBuffer.wrap(data); in parseHSWANMetricsElement() local [all …]
|
D | HSFriendlyNameElementTest.java | 101 ByteBuffer buffer = ByteBuffer.allocate(testData.length - 1); in parseBufferWithTruncatedByte() local 116 ByteBuffer buffer = ByteBuffer.allocate(testData.length); in parseBufferWithDefaultTestData() local 142 ByteBuffer buffer = ByteBuffer.allocate(testData.length); in parseBufferWithMaxLengthOperatoreName() local 166 ByteBuffer buffer = ByteBuffer.allocate(testData.length); in parseBufferWithOperatorNameLengthExceedMax() local
|
D | RoamingConsortiumElementTest.java | 127 ByteBuffer buffer = ByteBuffer.wrap(getDefaultTestData()); in parseTruncatedBuffer() local 143 ByteBuffer buffer = ByteBuffer.wrap(getDefaultTestData()); in parseBufferWithDefaultTestData() local 155 ByteBuffer buffer = ByteBuffer.allocate(1); in parseBufferWithOILengthLessThanMinimum() local 169 ByteBuffer buffer = ByteBuffer.allocate(1); in parseBufferWithOILengthMoreThanMaximum() local
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ByteBufferReaderTest.java | 45 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithBufferUnderflow() local 59 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerExceedingMaximumLength() local 73 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerLessThanMinimumLength() local 86 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMinimumSize() local 146 ByteBuffer buffer = ByteBuffer.wrap(expectedValue.getBytes(StandardCharsets.US_ASCII)); in readString() local 161 ByteBuffer buffer = ByteBuffer.allocate(expectedValue.length() + 1); in readStringWithByteLength() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/dagger/ |
D | LogModule.java | 47 LogBuffer buffer = new LogBuffer("DozeLog", 100, 10, bufferFilter); in provideDozeLogBuffer() local 59 LogBuffer buffer = new LogBuffer("NotifLog", 1000, 10, bufferFilter); in provideNotificationsLogBuffer() local 71 LogBuffer buffer = new LogBuffer("NotifSectionLog", 1000, 10, bufferFilter); in provideNotificationSectionLogBuffer() local 83 LogBuffer buffer = new LogBuffer("NotifInteractionLog", 50, 10, echoTracker); in provideNotifInteractionLogBuffer() local 95 LogBuffer buffer = new LogBuffer("QSLog", 500, 10, bufferFilter); in provideQuickSettingsLogBuffer() local 107 LogBuffer buffer = new LogBuffer("BroadcastDispatcherLog", 500, 10, bufferFilter); in provideBroadcastDispatcherLogBuffer() local
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/system/window/ |
D | MockNativeWindow.cpp | 28 struct ANativeWindowBuffer** buffer) { in dispatch_dequeueBuffer_DEPRECATED() 33 struct ANativeWindowBuffer* buffer) { in dispatch_lockBuffer_DEPRECATED() 38 struct ANativeWindowBuffer* buffer) { in dispatch_queueBuffer_DEPRECATED() 52 struct ANativeWindowBuffer* buffer) { in dispatch_cancelBuffer_DEPRECATED() 56 int dispatch_dequeueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer** buffer, in dispatch_dequeueBuffer() 61 int dispatch_queueBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_queueBuffer() 66 int dispatch_cancelBuffer(struct ANativeWindow* window, struct ANativeWindowBuffer* buffer, in dispatch_cancelBuffer()
|
/frameworks/base/apex/statsd/framework/test/src/android/util/ |
D | StatsEventTest.java | 54 final ByteBuffer buffer = in testNoFields() local 101 final ByteBuffer buffer = in testOnlyAtomId() local 148 final ByteBuffer buffer = in testIntBooleanIntInt() local 217 final ByteBuffer buffer = in testStringFloatByteArray() local 281 final ByteBuffer buffer = in testAttributionChainLong() local 351 final ByteBuffer buffer = in testKeyValuePairs() local 445 final ByteBuffer buffer = in testSingleAnnotations() local 529 final ByteBuffer buffer = in testAtomIdAnnotations() local 614 final ByteBuffer buffer = in testSetAtomIdNotCalledImmediately() local 661 final ByteBuffer buffer = in testLargePulledEvent() local [all …]
|
/frameworks/base/native/webview/plat_support/ |
D | graphic_buffer_impl.cpp | 38 GraphicBufferImpl* buffer = new GraphicBufferImpl( in Create() local 49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in Release() local 55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in MapStatic() local 61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in UnmapStatic() local 67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in GetNativeBufferStatic() local 73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); in GetStrideStatic() local
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 62 explicit GraphicBufferWrapper(const sp<GraphicBuffer>& buffer) in GraphicBufferWrapper() 65 sp<GraphicBuffer> buffer; member in GraphicBufferWrapper 85 sp<GraphicBuffer> buffer = new GraphicBuffer(width, height, pixelFormat, layers, in android_hardware_HardwareBuffer_create() local 100 sp<GraphicBuffer> buffer(android_graphics_GraphicBuffer_getNativeGraphicsBuffer(env, in android_hardware_HardwareBuffer_createFromGraphicBuffer() local 140 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getWidth() local 146 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getHeight() local 152 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getFormat() local 159 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getLayers() local 165 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_getUsage() local 175 GraphicBuffer* buffer = GraphicBufferWrapper_to_GraphicBuffer(nativeObject); in android_hardware_HardwareBuffer_write() local [all …]
|
/frameworks/base/tools/aapt2/util/ |
D | BigBuffer_test.cpp | 26 BigBuffer buffer(4); in TEST() local 33 BigBuffer buffer(16); in TEST() local 45 BigBuffer buffer(16); in TEST() local 52 BigBuffer buffer(16); in TEST() local 86 BigBuffer buffer(16); in TEST() local
|
/frameworks/compile/mclinker/unittests/ |
D | LEB128Test.cpp | 42 leb128::ByteType buffer[2]; in TEST_F() local 88 leb128::ByteType buffer[2]; in TEST_F() local 134 leb128::ByteType buffer[2]; in TEST_F() local 194 leb128::ByteType buffer[2]; in TEST_F() local 229 leb128::ByteType buffer[2]; in TEST_F() local 295 leb128::ByteType buffer[5]; in TEST_F() local 412 leb128::ByteType buffer[5]; in TEST_F() local 454 leb128::ByteType buffer[9]; in TEST_F() local 494 leb128::ByteType buffer[5]; in TEST_F() local 510 char buffer[5]; in TEST_F() local
|
/frameworks/native/services/surfaceflinger/CompositionEngine/mock/ |
D | NativeWindow.cpp | 27 static int forwardDequeueBuffer(ANativeWindow* window, ANativeWindowBuffer** buffer, int* fenceFd) { in forwardDequeueBuffer() 31 static int forwardCancelBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardCancelBuffer() 35 static int forwardQueueBuffer(ANativeWindow* window, ANativeWindowBuffer* buffer, int fenceFd) { in forwardQueueBuffer() 89 static int forwardDequeueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer** buffer) { in forwardDequeueBufferDeprecated() 94 static int forwardCancelBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardCancelBufferDeprecated() 98 static int forwardLockBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardLockBufferDeprecated() 102 static int forwardQueueBufferDeprecated(ANativeWindow* window, ANativeWindowBuffer* buffer) { in forwardQueueBufferDeprecated()
|
/frameworks/base/core/java/android/hardware/ |
D | SerialPort.java | 89 public int read(ByteBuffer buffer) throws IOException { in read() 108 public void write(ByteBuffer buffer, int length) throws IOException { in write() 127 private native int native_read_array(byte[] buffer, int length) throws IOException; in native_read_array() 128 private native int native_read_direct(ByteBuffer buffer, int length) throws IOException; in native_read_direct() 129 private native void native_write_array(byte[] buffer, int length) throws IOException; in native_write_array() 130 private native void native_write_direct(ByteBuffer buffer, int length) throws IOException; in native_write_direct()
|
/frameworks/native/libs/nativewindow/ |
D | AHardwareBuffer.cpp | 70 void AHardwareBuffer_acquire(AHardwareBuffer* buffer) { in AHardwareBuffer_acquire() 75 void AHardwareBuffer_release(AHardwareBuffer* buffer) { in AHardwareBuffer_release() 80 void AHardwareBuffer_describe(const AHardwareBuffer* buffer, in AHardwareBuffer_describe() 96 int AHardwareBuffer_lockAndGetInfo(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockAndGetInfo() 151 int AHardwareBuffer_lock(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lock() 183 int AHardwareBuffer_lockPlanes(AHardwareBuffer* buffer, uint64_t usage, in AHardwareBuffer_lockPlanes() 231 int AHardwareBuffer_unlock(AHardwareBuffer* buffer, int32_t* fence) { in AHardwareBuffer_unlock() 241 int AHardwareBuffer_sendHandleToUnixSocket(const AHardwareBuffer* buffer, int socketFd) { in AHardwareBuffer_sendHandleToUnixSocket() 406 const AHardwareBuffer* buffer) { in AHardwareBuffer_getNativeHandle() 696 const GraphicBuffer* AHardwareBuffer_to_GraphicBuffer(const AHardwareBuffer* buffer) { in AHardwareBuffer_to_GraphicBuffer() [all …]
|
/frameworks/base/libs/protoutil/tests/ |
D | EncodedBuffer_test.cpp | 32 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local 65 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local 105 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local 122 sp<EncodedBuffer> buffer = new EncodedBuffer(TEST_CHUNK_SIZE); in TEST() local 146 sp<EncodedBuffer> buffer = new EncodedBuffer(); in TEST() local
|