Home
last modified time | relevance | path

Searched full:callback (Results 1 – 25 of 10387) sorted by relevance

12345678910>>...416

/external/cronet/tot/components/cronet/android/fake/javatests/org/chromium/net/test/
DFakeUrlRequestTest.java76 int numberOfTimes, TestUrlRequestCallback callback, UrlRequest request) { in assertReadCalled() argument
78 callback.startNextRead(request); in assertReadCalled()
79 callback.waitForNextStep(); in assertReadCalled()
86 .that(callback.mResponseStep) in assertReadCalled()
140 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testDefaultResponse() local
141 callback.setAutoAdvance(false); in testDefaultResponse()
145 .newUrlRequestBuilder(url, callback, callback.getExecutor()) in testDefaultResponse()
148 callback.waitForNextStep(); in testDefaultResponse()
150 // Verify correct callback methods called and correct response returned. in testDefaultResponse()
151 assertThat(callback.mResponseStep).isEqualTo(ResponseStep.ON_RESPONSE_STARTED); in testDefaultResponse()
[all …]
/external/cronet/stable/components/cronet/android/fake/javatests/org/chromium/net/test/
DFakeUrlRequestTest.java76 int numberOfTimes, TestUrlRequestCallback callback, UrlRequest request) { in assertReadCalled() argument
78 callback.startNextRead(request); in assertReadCalled()
79 callback.waitForNextStep(); in assertReadCalled()
86 .that(callback.mResponseStep) in assertReadCalled()
140 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testDefaultResponse() local
141 callback.setAutoAdvance(false); in testDefaultResponse()
145 .newUrlRequestBuilder(url, callback, callback.getExecutor()) in testDefaultResponse()
148 callback.waitForNextStep(); in testDefaultResponse()
150 // Verify correct callback methods called and correct response returned. in testDefaultResponse()
151 assertThat(callback.mResponseStep).isEqualTo(ResponseStep.ON_RESPONSE_STARTED); in testDefaultResponse()
[all …]
/external/cronet/stable/components/cronet/android/test/javatests/src/org/chromium/net/
DCronetUrlRequestTest.java95 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in startAndWaitForComplete() local
101 .newUrlRequestBuilder(url, callback, callback.getExecutor()); in startAndWaitForComplete()
104 callback.blockForDone(); in startAndWaitForComplete()
106 callback.shutdownExecutorAndWait(); in startAndWaitForComplete()
108 return callback; in startAndWaitForComplete()
135 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testBuilderChecks() local
145 null, callback, callback.getExecutor())); in testBuilderChecks()
158 callback.getExecutor())); in testBuilderChecks()
159 assertThat(e).hasMessageThat().isEqualTo("Callback is required."); in testBuilderChecks()
169 NativeTestServer.getRedirectURL(), callback, null)); in testBuilderChecks()
[all …]
DBidirectionalStreamTest.java134 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in runGetWithExpectedReceivedByteCount() local
140 .newBidirectionalStreamBuilder(url, callback, callback.getExecutor()) in runGetWithExpectedReceivedByteCount()
144 callback.blockForDone(); in runGetWithExpectedReceivedByteCount()
147 assertThat(callback.getResponseInfoWithChecks()).hasHttpStatusCodeThat().isEqualTo(200); in runGetWithExpectedReceivedByteCount()
149 assertThat(callback.mResponseAsString).isEqualTo("GET"); in runGetWithExpectedReceivedByteCount()
153 mTestRule.assertResponseEquals(urlResponseInfo, callback.getResponseInfoWithChecks()); in runGetWithExpectedReceivedByteCount()
155 callback.getResponseInfoWithChecks(), Http2TestServer.getEchoMethodUrl(), 200, ""); in runGetWithExpectedReceivedByteCount()
173 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in runBuilderCheckNativeImpl() local
180 null, callback, callback.getExecutor())); in runBuilderCheckNativeImpl()
190 callback.getExecutor())); in runBuilderCheckNativeImpl()
[all …]
DBidirectionalStreamQuicTest.java95 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimpleGet() local
98 .newBidirectionalStreamBuilder(quicURL, callback, callback.getExecutor()) in testSimpleGet()
102 callback.blockForDone(); in testSimpleGet()
104 assertThat(callback.getResponseInfoWithChecks()).hasHttpStatusCodeThat().isEqualTo(200); in testSimpleGet()
105 assertThat(callback.mResponseAsString) in testSimpleGet()
107 assertThat(callback.getResponseInfoWithChecks()) in testSimpleGet()
118 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimplePost() local
121 callback.addWriteData("Test String".getBytes()); in testSimplePost()
122 callback.addWriteData("1234567890".getBytes()); in testSimplePost()
123 callback.addWriteData("woot!".getBytes()); in testSimplePost()
[all …]
/external/cronet/tot/components/cronet/android/test/javatests/src/org/chromium/net/
DCronetUrlRequestTest.java95 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in startAndWaitForComplete() local
101 .newUrlRequestBuilder(url, callback, callback.getExecutor()); in startAndWaitForComplete()
104 callback.blockForDone(); in startAndWaitForComplete()
106 callback.shutdownExecutorAndWait(); in startAndWaitForComplete()
108 return callback; in startAndWaitForComplete()
135 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testBuilderChecks() local
145 null, callback, callback.getExecutor())); in testBuilderChecks()
158 callback.getExecutor())); in testBuilderChecks()
159 assertThat(e).hasMessageThat().isEqualTo("Callback is required."); in testBuilderChecks()
169 NativeTestServer.getRedirectURL(), callback, null)); in testBuilderChecks()
[all …]
DBidirectionalStreamTest.java134 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in runGetWithExpectedReceivedByteCount() local
140 .newBidirectionalStreamBuilder(url, callback, callback.getExecutor()) in runGetWithExpectedReceivedByteCount()
144 callback.blockForDone(); in runGetWithExpectedReceivedByteCount()
147 assertThat(callback.getResponseInfoWithChecks()).hasHttpStatusCodeThat().isEqualTo(200); in runGetWithExpectedReceivedByteCount()
149 assertThat(callback.mResponseAsString).isEqualTo("GET"); in runGetWithExpectedReceivedByteCount()
153 mTestRule.assertResponseEquals(urlResponseInfo, callback.getResponseInfoWithChecks()); in runGetWithExpectedReceivedByteCount()
155 callback.getResponseInfoWithChecks(), Http2TestServer.getEchoMethodUrl(), 200, ""); in runGetWithExpectedReceivedByteCount()
173 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in runBuilderCheckNativeImpl() local
180 null, callback, callback.getExecutor())); in runBuilderCheckNativeImpl()
190 callback.getExecutor())); in runBuilderCheckNativeImpl()
[all …]
DBidirectionalStreamQuicTest.java95 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimpleGet() local
98 .newBidirectionalStreamBuilder(quicURL, callback, callback.getExecutor()) in testSimpleGet()
102 callback.blockForDone(); in testSimpleGet()
104 assertThat(callback.getResponseInfoWithChecks()).hasHttpStatusCodeThat().isEqualTo(200); in testSimpleGet()
105 assertThat(callback.mResponseAsString) in testSimpleGet()
107 assertThat(callback.getResponseInfoWithChecks()) in testSimpleGet()
118 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimplePost() local
121 callback.addWriteData("Test String".getBytes()); in testSimplePost()
122 callback.addWriteData("1234567890".getBytes()); in testSimplePost()
123 callback.addWriteData("woot!".getBytes()); in testSimplePost()
[all …]
/external/cronet/tot/third_party/boringssl/src/decrepit/evp/
Devp_do_all.cc18 void EVP_CIPHER_do_all_sorted(void (*callback)(const EVP_CIPHER *cipher, in EVP_CIPHER_do_all_sorted()
22 callback(EVP_aes_128_cbc(), "AES-128-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
23 callback(EVP_aes_192_cbc(), "AES-192-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
24 callback(EVP_aes_256_cbc(), "AES-256-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
25 callback(EVP_aes_128_ctr(), "AES-128-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
26 callback(EVP_aes_192_ctr(), "AES-192-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
27 callback(EVP_aes_256_ctr(), "AES-256-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
28 callback(EVP_aes_128_ecb(), "AES-128-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
29 callback(EVP_aes_192_ecb(), "AES-192-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
30 callback(EVP_aes_256_ecb(), "AES-256-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
[all …]
/external/boringssl/src/decrepit/evp/
Devp_do_all.cc18 void EVP_CIPHER_do_all_sorted(void (*callback)(const EVP_CIPHER *cipher, in EVP_CIPHER_do_all_sorted()
22 callback(EVP_aes_128_cbc(), "AES-128-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
23 callback(EVP_aes_192_cbc(), "AES-192-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
24 callback(EVP_aes_256_cbc(), "AES-256-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
25 callback(EVP_aes_128_ctr(), "AES-128-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
26 callback(EVP_aes_192_ctr(), "AES-192-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
27 callback(EVP_aes_256_ctr(), "AES-256-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
28 callback(EVP_aes_128_ecb(), "AES-128-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
29 callback(EVP_aes_192_ecb(), "AES-192-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
30 callback(EVP_aes_256_ecb(), "AES-256-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
[all …]
/external/cronet/stable/third_party/boringssl/src/decrepit/evp/
Devp_do_all.cc18 void EVP_CIPHER_do_all_sorted(void (*callback)(const EVP_CIPHER *cipher, in EVP_CIPHER_do_all_sorted()
22 callback(EVP_aes_128_cbc(), "AES-128-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
23 callback(EVP_aes_192_cbc(), "AES-192-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
24 callback(EVP_aes_256_cbc(), "AES-256-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
25 callback(EVP_aes_128_ctr(), "AES-128-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
26 callback(EVP_aes_192_ctr(), "AES-192-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
27 callback(EVP_aes_256_ctr(), "AES-256-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
28 callback(EVP_aes_128_ecb(), "AES-128-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
29 callback(EVP_aes_192_ecb(), "AES-192-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
30 callback(EVP_aes_256_ecb(), "AES-256-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
[all …]
/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/decrepit/evp/
Devp_do_all.c18 void EVP_CIPHER_do_all_sorted(void (*callback)(const EVP_CIPHER *cipher, in EVP_CIPHER_do_all_sorted()
22 callback(EVP_aes_128_cbc(), "AES-128-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
23 callback(EVP_aes_192_cbc(), "AES-192-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
24 callback(EVP_aes_256_cbc(), "AES-256-CBC", NULL, arg); in EVP_CIPHER_do_all_sorted()
25 callback(EVP_aes_128_ctr(), "AES-128-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
26 callback(EVP_aes_192_ctr(), "AES-192-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
27 callback(EVP_aes_256_ctr(), "AES-256-CTR", NULL, arg); in EVP_CIPHER_do_all_sorted()
28 callback(EVP_aes_128_ecb(), "AES-128-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
29 callback(EVP_aes_192_ecb(), "AES-192-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
30 callback(EVP_aes_256_ecb(), "AES-256-ECB", NULL, arg); in EVP_CIPHER_do_all_sorted()
[all …]
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBluetoothLeBroadcast.java23 private final Map<BluetoothLeBroadcast.Callback, Executor> mCallbackExecutorMap = new HashMap<>();
27 protected void registerCallback(Executor executor, BluetoothLeBroadcast.Callback callback) { in registerCallback() argument
29 Objects.requireNonNull(callback, "callback cannot be null"); in registerCallback()
31 if (mCallbackExecutorMap.containsKey(callback)) { in registerCallback()
32 throw new IllegalArgumentException("This callback has already been registered"); in registerCallback()
34 mCallbackExecutorMap.put(callback, executor); in registerCallback()
39 protected void unregisterCallback(BluetoothLeBroadcast.Callback callback) { in unregisterCallback() argument
40 Objects.requireNonNull(callback, "callback cannot be null"); in unregisterCallback()
42 if (mCallbackExecutorMap.remove(callback) == null) { in unregisterCallback()
43 throw new IllegalArgumentException("This callback has not been registered"); in unregisterCallback()
[all …]
DShadowRangingSession.java19 void onOpen(RangingSession session, RangingSession.Callback callback, PersistableBundle params); in onOpen() argument
22 RangingSession session, RangingSession.Callback callback, PersistableBundle params); in onStart() argument
25 RangingSession session, RangingSession.Callback callback, PersistableBundle params); in onReconfigure() argument
27 void onStop(RangingSession session, RangingSession.Callback callback); in onStop() argument
29 void onClose(RangingSession session, RangingSession.Callback callback); in onClose() argument
33 Executor executor, RangingSession.Callback callback, Adapter adapter) { in newInstance() argument
35 RangingSessionBuilder.newBuilder().setExecutor(executor).setCallback(callback).build(); in newInstance()
38 shadow.setCallback(callback, executor); in newInstance()
46 private RangingSession.Callback callback; field in ShadowRangingSession
51 * Forwards parameters and the session's callback to the Shadow's adapter, allowing the tester to
[all …]
/external/pytorch/torch/_dynamo/
Dcallback.py7 def register_start_callback(self, callback): argument
9 Register a callback function to be called when the compilation starts.
12 - callback (callable): The callback function to register.
14 self.start_callbacks.append(callback)
15 return callback
17 def register_end_callback(self, callback): argument
19 Register a callback function to be called when the compilation ends.
22 - callback (callable): The callback function to register.
24 self.end_callbacks.append(callback)
25 return callback
[all …]
/external/libwebm/webm_parser/tests/
Dcallback_test.cc8 #include "webm/callback.h"
20 using webm::Callback;
27 void TestCompletedOk(Status (Callback::*function)(const ElementMetadata&)) { in TestCompletedOk()
28 Callback callback; in TestCompletedOk() local
31 Status status = (callback.*function)(metadata); in TestCompletedOk()
36 void TestCompletedOk(Status (Callback::*function)(const ElementMetadata&, in TestCompletedOk()
38 Callback callback; in TestCompletedOk() local
42 Status status = (callback.*function)(metadata, object); in TestCompletedOk()
46 void TestAction(Status (Callback::*function)(const ElementMetadata&, Action*), in TestAction()
48 Callback callback; in TestAction() local
[all …]
/external/javassist/src/main/javassist/tools/
DCallback.java29 * <p>Example of how to create and insert a callback:</p>
31 * ctMethod.insertAfter(new Callback("Thread.currentThread()") {
40 * insertAfter(ctBehaviour, new Callback("Thread.currentThread(), dummyString") {
51 public abstract class Callback { class
53 public static Map<String,Callback> callbacks = new HashMap<String,Callback>();
58 * Constructs a new <code>Callback</code> object.
60 * @param src The source code representing the inserted callback bytecode.
64 public Callback(String src){ in Callback() method in Callback
67 …sourceCode = "((javassist.tools.Callback) javassist.tools.Callback.callbacks.get(\""+uuid+"\")).re… in Callback()
73 * @param objects Objects that the bytecode in callback returns
[all …]
/external/cronet/tot/base/android/java/src/org/chromium/base/
DCallback.java14 * A simple single-argument callback to handle the result of a computation.
19 public interface Callback<T> { interface
25 * Returns a Runnable that will invoke the callback with the given value.
37 * Runs a callback checking if the callback may be null.
39 * <p>Can be used as syntactic sugar for: if (callback != null) callback.onResult(object);
41 * @param callback The {@link Callback} to run.
42 * @param object The payload to provide to the callback (may be null).
44 static <T> void runNullSafe(@Nullable Callback<T> callback, @Nullable T object) { in runNullSafe() argument
45 if (callback != null) callback.onResult(object); in runNullSafe()
55 static void onObjectResultFromNative(Callback callback, Object result) { in onObjectResultFromNative() argument
[all …]
/external/cronet/stable/base/android/java/src/org/chromium/base/
DCallback.java14 * A simple single-argument callback to handle the result of a computation.
19 public interface Callback<T> { interface
25 * Returns a Runnable that will invoke the callback with the given value.
37 * Runs a callback checking if the callback may be null.
39 * <p>Can be used as syntactic sugar for: if (callback != null) callback.onResult(object);
41 * @param callback The {@link Callback} to run.
42 * @param object The payload to provide to the callback (may be null).
44 static <T> void runNullSafe(@Nullable Callback<T> callback, @Nullable T object) { in runNullSafe() argument
45 if (callback != null) callback.onResult(object); in runNullSafe()
55 static void onObjectResultFromNative(Callback callback, Object result) { in onObjectResultFromNative() argument
[all …]
/external/cronet/stable/net/proxy_resolution/
Dpac_file_fetcher_impl_unittest.cc101 CompletionOnceCallback callback, in OnBeforeURLRequest() argument
131 TestCompletionCallback callback; in TEST_F() local
133 pac_fetcher->Fetch(GetTestFileUrl("pac.txt"), &text, callback.callback(), in TEST_F()
147 TestCompletionCallback callback; in TEST_F() local
148 int result = pac_fetcher->Fetch(url, &text, callback.callback(), in TEST_F()
151 EXPECT_THAT(callback.WaitForResult(), IsError(ERR_UNSAFE_REDIRECT)); in TEST_F()
164 TestCompletionCallback callback; in TEST_F() local
165 int result = pac_fetcher->Fetch(url, &text, callback.callback(), in TEST_F()
168 EXPECT_THAT(callback.WaitForResult(), IsOk()); in TEST_F()
174 TestCompletionCallback callback; in TEST_F() local
[all …]
/external/cronet/tot/net/proxy_resolution/
Dpac_file_fetcher_impl_unittest.cc101 CompletionOnceCallback callback, in OnBeforeURLRequest() argument
131 TestCompletionCallback callback; in TEST_F() local
133 pac_fetcher->Fetch(GetTestFileUrl("pac.txt"), &text, callback.callback(), in TEST_F()
147 TestCompletionCallback callback; in TEST_F() local
148 int result = pac_fetcher->Fetch(url, &text, callback.callback(), in TEST_F()
151 EXPECT_THAT(callback.WaitForResult(), IsError(ERR_UNSAFE_REDIRECT)); in TEST_F()
164 TestCompletionCallback callback; in TEST_F() local
165 int result = pac_fetcher->Fetch(url, &text, callback.callback(), in TEST_F()
168 EXPECT_THAT(callback.WaitForResult(), IsOk()); in TEST_F()
174 TestCompletionCallback callback; in TEST_F() local
[all …]
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowBugreportManagerTest.java80 BugreportCallback callback = mock(BugreportCallback.class); in startBugreport() local
86 callback); in startBugreport() local
91 verify(callback, never()).onFinished(); in startBugreport()
92 verify(callback, never()).onError(anyInt()); in startBugreport()
97 BugreportCallback callback = mock(BugreportCallback.class); in startBugreport_noPermission() local
108 callback); in startBugreport_noPermission()
113 verifyNoMoreInteractions(callback); in startBugreport_noPermission()
118 BugreportCallback callback = mock(BugreportCallback.class); in startTwoBugreports() local
124 callback); in startTwoBugreports() local
128 verify(callback, never()).onFinished(); in startTwoBugreports()
[all …]
DShadowBluetoothLeBroadcastTest.java43 BluetoothLeBroadcast.Callback callback = mock(BluetoothLeBroadcast.Callback.class); in testRegisterCallback_success() local
45 shadowBluetoothLeBroadcast.registerCallback(executors, callback); in testRegisterCallback_success()
46 assertThat(shadowBluetoothLeBroadcast.getCallbackExecutorMap()).containsKey(callback); in testRegisterCallback_success()
60 null, mock(BluetoothLeBroadcast.Callback.class))); in testRegisterCallback_nullPara()
65 BluetoothLeBroadcast.Callback callback = mock(BluetoothLeBroadcast.Callback.class); in testUnregisterCallback_success() local
67 shadowBluetoothLeBroadcast.registerCallback(executors, callback); in testUnregisterCallback_success()
68 assertThat(shadowBluetoothLeBroadcast.getCallbackExecutorMap()).containsKey(callback); in testUnregisterCallback_success()
69 shadowBluetoothLeBroadcast.unregisterCallback(callback); in testUnregisterCallback_success()
81 BluetoothLeBroadcast.Callback callback = mock(BluetoothLeBroadcast.Callback.class); in testStartBroadcast_success() local
104 .when(callback) in testStartBroadcast_success()
[all …]
/external/tpm2-tss/src/tss2-fapi/api/
Dfapi_callback.c25 * This function registers a callback that will be invoked whenever the FAPI has
30 * @param[in] callback The callback function for branch selection
31 * @param[in] userData A pointer that is provided to all callback invocations
34 * @retval TSS2_FAPI_RC_BAD_REFERENCE: if context or callback is NULL.
47 Fapi_CB_Branch callback, in Fapi_SetBranchCB() argument
51 LOG_TRACE("Callback %p Userdata %p", callback, userData); in Fapi_SetBranchCB()
55 check_not_null(callback); in Fapi_SetBranchCB()
57 /* Store the callback and userdata pointer. */ in Fapi_SetBranchCB()
58 context->callbacks.branch = callback; in Fapi_SetBranchCB()
66 * This function registers an application-defined function as a callback to
[all …]
/external/cronet/tot/components/cronet/android/test/javatests/src/org/chromium/net/apihelpers/
DUploadDataProvidersTest.java78 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testFileProvider() local
85 callback, in testFileProvider()
86 callback.getExecutor()); in testFileProvider()
88 builder.setUploadDataProvider(dataProvider, callback.getExecutor()); in testFileProvider()
91 callback.blockForDone(); in testFileProvider()
92 assertThat(callback.getResponseInfoWithChecks()).hasHttpStatusCodeThat().isEqualTo(200); in testFileProvider()
93 assertThat(callback.mResponseAsString).isEqualTo(LOREM); in testFileProvider()
102 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testFileDescriptorProvider() local
109 callback, in testFileDescriptorProvider()
110 callback.getExecutor()); in testFileDescriptorProvider()
[all …]

12345678910>>...416