/packages/modules/Uwb/service/uci/jni/src/ |
D | dispatcher.rs | 38 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;
|
D | uci_jni_android_new.rs | 17 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/ |
D | mod.rs | 71 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/ |
D | MockWebServerRule.java | 25 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()
|
D | MockWebServerDispatcherFactory.java | 22 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/ |
D | MockWebServerRule.java | 25 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()
|
D | ScenarioDispatcher.java | 27 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/ |
D | ReportAndRegisterEventFallbackImplTest.java | 103 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 …]
|
D | ReportEventImplTest.java | 99 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 …]
|
D | AdSelectionE2ETest.java | 171 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 …]
|
D | JsFetcherTest.java | 70 import com.google.mockwebserver.Dispatcher; 121 private Dispatcher mDefaultDispatcher; 175 new Dispatcher() { in setUp()
|
D | AdOutcomeSelectorImplTest.java | 61 import com.google.mockwebserver.Dispatcher; 105 private Dispatcher mDefaultDispatcher; 133 new Dispatcher() { in setup()
|
D | AdBidGeneratorImplTest.java | 109 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 …]
|
D | AdSelectionFailureE2ETest.java | 115 import com.google.mockwebserver.Dispatcher; 239 private Dispatcher mDispatcher; 337 new Dispatcher() { in setUp()
|
D | AdsScoreGeneratorImplTest.java | 106 import com.google.mockwebserver.Dispatcher; 172 private Dispatcher mDefaultDispatcher; 262 new Dispatcher() { in setUp() 1346 Dispatcher missingSignalsDispatcher = in testMissingTrustedSignalsException() 1347 new Dispatcher() { in testMissingTrustedSignalsException()
|
D | AdSelectionFromOutcomesE2ETest.java | 117 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/ |
D | BaselinePerfTest.java | 26 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()
|
D | AbstractPerfTest.java | 44 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/ |
D | MeasurementMockServerDispatcher.java | 19 import com.google.mockwebserver.Dispatcher; 23 public class MeasurementMockServerDispatcher extends Dispatcher {
|
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/http/ |
D | MockWebServerRule.java | 26 import com.google.mockwebserver.Dispatcher; 139 Dispatcher dispatcher = 140 new Dispatcher() { 149 public MockWebServer startMockWebServer(Dispatcher dispatcher) throws Exception {
|
/packages/modules/DnsResolver/doh/ |
D | ffi.rs | 20 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/ |
D | CustomAudienceServiceEndToEndTest.java | 133 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 …]
|
D | BackgroundFetchRunnerTest.java | 65 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/ |
D | AdServicesHttpsClientTest.java | 92 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/ |
D | SignalsEncodingE2ETest.java | 90 import com.google.mockwebserver.Dispatcher; 367 new Dispatcher() { in testSignalsEncoding_Success() 486 new Dispatcher() { in testSecondUpdateEncoderDoesNotDownloadEncodingLogic() 596 new Dispatcher() { in testPeriodicEncodingUpdatesEncoders_Success()
|