Home
last modified time | relevance | path

Searched refs:onClosed (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/DevCamera/src/com/android/devcamera/
DLoggingCallbacks.java46 public void onClosed(CameraDevice camera) { in onClosed() method in LoggingCallbacks.DeviceStateCallback
94 public void onClosed(CameraCaptureSession session) { in onClosed() method in LoggingCallbacks.SessionStateCallback
98 super.onClosed(session); in onClosed()
/packages/services/Iwlan/test/com/google/android/iwlan/
DIwlanDataServiceTest.java889 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testIwlanDeactivateDataCallWithCloseTunnel()
930 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testDeactivateDataCall_ImmediateReleaseAfterHandover()
983 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testDeactivateDataCall_DelayedReleaseAfterHandover()
1038 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testDeactivateDataCall_DelayedReleaseAfterHandover_NetworkReleaseBeforeDelay()
1087 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testHandoverFailureModeDefault()
1137 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testHandoverFailureModeHandover()
1196 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachSuccessOnIms()
1252 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachSuccessOnEmergency()
1308 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachOnImsCall()
1364 .onClosed(TEST_APN_NAME, new IwlanError(IwlanError.NO_ERROR)); in testSupportInitialAttachOnEmergencyCall()
[all …]
/packages/services/Iwlan/test/com/google/android/iwlan/epdg/
DEpdgTunnelManagerTest.java143 public void onClosed(String apnName, IwlanError error) {} in onClosed() method in EpdgTunnelManagerTest.IwlanTunnelCallback
808 .onClosed(eq(testApnName), eq(new IwlanError(IwlanError.TUNNEL_NOT_FOUND))); in testCloseTunnelWithNoTunnelForApn()
811 verify(mMockIwlanTunnelMetrics, times(1)).onClosed(metricsCaptor.capture()); in testCloseTunnelWithNoTunnelForApn()
1073 verify(mMockIwlanTunnelCallback, times(1)).onClosed(eq(testApnName), eq(error)); in testGetValidEpdgAddress_DiffAddr()
1122 verify(mMockIwlanTunnelCallback, times(1)).onClosed(eq(testApnName), eq(error)); in testGetValidEpdgAddress_NextAddr()
1173 verify(mMockIwlanTunnelCallback, times(1)).onClosed(eq(testApnName), eq(error)); in testGetValidEpdgAddress_WhenExcludeFailedIpEnabled()
1311 verify(mMockIwlanTunnelCallback, atLeastOnce()).onClosed(eq(testApnName), eq(error)); in verifyBackOffTimer()
1384 mEpdgTunnelManager.getTmIkeSessionCallback(testApnName, token).onClosed(); in testHandleOnClosedWithEpdgConnected_True()
1387 verify(mMockIwlanTunnelCallback, times(1)).onClosed(eq(testApnName), eq(error)); in testHandleOnClosedWithEpdgConnected_True()
1413 mEpdgTunnelManager.getTmIkeSessionCallback(testApnName, DEFAULT_TOKEN).onClosed(); in testHandleOnClosedWithEpdgConnected_False()
[all …]
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java89 verify(callback, times(0)).onClosed(anyInt(), any()); in testOnRangingOpened_OnOpenSuccessCalled()
105 verify(callback, times(0)).onClosed(anyInt(), any()); in testOnRangingOpened_OnServiceDiscoveredConnectedCalled()
125 verify(callback, times(0)).onClosed(anyInt(), any()); in testOnRangingOpened_CannotOpenClosedSession()
130 verify(callback, times(1)).onClosed(anyInt(), any()); in testOnRangingOpened_CannotOpenClosedSession()
136 verify(callback, times(1)).onClosed(anyInt(), any()); in testOnRangingOpened_CannotOpenClosedSession()
152 verify(callback, times(1)).onClosed(anyInt(), any()); in testOnRangingClosed_OnClosedCalledWhenSessionNotOpen()
163 verify(callback, times(1)).onClosed(anyInt(), any()); in testOnRangingClosed_OnClosedCalled()
167 verify(callback, times(2)).onClosed(anyInt(), any()); in testOnRangingClosed_OnClosedCalled()
390 verify(callback, times(1)).onClosed(REASON, PARAMS); in testCallbacks_OnlyWhenOpened()
422 verify(callback, times(0)).onClosed(anyInt(), any()); in testClose_NoCallbackUntilInvoked()
[all …]
DRangingManagerTest.java295 verify(callback, times(1)).onClosed(eq(REASON), eq(PARAMS)); in testCorrectCallbackInvoked()
318 verify(callback, times(1)).onClosed(eq(REASON), eq(PARAMS)); in testNoCallbackInvoked_sessionClosed()
413 verify(callback, times(1)).onClosed(eq(REASON), eq(PARAMS)); in testNoCallbackInvoked_sessionClosed()
451 verify(callback1, times(1)).onClosed(anyInt(), any()); in testOnRangingClosed_MultipleSessionsRegistered()
452 verify(callback2, times(0)).onClosed(anyInt(), any()); in testOnRangingClosed_MultipleSessionsRegistered()
455 verify(callback1, times(1)).onClosed(anyInt(), any()); in testOnRangingClosed_MultipleSessionsRegistered()
456 verify(callback2, times(1)).onClosed(anyInt(), any()); in testOnRangingClosed_MultipleSessionsRegistered()
576 verify(callback, times(1)).onClosed(eq(reasonOut), eq(PARAMS)); in runReason()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidCameraDeviceProxy.java63 public void onClosed(CameraCaptureSession session) { in onClosed() method in AndroidCameraDeviceProxy.AndroidCaptureSessionStateCallback
64 mStateCallback.onClosed(new AndroidCameraCaptureSessionProxy(session)); in onClosed()
DCameraCaptureSessionProxy.java61 public void onClosed(CameraCaptureSessionProxy session); in onClosed() method
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSnackbar.java195 .withEndAction(this::onClosed) in handleClose()
199 onClosed(); in handleClose()
205 private void onClosed() { in onClosed() method in Snackbar
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DEpdgTunnelManager.java513 public void onClosed() { in onClosed() method in EpdgTunnelManager.TmIkeSessionCallback
634 public void onClosed() { in onClosed() method in EpdgTunnelManager.TmChildSessionCallback
758 void onClosed(@NonNull String apnName, @NonNull IwlanError error); in onClosed() method
894 tunnelCallback.onClosed(apnName, iwlanError); in onBringUpTunnel()
895 tunnelMetrics.onClosed(new OnClosedMetrics.Builder().setApnName(apnName).build()); in onBringUpTunnel()
903 tunnelCallback.onClosed(apnName, iwlanError); in onBringUpTunnel()
904 tunnelMetrics.onClosed(new OnClosedMetrics.Builder().setApnName(apnName).build()); in onBringUpTunnel()
2036 tunnelConfig.getTunnelCallback().onClosed(apnName, iwlanError); in handleMessage()
2041 tunnelConfig.getTunnelMetrics().onClosed(onClosedMetricsBuilder.build()); in handleMessage()
2063 tunnelConfig.getTunnelMetrics().onClosed(onClosedMetricsBuilder.build()); in handleMessage()
[all …]
/packages/modules/DnsResolver/
DIDnsTlsSocketObserver.h32 virtual void onClosed() = 0;
DDnsTlsTransport.h64 void onClosed() override EXCLUDES(mLock);
DDnsTlsSocket.cpp407 mObserver->onClosed(); in loop()
413 mObserver->onClosed(); in loop()
502 mObserver->onClosed(); in loop()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/async/
DAsyncFile.java41 void onClosed(AsyncFile file); in onClosed() method
DBufferedFile.java99 public void onClosed(AsyncFile file) { in onClosed() method in BufferedFile
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanTunnelMetricsImpl.java41 public void onClosed(OnClosedMetrics metricsData) { in onClosed() method in IwlanTunnelMetricsImpl
DTunnelMetricsInterface.java30 void onClosed(OnClosedMetrics metricsData); in onClosed() method
/packages/modules/IPsec/src/java/android/net/ipsec/ike/
DChildSessionCallback.java68 void onClosed(); in onClosed() method
DIkeSessionCallback.java143 void onClosed(); in onClosed() method
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/
DCaptureSessionCreator.java86 public void onClosed(CameraCaptureSessionProxy session) { in createCaptureSession()
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp440 : mCloser(&IDnsTlsSocketObserver::onClosed, observer) {} in FakeSocketClose()
525 mObserver->onClosed(); in sendClose()
976 MOCK_METHOD(void, onClosed, (), (override));
1013 EXPECT_CALL(observer, onClosed); in TEST_F()
1041 EXPECT_CALL(observer, onClosed); in TEST_F()
1059 EXPECT_CALL(observer, onClosed); in TEST_F()
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/
DIkeSessionCallbackTest.java61 public void onClosed() {} in onClosed() method in IkeSessionCallbackTest.TestIkeSessionCallbackBase
/packages/modules/Uwb/framework/java/android/uwb/
DRangingSession.java310 void onClosed(@Reason int reason, @NonNull PersistableBundle parameters); in onClosed() method
658 mExecutor.execute(() -> mCallback.onClosed( in close()
1070 executeCallback(() -> mCallback.onClosed(reason, parameters)); in onRangingClosed()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DChildSessionStateMachineTest.java906 orderVerifier.verify(mMockChildSessionCallback).onClosed(); in verifyNotifyUsersDeleteSession()
986 verify(mMockChildSessionCallback).onClosed(); in testDeleteChildLocalInInitial()
1633 verify(mMockChildSessionCallback, never()).onClosed(); in verifyRekeyChildLocalDeleteIsDone()
1880 verify(mMockChildSessionCallback, never()).onClosed(); in testRekeyChildRemoteDelete()
1921 verify(mMockChildSessionCallback).onClosed(); in testRekeyChildLocalDeleteWithReqForNewSa()
1966 verify(mMockChildSessionCallback).onClosed(); in testRekeyChildRemoteDeleteWithReqForNewSa()
2005 verify(mMockChildSessionCallback, never()).onClosed(); in testRekeyChildRemoteDeleteTimeout()
2039 verify(mMockChildSessionCallback, never()).onClosed(); in testRekeyChildRemoteDeleteExitAndRenter()
2061 verify(mMockChildSessionCallback).onClosed(); in testCloseSessionNow()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/async/
DBufferedFileTest.java70 public void onClosed() throws Exception { in onClosed() method in BufferedFileTest
76 file.onClosed(mockAsyncFile); in onClosed()
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/
DSimulatorPreviewCamera.java135 public void onClosed(CameraDevice camera) { in onClosed() method in SimulatorPreviewCamera.CameraListener

12