Searched refs:consumer (Results 1 – 9 of 9) sorted by relevance
98 SurfaceTexture consumer = new SurfaceTexture(false); in testBasic() local99 consumer.setDefaultBufferSize(640, 480); in testBasic()100 nBasicTests(consumer); in testBasic()103 private static native void nBasicTests(SurfaceTexture consumer); in nBasicTests() argument
133 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testSetBuffersTransform() local134 consumer.setDefaultBufferSize(16, 16); in testSetBuffersTransform()135 Surface surface = new Surface(consumer); in testSetBuffersTransform()157 consumer.updateTexImage(); in testSetBuffersTransform()158 consumer.getTransformMatrix(receivedTransform); in testSetBuffersTransform()204 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testSetBuffersDataSpace() local205 consumer.setDefaultBufferSize(16, 16); in testSetBuffersDataSpace()206 Surface surface = new Surface(consumer); in testSetBuffersDataSpace()
70 ResultObserver resultObserver, Consumer<T> consumer, String... excludedRuntimeClasses) { in runWithApiChecker() argument73 consumer.accept(checker); in runWithApiChecker()
17 package android.os.lib.consumer;
185 private void executeOnInputConnection(Consumer<InputConnection> consumer) { in executeOnInputConnection() argument190 consumer.accept(ic); in executeOnInputConnection()
300 void ifPresent(Consumer<T> consumer) { in ifPresent() argument302 consumer.accept(mValue); in ifPresent()
217 private void bindPrimaryUserService(Context context, Consumer<ICrossUserService> consumer) { in bindPrimaryUserService() argument228 consumer.accept(ICrossUserService.Stub.asInterface(service)); in bindPrimaryUserService()
542 Consumer<Integer> consumer = new Consumer<Integer>() { in testSetPreferredDataSubscriptionId() local563 executor, consumer)); in testSetPreferredDataSubscriptionId()583 executor, consumer)); in testSetPreferredDataSubscriptionId()
613 private static void runWithRemoteServiceBound(Context context, Consumer<ISecondary> consumer) in runWithRemoteServiceBound() argument637 consumer.accept(ISecondary.Stub.asInterface(binder)); in runWithRemoteServiceBound()