/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ANativeWindowTest.java | 133 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testSetBuffersTransform() local 134 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() local 205 consumer.setDefaultBufferSize(16, 16); in testSetBuffersDataSpace() 206 Surface surface = new Surface(consumer); in testSetBuffersDataSpace() 253 SurfaceTexture consumer = new SurfaceTexture(texId[0]); in testTryAllocateBuffersDoesNotCrash() local 254 consumer.setDefaultBufferSize(16, 16); in testTryAllocateBuffersDoesNotCrash() [all …]
|
D | ASurfaceTextureTest.java | 98 SurfaceTexture consumer = new SurfaceTexture(false); in testBasic() local 99 consumer.setDefaultBufferSize(640, 480); in testBasic() 100 nBasicTests(consumer); in testBasic() 103 private static native void nBasicTests(SurfaceTexture consumer); in nBasicTests() argument
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/batterystats/ |
D | BatteryUsageStatsTests.java | 130 for (BatteryUsageStatsAtomsProto.UidBatteryConsumer consumer : uidBatteryConsumers) { in assertBatteryUsageStatsAtom() 131 if (consumer.getBatteryConsumerData().getTotalConsumedPowerDeciCoulombs() > 0 in assertBatteryUsageStatsAtom() 132 || consumer.getTimeInForegroundMillis() > 0 in assertBatteryUsageStatsAtom() 133 || consumer.getTimeInBackgroundMillis() > 0) { in assertBatteryUsageStatsAtom()
|
/cts/hostsidetests/os/test-apps/StaticSharedNativeLibConsumer/src/android/os/lib/consumer/ |
D | UseSharedLibraryTest.java | 17 package android.os.lib.consumer;
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InlineSuggestionTest.java | 93 Consumer<InlineContentView> consumer = view -> { in testInflateNoContentProviderAcceptNullView() local 98 consumer); in testInflateNoContentProviderAcceptNullView()
|
/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlsService.java | 239 Consumer<Integer> consumer) { in performControlAction() argument 280 consumer.accept(ControlAction.RESPONSE_CHALLENGE_PIN); in performControlAction() 291 consumer.accept(ControlAction.RESPONSE_CHALLENGE_PASSPHRASE); in performControlAction() 302 consumer.accept(ControlAction.RESPONSE_CHALLENGE_ACK); in performControlAction() 341 consumer.accept(ControlAction.RESPONSE_OK); in performControlAction()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ApiPresenceCheckerTest.java | 99 ResultObserver resultObserver, Consumer<T> consumer, String... excludedRuntimeClasses) { in runWithApiChecker() argument 102 consumer.accept(checker); in runWithApiChecker()
|
D | AnnotationCheckerTest.java | 46 void runWithApiChecker(ResultObserver resultObserver, Consumer<AnnotationChecker> consumer, in runWithApiChecker() argument 51 consumer.accept(checker); in runWithApiChecker()
|
D | ApiComplianceCheckerTest.java | 52 …ResultObserver resultObserver, Consumer<ApiComplianceChecker> consumer, String... excludedRuntimeC… in runWithApiChecker() argument 56 consumer.accept(checker); in runWithApiChecker()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 236 private void executeOnInputConnection(Consumer<InputConnection> consumer) { in executeOnInputConnection() argument 241 consumer.accept(ic); in executeOnInputConnection()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | InstallSessionParamsUnitTest.java | 305 void ifPresent(Consumer<T> consumer) { in ifPresent() argument 307 consumer.accept(mValue); in ifPresent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | DeviceAdminTestReceiver.java | 253 private void bindPrimaryUserService(Context context, Consumer<ICrossUserService> consumer) { in bindPrimaryUserService() argument 266 consumer.accept(ICrossUserService.Stub.asInterface(service)); in bindPrimaryUserService()
|
/cts/tests/searchui/src/android/searchuiservice/cts/ |
D | SearchUiManagerTest.java | 215 Consumer<List<SearchTarget>> consumer in testQuery_mockCallback() 217 consumer.accept(targets); in testQuery_mockCallback()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 266 private RemoteCallback createRemoteCallbackReceiver(Consumer<RemoteCallback> consumer) { in createRemoteCallbackReceiver() argument 270 consumer.accept(results.getParcelable(Utils.EXTRA_REMOTE_CALLBACK_RECEIVING)); in createRemoteCallbackReceiver()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 417 IBinder consumer = p.first; in fillUpMemoryAndCheck() local 426 if (!MemoryConsumerService.runOnce(consumer, totalMb) && list.size() == 0) { in fillUpMemoryAndCheck() 430 consumer = p.first; in fillUpMemoryAndCheck()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | WindowManagerState.java | 1427 void forAllTasks(Consumer<Task> consumer) { in forAllTasks() argument 1429 consumer.accept(task); in forAllTasks() 1431 consumer.accept(this); in forAllTasks()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SubscriptionManagerTest.java | 1106 Consumer<Integer> consumer = (res)-> { in setPreferredDataSubId() local 1116 executor, consumer)); in setPreferredDataSubId()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | StrictModeTest.java | 1322 private static void runWithRemoteServiceBound(Context context, Consumer<ISecondary> consumer) in runWithRemoteServiceBound() argument 1346 consumer.accept(ISecondary.Stub.asInterface(binder)); in runWithRemoteServiceBound()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 1014 Consumer<TvView> consumer) { 1015 return activity -> consumer.accept(activity.getTvView());
|