/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
OsuNetworkConnectionTest.java | 122 intentFilterCaptor.capture(), any(), eq(mHandler)); 138 verify(mContext).registerReceiver(broadcastReceiverCaptor.capture(), 214 networkCallbackCaptor.capture(), any(Handler.class), anyInt()); 240 networkCallbackCaptor.capture(), any(Handler.class), anyInt());
|
PasspointNetworkEvaluatorTest.java | 210 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt()); 253 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt()); 298 verify(mWifiConfigManager).addOrUpdateNetwork(addedConfig.capture(), anyInt()); 404 updatedCandidateScanResult.capture(), anyInt()); 409 updatedCandidateScanDetail.capture());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
SliceBroadcastReceiverTest.java | 124 mLoggingNameArgumentCatpor.capture(), 125 mLoggingValueArgumentCatpor.capture()); 225 mLoggingNameArgumentCatpor.capture(), 226 mLoggingValueArgumentCatpor.capture());
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CallAudioRouteStateMachineTest.java | 569 oldStateCaptor.capture(), newStateCaptor1.capture()); 571 .onCallAudioStateChanged(same(fakeCall), newStateCaptor2.capture());
|
CallAudioRouteTransitionTests.java | [all...] |
VideoProviderTest.java | 150 // Capture the video profile reported via the callback. 154 // Verify that the callback was called twice and capture the callback arguments. 156 .onCameraCapabilitiesChanged(cameraCapabilitiesCaptor.capture()); 188 // Capture the session event reported via the callback. 191 sessionEventCaptor.capture()); 217 // Capture the session event reported via the callback. 220 sessionEventCaptor.capture()); 248 // Capture the session event reported via the callback. 251 sessionEventCaptor.capture()); 276 // Capture the session event reported via the callback [all...] |
MissedCallNotifierImplTest.java | 223 requestIdCaptor.capture(), nullable(Notification.class), eq(userHandle)); 253 // The following captor is to capture the two notifications that got passed into 262 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); 354 notificationArgumentCaptor.capture(), eq((expectedUserHandle))); 488 listenerCaptor.capture()); 549 listenerCaptor.capture()); 551 listenerCaptor.capture());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
WifiAwareDataPathStateManagerTest.java | 206 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); 214 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), 215 interfaceName.capture()); 229 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), 230 interfaceName.capture()); 250 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), 251 interfaceName.capture()); 257 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), 258 interfaceName.capture()); 339 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2MultiViewTestCase.java | 294 protected void capture(String cameraId, CaptureRequest request, CaptureCallback listener) method in class:Camera2MultiViewTestCase 298 camera.capture(request, listener); 533 public void capture(CaptureRequest request, CaptureCallback listener) method in class:Camera2MultiViewTestCase.CameraHolder 535 mSession.capture(request, listener, mHandler);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
SoftApManagerTest.java | 215 verify(mContext, times(2)).sendStickyBroadcastAsUser(intentCaptor.capture(), 257 verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), 298 verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), 338 verify(mContext, times(2)).sendStickyBroadcastAsUser(intentCaptor.capture(), 380 verify(mContext, times(2)).sendStickyBroadcastAsUser(intentCaptor.capture(), 455 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), 462 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), 488 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), 495 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), 547 verify(mContext, times(3)).sendStickyBroadcastAsUser(intentCaptor.capture(), [all...] |
WifiNativeInterfaceManagementTest.java | 113 when(mWifiVendorHal.initialize(mWifiVendorHalDeathHandlerCaptor.capture())) 116 mWifiVendorHalRadioModeChangeHandlerCaptor.capture()); 124 when(mWificondControl.initialize(mWificondDeathHandlerCaptor.capture())) 138 when(mSupplicantStaIfaceHal.registerDeathHandler(mSupplicantDeathHandlerCaptor.capture())) 147 when(mHostapdHal.registerDeathHandler(mHostapdDeathHandlerCaptor.capture())) 402 mInOrder.verify(mWifiVendorHal).createApIface(mIfaceDestroyedListenerCaptor1.capture()); 408 mInOrder.verify(mNwManagementService).registerObserver(mNetworkObserverCaptor1.capture()); 446 mIfaceDestroyedListenerCaptor1.capture()); 453 mInOrder.verify(mNwManagementService).registerObserver(mNetworkObserverCaptor1.capture()); 650 mInOrder.verify(mWifiVendorHal).createApIface(mIfaceDestroyedListenerCaptor1.capture()); [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaPhoneTest.java | 133 verify(mUiccController).registerForIccChanged(eq(mPhoneUT), integerArgumentCaptor.capture(), 491 messageArgumentCaptor.capture()); 682 intentArgumentCaptor.capture(), 716 intentArgumentCaptor.capture(), 740 verify(mTestHandler, times(2)).sendMessageAtTime(messageArgumentCaptor.capture(), 770 intentArgumentCaptor.capture(), [all...] |
/cts/tests/app/src/android/app/cts/ |
AlertDialog_BuilderTest.java | 354 keyEvent0Captor.capture()); 356 keyEvent1Captor.capture());
|
/external/guava/guava/src/com/google/common/reflect/ |
TypeResolver.java | 321 introspector.visit(wildcardCapturer.capture(contextType)); 380 // Instead, it should create a capture of the wildcard so that set() rejects any List<T>. 385 Type capture(Type type) { method in class:TypeResolver.WildcardCapturer 395 return Types.newArrayType(capture(arrayType.getGenericComponentType())); 402 capture(parameterizedType.getActualTypeArguments())); 407 if (lowerBounds.length == 0) { // ? extends something changes to capture-of 409 String name = "capture#" + id.incrementAndGet() + "-of ? extends " 425 return capture(type); 428 private Type[] capture(Type[] types) { method in class:TypeResolver.WildcardCapturer 431 result[i] = capture(types[i]) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
UiccProfileTest.java | 275 verify(mMockedHandler, atLeast(1)).sendMessageDelayed(mCaptorMessage.capture(), 276 mCaptorLong.capture()); 523 stringArgumentCaptor.capture());
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
CameraComposerFragment.java | 65 private ImageButton capture; field in class:CameraComposerFragment 97 capture = cameraView.findViewById(R.id.camera_capture_button); 106 capture.setOnClickListener(this); 167 if (view == capture) { 363 capture.setVisibility(uriReadyOrProcessing ? View.GONE : View.VISIBLE); 378 capture.setEnabled(isCameraAvailable);
|
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CameraControlPane.java | 263 * Send single capture to camera device. 266 * @return true if capture sent successfully 268 public boolean capture(CaptureRequest request) { method in class:CameraControlPane 271 mCurrentCaptureSession.capture(request, mResultListener, null); 274 TLog.e("Unable to capture for camera %s.", e, mCurrentCameraId); 339 TLog.e("Capture failed for request " + request + 533 * This method is called when the session starts actively processing capture requests. 535 * <p>If capture requests are submitted prior to {@link #onConfigured} being called, 539 * <p>If the session runs out of capture requests to process and calls {@link #onReady}, 540 * then this callback will be invoked again once new requests are submitted for capture.</p [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
SubprocessTestResultsParserTest.java | 33 import org.easymock.Capture; 239 Capture<Throwable> cap = new Capture<Throwable>(); 240 mockRunListener.invocationFailed((EasyMock.capture(cap))); 418 Capture<LogFile> capture = new Capture<>(); local 419 mockRunListener.logAssociation(EasyMock.eq("dataname"), EasyMock.capture(capture)); 441 LogFile received = capture.getValue() [all...] |
/cts/tests/admin/src/android/admin/cts/ |
DeviceAdminActivationTest.java | 188 resultCodeCaptor.capture(),
|
/cts/tests/tests/text/src/android/text/cts/ |
EmojiTest.java | 117 mBitmapA = ccanvas.capture(Character.toChars(comparedCodePoints[i][0])); 118 mBitmapB = ccanvas.capture(Character.toChars(comparedCodePoints[i][1])); 125 mBitmapA = cviewA.capture(Character.toChars(comparedCodePoints[i][0])); 127 mBitmapB = cviewB.capture(Character.toChars(comparedCodePoints[i][1])); 133 mBitmapA = cedittextA.capture(Character.toChars(comparedCodePoints[i][0])); 135 mBitmapB = cedittextB.capture(Character.toChars(comparedCodePoints[i][1])); 144 mBitmapA = cwebview.capture(Character.toChars(comparedCodePoints[i][0])); 145 mBitmapB = cwebview.capture(Character.toChars(comparedCodePoints[i][1])); 203 Bitmap capture(char c[]) { method in class:EmojiTest.CaptureCanvas 226 Bitmap capture(char c[]) method in class:EmojiTest.CaptureTextView 250 Bitmap capture(char c[]) { method in class:EmojiTest.CaptureEditText 277 Bitmap capture(char c[]) { method in class:EmojiTest.CaptureWebView [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewStubTest.java | 111 verify(listener, times(1)).onInflate(eq(viewStub1), inflatedViewCaptor.capture());
|
/dalvik/dx/tests/098-dex-jsr-ret-throw/ |
ViewDebug$ViewServer.class | |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_functools.py | 20 def capture(*args, **kw):
function 21 """capture all positional and keyword arguments"""
33 p = self.thetype(capture, 1, 2, a=10, b=20)
40 p = self.thetype(capture, 1, 2, a=10, b=20)
42 self.assertEqual(p.func, capture)
83 p = self.thetype(capture)
86 p = self.thetype(capture, 1, 2)
93 p = self.thetype(capture)
96 p = self.thetype(capture, a=1)
105 p = self.thetype(capture, *args) [all...] |
/external/autotest/client/cros/audio/ |
cras_utils.py | 35 def capture(*args, **kargs): function 72 """Gets a command to capture the audio into the file with given settings. 157 """Set the system capture gain. 159 @param gain the capture gain in db*100 (100 = 1dB) 248 """Sets the capture mute switch. 250 @param is_mute: Set True to mute the capture.
|
/external/easymock/src/org/easymock/ |
EasyMock.java | 1460 public static <T> T capture(Capture<T> captured) { method in class:EasyMock [all...] |