Searched refs:objectSize (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/media/java/android/mtp/
H A DMtpDevice.java157 * @param objectSize the size of the object (this should match
161 public byte[] getObject(int objectHandle, int objectSize) { argument
162 Preconditions.checkArgumentNonnegative(objectSize, "objectSize should not be negative");
163 return native_get_object(objectHandle, objectSize);
363 * fetch 4GB+ object size correctly. If the device does not support objectSize property, it
381 private native byte[] native_get_object(int objectHandle, long objectSize); argument
383 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException;
385 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException;
382 native_get_partial_object( int objectHandle, long offset, long objectSize, byte[] buffer) argument
384 native_get_partial_object_64( int objectHandle, long offset, long objectSize, byte[] buffer) argument
/frameworks/base/libs/hwui/tests/unit/
H A DGradientCacheTests.cpp36 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize());
H A DTextDropShadowCacheTests.cpp51 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize());
/frameworks/av/media/mtp/
H A DMtpDevice.h114 uint32_t objectSize, void* clientData);
145 // If |objectSize| is not NULL, it checks object size before reading data bytes.
148 const uint32_t* objectSize,
150 // If |objectSize| is not NULL, it checks object size before reading data bytes.
152 const uint32_t* objectSize,
/frameworks/base/libs/hwui/
H A DGpuMemoryTracker.h44 int objectSize() { return mSize; } function in class:android::uirenderer::GpuMemoryTracker
H A DGradientCache.cpp98 mSize -= texture->objectSize();
168 LOG_ALWAYS_FATAL_IF((int)size != texture->objectSize(),
169 "size != texture->objectSize(), size %" PRIu32 ", objectSize %d"
171 size, texture->objectSize(), info.width, bytesPerPixel());
H A DTextDropShadowCache.cpp129 mSize -= texture->objectSize();
195 mSize += texture->objectSize();
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.h63 uint32_t getSizeInBytes() { return texture.objectSize(); }
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
H A DMtpClient.java373 * @param objectSize the size of the object (this should match
377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { argument
382 return device.getObject(objectHandle, objectSize);
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDevice.cpp392 uint32_t objectSize; local
393 if (!check_uint32_arg(env, "objectSize", objectSizeLong, &objectSize)) {
402 ScopedLocalRef<jbyteArray> array(env, env->NewByteArray(objectSize));
410 if (device->readObject(objectID, JavaArrayWriter::writeTo, objectSize, &writer)) {

Completed in 6238 milliseconds