Searched refs:mMockHttpClient (Results 1 – 6 of 6) sorted by relevance
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/encryption/ |
D | FederatedComputeKeyFetchManagerTest.java | 78 @Mock private HttpClient mMockHttpClient; field in FederatedComputeKeyFetchManagerTest 100 mMockHttpClient, in setUp() 174 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_scheduled_success() 194 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_nonScheduled_success() 248 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_scheduled_throws() 267 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_nonScheduled_throws() 288 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_scheduledNoDeletion() 322 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_nonScheduledNoDeletion() 356 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_scheduledWithDeletion() 395 .when(mMockHttpClient) in testFetchAndPersistActiveKeys_nonScheduledWithDeletion() [all …]
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/encryption/ |
D | ProtectedServersEncryptionConfigManagerTest.java | 97 @Mock private AdServicesHttpsClient mMockHttpClient; field in ProtectedServersEncryptionConfigManagerTest 138 mMockHttpClient, in setUp() 259 when(mMockHttpClient.fetchPayloadWithLogging( in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey() 288 when(mMockHttpClient.fetchPayloadWithLogging( in test_fetchAndPersistAuctionKey_fetchSuccess_withLogging() 321 when(mMockHttpClient.fetchPayloadWithLogging( in test_multipleCoordinatorKeys_fetchSuccess_returnsLatestActiveAuctionKey() 330 when(mMockHttpClient.fetchPayloadWithLogging( in test_multipleCoordinatorKeys_fetchSuccess_returnsLatestActiveAuctionKey() 383 when(mMockHttpClient.performRequestGetResponseInBase64StringWithLogging( in test_fetchAndPersistJoinKey_fetchSuccess_returnsLatestActiveJoinKey() 413 when(mMockHttpClient.fetchPayloadWithLogging( in test_fetchAndPersistActiveKeysOfType_persistsJey() 512 when(mMockHttpClient.fetchPayloadWithLogging( in test_getLatestOhttpKeyConfigOfType_withNoKeys_returnsLatestKey() 539 when(mMockHttpClient.fetchPayloadWithLogging( in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() [all …]
|
D | AdSelectionEncryptionKeyManagerTest.java | 92 @Mock private AdServicesHttpsClient mMockHttpClient; field in AdSelectionEncryptionKeyManagerTest 130 mMockHttpClient, in setUp() 315 when(mMockHttpClient.fetchPayloadWithLogging( in test_fetchAndPersistAuctionKey_fetchSuccess_returnsLatestActiveAuctionKey() 354 when(mMockHttpClient.performRequestGetResponseInBase64StringWithLogging( in test_fetchAndPersistJoinKey_fetchSuccess_returnsLatestActiveJoinKey() 385 when(mMockHttpClient.fetchPayloadWithLogging( in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() 401 mMockHttpClient, in test_getLatestOhttpKeyConfig_refreshFlagOn_withExpiredKey_returnsNewKey() 429 when(mMockHttpClient.fetchPayloadWithLogging( in test_getLatestOhttpKeyConfig_refreshFlagOff_withExpiredKey_returnsExpiredKey() 576 when(mMockHttpClient.fetchPayloadWithLogging( in test_getLatestActiveOhttpKeyConfig_withExpiredKey_shouldFetchAndPersistAndReturnNewKey() 609 when(mMockHttpClient.fetchPayloadWithLogging( in test_getLatestActiveOhttpKeyConfigOfType_withNoKey_shouldFetchPersistAndReturnNewKey()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AuctionServerE2ETest.java | 340 @Mock private AdServicesHttpsClient mMockHttpClient; field in AuctionServerE2ETest 2935 when(mMockHttpClient.fetchPayloadWithLogging( in testGetAdSelectionData_multiCloudOn_success() 2962 mMockHttpClient, in testGetAdSelectionData_multiCloudOn_success() 3054 when(mMockHttpClient.fetchPayloadWithLogging( in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey() 3101 mMockHttpClient, in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey() 3128 verify(mMockHttpClient) in testGetAdSelectionData_multiCloudOn_refreshFlagOn_fetchesNewKey() 3192 when(mMockHttpClient.fetchPayloadWithLogging( in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall() 3217 verify(mMockHttpClient, never()) in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall() 3244 mMockHttpClient, in testGetAdSelectionData_multiCloudOn_refreshFlagOff_noNetworkCall() 3326 when(mMockHttpClient.fetchPayloadWithLogging( in testGetAdSelectionData_multiCloudOff_refreshFlagOn_fetchesNewKey() [all …]
|
D | OnDeviceAdSelectionRunnerTest.java | 266 @Mock private AdServicesHttpsClient mMockHttpClient; field in OnDeviceAdSelectionRunnerTest 3302 when(mMockHttpClient.fetchPayload( in testGetDecisionLogic_NotPreDownloaded() 3322 mMockHttpClient, in testGetDecisionLogic_NotPreDownloaded() 3349 verify(mMockHttpClient, times(0)) in testGetDecisionLogic_NotPreDownloaded()
|
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/ |
D | HttpFederatedProtocolTest.java | 196 @Mock private HttpClient mMockHttpClient; field in HttpFederatedProtocolTest 230 mMockHttpClient, in setUp() 390 when(mMockHttpClient.performRequestAsyncWithRetry(any())) in testCreateTaskAssignmentFailed() 489 when(mMockHttpClient.performRequestAsyncWithRetry(any())) in testCreateTaskAssignmentRejection() 1027 .when(mMockHttpClient) in setUpHttpFederatedProtocol()
|