Home
last modified time | relevance | path

Searched refs:Dispatcher (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/Uwb/service/uci/jni/src/
Ddispatcher.rs38 static ref DISPATCHER: RwLock<Option<Dispatcher>> = RwLock::new(None);
44 pub(crate) struct Dispatcher { struct
48 impl Dispatcher { implementation
55 ) -> Result<Dispatcher> { in new() argument
106 let dispatcher = Dispatcher::new(vm, class_loader_obj, callback_obj, chip_ids)?; in new_dispatcher()
112 pub fn get_dispatcher_ptr() -> Result<*const Dispatcher> { in get_dispatcher_ptr()
153 read_lock: RwLockReadGuard<'a, Option<Dispatcher>>,
168 read_lock: RwLockReadGuard<'a, Option<Dispatcher>>,
175 read_lock: RwLockReadGuard<'a, Option<Dispatcher>>, in new() argument
196 type Target = Dispatcher;
Duci_jni_android_new.rs17 use crate::dispatcher::Dispatcher;
145 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_do_initialize()
161 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_do_deinitialize()
189 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_device_reset()
218 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_session_init()
240 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_session_deinit()
260 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_get_session_count()
282 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_ranging_start()
304 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_ranging_stop()
333 let uci_manager = Dispatcher::get_uci_manager(env, obj, chip_id)?; in native_get_session_state()
[all …]
/packages/modules/DnsResolver/doh/dispatcher/
Dmod.rs71 pub struct Dispatcher { struct
78 impl Dispatcher { implementation
81 pub fn new(validation: ValidationReporter, tagger: SocketTagger) -> Result<Dispatcher> { in new() argument
95 Ok(Dispatcher { cmd_sender, join_handle, runtime }) in new()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/
DMockWebServerRule.java25 import com.google.mockwebserver.Dispatcher;
116 Dispatcher dispatcher = in startMockWebServer()
117 new Dispatcher() { in startMockWebServer()
126 public MockWebServer startMockWebServer(Dispatcher dispatcher) throws Exception { in startMockWebServer()
153 public MockWebServer startCreatedMockWebServer(Dispatcher dispatcher) throws Exception { in startCreatedMockWebServer()
DMockWebServerDispatcherFactory.java22 import com.google.mockwebserver.Dispatcher;
131 public static Dispatcher createLatencyDispatcher( in createLatencyDispatcher()
144 private static Dispatcher create( in create()
154 return new Dispatcher() { in create()
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/utils/
DMockWebServerRule.java25 import com.google.mockwebserver.Dispatcher;
121 Dispatcher dispatcher = in startMockWebServer()
122 new Dispatcher() { in startMockWebServer()
137 public MockWebServer startMockWebServer(Dispatcher dispatcher) throws Exception { in startMockWebServer()
185 public MockWebServer startCreatedMockWebServer(Dispatcher dispatcher) throws Exception { in startCreatedMockWebServer()
DScenarioDispatcher.java27 import com.google.mockwebserver.Dispatcher;
51 public class ScenarioDispatcher extends Dispatcher {
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventFallbackImplTest.java103 import com.google.mockwebserver.Dispatcher;
324 new Dispatcher() { in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
377 new Dispatcher() { in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException()
445 new Dispatcher() { in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
498 new Dispatcher() { in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException()
554 new Dispatcher() { in testImplOnlyReportsBuyersRegisteredEvents()
599 new Dispatcher() { in testImplOnlyReportsSellerRegisteredEvents()
658 new Dispatcher() { in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck()
724 new Dispatcher() { in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck()
780 new Dispatcher() { in testImplFailsWithInvalidPackageName()
[all …]
DReportEventImplTest.java99 import com.google.mockwebserver.Dispatcher;
365 new Dispatcher() { in testImplDoesNotCrashAfterSellerReportingThrowsAnException()
450 new Dispatcher() { in testImplDoesNotCrashAfterBuyerReportingThrowsAnException()
528 new Dispatcher() { in testImplOnlyReportsBuyersRegisteredInteractions()
599 new Dispatcher() { in testImplOnlyReportsSellerRegisteredInteractions()
689 new Dispatcher() { in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck()
771 new Dispatcher() { in testImplReturnsSuccessButDoesNotDoReportingWhenBothFailEnrollmentCheck()
831 new Dispatcher() { in testImplFailsWithInvalidPackageName()
899 new Dispatcher() { in testImplFailsWhenForegroundCheckFails()
957 new Dispatcher() { in testImplFailsWhenThrottled()
[all …]
DAdSelectionE2ETest.java171 import com.google.mockwebserver.Dispatcher;
355 public static final Dispatcher DISPATCHER_V2_ONLY_BIDDING_LOGIC =
356 new Dispatcher() {
396 public static final Dispatcher DISPATCHER_V3_BIDDING_LOGIC =
397 new Dispatcher() {
498 public static final Dispatcher DISPATCHER_V3_BIDDING_LOGIC_HEADER_WITH_V2_LOGIC =
499 new Dispatcher() {
547 public static final Dispatcher DISPATCHER_TOO_HIGH_BIDDING_LOGIC_JS_VERSION =
548 new Dispatcher() {
650 private Dispatcher mDispatcher;
[all …]
DJsFetcherTest.java70 import com.google.mockwebserver.Dispatcher;
121 private Dispatcher mDefaultDispatcher;
175 new Dispatcher() { in setUp()
DAdOutcomeSelectorImplTest.java61 import com.google.mockwebserver.Dispatcher;
105 private Dispatcher mDefaultDispatcher;
133 new Dispatcher() { in setup()
DAdBidGeneratorImplTest.java109 import com.google.mockwebserver.Dispatcher;
229 private static final Dispatcher DEFAULT_DISPATCHER_PRE_V3 =
230 new Dispatcher() {
249 private static final Dispatcher DISPATCHER_EMPTY =
250 new Dispatcher() {
257 private static final Dispatcher DEFAULT_DISPATCHER_V3 =
258 new Dispatcher() {
281 private static final Dispatcher DISPATCHER_V3_RETURN_TOO_HIGH_VERSION =
282 new Dispatcher() {
1628 final Dispatcher versionHeaderFailsDispatcher = in testV2BiddingLogicDoesNotAddHeaders_Success()
[all …]
DAdSelectionFailureE2ETest.java115 import com.google.mockwebserver.Dispatcher;
239 private Dispatcher mDispatcher;
337 new Dispatcher() { in setUp()
DAdsScoreGeneratorImplTest.java106 import com.google.mockwebserver.Dispatcher;
172 private Dispatcher mDefaultDispatcher;
262 new Dispatcher() { in setUp()
1346 Dispatcher missingSignalsDispatcher = in testMissingTrustedSignalsException()
1347 new Dispatcher() { in testMissingTrustedSignalsException()
DAdSelectionFromOutcomesE2ETest.java117 import com.google.mockwebserver.Dispatcher;
238 private Dispatcher mDispatcher;
352 new Dispatcher() { in setUp()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/fledge/
DBaselinePerfTest.java26 import com.google.mockwebserver.Dispatcher;
181 Dispatcher dispatcher = in testAdSelectionAndReporting_executionHeavyJS_success()
182 new Dispatcher() { in testAdSelectionAndReporting_executionHeavyJS_success()
263 Dispatcher dispatcher = in testAdSelectionAndReporting_memoryHeavyJS_success()
264 new Dispatcher() { in testAdSelectionAndReporting_memoryHeavyJS_success()
DAbstractPerfTest.java44 import com.google.mockwebserver.Dispatcher;
161 protected Dispatcher mDefaultDispatcher;
204 new Dispatcher() { in setup()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/measurement/load/utils/
DMeasurementMockServerDispatcher.java19 import com.google.mockwebserver.Dispatcher;
23 public class MeasurementMockServerDispatcher extends Dispatcher {
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/http/
DMockWebServerRule.java26 import com.google.mockwebserver.Dispatcher;
139 Dispatcher dispatcher =
140 new Dispatcher() {
149 public MockWebServer startMockWebServer(Dispatcher dispatcher) throws Exception {
/packages/modules/DnsResolver/doh/
Dffi.rs20 use crate::dispatcher::{Command, Dispatcher, Response, ServerInfo};
95 pub struct DohDispatcher(Mutex<Dispatcher>);
98 fn lock(&self) -> impl DerefMut<Target = Dispatcher> + '_ { in lock()
161 match Dispatcher::new( in doh_dispatcher_new()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/
DCustomAudienceServiceEndToEndTest.java133 import com.google.mockwebserver.Dispatcher;
1364 Dispatcher dispatcher = in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_Success()
1365 new Dispatcher() { in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_Success()
1525 Dispatcher dispatcher = in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_SuccessWithAuctionServerRequestFlags()
1526 new Dispatcher() { in testScheduleCustomAudienceUpdate_JoinWithOverridesAndLeave_SuccessWithAuctionServerRequestFlags()
1652 Dispatcher dispatcher = in testScheduleCustomAudienceUpdate_MultipleUpdates_Success()
1653 new Dispatcher() { in testScheduleCustomAudienceUpdate_MultipleUpdates_Success()
1797 Dispatcher dispatcher = in testScheduleCustomAudienceUpdate_AppInstallDisabled()
1798 new Dispatcher() { in testScheduleCustomAudienceUpdate_AppInstallDisabled()
1906 Dispatcher dispatcher = in testScheduleCustomAudienceUpdate_FrequencyCapDisabled()
[all …]
DBackgroundFetchRunnerTest.java65 import com.google.mockwebserver.Dispatcher;
544 new Dispatcher() { in testFetchAndValidateCustomAudienceUpdatableDataNetworkTimeout()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java92 import com.google.mockwebserver.Dispatcher;
434 new Dispatcher() { in testFetchPayloadResponsesSkipsHeaderIfAbsent()
459 new Dispatcher() { in testFetchPayloadContainsRequestProperties()
566 new Dispatcher() { in testFetchPayloadResponsesUsesCache()
624 new Dispatcher() { in testFetchPayloadResponsesDefaultSkipsCache()
651 new Dispatcher() { in testFetchPayloadResponsesNoCacheHeaderSkipsCache()
678 new Dispatcher() { in testFetchPayloadCacheDisabledSkipsCache()
891 new Dispatcher() { in testFetchPayloadDomainIsLocalhost_DevOptionsEnabled()
1022 Dispatcher dispatcher = in testPerformRequestAndGetResponseInString_shouldReturnResponseString()
1023 new Dispatcher() { in testPerformRequestAndGetResponseInString_shouldReturnResponseString()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/
DSignalsEncodingE2ETest.java90 import com.google.mockwebserver.Dispatcher;
367 new Dispatcher() { in testSignalsEncoding_Success()
486 new Dispatcher() { in testSecondUpdateEncoderDoesNotDownloadEncodingLogic()
596 new Dispatcher() { in testPeriodicEncodingUpdatesEncoders_Success()

12