Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/mtp/
DMtpDevice.java207 public @Nullable byte[] getObject(int objectHandle, int objectSize) { in getObject() argument
208 Preconditions.checkArgumentNonnegative(objectSize, "objectSize should not be negative"); in getObject()
209 return native_get_object(objectHandle, objectSize); in getObject()
428 private native byte[] native_get_object(int objectHandle, long objectSize); in native_get_object() argument
430 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException; in native_get_partial_object() argument
432 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException; in native_get_partial_object_64() argument
/frameworks/av/media/mtp/
DMtpDevice.h121 uint32_t objectSize, void* clientData);
155 const uint32_t* objectSize,
159 const uint32_t* objectSize,
/frameworks/base/libs/hwui/
DGradientCache.cpp100 mSize -= texture->objectSize(); in operator ()()
170 LOG_ALWAYS_FATAL_IF((int)size != texture->objectSize(), in addLinearGradient()
173 size, texture->objectSize(), info.width, bytesPerPixel()); in addLinearGradient()
DTextDropShadowCache.cpp129 mSize -= texture->objectSize(); in operator ()()
195 mSize += texture->objectSize(); in get()
DGpuMemoryTracker.h45 int objectSize() { return mSize; } in objectSize() function
/frameworks/base/libs/hwui/tests/unit/
DGradientCacheTests.cpp36 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
DTextDropShadowCacheTests.cpp51 ASSERT_EQ((uint32_t) texture->objectSize(), cache.getSize()); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject() argument
382 return device.getObject(objectHandle, objectSize); in getObject()
/frameworks/base/libs/hwui/renderstate/
DOffscreenBufferPool.h63 uint32_t getSizeInBytes() { return texture.objectSize(); } in getSizeInBytes()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp395 uint32_t objectSize; in android_mtp_MtpDevice_get_object() local
396 if (!check_uint32_arg(env, "objectSize", objectSizeLong, &objectSize)) { in android_mtp_MtpDevice_get_object()
405 ScopedLocalRef<jbyteArray> array(env, env->NewByteArray(objectSize)); in android_mtp_MtpDevice_get_object()
413 if (device->readObject(objectID, JavaArrayWriter::writeTo, objectSize, &writer)) { in android_mtp_MtpDevice_get_object()