Home
last modified time | relevance | path

Searched defs:server (Results 1 – 25 of 122) sorted by relevance

12345

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/httpclient/
DAdServicesHttpsClientTest.java178 MockWebServer server = in testGetAndReadNothingSuccessfulResponse() local
187 MockWebServer server = in testGetAndReadNothingSuccessfulResponse_DevOptionsEnabled() local
196 MockWebServer server = in testGetAndReadNothingCorrectPath() local
208 MockWebServer server = in testGetAndReadNothingFailedResponse() local
246 MockWebServer server = in testFetchPayloadSuccessfulResponse() local
258 MockWebServer server = in testFetchPayloadSuccessfulResponse_DevOptionsEnabled() local
270 MockWebServer server = in testFetchPayloadCorrectPath() local
283 MockWebServer server = in testFetchPayloadFailedResponse() local
308 MockWebServer server = in testThrowsIOExceptionWhenConnectionTimesOut() local
347 MockWebServer server = in testInputStreamToStringThrowsExceptionWhenExceedingMaxSize() local
[all …]
/packages/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DServerInterfaceTest.java76 try (FakeRkpServer server = new FakeRkpServer(FakeRkpServer.Response.INTERNAL_ERROR, in testRetryOnServerFailure()
92 try (FakeRkpServer server = new FakeRkpServer( in testFetchGeekRkpDisabled()
108 try (FakeRkpServer server = new FakeRkpServer( in testFetchGeekRkpEnabled()
152 try (FakeRkpServer server = new FakeRkpServer( in testFetchKeyAndUpdate()
167 try (FakeRkpServer server = new FakeRkpServer( in testRequestSignedCertUnregistered()
183 try (FakeRkpServer server = new FakeRkpServer( in testRequestSignedCertClientError()
200 try (FakeRkpServer server = new FakeRkpServer( in testRequestSignedCertCborError()
217 try (FakeRkpServer server = new FakeRkpServer( in testRequestSignedCertValid()
233 try (FakeRkpServer server = new FakeRkpServer( in testDataBudgetEmptyFetchGeekNetworkConnected()
256 try (FakeRkpServer server = new FakeRkpServer( in testNetworkDisconnected()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DReportAndRegisterEventFallbackImplTest.java272 MockWebServer server = in testImplSuccessfullyReportsRegisteredEvents() local
322 MockWebServer server = in testImplDoesNotCrashAfterSellerReportingThrowsAnException() local
375 MockWebServer server = in testImplDoesNotCrashAfterSellerReportingAndRegisteringThrowsAnException() local
443 MockWebServer server = in testImplDoesNotCrashAfterBuyerReportingThrowsAnException() local
496 MockWebServer server = in testImplDoesNotCrashAfterBuyerReportingAndRegisteringThrowsAnException() local
552 MockWebServer server = in testImplOnlyReportsBuyersRegisteredEvents() local
597 MockWebServer server = in testImplOnlyReportsSellerRegisteredEvents() local
656 MockWebServer server = in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck() local
886 MockWebServer server = in testImplFailsWhenThrottled() local
1196 MockWebServer server = in testImpl_onlyReportsEvent_measurementKillSwitchEnabled() local
[all …]
DReportAndRegisterEventE2ETest.java401 MockWebServer server = in testService_reportingDisabled() local
448 MockWebServer server = in testService_onlyReportingEnabled() local
490 MockWebServer server = in testService_ReportingAndRegisteringEnabled() local
543 MockWebServer server = in testService_ReportingAndRegisteringEnabled_measurementKillSwitchEnabled() local
596 MockWebServer server = in testService_ReportingAndRegisteringEnabled_appIsNotInMeasurementAllowlisted() local
647 MockWebServer server = in testService_ReportingAndRegisteringEnabled_measurementConsentRevoked() local
697 MockWebServer server = in testService_ReportingAndRegisteringEnabled_noPermissionForARA() local
749 MockWebServer server = in testService_ReportingAndRegisteringFallbackEnabled() local
814 MockWebServer server = in testService_ReportingAndRegisteringFallbackEnabled_measurementKillSwitchEnabled() local
873 MockWebServer server = in testService_ReportingAndRegisteringFallbackEnabled_appIsNotInMeasurementAllowlisted() local
[all …]
DReportEventImplTest.java292 MockWebServer server = in testImplSuccessfullyReportsRegisteredInteractions() local
363 MockWebServer server = in testImplDoesNotCrashAfterSellerReportingThrowsAnException() local
448 MockWebServer server = in testImplDoesNotCrashAfterBuyerReportingThrowsAnException() local
526 MockWebServer server = in testImplOnlyReportsBuyersRegisteredInteractions() local
597 MockWebServer server = in testImplOnlyReportsSellerRegisteredInteractions() local
687 MockWebServer server = in testImplReturnsOnlyReportsUriThatPassesEnrollmentCheck() local
955 MockWebServer server = in testImplFailsWhenThrottled() local
1411 MockWebServer server = in test_idFoundInInitializationDb_registeredInteractionsReported() local
DAdOutcomeSelectorImplTest.java171 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testAdOutcomeSelectorReturnsOutcomeSuccess() local
216 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testAdOutcomeSelectorReturnsNullSuccess() local
261 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testAdOutcomeSelectorJsonException() local
312 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testAdOutcomeSelectorTimeoutFailure() local
383 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testAdOutcomeSelectorWithPrebuiltUriReturnsOutcomeSuccess() local
DAdSelectionFromOutcomesE2ETest.java394 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesPickHighestSuccess() local
453 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesPickHighestSuccessDifferentTables() local
541 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesPickHighestSuccessUnifiedTables() local
628 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesWaterfallMediationAdBidHigherThanBidFloorSuccess() local
676 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesWaterfallMediationPrebuiltUriSuccess() local
736 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesWaterfallMediationAdBidLowerThanBidFloorSuccess() local
783 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesReturnsNullSuccess() local
833 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesInvalidAdSelectionConfigFromOutcomes() local
867 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesJsReturnsFaultyAdSelectionIdFailure() local
898 MockWebServer server = mMockWebServerRule.startMockWebServer(mDispatcher); in testSelectAdsFromOutcomesWaterfallMalformedPrebuiltUriFailed() local
DAdsScoreGeneratorImplTest.java322 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringSuccess() local
431 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringSuccessWithDataVersionHeaderEnabled() local
557 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringSuccessWithDataVersionHeaderDisabled() local
822 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringContextual_Success() local
948 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringContextual_withDebugReportingEnabled_Success() local
1095 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringContextual_UseOverride_Success() local
1259 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringContextualScoresMismatch_Failure() local
1356 MockWebServer server = mMockWebServerRule.startMockWebServer(missingSignalsDispatcher); in testMissingTrustedSignalsException() local
1414 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringUseDevOverrideForJS() local
1525 MockWebServer server = mMockWebServerRule.startMockWebServer(mDefaultDispatcher); in testRunAdScoringJsonException() local
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp338 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in testApplyPowerPolicyPerPowerStateChangeAsyncInternal() local
395 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
416 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
426 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
446 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
459 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
472 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
495 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
513 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
525 sp<internal::CarPowerPolicyServerPeer> server = new internal::CarPowerPolicyServerPeer(); in TEST_F() local
[all …]
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.cc107 std::shared_ptr<AsyncDataChannelServer> server = in SetUpHciServer() local
111 AsyncDataChannelServer* server) { in SetUpHciServer()
172 for (auto& server : hci_socket_servers_) { in initialize() local
219 const std::string& server, int port, Phy::Type phy_type) { in ConnectToRemoteServer()
230 AsyncDataChannelServer* server) { in SetUpTestChannel()
/packages/modules/RemoteKeyProvisioning/app/tests/e2e/src/com/android/rkpdapp/e2etest/
DKeystoreIntegrationTest.java245 try (FakeRkpServer server = new FakeRkpServer(FakeRkpServer.Response.INTERNAL_ERROR, in testKeyCreationFailsWhenRkpFails()
267 try (FakeRkpServer server = new FakeRkpServer(FakeRkpServer.Response.INTERNAL_ERROR, in testKeyCreationWithFallback()
298 try (FakeRkpServer server = new FakeRkpServer(FakeRkpServer.Response.INTERNAL_ERROR, in testRetryableRkpError()
317 try (FakeRkpServer server = new FakeRkpServer(FakeRkpServer.Response.FETCH_EEK_RKP_DISABLED, in testPeriodicProvisionerProvisioningDisabled()
335 try (FakeRkpServer server = new FakeRkpServer(FakeRkpServer.Response.FETCH_EEK_OK, in testRetryNeverWhenDeviceNotRegistered()
/packages/modules/DnsResolver/
DPrivateDnsConfigurationTest.cpp59 .WillByDefault([&](const std::string& server, Validation validation, uint32_t) { in SetUp()
101 void removeFromServerStateMap(const std::string& server) { in removeFromServerStateMap()
179 const DnsTlsServer server(netdutils::IPSockAddr::toIPSockAddr(kServer1, 853)); in TEST_F() local
300 DnsTlsServer server(netdutils::IPSockAddr::toIPSockAddr("127.0.0.1", 853)); in TEST_F() local
321 const DnsTlsServer server(netdutils::IPSockAddr::toIPSockAddr(kServer1, 853)); in TEST_F() local
416 Server* server = expectedEvent.mutable_servers()->add_server(); in TEST_F() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DFledgeE2ETest.java470 MockWebServer server = in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconDisabled() local
529 MockWebServer server = in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingEnabled() local
594 MockWebServer server = in testFledgeFlowSuccessWithDevOverridesWithAdCostCpcBillingDisabled() local
680 MockWebServer server = in testFledgeFlowSuccessWithMockServerReportsAdCostCpcBillingEnabled() local
730 MockWebServer server = in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderEnabled() local
815 MockWebServer server = in testFledgeFlowSuccessWithMockServerWithDataVersionHeaderDisabled() local
906 MockWebServer server = in testFledgeFlowSuccessWithMockServerReportsAdCostCpcBillingDisabled() local
937 MockWebServer server = in testFledgeFlowSuccessWithDevOverridesRegisterAdBeaconEnabled() local
1001 MockWebServer server = in testFledgeFlowSuccessWithDevOverridesGaUxEnabled() local
1072 MockWebServer server = in testFledgeFlowSuccessWithDevOverridesWithRevokedUserConsentForApp() local
[all …]
/packages/modules/adb/pairing_auth/tests/
Dpairing_auth_test.cpp77 auto server = makeServer(pswd); in TEST_F() local
148 auto server = makeServer({0x01, 0x02, 0x04}); in TEST_F() local
198 auto server = makeServer(pswd); in TEST_F() local
251 auto server = makeServer(pswd); in TEST_F() local
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java550 final HttpServer server = new HttpServer(); in runCustomSchemeTest() local
568 final HttpServer server = runCustomSchemeTest(telUri); in testTelScheme() local
580 final HttpServer server = runCustomSchemeTest(telUri); in testSmsScheme() local
591 final HttpServer server = runCustomSchemeTest("mailto:test@example.com"); in testUnsupportedScheme() local
622 final HttpServer server = new HttpServer(); in testDownload() local
830 final HttpServer server = new HttpServer(); in prepareTestDirectlyOpen() local
878 final HttpServer server = prepareTestDirectlyOpen(linkIdDownload, "dl", in testDirectlyOpen_onCreateDeleteFile() local
919 final HttpServer server = prepareTestDirectlyOpen(linkIdDownload, "dl", in testDirectlyOpen_taskCancelToast() local
939 final HttpServer server = prepareTestDirectlyOpen(linkIdDownload, downloadQuery, in testDirectlyOpen_cancelPendingTask() local
975 final HttpServer server = prepareTestDirectlyOpen(linkIdDownload, "dl", in testDirectlyOpen_successfullyDownload() local
/packages/services/Mtp/src/com/android/mtp/
DMtpService.java198 final MtpServer server = in startServer() local
238 @NonNull final MtpServer server; field in MtpService.ServerHolder
241 ServerHolder(@NonNull MtpServer server, @NonNull MtpDatabase database) { in ServerHolder()
/packages/modules/Bluetooth/android/pandora/server/src/
DMain.kt55 val server = Server(context) in onStart() constant
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Drfcomm.proto41 ServerId server = 1; field
45 ServerId server = 1; field
52 ServerId server = 1; field
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/kanon/
DKAnonE2ETest.java554 MockWebServer server = in persistAdSelectionData_withImmediateJoinValueHundred_signsAndJoinsMessage() local
639 MockWebServer server = in persistAdSelectionData_actGenerateParamsFails_shouldNotUpdateStatusInDB() local
686 MockWebServer server = in persistAdSelectionData_httpRegisterClientFails_shouldNotUpdateStatusInDB() local
738 MockWebServer server = in persistAdSelectionData_httpFetchServerParamFails_shouldNotUpdateStatusInDB() local
780 MockWebServer server = in persistAdSelectionData_getChallengeHttpFails_shouldNotUpdateStatusInDB() local
835 MockWebServer server = in persistAdSelectionData_attestationCertificateGenerationFails_shouldLogStatsProperly() local
910 MockWebServer server = in persistAdSelectionData_withAttestationEnabled_signsAndJoinsMessage() local
1002 MockWebServer server = getMockWebServerWithDelay(false, false, false, false, true, true, 0); in persistAdSelectionData_joinHttpRequestFails_shouldMarkMessageAsFailed() local
1044 MockWebServer server = getMockWebServerWithDelay(false, false, true, false, false, true, 0); in persistAdSelectionData_getTokensHttpRequestFails_shouldMarkMessagesAsFailed() local
1132 MockWebServer server = in persistAdSelectionData_actVerifyTokensFailed_shouldMarkMessagesAsFailed() local
[all …]
/packages/modules/Bluetooth/system/include/hardware/
Dbt_gatt.h39 const btgatt_server_callbacks_t* server; member
62 const btgatt_server_interface_t* server; member
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DMeasurementHttpClientTest.java330 MockWebServer server = null; in testSetup_headersLeakingInfoAreOverridden() local
358 MockWebServer server = null; in testSetup_connectLocalhostToUntrustedServer_success() local
388 MockWebServer server = null; in testSetup_connectNonLocalhostToUntrustedServer_throws() local
/packages/modules/DnsResolver/tests/
Ddoh_ffi_test.cpp47 const sockaddr_in server = { in haveIpv4() local
60 const sockaddr_in6 server = { in haveIpv6() local
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/4/android/net/dhcp/
DIDhcpServerCallbacks.aidl3 oneway void onDhcpServerCreated(int statusCode, in android.net.dhcp.IDhcpServer server); in onDhcpServerCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/7/android/net/dhcp/
DIDhcpServerCallbacks.aidl21 oneway void onDhcpServerCreated(int statusCode, in android.net.dhcp.IDhcpServer server); in onDhcpServerCreated()
/packages/modules/NetworkStack/common/networkstackclient/aidl_api/networkstack-aidl-interfaces/14/android/net/dhcp/
DIDhcpServerCallbacks.aidl37 oneway void onDhcpServerCreated(int statusCode, in android.net.dhcp.IDhcpServer server); in onDhcpServerCreated()

12345