Home
last modified time | relevance | path

Searched refs:mUsage (Results 1 – 6 of 6) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java47 private final int mUsage; field in AllocationInfo
177 return new AllocationInfo(mElement, mSize, mUsage | usage); in addExtraUsage()
232 mUsage = usage; in AllocationInfo()
263 return mUsage; in getUsage()
359 ElementInfo.fromElement(mElement), mUsage); in toString()
400 return mType.equals(other.mType) && mUsage == other.mUsage; in equals()
414 return RenderScriptSingleton.getCache().getOrCreateTyped(mType, mUsage); in createAllocation()
DAllocationCache.java209 private final int mUsage; field in AllocationCache.AllocationKey
213 mUsage = usage; in AllocationKey()
218 return mType.hashCode() ^ mUsage; in hashCode()
226 return otherKey.mType.equals(mType) && otherKey.mUsage == mUsage; in equals()
DScriptGraph.java71 private final int mUsage; field in ScriptGraph
240 private int mUsage; field in ScriptGraph.Builder
336 mUsage = usage | Allocation.USAGE_SCRIPT; in configureInput()
455 mUsage = builder.mUsage; in ScriptGraph()
472 AllocationInfo inputInfo = AllocationInfo.newInstance(mSize, mFormat, mUsage); in ScriptGraph()
598 return (mUsage & Allocation.USAGE_IO_INPUT) != 0; in isInputFromSurface()
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp276 mUsage(usage), in ImageReaderTestCase()
295 mWidth, mHeight, mFormat, mUsage, mMaxImages, &mImgReader); in initImageReader()
407 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable()
409 outDesc.usage, mUsage); in HandleImageAvailable()
416 if (mUsage & AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN) { in HandleImageAvailable()
448 uint64_t mUsage; member in __anonbe2c1fa30111::ImageReaderTestCase
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp31 : mWidth(width), mHeight(height), mFormat(format), mUsage(usage), in ImageReaderHelper()
49 int ret = AImageReader_newWithUsage(mWidth, mHeight, mFormat, mUsage, in initImageReader()
DImageReaderTestHelpers.h47 uint64_t mUsage; variable