Home
last modified time | relevance | path

Searched refs:onDisconnected (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/util/
DObservableServiceConnection.java78 void onDisconnected(ObservableServiceConnection<T> connection, in onDisconnected() method
140 callback.onDisconnected(sender, disconnectReason);
197 onDisconnected(DISCONNECT_REASON_UNBIND); in unbind()
212 callback.onDisconnected(this, mLastDisconnectReason); in addCallback()
229 private void onDisconnected(@DisconnectReason int reason) { in onDisconnected() method in ObservableServiceConnection
253 onDisconnected(DISCONNECT_REASON_DISCONNECTED); in onServiceDisconnected()
258 onDisconnected(DISCONNECT_REASON_BINDING_DIED); in onBindingDied()
263 onDisconnected(DISCONNECT_REASON_NULL_BINDING); in onNullBinding()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DObservableServiceConnectionTest.java127 verify(mCallback, never()).onDisconnected(any(), anyInt()); in testConnect()
143 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testDisconnectBeforeBind()
154 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testDisconnect()
157 verify(mCallback, times(1)).onDisconnected(mConnection, in testDisconnect()
176 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testBindingDied()
179 verify(mCallback, times(1)).onDisconnected(mConnection, in testBindingDied()
193 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testNullBinding()
196 verify(mCallback, times(1)).onDisconnected(mConnection, in testNullBinding()
210 verify(mCallback, never()).onDisconnected(eq(mConnection), anyInt()); in testUnbind()
212 verify(mCallback).onDisconnected(mConnection, in testUnbind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DObservableServiceConnection.java88 void onDisconnected(ObservableServiceConnection<T> connection, in onDisconnected() method
180 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_UNBIND)); in unbind()
208 callback.onDisconnected(this, mLastDisconnectReason.get()); in addCallback()
226 private void onDisconnected(@DisconnectReason int reason) { in onDisconnected() method in ObservableServiceConnection
242 applyToCallbacksLocked(callback-> callback.onDisconnected(this, in onDisconnected()
287 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_DISCONNECTED)); in onServiceDisconnected()
292 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_BINDING_DIED)); in onBindingDied()
297 mBgExecutor.execute(() -> onDisconnected(DISCONNECT_REASON_NULL_BINDING)); in onNullBinding()
/frameworks/base/core/java/android/service/games/
DGameService.java104 GameService::onDisconnected, GameService.this));
118 GameService::onDisconnected, GameService.this));
158 public void onDisconnected() {} in onDisconnected() method in GameService
/frameworks/base/core/java/android/service/assist/classification/
DFieldClassificationService.java78 public void onDisconnected() { in onDisconnected() method in FieldClassificationService.FieldClassificationServiceImpl
134 public void onDisconnected() { in onDisconnected() method in FieldClassificationService
147 onDisconnected(); in handleOnDisconnected()
DIFieldClassificationService.aidl35 void onDisconnected(); in onDisconnected() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/service/
DObservableServiceConnectionTest.java140 verify(mCallback, never()).onDisconnected(eq(connection), anyInt()); in testDisconnect()
150 verify(mCallback).onDisconnected(eq(connection), in testDisconnect()
172 verify(mCallback, never()).onDisconnected(eq(connection), anyInt()); in testUnbind()
184 verify(mCallback).onDisconnected(eq(connection), in testUnbind()
DPersistentConnectionManagerTest.java95 callback.onDisconnected(mConnection, 0); in captureCallbackAndSend()
126 connectionCallbackCaptor.getValue().onDisconnected(mConnection, 0); in testRetryOnBindFailure()
/frameworks/base/core/java/android/printservice/recommendation/
DRecommendationService.java99 public abstract void onDisconnected();
118 onDisconnected();
/frameworks/libs/native_bridge_support/android_api/libcamera2ndk/proxy/
Dandroid_camera_checks.h70 CHECK_FIELD_LAYOUT(ACameraDevice_StateCallbacks, onDisconnected, 32, 32);
117 CHECK_FIELD_LAYOUT(ACameraDevice_StateCallbacks, onDisconnected, 64, 64);
/frameworks/base/core/java/android/accessibilityservice/
DIBrailleDisplayController.aidl16 void onDisconnected(); in onDisconnected() method
DBrailleDisplayControllerImpl.java278 public void onDisconnected() { in onDisconnected() method in BrailleDisplayControllerImpl.IBrailleDisplayControllerWrapper
283 mCallbackExecutor.execute(mCallback::onDisconnected); in onDisconnected()
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechSessionCallback.aidl29 void onDisconnected(); in onDisconnected() method
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java119 public void onDisconnected(CameraDevice camera) { in onDisconnected() method in BlockingStateCallback
121 mProxy.onDisconnected(camera); in onDisconnected()
DBlockingCameraManager.java233 public void onDisconnected(CameraDevice camera) { in onDisconnected() method in BlockingCameraManager.OpenListener
254 if (mProxy != null) mProxy.onDisconnected(camera); in onDisconnected()
/frameworks/base/core/java/android/service/translation/
DITranslationService.aidl35 void onDisconnected(); in onDisconnected() method
DTranslationService.java108 public void onDisconnected() {
109 mHandler.sendMessage(obtainMessage(TranslationService::onDisconnected,
220 public void onDisconnected() { in onDisconnected() method in TranslationService
/frameworks/base/core/java/android/service/autofill/augmented/
DIAugmentedAutofillService.aidl36 void onDisconnected(); in onDisconnected() method
/frameworks/base/core/java/android/ddm/
DDdmHandleExit.java57 public void onDisconnected() {} in onDisconnected() method in DdmHandleExit
DDdmHandleHeap.java55 public void onDisconnected() {} in onDisconnected() method in DdmHandleHeap
DDdmHandleNativeHeap.java55 public void onDisconnected() {} in onDisconnected() method in DdmHandleNativeHeap
/frameworks/base/core/java/android/service/autofill/
DAutofillService.java614 connected ? AutofillService::onConnected : AutofillService::onDisconnected,
782 public void onDisconnected() { in onDisconnected() method in AutofillService
/frameworks/base/core/java/android/service/contentcapture/
DIContentCaptureService.aidl39 void onDisconnected(); in onDisconnected() method
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetectionService.java108 onDisconnected(uuid, params); in removeClient()
138 public void onDisconnected(@NonNull UUID uuid, @Nullable Bundle params) { in onDisconnected() method in SoundTriggerDetectionService
/frameworks/base/core/java/android/service/textclassifier/
DTextClassifierService.java215 : TextClassifierService.this::onDisconnected);
230 onDisconnected(); in onUnbind()
245 public void onDisconnected() { in onDisconnected() method in TextClassifierService

1234