Searched refs:getAndReadNothing (Results 1 – 10 of 10) sorted by relevance
68 .getAndReadNothing(uri, mDevContext); in testSend_withSingleReport_allRequestsAreSuccessful()74 verify(mMockHttpsClient, times(1)).getAndReadNothing(uri, mDevContext); in testSend_withSingleReport_allRequestsAreSuccessful()84 .getAndReadNothing(uri1, mDevContext); in testSend_withMultipleReports_allRequestsAreSuccessful()87 .getAndReadNothing(uri2, mDevContext); in testSend_withMultipleReports_allRequestsAreSuccessful()93 verify(mMockHttpsClient, times(1)).getAndReadNothing(uri1, mDevContext); in testSend_withMultipleReports_allRequestsAreSuccessful()94 verify(mMockHttpsClient, times(1)).getAndReadNothing(uri2, mDevContext); in testSend_withMultipleReports_allRequestsAreSuccessful()104 .getAndReadNothing(uri1, mDevContext); in testSend_withFailedRequest_otherRequestsAreSuccessful()107 .getAndReadNothing(uri2, mDevContext); in testSend_withFailedRequest_otherRequestsAreSuccessful()114 verify(mMockHttpsClient, times(1)).getAndReadNothing(uri1, mDevContext); in testSend_withFailedRequest_otherRequestsAreSuccessful()115 verify(mMockHttpsClient, times(1)).getAndReadNothing(uri2, mDevContext); in testSend_withFailedRequest_otherRequestsAreSuccessful()
111 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testRunDebugReportSenderSuccess()125 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testRunDebugReportSenderSuccess()136 when(mHttpsClient.getAndReadNothing(any(Uri.class), any(DevContext.class))) in testRunDebugReportSenderPartialFailureDoesNotBreakOverallSuccess()152 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testRunDebugReportSenderPartialFailureDoesNotBreakOverallSuccess()164 when(mHttpsClient.getAndReadNothing(any(Uri.class), any(DevContext.class))) in testRunDebugReportSenderDoesNotFailsOnException()179 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testRunDebugReportSenderDoesNotFailsOnException()191 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testRunDebugReportSenderDoesNothingIfNoDebugReportsToSend()204 verify(mHttpsClient, never()).getAndReadNothing(any(Uri.class), any(DevContext.class)); in testRunDebugReportSenderDoesNothingIfNoDebugReportsToSend()219 when(mHttpsClient.getAndReadNothing(any(Uri.class), any(DevContext.class))) in testRunDebugReportSenderThrowsTimeout()
1990 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesDisabled()2105 .getAndReadNothing(eq(Uri.parse(SELLER_REPORTING_URI)), any()); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesDisabled()2107 .getAndReadNothing(eq(Uri.parse(BUYER_REPORTING_URI)), any()); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesDisabled()2178 .getAndReadNothing(any(Uri.class), any(DevContext.class)); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesEnabled()2293 .getAndReadNothing(eq(Uri.parse(SELLER_REPORTING_URI)), any()); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesEnabled()2295 .getAndReadNothing(eq(Uri.parse(BUYER_REPORTING_URI)), any()); in testReportImpression_serverAuction_impressionAndInteractionReportingUnifiedTablesEnabled()2330 .getAndReadNothing(eq(Uri.parse(BUYER_REPORTING_URI)), any(DevContext.class)); in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown()2333 .getAndReadNothing(eq(Uri.parse(SELLER_REPORTING_URI)), any(DevContext.class)); in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown()2413 .getAndReadNothing(eq(Uri.parse(SELLER_REPORTING_URI)), any()); in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown()2415 .getAndReadNothing(eq(Uri.parse(BUYER_REPORTING_URI)), any()); in testReportImpression_serverAuction_sellerReportingFailure_noExceptionThrown()[all …]
2787 doReturn(failedFuture).when(mClientSpy).getAndReadNothing(sellerReportingUri, mDevContext); in testReportImpressionSuccessAndDoesNotCrashAfterSellerThrowsAnException()2913 doReturn(failedFuture).when(mClientSpy).getAndReadNothing(buyerReportingUri, mDevContext); in testReportImpressionSuccessAndDoesNotCrashAfterBuyerReportThrowsAnException()8608 doReturn(Futures.immediateVoidFuture()).when(mClientSpy).getAndReadNothing(any(), any()); in testReportImpressionSuccessWithValidImpressionReportingSubdomains()8695 verify(mClientSpy).getAndReadNothing(eq(buyerReportingUriWithSubdomain), eq(mDevContext)); in testReportImpressionSuccessWithValidImpressionReportingSubdomains()8696 verify(mClientSpy).getAndReadNothing(eq(sellerReportingUriWithSubdomain), eq(mDevContext)); in testReportImpressionSuccessWithValidImpressionReportingSubdomains()
182 assertThat(getAndReadNothing(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED)).isNull(); in testGetAndReadNothingSuccessfulResponse()191 assertThat(getAndReadNothing(Uri.parse(url.toString()), DEV_CONTEXT_ENABLED)).isNull(); in testGetAndReadNothingSuccessfulResponse_DevOptionsEnabled()199 getAndReadNothing(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED); in testGetAndReadNothingCorrectPath()216 () -> getAndReadNothing(Uri.parse(url.toString()), DEV_CONTEXT_DISABLED)); in testGetAndReadNothingFailedResponse()227 () -> getAndReadNothing(Uri.parse(mFakeUrl), DEV_CONTEXT_DISABLED)); in testGetAndReadNothingDomainDoesNotExist()237 getAndReadNothing( in testGetAndReadNothingThrowsExceptionIfUsingPlainTextHttp()1240 private Void getAndReadNothing(Uri uri, DevContext devContext) throws Exception { in getAndReadNothing() method in AdServicesHttpsClientTest1241 return mClient.getAndReadNothing(uri, devContext).get(); in getAndReadNothing()
76 return mHttpsClient.getAndReadNothing(uri, mDevContext); in flush()
193 return mAdServicesHttpsClient.getAndReadNothing(debugReportUri, devContext);
443 mAdServicesHttpsClient.getAndReadNothing( in doReport()484 mAdServicesHttpsClient.getAndReadNothing( in doReport()
496 mAdServicesHttpsClient.getAndReadNothing(reportingUri, mDevContext)) in bestEffortReporting()
475 public ListenableFuture<Void> getAndReadNothing( in getAndReadNothing() method in AdServicesHttpsClient