Home
last modified time | relevance | path

Searched refs:dispatch (Results 1 – 25 of 83) sorted by relevance

1234

/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/events/
DEventsTest.kt87 events.dispatch(event) in <lambda>()
115 events.dispatch(event) in <lambda>()
145 events.dispatch(event) // 1 in <lambda>()
146 events.dispatch(event) in <lambda>()
147 events.dispatch(event) in <lambda>()
148 events.dispatch(event) in <lambda>()
149 events.dispatch(event) in <lambda>()
150 events.dispatch(event) in <lambda>()
151 events.dispatch(event) in <lambda>()
152 events.dispatch(event) in <lambda>()
[all …]
/packages/apps/Nfc/src/com/android/nfc/
DNfcDispatcher.java565 DispatchInfo dispatch = new DispatchInfo(mContext, tag, message); in dispatchTag() local
569 if (tryOverrides(dispatch, tag, message, overrideIntent, overrideFilters, in dispatchTag()
619 if (tryNdef(dispatch, message)) { in dispatchTag()
629 if (tryTech(dispatch, tag)) { in dispatchTag()
633 dispatch.setTagIntent(); in dispatchTag()
634 if (dispatch.tryStartActivity()) { in dispatchTag()
716 …boolean tryOverrides(DispatchInfo dispatch, Tag tag, NdefMessage message, PendingIntent overrideIn… in tryOverrides() argument
725 intent = dispatch.setNdefIntent(); in tryOverrides()
739 intent = dispatch.setTechIntent(); in tryOverrides()
751 intent = dispatch.setTagIntent(); in tryOverrides()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiHealthMonitorTest.java382 mAlarmManager.dispatch(WifiHealthMonitor.POST_BOOT_DETECTION_TIMER_TAG); in makeSerializedExample()
424 mAlarmManager.dispatch(WifiHealthMonitor.POST_BOOT_DETECTION_TIMER_TAG); in testReadWriteAndSWChange()
458 mAlarmManager.dispatch(WifiHealthMonitor.POST_BOOT_DETECTION_TIMER_TAG); in testSerializationDeserialization()
498 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTimerMultiDayRun()
507 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTimerMultiDayRun()
546 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTwoDailyDetections()
550 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testTwoDailyDetections()
565 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testBuildProto()
622 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testWifiStatsLogWrite()
647 mAlarmManager.dispatch(WifiHealthMonitor.DAILY_DETECTION_TIMER_TAG); in testAfterSwBuildChange()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventFallbackImplTest.java326 public MockResponse dispatch(RecordedRequest request) { in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
379 public MockResponse dispatch(RecordedRequest request) { in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException()
447 public MockResponse dispatch(RecordedRequest request) { in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
500 public MockResponse dispatch(RecordedRequest request) { in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException()
556 public MockResponse dispatch(RecordedRequest request) { in testImplOnlyReportsBuyersRegisteredEvents()
601 public MockResponse dispatch(RecordedRequest request) { in testImplOnlyReportsSellerRegisteredEvents()
662 public MockResponse dispatch(RecordedRequest request) { in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck()
726 public MockResponse dispatch(RecordedRequest request) { in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck()
782 public MockResponse dispatch(RecordedRequest request) { in testImplFailsWithInvalidPackageName()
834 public MockResponse dispatch(RecordedRequest request) { in testImplFailsWhenForegroundCheckFails()
[all …]
DReportEventImplTest.java367 public MockResponse dispatch(RecordedRequest request) { in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
452 public MockResponse dispatch(RecordedRequest request) { in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
530 public MockResponse dispatch(RecordedRequest request) { in testImplOnlyReportsBuyersRegisteredInteractions()
601 public MockResponse dispatch(RecordedRequest request) { in testImplOnlyReportsSellerRegisteredInteractions()
693 public MockResponse dispatch(RecordedRequest request) { in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck()
773 public MockResponse dispatch(RecordedRequest request) { in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck()
833 public MockResponse dispatch(RecordedRequest request) { in testImplFailsWithInvalidPackageName()
901 public MockResponse dispatch(RecordedRequest request) { in testImplFailsWhenForegroundCheckFails()
961 public MockResponse dispatch(RecordedRequest request) { in testImplFailsWhenThrottled()
1075 public MockResponse dispatch(RecordedRequest request) { in testImplFailsWhenAppNotInAllowList()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/facade/src/
Dmedia_service.rs19 A2dpCallbacksDispatcher { dispatch: Box::new(move |_cb| {}) } in get_a2dp_dispatcher()
23 A2dpSinkCallbacksDispatcher { dispatch: Box::new(move |_cb| {}) } in get_a2dp_sink_dispatcher()
27 AvrcpCallbacksDispatcher { dispatch: Box::new(move |_cb| {}) } in get_avrcp_dispatcher()
Dgatt_service.rs58 dispatch: Box::new(move |cb| { in create()
63 dispatch: Box::new(move |cb| { in create()
68 dispatch: Box::new(move |cb| { in create()
73 dispatch: Box::new(move |cb| { in create()
78 dispatch: Box::new(move |cb| { in create()
83 dispatch: Box::new(move |cb| { in create()
Dhf_client_service.rs18 BthfClientCallbacksDispatcher { dispatch: Box::new(move |_cb| {}) } in get_hf_client_dispatcher()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.kt36 private fun dispatch(task: NamedTask?) { in dispatch() method in com.android.quicksearchbox.util.BatchingNamedTaskExecutor
55 dispatch(task) in executeNextBatch()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/
DMainActivityTest.kt181 events.get().dispatch(Event.MediaSelectionConfirmed(CORE.token)) in <lambda>()
225 events.get().dispatch(Event.MediaSelectionConfirmed(CORE.token)) in <lambda>()
269 events.get().dispatch(Event.MediaSelectionConfirmed(CORE.token)) in <lambda>()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/utils/
DMeasurementMockServerDispatcher.java34 public MockResponse dispatch(RecordedRequest request) throws InterruptedException { in dispatch() method in MeasurementMockServerDispatcher
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java436 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadResponsesSkipsHeaderIfAbsent()
461 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadContainsRequestProperties()
568 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadResponsesUsesCache()
626 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadResponsesDefaultSkipsCache()
653 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadResponsesNoCacheHeaderSkipsCache()
680 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadCacheDisabledSkipsCache()
893 public MockResponse dispatch(RecordedRequest request) { in testFetchPayloadDomainIsLocalhost_DevOptionsEnabled()
1025 public MockResponse dispatch(RecordedRequest request) in testPerformRequestAndGetResponseInString_shouldReturnResponseString()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Davrcp.rs83 pub dispatch: Box<dyn Fn(AvrcpCallbacks) + Send>, field
253 pub dispatch: Box<dyn Fn(AvrcpCtrlCallbacks) + Send>, field
Da2dp.rs323 pub dispatch: Box<dyn Fn(A2dpCallbacks) + Send>, field
447 pub dispatch: Box<dyn Fn(A2dpSinkCallbacks) + Send>, field
Dcsis.rs84 pub dispatch: Box<dyn Fn(CsisClientCallbacks) + Send>, field
Dgatt.rs623 pub dispatch: Box<dyn Fn(GattClientCallbacks) + Send>, field
627 pub dispatch: Box<dyn Fn(GattServerCallbacks) + Send>, field
901 pub dispatch: Box<dyn Fn(GattScannerCallbacks) + Send>, field
995 pub dispatch: Box<dyn Fn(GattScannerInbandCallbacks) + Send>, field
1071 pub dispatch: Box<dyn Fn(GattAdvCallbacks) + Send>, field
1123 pub dispatch: Box<dyn Fn(GattAdvInbandCallbacks) + Send>, field
Dhf_client.rs61 pub dispatch: Box<dyn Fn(BthfClientCallbacks) + Send>, field
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/core/events/
DEvents.kt87 suspend fun dispatch(event: Event) { in <lambda>() method in com.android.photopicker.core.events.Events
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DBaselinePerfTest.java184 public MockResponse dispatch(RecordedRequest request) { in testAdSelectionAndReporting_executionHeavyJS_success()
266 public MockResponse dispatch(RecordedRequest request) { in testAdSelectionAndReporting_memoryHeavyJS_success()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/photogrid/
DPhotoGridViewModel.kt111 events.dispatch( in handleGridItemSelection()
/packages/services/Car/tools/telemetry/lua-interpreter/static/js/
Dindex.js163 editorView.dispatch({
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Dmain.rs200 topstack::get_runtime().spawn(Stack::dispatch( in main()
221 tokio::spawn(interface_manager::InterfaceManager::dispatch( in main()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/
DAlbumGridViewModel.kt136 events.dispatch( in handleAlbumMediaGridItemSelection()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsEncodingE2ETest.java369 public MockResponse dispatch(RecordedRequest request) in testSignalsEncoding_Success()
488 public MockResponse dispatch(RecordedRequest request) in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
598 public MockResponse dispatch(RecordedRequest request) in testPeriodicEncodingUpdatesEncoders_Success()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java1367 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_Success()
1528 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_SuccessWithAuctionServerRequestFlags()
1655 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_MultipleUpdates_Success()
1800 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_AppInstallDisabled()
1909 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_FrequencyCapDisabled()
1996 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_MultipleInvalidUpdates_SilentFailure()
2091 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_PartialCaOverrides_Success()
2194 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_InvalidPartialCa_PartialSuccess()
2285 public MockResponse dispatch(RecordedRequest request) in testScheduleCustomAudienceUpdate_NoOverrides_Success()

1234