/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBugreportManagerTest.java | 67 BugreportCallback callback = mock(BugreportCallback.class); in startBugreport() local 73 callback); in startBugreport() local 84 BugreportCallback callback = mock(BugreportCallback.class); in startBugreport_noPermission() local 105 BugreportCallback callback = mock(BugreportCallback.class); in startTwoBugreports() local 111 callback); in startTwoBugreports() local 142 BugreportCallback callback = mock(BugreportCallback.class); in cancelBugreport() local 148 callback); in cancelBugreport() local 164 BugreportCallback callback = mock(BugreportCallback.class); in cancelBugreport_noPermission() local 170 callback); in cancelBugreport_noPermission() local 187 BugreportCallback callback = mock(BugreportCallback.class); in executeOnError() local [all …]
|
D | ShadowTelephonyManagerTest.java | 130 TelephonyCallback callback = in registerTelephonyCallback_shouldInitCallback() local 136 telephonyManager.registerTelephonyCallback(directExecutor(), callback); in registerTelephonyCallback_shouldInitCallback() local 147 TelephonyCallback callback = in unregisterTelephonyCallback_shouldRemoveCallback() local 149 telephonyManager.registerTelephonyCallback(directExecutor(), callback); in unregisterTelephonyCallback_shouldRemoveCallback() local 280 TelephonyCallback callback = in shouldGiveAllCellInfo_toCallback() local 282 telephonyManager.registerTelephonyCallback(directExecutor(), callback); in shouldGiveAllCellInfo_toCallback() local 402 TelephonyCallback callback = in shouldGiveCellLocation_toCallback() local 404 telephonyManager.registerTelephonyCallback(directExecutor(), callback); in shouldGiveCellLocation_toCallback() local 444 TelephonyCallback callback = in shouldGiveCallState_toCallback() local 446 telephonyManager.registerTelephonyCallback(directExecutor(), callback); in shouldGiveCallState_toCallback() local [all …]
|
D | ShadowAudioManagerTest.java | 422 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in registerAudioDeviceCallback_availableDevices_onAudioDevicesAddedCallback() local 431 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in setInputDevices_withCallbackRegistered_noNotificationCallback() local 445 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in addInputDevice_callbackRegisteredUnregistered_noNotificationCallback() local 460 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in addInputDevice_withCallbackRegisteredAndNoDevice_deviceAddedAndNotifiesCallback() local 475 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in addInputDeviceNoCallbackNotification_withCallbackRegisteredAndNoDevice_noNotificationCallback() local 489 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in addInputDevice_withCallbackRegisteredAndDevicePresent_noNotificationCallback() local 505 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in removeInputDevice_withCallbackRegisteredAndDevicePresent_deviceRemovedAndNotifiesCallback() local 521 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in removeInputDeviceNoCallbackNotification_withCallbackRegisteredAndDevicePresent_noNotificationCallback() local 536 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in removeInputDevice_withCallbackRegisteredAndNoDevice_noNotificationCallback() local 549 AudioDeviceCallback callback = mock(AudioDeviceCallback.class); in setOutputDevices_withCallbackRegistered_noNotificationCallback() local [all …]
|
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | CronetUrlRequestTest.java | 105 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in startAndWaitForComplete() local 141 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testBuilderChecks() local 158 NativeTestServer.getRedirectURL(), callback, null); in testBuilderChecks() local 165 NativeTestServer.getRedirectURL(), callback.getExecutor(), callback); in testBuilderChecks() local 172 TestUrlRequestCallback callback = startAndWaitForComplete(url); in testSimpleGet() local 200 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in runConnectionMigrationTest() local 243 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testRedirectAsync() local 328 TestUrlRequestCallback callback = new TestUrlRequestCallback(); in testRedirectWithNullLocationHeader() local 351 TestUrlRequestCallback callback = new TestUrlRequestCallback() { in testOnRedirectReceivedAfterCancel() local 412 TestUrlRequestCallback callback = startAndWaitForComplete(url); in testNotFound() local [all …]
|
D | BidirectionalStreamTest.java | 132 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in runSimpleGetWithExpectedReceivedByteCount() local 158 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testBuilderCheck() local 174 Http2TestServer.getServerUrl(), callback, null); in testBuilderCheck() local 207 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testFailPlainHttp() local 234 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimpleHead() local 256 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimplePost() local 296 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimpleGetWithCombinedHeader() local 322 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback(); in testSimplePostWithFlush() local 358 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback() { in testFlushData() local 447 TestBidirectionalStreamCallback callback = new TestBidirectionalStreamCallback( in testCancelWhileWriteDataPending() local [all …]
|
/external/autotest/frontend/client/src/autotest/moblab/rpc/ |
D | MoblabRpcHelper.java | 30 public static void fetchConfigData(final SimpleCallback callback) { in fetchConfigData() 43 public static void fetchConfigData(final JsonRpcCallback callback) { in fetchConfigData() 51 public static void submitConfigData(JSONObject configValues, JsonRpcCallback callback) { in submitConfigData() 61 public static void resetConfigData(final JsonRpcCallback callback) { in resetConfigData() 69 public static void rebootMoblab(final JsonRpcCallback callback) { in rebootMoblab() 78 final MoblabRpcCallbacks.FetchNetworkInfoRpcCallback callback) { in fetchNetworkInfo() 94 final MoblabRpcCallbacks.FetchCloudStorageInfoCallback callback) { in fetchCloudStorageInfo() 110 final MoblabRpcCallbacks.ValidateCloudStorageInfoCallback callback) { in validateCloudStorageInfo() 128 final MoblabRpcCallbacks.SubmitWizardConfigInfoCallback callback) { in submitWizardConfigData() 155 final MoblabRpcCallbacks.FetchVersionInfoCallback callback) { in fetchMoblabBuildVersionInfo() [all …]
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_relative_imports.py | 59 def relative_import_test(self, create, globals_, callback): argument 80 def callback(global_): function 92 def callback(global_): function 105 def callback(global_): function 118 def callback(global_): function 130 def callback(global_): function 147 def callback(global_): function 158 def callback(global_): function 169 def callback(global_): function 191 def callback(global_): function [all …]
|
/external/cronet/net/cookies/ |
D | cookie_store_test_helpers.cc | 54 CookieChangeCallback callback) { in AddCallbackForCookie() 62 CookieChangeCallback callback) { in AddCallbackForUrl() 68 CookieChangeCallback callback) { in AddCallbackForAllChanges() 99 SetCookiesCallback callback, in SetCanonicalCookieAsync() 119 CookieMonster::GetCookieListCallback callback) { in GetCookieListWithOptionsAsync() 134 void DelayedCookieMonster::GetAllCookiesAsync(GetAllCookiesCallback callback) { in GetAllCookiesAsync() 139 CookieMonster::SetCookiesCallback callback) { in InvokeSetCookiesCallback() 145 CookieMonster::GetCookieListCallback callback) { in InvokeGetCookieListCallback() 153 DeleteCallback callback) { in DeleteCanonicalCookieAsync() 159 DeleteCallback callback) { in DeleteAllCreatedInTimeRangeAsync() [all …]
|
/external/cronet/net/proxy_resolution/ |
D | pac_file_fetcher_impl_unittest.cc | 102 CompletionOnceCallback callback, in OnBeforeURLRequest() 132 TestCompletionCallback callback; in TEST_F() local 148 TestCompletionCallback callback; in TEST_F() local 165 TestCompletionCallback callback; in TEST_F() local 175 TestCompletionCallback callback; in TEST_F() local 185 TestCompletionCallback callback; in TEST_F() local 202 TestCompletionCallback callback; in TEST_F() local 213 TestCompletionCallback callback; in TEST_F() local 232 TestCompletionCallback callback; in TEST_F() local 258 TestCompletionCallback callback; in TEST_F() local [all …]
|
/external/cronet/net/base/ |
D | mock_file_stream.cc | 26 int MockFileStream::Seek(int64_t offset, Int64CompletionOnceCallback callback) { in Seek() 37 CompletionOnceCallback callback) { in Read() 48 CompletionOnceCallback callback) { in Write() 57 int MockFileStream::Flush(CompletionOnceCallback callback) { in Flush() 81 void MockFileStream::DoCallback(CompletionOnceCallback callback, int result) { in DoCallback() 90 void MockFileStream::DoCallback64(Int64CompletionOnceCallback callback, in DoCallback64() 100 int MockFileStream::ErrorCallback(CompletionOnceCallback callback) { in ErrorCallback() 113 int64_t MockFileStream::ErrorCallback64(Int64CompletionOnceCallback callback) { in ErrorCallback64()
|
D | file_stream.cc | 27 CompletionOnceCallback callback) { in Open() 38 int FileStream::Close(CompletionOnceCallback callback) { in Close() 47 int FileStream::Seek(int64_t offset, Int64CompletionOnceCallback callback) { in Seek() 57 CompletionOnceCallback callback) { in Read() 69 CompletionOnceCallback callback) { in Write() 78 CompletionOnceCallback callback) { in GetFileInfo() 86 int FileStream::Flush(CompletionOnceCallback callback) { in Flush()
|
/external/cronet/base/android/ |
D | callback_android.cc | 16 void RunObjectCallbackAndroid(const JavaRef<jobject>& callback, in RunObjectCallbackAndroid() 21 void RunBooleanCallbackAndroid(const JavaRef<jobject>& callback, bool arg) { in RunBooleanCallbackAndroid() 26 void RunIntCallbackAndroid(const JavaRef<jobject>& callback, int32_t arg) { in RunIntCallbackAndroid() 30 void RunLongCallbackAndroid(const JavaRef<jobject>& callback, int64_t arg) { in RunLongCallbackAndroid() 34 void RunTimeCallbackAndroid(const JavaRef<jobject>& callback, base::Time time) { in RunTimeCallbackAndroid() 39 void RunStringCallbackAndroid(const JavaRef<jobject>& callback, in RunStringCallbackAndroid() 46 void RunByteArrayCallbackAndroid(const JavaRef<jobject>& callback, in RunByteArrayCallbackAndroid()
|
/external/volley/core/src/main/java/com/android/volley/toolbox/ |
D | NoAsyncCache.java | 14 public void get(String key, OnGetCompleteCallback callback) { in get() 19 public void put(String key, Cache.Entry entry, OnWriteCompleteCallback callback) { in put() 24 public void clear(OnWriteCompleteCallback callback) { in clear() 29 public void initialize(OnWriteCompleteCallback callback) { in initialize() 34 public void invalidate(String key, boolean fullExpire, OnWriteCompleteCallback callback) { in invalidate() 39 public void remove(String key, OnWriteCompleteCallback callback) { in remove()
|
/external/skia/modules/canvaskit/tests/ |
D | util.js | 7 const _commonGM = (it, pause, name, callback, assetsToFetchOrPromisesToWaitOn) => { argument 113 const gm = (name, callback, ...assetsToFetchOrPromisesToWaitOn) => { argument 121 const fgm = (name, callback, ...assetsToFetchOrPromisesToWaitOn) => { argument 129 const force_gm = (name, callback, ...assetsToFetchOrPromisesToWaitOn) => { argument 136 const skip_gm = (name, callback, ...assetsToFetchOrPromisesToWaitOn) => { argument 145 const pause_gm = (name, callback, ...assetsToFetchOrPromisesToWaitOn) => { argument 149 const _commonMultipleCanvasGM = (it, pause, name, callback) => { argument 196 const multipleCanvasGM = (name, callback) => { argument 205 const fmultipleCanvasGM = (name, callback) => { argument 214 const force_multipleCanvasGM = (name, callback) => { argument [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Core.Tests/Internal/ |
D | FakeNativeCall.cs | 104 …public void StartUnary(IUnaryResponseClientCallback callback, byte[] payload, WriteFlags writeFlag… in StartUnary() 116 …public void StartClientStreaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle me… in StartClientStreaming() 122 …public void StartServerStreaming(IReceivedStatusOnClientCallback callback, byte[] payload, WriteFl… in StartServerStreaming() 128 …public void StartDuplexStreaming(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle… in StartDuplexStreaming() 134 public void StartReceiveMessage(IReceivedMessageCallback callback) in StartReceiveMessage() 139 public void StartReceiveInitialMetadata(IReceivedResponseHeadersCallback callback) in StartReceiveInitialMetadata() 144 …public void StartSendInitialMetadata(ISendCompletionCallback callback, MetadataArraySafeHandle met… in StartSendInitialMetadata() 149 …public void StartSendMessage(ISendCompletionCallback callback, byte[] payload, WriteFlags writeFla… in StartSendMessage() 154 public void StartSendCloseFromClient(ISendCompletionCallback callback) in StartSendCloseFromClient() 159 …public void StartSendStatusFromServer(ISendStatusFromServerCompletionCallback callback, Status sta… in StartSendStatusFromServer() [all …]
|
/external/webrtc/api/metronome/test/ |
D | fake_metronome.cc | 29 void ForcedTickMetronome::RequestCallOnNextTick( in RequestCallOnNextTick() 45 for (auto& callback : callbacks) in Tick() local 46 std::move(callback)(); in Tick() local 52 void FakeMetronome::RequestCallOnNextTick( in RequestCallOnNextTick() 61 for (auto& callback : callbacks) in RequestCallOnNextTick() local 62 std::move(callback)(); in RequestCallOnNextTick() local
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowRangingSession.java | 19 void onOpen(RangingSession session, RangingSession.Callback callback, PersistableBundle params); in onOpen() 22 RangingSession session, RangingSession.Callback callback, PersistableBundle params); in onStart() 25 RangingSession session, RangingSession.Callback callback, PersistableBundle params); in onReconfigure() 27 void onStop(RangingSession session, RangingSession.Callback callback); in onStop() 29 void onClose(RangingSession session, RangingSession.Callback callback); in onClose() 33 Executor executor, RangingSession.Callback callback, Adapter adapter) { in newInstance() 46 private RangingSession.Callback callback; field in ShadowRangingSession 94 private void setCallback(RangingSession.Callback callback, Executor executor) { in setCallback()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | FutureCallbackTest.java | 40 MockCallback callback = new MockCallback("foo"); in testSameThreadSuccess() local 48 MockCallback callback = new MockCallback("foo"); in testExecutorSuccess() local 58 MockCallback callback = new MockCallback(e); in testSameThreadExecutionException() local 65 FutureCallback<String> callback = in testCancel() local 88 MockCallback callback = new MockCallback(error); in testThrowErrorFromGet() local 95 MockCallback callback = new MockCallback(e); in testRuntimeExeceptionFromGet() local 105 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsRuntimeException() local 121 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsError() local 138 FutureCallback<Object> callback = in testWildcardFuture() local
|
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
D | FutureCallbackTest.java | 40 MockCallback callback = new MockCallback("foo"); in testSameThreadSuccess() local 48 MockCallback callback = new MockCallback("foo"); in testExecutorSuccess() local 58 MockCallback callback = new MockCallback(e); in testSameThreadExecutionException() local 65 FutureCallback<String> callback = in testCancel() local 88 MockCallback callback = new MockCallback(error); in testThrowErrorFromGet() local 95 MockCallback callback = new MockCallback(e); in testRuntimeExeceptionFromGet() local 105 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsRuntimeException() local 121 FutureCallback<String> callback = Mockito.mock(FutureCallback.class); in testOnSuccessThrowsError() local 138 FutureCallback<Object> callback = in testWildcardFuture() local
|
/external/cronet/net/filter/ |
D | brotli_source_stream_unittest.cc | 59 int ReadStream(net::CompletionOnceCallback callback) { in ReadStream() 94 TestCompletionCallback callback; in TEST_F() local 114 TestCompletionCallback callback; in TEST_F() local 133 TestCompletionCallback callback; in TEST_F() local 158 TestCompletionCallback callback; in TEST_F() local 176 TestCompletionCallback callback; in TEST_F() local 188 TestCompletionCallback callback; in TEST_F() local 215 TestCompletionCallback callback; in TEST_F() local 243 TestCompletionCallback callback; in TEST_F() local 272 TestCompletionCallback callback; in TEST_F() local [all …]
|
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/ |
D | CronetClientStreamTest.java | 107 SetStreamFactoryRunnable callback = new SetStreamFactoryRunnable(factory); in setUp() local 155 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in write() local 235 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in read() local 281 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamSucceeded() local 347 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamSucceededWithGrpcError() local 385 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailed() local 409 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailedAfterResponseHeaderReceived() local 437 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailedAfterTrailerReceived() local 469 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in streamFailedAfterTrailerAndEndOfStreamReceived() local 502 BidirectionalStream.Callback callback = callbackCaptor.getValue(); in cancelStream() local [all …]
|
/external/cronet/base/task/ |
D | bind_post_task_internal.h | 27 CallbackType callback) in BindPostTaskTrampoline() 74 static OnceClosure GetClosure(OnceClosure* callback) { in GetClosure() 80 static OnceClosure GetClosure(OnceCallback<void(Args...)>* callback, in GetClosure() 85 static OnceClosure GetClosure(RepeatingClosure* callback) { in GetClosure() 91 static OnceClosure GetClosure(RepeatingCallback<void(Args...)>* callback, in GetClosure() 96 static void DestroyCallbackOnTaskRunner(CallbackType callback) {} in DestroyCallbackOnTaskRunner()
|
/external/volley/core/src/main/java/com/android/volley/ |
D | AsyncCache.java | 46 public abstract void get(String key, OnGetCompleteCallback callback); in get() 61 public abstract void put(String key, Cache.Entry entry, OnWriteCompleteCallback callback); in put() 67 public abstract void clear(OnWriteCompleteCallback callback); in clear() 73 public abstract void initialize(OnWriteCompleteCallback callback); in initialize() 84 String key, boolean fullExpire, OnWriteCompleteCallback callback); in invalidate() 93 public abstract void remove(String key, OnWriteCompleteCallback callback); in remove()
|
/external/cronet/net/http/ |
D | mock_http_cache.cc | 53 base::OnceClosure callback; member 90 CompletionOnceCallback callback) { in ReadData() 130 CompletionOnceCallback callback, in WriteData() 169 CompletionOnceCallback callback) { in ReadSparseData() 202 CompletionOnceCallback callback) { in WriteSparseData() 240 RangeResultCallback callback) { in GetAvailableRange() 290 net::Error MockDiskEntry::ReadyForSparseIO(CompletionOnceCallback callback) { in ReadyForSparseIO() 328 void MockDiskEntry::CallbackLater(base::OnceClosure callback) { in CallbackLater() 336 void MockDiskEntry::CallbackLater(CompletionOnceCallback callback, int result) { in CallbackLater() 340 void MockDiskEntry::RunCallback(base::OnceClosure callback) { in RunCallback() [all …]
|
/external/grpc-grpc/src/csharp/Grpc.Core/Internal/ |
D | CallSafeHandle.cs | 69 …public void StartUnary(IUnaryResponseClientCallback callback, byte[] payload, WriteFlags writeFlag… in StartUnary() 85 …public void StartClientStreaming(IUnaryResponseClientCallback callback, MetadataArraySafeHandle me… in StartClientStreaming() 94 …public void StartServerStreaming(IReceivedStatusOnClientCallback callback, byte[] payload, WriteFl… in StartServerStreaming() 103 …public void StartDuplexStreaming(IReceivedStatusOnClientCallback callback, MetadataArraySafeHandle… in StartDuplexStreaming() 112 …public void StartSendMessage(ISendCompletionCallback callback, byte[] payload, WriteFlags writeFla… in StartSendMessage() 121 public void StartSendCloseFromClient(ISendCompletionCallback callback) in StartSendCloseFromClient() 130 …public void StartSendStatusFromServer(ISendStatusFromServerCompletionCallback callback, Status sta… in StartSendStatusFromServer() 143 public void StartReceiveMessage(IReceivedMessageCallback callback) in StartReceiveMessage() 152 public void StartReceiveInitialMetadata(IReceivedResponseHeadersCallback callback) in StartReceiveInitialMetadata() 161 public void StartServerSide(IReceivedCloseOnServerCallback callback) in StartServerSide() [all …]
|