Home
last modified time | relevance | path

Searched refs:capture (Results 1 – 25 of 40) sorted by relevance

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoLookupHelperTest.java109 queryListenerCaptor.capture(), logSessionCaptor.capture()); in testSimpleLookup()
120 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testSimpleLookup()
146 eq(URI1.getSchemeSpecificPart()), queryListenerCaptor.capture(), in testLookupWithTwoListeners()
147 logSessionCaptor.capture()); in testLookupWithTwoListeners()
158 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testLookupWithTwoListeners()
184 eq(URI1.getSchemeSpecificPart()), queryListenerCaptor.capture(), in testListenerAddedAfterCallerInfoBeforePhoto()
185 logSessionCaptor.capture()); in testListenerAddedAfterCallerInfoBeforePhoto()
195 eq(CONTACTS_PHOTO_URI), imageListenerCaptor.capture(), logSessionCaptor.capture()); in testListenerAddedAfterCallerInfoBeforePhoto()
DCallAudioManagerTest.java94 eq(CallAudioModeStateMachine.NO_MORE_RINGING_CALLS), captor.capture()); in testSingleIncomingCallFlowWithoutMTSpeedUp()
106 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testSingleIncomingCallFlowWithoutMTSpeedUp()
127 eq(CallAudioModeStateMachine.MT_AUDIO_SPEEDUP_FOR_RINGING_CALL), captor.capture()); in testSingleIncomingCallFlowWithMTSpeedUp()
161 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testSingleOutgoingCall()
176 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testSingleOutgoingCall()
185 eq(CallAudioModeStateMachine.NEW_ACTIVE_OR_DIALING_CALL), captor.capture()); in testSingleOutgoingCall()
208 eq(CallAudioModeStateMachine.NEW_RINGING_CALL), captor.capture()); in createIncomingCall()
241 eq(CallAudioModeStateMachine.NO_MORE_ACTIVE_OR_DIALING_CALLS), captor.capture()); in disconnectCall()
244 eq(CallAudioModeStateMachine.TONE_STARTED_PLAYING), captor.capture()); in disconnectCall()
262 eq(CallAudioModeStateMachine.TONE_STOPPED_PLAYING), captor.capture()); in stopTone()
DInCallControllerTests.java126 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_IncomingCall()
158 bindIntentCaptor.capture(), in testBindToService_NoServicesFound_OutgoingCall()
214 queryIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency()
226 bindIntentCaptor.capture(), in testBindToService_DefaultDialer_NoEmergency()
283 queryIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency()
295 bindIntentCaptor.capture(), in testBindToService_SystemDialer_Emergency()
352 queryIntentCaptor.capture(), in testBindToService_DefaultDialer_FallBackToSystem()
366 bindIntentCaptor.capture(), in testBindToService_DefaultDialer_FallBackToSystem()
367 serviceConnectionCaptor.capture(), in testBindToService_DefaultDialer_FallBackToSystem()
398 bindIntentCaptor2.capture(), in testBindToService_DefaultDialer_FallBackToSystem()
DContactsAsyncHelperTest.java119 photoCaptor.capture(), iconCaptor.capture(), eq(COOKIE)); in testImageScaling()
139 photoCaptor.capture(), iconCaptor.capture(), eq(COOKIE)); in testNoScaling()
DVideoProviderTest.java144 .onCameraCapabilitiesChanged(cameraCapabilitiesCaptor.capture()); in testCameraChange()
279 fromVideoProfileCaptor.capture(), toVideoProfileCaptor.capture()); in testSessionModifyRequest()
375 .onSessionModifyRequestReceived(requestProfileCaptor.capture()); in testReceiveSessionModifyRequest()
DCallScreeningServiceFilterTest.java202 verify(mContext).bindServiceAsUser(intentCaptor.capture(), serviceCaptor.capture(), in verifyBindingIntent()
217 verify(mCallScreeningService).screenCall(captor.capture(), any(ParcelableCall.class)); in getCallScreeningAdapter()
DSystemStateProviderTest.java90 verify(mContext).registerReceiver(any(BroadcastReceiver.class), intentFilter.capture()); in testReceiverAndIntentFilter()
103 verify(mContext).registerReceiver(receiver.capture(), any(IntentFilter.class)); in testOnEnterExitCarMode()
DTelecomServiceImplTest.java484 verify(mContext).sendBroadcastAsUser(intentCaptor.capture(), eq(UserHandle.ALL), in registerPhoneAccountTestHelper()
515 verify(mContext).sendBroadcastAsUser(intentCaptor.capture(), eq(UserHandle.ALL), in testUnregisterPhoneAccount()
624 intentCaptor.capture()); in addCallTestHelper()
627 intentCaptor.capture()); in addCallTestHelper()
693 verify(mUserCallIntentProcessor).processIntent(intentCaptor.capture(), anyString(), in placeCallTestHelper()
732 verify(mContext).sendBroadcastAsUser(intentCaptor.capture(), any(UserHandle.class)); in testSetDefaultDialer()
DMissedCallNotifierImplTest.java145 requestIdCaptor.capture(), any(Notification.class), eq(userHandle)); in cancelNotificationTestInternal()
183 notificationArgumentCaptor.capture(), eq(PRIMARY_USER)); in testNotifyMultipleMissedCalls()
270 notificationArgumentCaptor.capture(), eq((expectedUserHandle))); in notifySingleCallTestInternal()
DBluetoothManagerTest.java64 serviceCaptor.capture(), eq(BluetoothProfile.HEADSET)); in setUp()
69 verify(mContext).registerReceiver(receiverCaptor.capture(), any(IntentFilter.class)); in setUp()
DNewOutgoingCallIntentBroadcasterTest.java175 verify(mContext).startActivityAsUser(dialerIntentCaptor.capture(), any(UserHandle.class)); in testEmergencyCallWithNonDefaultDialer()
372 intentCaptor.capture(), in verifyBroadcastSent()
376 receiverCaptor.capture(), in verifyBroadcastSent()
DVideoCallTests.java135 callAudioStateArgumentCaptor.capture()); in verifyAudioRoute()
DDirectToVoicemailCallFilterTest.java88 verify(mCallerInfoLookupHelper).startLookup(eq(TEST_HANDLE), captor.capture()); in verifyLookupStart()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DCrossProfileIntentFiltersHelper.java195 IntentFilter capture = new IntentFilter(); in setFilters() local
196 capture.addAction(MediaStore.ACTION_IMAGE_CAPTURE); in setFilters()
197 capture.addAction(MediaStore.ACTION_IMAGE_CAPTURE_SECURE); in setFilters()
198 capture.addAction(MediaStore.ACTION_VIDEO_CAPTURE); in setFilters()
199 capture.addAction(MediaStore.Audio.Media.RECORD_SOUND_ACTION); in setFilters()
200 capture.addAction(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); in setFilters()
201 capture.addAction(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE); in setFilters()
202 capture.addAction(MediaStore.INTENT_ACTION_VIDEO_CAMERA); in setFilters()
203 capture.addCategory(Intent.CATEGORY_DEFAULT); in setFilters()
204 pm.addCrossProfileIntentFilter(capture, managedProfileUserId, parentUserId, 0); in setFilters()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraImpl.java246 InFlightCapture capture = null;
250 capture = mCaptureQueue.removeFirst();
253 if (capture != null) {
254 OneCameraImpl.this.onCaptureCompleted(capture);
298 InFlightCapture capture = null;
302 capture = mCaptureQueue.removeFirst();
305 if (capture != null) {
306 onCaptureCompleted(capture);
415 mCaptureSession.capture(request, mCaptureCallback, mCameraHandler); in takePictureNow()
640 mCaptureSession.capture(builder.build(), mCaptureCallback, mCameraHandler); in sendAutoFocusTriggerCaptureRequest()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java80 public boolean capture(); in capture() method
184 capture(); in doSnap()
195 capture(); in doSnap()
215 capture(); in onAutoFocus()
343 private void capture() { in capture() method in FocusManager
344 if (mListener.capture()) { in capture()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java98 public boolean capture(); in capture() method
235 capture(); in doSnap()
246 capture(); in doSnap()
261 capture(); in onAutoFocus()
409 private void capture() { in capture() method in FocusOverlayManager
410 if (mListener.capture()) { in capture()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java117 public boolean capture(); in capture() method
260 capture(); in focusAndCapture()
263 capture(); in focusAndCapture()
282 capture(); in onAutoFocus()
468 private void capture() { in capture() method in FocusOverlayManager
469 if (mListener.capture()) { in capture()
/packages/apps/Camera2/tests_camera/src/com/android/camera/activity/
DCameraTestCase.java142 mShutterCallback.capture(), mRawPictureCallback.capture(), in setUp()
143 (PictureCallback) anyObject(), mJpegPictureCallback.capture()); in setUp()
147 mAutoFocusCallback.capture()); in setUp()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidCameraCaptureSessionProxy.java96 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture() method in AndroidCameraCaptureSessionProxy
99 return mSession.capture(request, new AndroidCaptureCallback(listener), handler); in capture()
DCameraCaptureSessionProxy.java72 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture() method
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/media/
DImageRequestTest.java63 options.capture(), in testLoadImageUnspecifiedSize()
94 options.capture(), in testLoadImageWithDownsampling()
/packages/apps/Settings/tests/unit/src/com/android/settings/
DTetherServiceTest.java116 when(mPrefEditor.putString(eq(CURRENT_TYPES), mStoredTypes.capture())).thenReturn( in setUp()
150 eq(period), mPiCaptor.capture()); in testScheduleRechecks()
219 verify(mAlarmManager).cancel(mPiCaptor.capture()); in testCancelAlarm()
DChooseLockSettingsHelperTest.java63 verify(mockActivity, times(1)).startActivity(intentCaptor.capture()); in testlaunchConfirmationActivityWithExternalAndChallenge()
103 verify(mockActivity, times(1)).startActivityForResult(intentCaptor.capture(), in testlaunchConfirmationActivityWithExternalAndChallenge()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/
DEncryptionControllerTest.java97 verify(mIntentStore).save(intentCaptor.capture()); in testSetEncryptionReminder_duringSuw()
114 verify(mIntentStore).save(intentCaptor.capture()); in testSetEncryptionReminder_afterSuw()

12