/external/mockito/src/test/java/org/mockitousage/annotation/ |
CaptorAnnotationTest.java | 66 Mockito.verify(mockInterface).testMe(finalCaptor.capture(), genericsCaptor.capture());
|
/external/mockito/src/test/java/org/mockitousage/matchers/ |
CapturingArgumentsTest.java | 72 verify(emailService).sendEmailTo(argument.capture()); 85 verify(emailService, times(2)).sendEmailTo(argument.capture()); 99 verify(emailService, times(3)).sendEmailTo(argument.capture()); 110 verify(emailService).sendEmailTo(person.capture()); 127 verify(emailService).sendEmailTo(argument.capture()); 150 when(emailService.sendEmailTo(argument.capture())).thenReturn(false); 163 when(mock.simpleMethod(argument.capture(), eq(2))).thenReturn("blah"); 192 verify(mock).simpleMethod(captor.capture(), eq(1)); 206 verify(mock).intArgumentMethod(argument.capture()); 219 verify(mock).intArgumentMethod(argument.capture()); [all...] |
VarargsTest.java | 198 verify(mock).varargs(captor.capture()); 208 verify(mock).varargs(captor.capture()); 222 verify(mock).varargs(captor.capture()); 230 verify(mock).varargs(captor.capture()); 239 verify(mock).varargs(captor.capture(), captor.capture()); 248 verify(mock).varargs(captor.capture()); 257 verify(mock).varargs(captor.capture(), captor.capture()); 268 verify(mock).varargs(captor.capture(), captor.capture()) [all...] |
/external/mockito/src/test/java/org/mockitousage/stacktrace/ |
ModellingDescriptiveMessagesTest.java | 166 argument.capture();
|
/external/tensorflow/tensorflow/core/common_runtime/ |
step_stats_collector.cc | 85 // Capture the digits if present 89 StringPiece capture; local 90 bool matched = scanner.GetResult(nullptr, &capture); 97 string ordered_capture = capture.ToString(); 114 // Capture the trailing digits if present 118 StringPiece capture; local 119 bool matched = scanner.GetResult(nullptr, &capture); 126 string ordered_capture = capture.ToString();
|
/external/tensorflow/tensorflow/core/grappler/ |
utils.cc | 137 StringPiece capture; local 139 if (scan.Peek(':') != ':' || !scan.GetResult(&remaining, &capture)) { 151 return capture.ToString();
|
/external/v8/src/inspector/ |
v8-stack-trace-impl.cc | 110 v8::Isolate* isolate, bool capture) { 112 capture, V8StackTraceImpl::maxCallStackSizeToCapture, stackTraceOptions); 169 std::unique_ptr<V8StackTraceImpl> V8StackTraceImpl::capture( function in class:v8_inspector::V8StackTraceImpl
|
/external/webrtc/webrtc/modules/audio_processing/ |
audio_processing_impl.h | 45 // Acquires both the render and capture locks. 65 // Capture-side exclusive methods possibly running APM in a 66 // multi-threaded manner. Acquire the capture lock. 149 ApmDebugDumpThreadState capture; member in struct:webrtc::AudioProcessingImpl::ApmDebugDumpState 154 // the render and capture threads. The check for whether modifications 156 // that the capture thread blocks the render thread. 158 // render and capture locks. 176 // Are called with both the render and capture locks already 197 // Capture-side exclusive methods possibly running APM in a multi-threaded 251 // State that is written to while holding both the render and capture lock [all...] |
/frameworks/base/core/java/android/hardware/camera2/ |
CameraCaptureSession.java | 30 * A configured capture session for a {@link CameraDevice}, used for capturing images from the 37 * reprocessable capture session. Once created, the session is active until a new session is 40 * <p>All capture sessions can be used for capturing images from the camera but only reprocessable 41 * capture sessions can reprocess images captured from the camera in the same session previously. 55 * <p>Any capture requests (repeating or non-repeating) submitted before the session is ready will 56 * be queued up and will begin capture once the session becomes ready. In case the session cannot be 58 * capture requests are discarded.</p> 66 * but will still complete all of its in-progress capture requests as normal, before a newly 114 * used as a target of a capture request in the first session, prepare cannot be called on it 195 * for the lifetime of the capture session, to minimize latency of captures and to reduc 353 public abstract int capture(@NonNull CaptureRequest request, method in class:CameraCaptureSession [all...] |
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
WakeupMessageTest.java | 60 * A Handler that will capture the most recent message sent to it. 91 // capture the listener for each AlarmManager.setExact call 93 mListenerCaptor.capture(), any(Handler.class));
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
PowerNotificationWarningsTest.java | 121 captor.capture(), any());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/controllers/ |
ConnectivityControllerTest.java | 196 doNothing().when(mConnManager).registerNetworkCallback(any(), callback.capture());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
RemoteAnimationControllerTest.java | 99 verify(mMockRunner).onAnimationStart(appsCaptor.capture(), finishedCaptor.capture()); 203 verify(mMockRunner).onAnimationStart(appsCaptor.capture(), finishedCaptor.capture());
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
Nat464XlatTest.java | 129 verify(mConnectivity).handleUpdateLinkProperties(eq(mNai), c.capture()); 144 verify(mConnectivity, times(2)).handleUpdateLinkProperties(eq(mNai), c.capture()); 168 verify(mConnectivity, times(1)).handleUpdateLinkProperties(eq(mNai), c.capture()); 179 verify(mConnectivity, times(2)).handleUpdateLinkProperties(eq(mNai), c.capture());
|
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/ |
TetherInterfaceStateMachineTest.java | 196 eq(mTestedSm), mLinkPropertiesCaptor.capture()); 298 eq(mTestedSm), mLinkPropertiesCaptor.capture()); 316 eq(mTestedSm), mLinkPropertiesCaptor.capture()); 332 eq(mTestedSm), mLinkPropertiesCaptor.capture());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
CarrierNetworkConfigTest.java | 115 verify(mContext).registerReceiver(receiver.capture(), any(IntentFilter.class)); 120 observerCaptor.capture());
|
ClientModeManagerTest.java | 95 eq(false), mInterfaceCallbackCaptor.capture()); 101 verify(mContext, atLeastOnce()).sendStickyBroadcastAsUser(intentCaptor.capture(), 144 .sendStickyBroadcastAsUser(intentCaptor.capture(), eq(UserHandle.ALL)); 155 .sendStickyBroadcastAsUser(intentCaptor.capture(), eq(UserHandle.ALL)); 182 verify(mContext, atLeastOnce()).sendStickyBroadcastAsUser(intentCaptor.capture(), 202 verify(mContext, atLeastOnce()).sendStickyBroadcastAsUser(intentCaptor.capture(),
|
ScanOnlyModeManagerTest.java | 99 mInterfaceCallbackCaptor.capture()); 106 verify(mContext, times(2)).sendStickyBroadcastAsUser(intentCaptor.capture(),
|
WifiConnectivityHelperTest.java | 261 verify(mWifiNative).configureRoaming(any(), mRoamingConfigCaptor.capture());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
CallManagerTest.java | 149 verify(mPhone, times(1)).dial(mCaptorString.capture(), dialArgsCaptor.capture()); 293 verify(mPhone, times(1)).dial(mCaptorString.capture(), dialArgsCaptor.capture());
|
GsmCdmaCallTrackerTest.java | 359 .sendMessageAtTime(mCaptorMessage.capture(), mCaptorLong.capture()); 374 .sendMessageAtTime(mCaptorMessage.capture(), mCaptorLong.capture());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
EuiccConnectorTest.java | 289 doNothing().when(mEuiccService).getEid(anyInt(), callbackCaptor.capture()); 317 doNothing().when(mEuiccService).getEid(anyInt(), callbackCaptor.capture());
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GsmCellBroadcastHandlerTest.java | 121 intentArgumentCaptor.capture(), eq(UserHandle.ALL),
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
UiccControllerTest.java | 199 verify(mMockedHandler, atLeast(1)).sendMessageDelayed(mCaptorMessage.capture(), 200 mCaptorLong.capture());
|
UiccStateChangedLauncherTest.java | 97 integerArgumentCaptor.capture(), 112 verify(mContext, times(broadcast_count)).sendBroadcast(intentArgumentCaptor.capture()); 123 verify(mContext, times(broadcast_count)).sendBroadcast(intentArgumentCaptor.capture()); 138 verify(mContext, times(broadcast_count)).sendBroadcast(intentArgumentCaptor.capture());
|