Home
last modified time | relevance | path

Searched refs:firstCall (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/
DSingletonRunnerTest.java63 FluentFuture<Integer> firstCall = singletonRunner.runSingleInstance(); in testShouldReturnDifferentFuturesIfTaskIsCompleted() local
66 firstCall.get(); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
68 assertThat(firstCall).isNotSameInstanceAs(singletonRunner.runSingleInstance()); in testShouldReturnDifferentFuturesIfTaskIsCompleted()
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/concurrency/
DResultSyncCallback.java65 boolean firstCall = mResults.isEmpty(); in internalInjectResult()
66 if (firstCall) { in internalInjectResult()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/telephony/
DBluetoothInCallServiceTest.java1915 BluetoothCall firstCall = createRingingCall(firstJoiningCallId); in testLeCallControlCallback_onJoinCalls() local
1918 when(firstCall.getState()).thenReturn(Call.STATE_RINGING); in testLeCallControlCallback_onJoinCalls()
1921 calls.add(firstCall); in testLeCallControlCallback_onJoinCalls()
1924 mBluetoothInCallService.onCallAdded(firstCall); in testLeCallControlCallback_onJoinCalls()
1927 when(firstCall.getHandle()).thenReturn(Uri.parse("tel:222-222")); in testLeCallControlCallback_onJoinCalls()
1932 doReturn(firstCall).when(mMockCallInfo).getCallByCallId(firstJoiningCallId); in testLeCallControlCallback_onJoinCalls()
1955 BluetoothCall firstCall = createRingingCall(firstJoiningCallId); in testLeCallControlCallback_onJoinCalls_omitDoubledCalls() local
1957 when(firstCall.getState()).thenReturn(Call.STATE_RINGING); in testLeCallControlCallback_onJoinCalls_omitDoubledCalls()
1959 calls.add(firstCall); in testLeCallControlCallback_onJoinCalls_omitDoubledCalls()
1961 mBluetoothInCallService.onCallAdded(firstCall); in testLeCallControlCallback_onJoinCalls_omitDoubledCalls()
[all …]
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java243 @NonNull Context context, @NonNull DialerCall firstCall, @NonNull DialerCall incomingCall) { in logSecondIncomingCall() argument
245 if (firstCall.isVideoCall()) { in logSecondIncomingCall()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java777 final boolean firstCall) { in loadNextImage() argument
778 if (firstCall && mUseShuffleOrder) { in loadNextImage()
849 && !firstCall) { in loadNextImage()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java541 DialerCall firstCall = CallList.getInstance().getActiveOrBackgroundCall(); in supports2ndCallOnHold() local
543 if (firstCall != null && incomingCall != null && firstCall != incomingCall) { in supports2ndCallOnHold()