Searched refs:allocation (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/rs/ |
D | AllocationCache.java | 118 public synchronized void returnToCache(Allocation allocation) { in returnToCache() argument 119 checkNotNull("allocation", allocation); in returnToCache() 122 int usage = allocation.getUsage(); in returnToCache() 123 AllocationKey key = new AllocationKey(allocation.getType(), usage); in returnToCache() 126 if (value != null && value.contains(allocation)) { in returnToCache() 131 allocation.setOnBufferAvailableListener(null); in returnToCache() 134 allocation.setSurface(null); in returnToCache() 142 value.add(allocation); in returnToCache() 166 public synchronized void returnToCacheIfNotNull(Allocation allocation) { in returnToCacheIfNotNull() argument 167 if (allocation != null) { in returnToCacheIfNotNull() [all …]
|
D | BlockingInputAllocation.java | 60 public static BlockingInputAllocation wrap(Allocation allocation) { in wrap() argument 61 checkNotNull("allocation", allocation); in wrap() 62 checkBitFlags("usage", allocation.getUsage(), "USAGE_IO_INPUT", Allocation.USAGE_IO_INPUT); in wrap() 64 return new BlockingInputAllocation(allocation); in wrap() 156 private BlockingInputAllocation(Allocation allocation) { in BlockingInputAllocation() argument 157 mAllocation = allocation; in BlockingInputAllocation()
|
D | Script.java | 225 void setInput(Allocation allocation) { in setInput() argument 227 checkNotNull("allocation", allocation); in setInput() 228 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setInput() 232 if (mInputAllocation != allocation) { in setInput() 236 mInputAllocation = allocation; in setInput() 249 void setOutput(Allocation allocation) { in setOutput() argument 251 checkNotNull("allocation", allocation); in setOutput() 252 checkEquals("allocation info", AllocationInfo.newInstance(allocation), in setOutput() 256 mOutputAllocation = allocation; in setOutput()
|
D | AllocationInfo.java | 62 public static AllocationInfo newInstance(Allocation allocation) { in newInstance() argument 63 checkNotNull("allocation", allocation); in newInstance() 65 return new AllocationInfo(allocation.getElement(), in newInstance() 66 new Size(allocation.getType().getX(), allocation.getType().getY()), in newInstance() 67 allocation.getUsage()); in newInstance()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
D | rs_jni_object.cpp | 107 sp<Allocation> allocation = Allocation::createTyped(mRS, mIn->getType()); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() local 108 ms_clear->set_allocation(allocation); in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | clear_object.rs | 4 rs_allocation allocation; 8 rsClearObject( &allocation ); 9 *out = ( NULL == allocation.p ? 1 : 0 );
|
D | set_object.rs | 5 rs_allocation allocation; 11 rsSetObject(&dst,in->allocation); 12 *out = ( dst.p == in->allocation.p ? 1 : 0 );
|
D | is_object.rs | 5 rs_allocation allocation; 10 *out = rsIsObject(in->allocation)==false ? 0 : 1;
|
D | SetObjectTest.java | 33 Allocation allocation; field in SetObjectTest 46 allocation = Allocation.createTyped(mRS, type); in setUp() 103 mItem.allocation = allocation; in testSetObjectAllocation()
|
D | IsObjectTest.java | 34 Allocation allocation; field in IsObjectTest 47 allocation = Allocation.createTyped(mRS, type); in setUp() 105 mItem.allocation = allocation; in testIsObjectAllocation()
|
D | ClearObjectTest.java | 98 Allocation allocation = Allocation.createTyped(mRS, mIn.getType()); in testclearObjectAllocation() local 99 ms_clear.set_allocation(allocation); in testclearObjectAllocation()
|