Home
last modified time | relevance | path

Searched refs:accept (Results 1 – 25 of 218) sorted by relevance

123456789

/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DMockSatelliteService.java185 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestSatelliteListeningEnabled()
191 runWithExecutor(() -> errorCallback.accept(SatelliteResult.SATELLITE_RESULT_SUCCESS)); in requestSatelliteListeningEnabled()
210 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestSatelliteEnabled()
232 runWithExecutor(() -> errorCallback.accept(SatelliteResult.SATELLITE_RESULT_SUCCESS)); in enableSatellite()
243 runWithExecutor(() -> errorCallback.accept(SatelliteResult.SATELLITE_RESULT_SUCCESS)); in disableSatellite()
257 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestIsSatelliteEnabled()
262 runWithExecutor(() -> callback.accept(mIsEnabled)); in requestIsSatelliteEnabled()
272 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestIsSatelliteSupported()
277 runWithExecutor(() -> callback.accept(mIsSupported)); in requestIsSatelliteSupported()
287 runWithExecutor(() -> errorCallback.accept(mErrorCode)); in requestSatelliteCapabilities()
[all …]
/cts/tests/wearable/src/android/wearable/cts/
DCtsIsolatedWearableSensingService.java130 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onSecureConnectionProvided()
137 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataStreamProvided()
150 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataProvided()
165 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataProvided()
168 statusConsumer.accept( in onDataProvided()
186 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in onDataProvided()
193 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in onDataProvided()
209 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in verifyDataReceivedFromWearable()
214 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in verifyDataReceivedFromWearable()
220 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in verifyDataReceivedFromWearable()
[all …]
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DMainWearableSensingService.java109 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onStartHotwordRecognition()
134 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in onDataProvided()
156 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in onDataProvided()
163 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in onDataProvided()
193 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in sendAudio()
199 mAudioConsumer.accept( in sendAudio()
204 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in sendAudio()
210 statusConsumer.accept(WearableSensingManager.STATUS_UNKNOWN); in sendMoreAudioData()
214 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in sendMoreAudioData()
223 statusConsumer.accept(WearableSensingManager.STATUS_SUCCESS); in verifyHotwordValidatedCalled()
[all …]
/cts/tests/appsearch/testutils/src/android/app/appsearch/testutil/functions/
DTestAppFunctionService.java57 callback.accept(newSuccessfulResult(result)); in onExecuteFunction()
62 callback.accept(newSuccessfulResult(result)); in onExecuteFunction()
63 callback.accept(newSuccessfulResult(result)); in onExecuteFunction()
68 callback.accept(newSuccessfulResult(result)); in onExecuteFunction()
84 callback.accept(newSuccessfulResult(result)); in onExecuteFunction()
89 callback.accept( in onExecuteFunction()
94 callback.accept(newFailedResult(RESULT_NOT_FOUND, "no such method")); in onExecuteFunction()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DMoreCollectors.java48 public void accept(Builder<E> builder, E element) { in endingAt()
55 builder.accept(element); in endingAt()
85 public void accept(Builder<E> builder, E element) { in startingFrom()
87 builder.accept(element); in startingFrom()
92 builder.accept(element); in startingFrom()
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/
DJvmtiRedefineClassesTest.java72 public void accept(T data); in accept() method
78 public void accept(String data) { in accept() method in JvmtiRedefineClassesTest.StringCollector
101 reporter.accept("hello - private"); in Start()
105 reporter.accept("goodbye - private"); in Finish()
109 reporter.accept("Pre Start private method call"); in sayHi()
111 reporter.accept("Post Start private method call"); in sayHi()
113 reporter.accept("Pre Finish private method call"); in sayHi()
115 reporter.accept("Post Finish private method call"); in sayHi()
230 c.accept("Initial test run. No changes."); in checkRedefinedTransform()
236 c.accept("Redefining calling function."); in checkRedefinedTransform()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DInputDeviceIterators.java33 invalidDeviceIdConsumer.accept(deviceId); in iteratorOverInvalidDeviceIds()
48 motionRangeConsumer.accept(deviceId, motionRange); in iteratorOverEveryInputDeviceMotionRange()
56 deviceIdConsumer.accept(deviceId); in iteratorOverEveryValidDeviceId()
/cts/hostsidetests/devicepolicy/app/StartInfoApp/src/com/android/cts/startinfoapp/
DApiTestActivity.java164 public void accept(ApplicationStartInfo info) { in addOneListener()
186 public void accept(ApplicationStartInfo info) { in addMultipleListeners()
192 public void accept(ApplicationStartInfo info) { in addMultipleListeners()
219 public void accept(ApplicationStartInfo info) { in addAndRemoveListener()
227 public void accept(ApplicationStartInfo info) { in addAndRemoveListener()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java138 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
168 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
198 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
232 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
262 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
292 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityCharacterOverContentDescription()
354 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityWordOverContentDescription()
384 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityWordOverContentDescription()
414 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityWordOverContentDescription()
448 public boolean accept(AccessibilityEvent event) { in testActionNextAndPreviousAtGranularityWordOverContentDescription()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DSomeService.java49 sCallback.accept(0); in onStartCommand()
52 sCallback.accept(1); in onStartCommand()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DTransactionalCall.java121 wasCompleted.accept(true);
126 wasCompleted.accept(true);
133 wasCompleted.accept(true);
141 wasCompleted.accept(true);
/cts/libs/deviceutillegacy/src/com/android/compatibility/common/util/
DSynchronousPixelCopy.java138 public void accept(PixelCopy.Result copyResult) { in accept() method in SynchronousPixelCopy.BlockingResult
158 func.accept(request); in copySurface()
173 func.accept(request); in copySurface()
188 func.accept(request); in copyWindow()
203 func.accept(request); in copyWindow()
/cts/tests/ambientcontext/src/android/ambientcontext/cts/
DCtsAmbientContextDetectionService.java73 sResultConsumer.accept(result); in respondSuccess()
80 sQueryConsumer.accept(serviceStatus); in respondSuccess()
90 sQueryConsumer.accept(serviceStatus); in respondFailure()
/cts/hostsidetests/media/app/common/src/android/media/cts/app/common/
DPlaceholderSelfScanMediaRoute2ProviderService.java66 sOnBindCallback.get().accept(intent.getAction()); in onBind()
72 sOnUnbindCallback.get().accept(intent.getAction()); in onUnbind()
/cts/tests/tests/background/src/android/app/cts/backgroundrestrictions/
DBroadcastsTest.java72 callback.accept(intent); in testNonSupportedBroadcastsNotDelivered_runtimeReceiver()
97 MyReceiver.setCallback((intent) -> callback.accept(intent)); in testNonSupportedBroadcastsNotDelivered_manifestReceiver()
147 receiverInitializer.accept(filter, callbackHandler); in testNonSupportedBroadcastsNotDelivered()
155 intentInitializer.accept(intent); in testNonSupportedBroadcastsNotDelivered()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java103 callback.accept(Collections.emptyList()); in onGetDirectActions()
114 callback.accept(actions); in onGetDirectActions()
217 callback.accept(result); in reportActionPerformed()
225 callback.accept(result); in reportActionCancelled()
233 callback.accept(result); in reportActionExecuting()
238 callback.accept( new Bundle()); in reportActionFailed()
/cts/tests/tests/telecom/src/android/telecom/cts/
DTelecomCtsVoipCall.java63 wasCompleted.accept(Boolean.TRUE);
69 wasCompleted.accept(Boolean.TRUE);
75 wasCompleted.accept(Boolean.TRUE);
82 wasCompleted.accept(Boolean.TRUE);
/cts/tests/tests/view/src/android/view/cts/
DMockScrollCaptureCallback.java67 mSearchConsumer.accept(scrollBounds); in completeSearchRequest()
82 mImageOnComplete.accept(captured); in completeImageRequest()
/cts/tests/signature/lib/common/src/android/signature/cts/
DBufferedReaderLineSpliterator.java72 action.accept(mConverter.apply(nextLine)); in tryAdvance()
74 action.accept(mLineNumConverter.apply(nextLine, mLineNum)); in tryAdvance()
/cts/tests/location/location_none/src/android/location/cts/none/
DCountryDetectorTest.java62 Mockito.verify(mMockCountryCallback, timeout(100)).accept(callbackCountry.capture()); in testRegisterCountryDetectorCallback()
71 Mockito.verify(mMockCountryCallback, never()).accept(any(Country.class)); in testRegisterCountryDetectorCallback()
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/
DActivityContext.java137 runnable.accept(inContext); in runWithContext()
150 runnable.accept(inContext); in runWithContext()
179 runnable.accept(inContext, arg1); in runWithContext()
193 runnable.accept(inContext, arg1); in runWithContext()
275 blocking.accept(sActivityContext); in getWithContextInternal()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerConfigActivityTest.java116 assertTrue(request.accept()); in testCreateShortcutResultIntent_defaultLauncher()
128 assertTrue(request.accept()); in testCreateShortcutResultIntent_defaultChanges()
139 assertExpectException(SecurityException.class, null, request::accept); in testCreateShortcutResultIntent_noDefault()
/cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
DPredictionService.java64 callback.accept(mReporter.getSortedPredictionsProvider().sortTargets(targets)); in onSortAppTargets()
82 callback.accept(mReporter.getServiceFeaturesProvider().get()); in onRequestServiceFeatures()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DRecordingOnTransportsChangedListener.kt28 override fun accept(associations: List<AssociationInfo>) = method
/cts/common/device-side/bedstead/activitycontext/src/test/java/com/android/activitycontext/
DActivityContextTest.java141 public void accept(ActivityContext activity) { in accept() method in ActivityContextTest.BlockingActivityConsumer
159 public void accept(ActivityContext activity, String s) { in accept() method in ActivityContextTest.BlockingActivityBiConsumerChecksActivity
202 public void accept(ActivityContext activity, String s) { in accept() method in ActivityContextTest.BlockingActivityBiConsumerReturnsFirstArgument

123456789