Home
last modified time | relevance | path

Searched refs:callListener (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java142 public void setState(final int state, final boolean callListener) { in setState() argument
143 setStateAnimatedInternal(state, callListener); in setState()
152 private void setStateAnimatedInternal(final int state, final boolean callListener) { in setStateAnimatedInternal() argument
153 if(callListener && mOnStatePreChangeListener != null) { in setStateAnimatedInternal()
158 setStateInternal(state, callListener); in setStateAnimatedInternal()
175 setStateInternal(state, callListener); in setStateAnimatedInternal()
199 setStateInternal(state, callListener); in setStateAnimatedInternal()
219 private void setStateInternal(int state, boolean callListener) { in setStateInternal() argument
238 if (callListener && mOnStateChangeListener != null) { in setStateInternal()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallerInfoLookupHelperTest.java163 CallerInfoLookupHelper.OnQueryCompleteListener callListener = mock( in testLookupWithTwoListeners() local
169 mCallerInfoLookupHelper.startLookup(URI1, callListener); in testLookupWithTwoListeners()
182 verify(callListener, times(1)).onCallerInfoQueryComplete(URI1, mCallerInfo1); in testLookupWithTwoListeners()
193 verify(callListener).onContactPhotoQueryComplete(URI1, mCallerInfo1); in testLookupWithTwoListeners()
204 CallerInfoLookupHelper.OnQueryCompleteListener callListener = mock( in testListenerAddedAfterCallerInfoBeforePhoto() local
210 mCallerInfoLookupHelper.startLookup(URI1, callListener); in testListenerAddedAfterCallerInfoBeforePhoto()
222 verify(callListener, times(1)).onCallerInfoQueryComplete(URI1, mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto()
234 verify(callListener).onContactPhotoQueryComplete(URI1, mCallerInfo1); in testListenerAddedAfterCallerInfoBeforePhoto()
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java205 callListener(oldListener, res, err); in whenCompleteAsync()
206 callListener(action, res, err); in whenCompleteAsync()
230 callListener(listener, res, err); in callListenerAsync()
232 mListenerExecutor.execute(() -> callListener(listener, res, err)); in callListenerAsync()
241 static <TT> void callListener( in callListener() method in AndroidFuture
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java3068 void callListener(IWifiScannerListener listener); in callListener() method
3243 cb.callListener(mListener); in reportEvent()
3271 cb.callListener(mListener); in reportEvent()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2194 …method TIRAMISU_0 void callListener(BiConsumer<? super TT,? super Throwable> listener, TT res, Thr…