Home
last modified time | relevance | path

Searched refs:linkToDeath (Results 1 – 25 of 142) sorted by relevance

123456

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DExternalPnoScanRequestManagerTest.java104 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testSetRequest_success()
131 doThrow(new RemoteException()).when(mIBinder).linkToDeath( in testSetRequest_linkToDeathFailed()
135 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testSetRequest_linkToDeathFailed()
151 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testRemoveRequest_explicit()
175 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testRemoveRequest_afterDelivery()
216 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testRemoveRequest_noDeliveryIfNoMatch()
247 inOrder.verify(mIBinder).linkToDeath(mExternalPnoScanRequestManager, 0); in testKeepRequest_afterBinderDeath()
DWifiTrafficPollerTest.java183 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in registersForBinderDeathOnAddClient()
193 .when(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
195 verify(mAppBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in addCallbackFailureOnLinkToDeath()
DLocalOnlyHotspotRequestInfoTest.java74 verify(mAppBinder).linkToDeath(eq(mLOHSRequestInfo), eq(0)); in verifyBinderLinkToDeathIsCalled()
124 .linkToDeath(any(IBinder.DeathRecipient.class), eq(0)); in verifyRemoteExceptionTriggersCallback()
DHostapdHalHidlImpTest.java177 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
183 when(mIHostapdMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
185 when(mIHostapdMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
728 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequence()
736 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), in executeAndValidateInitializationSequence()
740 mInOrder.verify(mIHostapdMock, never()).linkToDeath( in executeAndValidateInitializationSequence()
772 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1()
779 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), anyLong()); in executeAndValidateInitializationSequenceV1_1()
812 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_2()
819 mInOrder.verify(mIHostapdMock).linkToDeath(mHostapdDeathCaptor.capture(), anyLong()); in executeAndValidateInitializationSequenceV1_2()
[all …]
DSupplicantStaIfaceHalHidlImplTest.java284 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
288 when(mISupplicantMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
1947 }).when(mISupplicantMock).linkToDeath(any(IHwBinder.DeathRecipient.class), any(long.class)); in testTerminateV1_0()
1970 }).when(mISupplicantMock).linkToDeath(any(IHwBinder.DeathRecipient.class), any(long.class)); in testTerminateV1_1()
2629 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequence()
2638 mInOrder.verify(mISupplicantMock).linkToDeath(mSupplicantDeathCaptor.capture(), in executeAndValidateInitializationSequence()
2692 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1()
2701 mInOrder.verify(mISupplicantMock).linkToDeath(mSupplicantDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_1()
2764 mInOrder.verify(mServiceManagerMock).linkToDeath(mServiceManagerDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_2()
2773 mInOrder.verify(mISupplicantMock).linkToDeath(mSupplicantDeathCaptor.capture(), in executeAndValidateInitializationSequenceV1_2()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/os/
DCarPerformanceServiceUnitTest.java77 verify(mockBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testAddRemoveCpuAvailabilityChangeListener()
93 verify(mockBinder).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testDuplicateAddCpuAvailabilityChangeListener()
97 verify(mockBinder, times(2)).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testDuplicateAddCpuAvailabilityChangeListener()
106 verify(mockBinder, times(3)).linkToDeath(any(IBinder.DeathRecipient.class), anyInt()); in testDuplicateAddCpuAvailabilityChangeListener()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperAidlTest.java321 mAudioControlWrapperAidl.linkToDeath(null); in linkToDeath_callsBinder()
323 verify(mBinder).linkToDeath(any(DeathRecipient.class), eq(0)); in linkToDeath_callsBinder()
328 mAudioControlWrapperAidl.linkToDeath(null); in binderDied_fetchesNewBinder()
331 verify(mBinder).linkToDeath(captor.capture(), eq(0)); in binderDied_fetchesNewBinder()
341 mAudioControlWrapperAidl.linkToDeath(null); in binderDied_relinksToDeath()
344 verify(mBinder).linkToDeath(captor.capture(), eq(0)); in binderDied_relinksToDeath()
349 verify(mBinder, times(2)).linkToDeath(any(DeathRecipient.class), eq(0)); in binderDied_relinksToDeath()
354 mAudioControlWrapperAidl.linkToDeath(mDeathRecipient); in binderDied_callsDeathRecipient()
358 verify(mBinder).linkToDeath(captor.capture(), eq(0)); in binderDied_callsDeathRecipient()
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperV1.java159 public void linkToDeath(@Nullable AudioControlDeathRecipient deathRecipient) { in linkToDeath() method in AudioControlWrapperV1
161 mAudioControlV1.linkToDeath(this::serviceDied, 0); in linkToDeath()
181 linkToDeath(mDeathRecipient); in serviceDied()
DAudioControlWrapperV2.java170 public void linkToDeath(@Nullable AudioControlDeathRecipient deathRecipient) { in linkToDeath() method in AudioControlWrapperV2
172 mAudioControlV2.linkToDeath(this::serviceDied, 0); in linkToDeath()
192 linkToDeath(mDeathRecipient); in serviceDied()
DAudioControlWrapperAidl.java229 public void linkToDeath(@Nullable AudioControlDeathRecipient deathRecipient) { in linkToDeath() method in AudioControlWrapperAidl
231 mBinder.linkToDeath(this, 0); in linkToDeath()
251 linkToDeath(mDeathRecipient); in binderDied()
/packages/services/Car/cpp/watchdog/server/tests/
DMockBinder.h32 EXPECT_CALL(*this, linkToDeath(::testing::_, nullptr, 0)) in MockBinder()
37 MOCK_METHOD(android::status_t, linkToDeath,
DWatchdogServiceHelperTest.cpp128 EXPECT_CALL(*mMockCarWatchdogServiceForSystemBinder, linkToDeath(_, nullptr, 0)) in registerCarWatchdogService()
194 EXPECT_CALL(*mMockCarWatchdogServiceForSystemBinder, linkToDeath(_, nullptr, 0)) in TEST_F()
203 EXPECT_CALL(*mMockCarWatchdogServiceForSystemBinder, linkToDeath(_, nullptr, 0)).Times(0); in TEST_F()
215 EXPECT_CALL(*mMockCarWatchdogServiceForSystemBinder, linkToDeath(_, nullptr, 0)) in TEST_F()
226 EXPECT_CALL(*mMockCarWatchdogServiceForSystemBinder, linkToDeath(_, nullptr, 0)).Times(0); in TEST_F()
DWatchdogProcessServiceTest.cpp130 EXPECT_CALL(*binder, linkToDeath(_, nullptr, 0)).WillRepeatedly(Return(linkToDeathResult)); in createMockCarWatchdogClient()
139 EXPECT_CALL(*binder, linkToDeath(_, nullptr, 0)).WillRepeatedly(Return(linkToDeathResult)); in createMockCarWatchdogMonitor()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java114 verify(binderMock).linkToDeath(anyObject(), anyInt()); in testConstructor()
132 verify(binderMockChild).linkToDeath(anyObject(), anyInt()); in testConstructorWithChildren()
133 verify(binderMockParent).linkToDeath(anyObject(), anyInt()); in testConstructorWithChildren()
139 doThrow(new RemoteException()).when(binderMock).linkToDeath(anyObject(), anyInt()); in testFailLinkToDeath()
/packages/services/Car/cpp/watchdog/car-watchdog-lib/src/android/car/watchdoglib/
DCarWatchdogDaemonHelper.java391 linkToDeath(); in makeBinderConnection()
398 private void linkToDeath() { in linkToDeath() method in CarWatchdogDaemonHelper
411 binder.linkToDeath(mDeathRecipient, 0); in linkToDeath()
/packages/services/Car/service/src/com/android/car/
DBinderInterfaceContainer.java101 binder.linkToDeath(bInterface, 0); in addBinder()
142 binder.linkToDeath(bInterface, 0); in addBinderInterface()
DHidlVehicleStub.java120 public void linkToDeath(IVehicleDeathRecipient recipient) throws IllegalStateException { in linkToDeath() method in HidlVehicleStub
122 mHidlVehicle.linkToDeath(recipient, /*flag=*/ 0); in linkToDeath()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDppManager.java330 if (!linkToDeath(mDppRequestInfo)) { in startDppAsConfiguratorInitiator()
415 if (!linkToDeath(mDppRequestInfo)) { in startDppAsEnrolleeInitiator()
493 if (!linkToDeath(mDppRequestInfo)) { in startDppAsEnrolleeResponder()
1039 private boolean linkToDeath(DppRequestInfo dppRequestInfo) { in linkToDeath() method in DppManager
1058 dppRequestInfo.binder.linkToDeath(dppRequestInfo.dr, 0); in linkToDeath()
/packages/modules/Media/apex/framework/java/android/media/
DSession2Link.java91 public void linkToDeath(@NonNull IBinder.DeathRecipient recipient, int flags) { in linkToDeath() method in Session2Link
94 mISession.asBinder().linkToDeath(recipient, flags); in linkToDeath()
/packages/services/Car/cpp/watchdog/vts/
DVtsAidlWatchdogTargetTest.cpp106 MOCK_METHOD(status_t, linkToDeath, (const sp<DeathRecipient>&, void*, uint32_t), (override));
119 EXPECT_CALL(*mMockBinder, linkToDeath(_, nullptr, 0)).WillRepeatedly(Return(OK)); in expectNormalBinder()
/packages/services/Car/service/src/com/android/car/watchdog/
DWatchdogProcessHandler.java177 clientInfo.linkToDeath(); in registerClient()
500 private void linkToDeath() throws RemoteException { in linkToDeath() method in WatchdogProcessHandler.ClientInfo
501 client.asBinder().linkToDeath(this, 0); in linkToDeath()
/packages/services/Car/cpp/powerpolicy/server/tests/
DCarPowerPolicyServerTest.cpp111 MOCK_METHOD(binder_status_t, linkToDeath, (AIBinder*, AIBinder_DeathRecipient*, void*),
117 EXPECT_CALL(*this, linkToDeath(binder, _, _)) in expectLinkToDeathStatus()
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.h203 virtual binder_status_t linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient,
211 binder_status_t linkToDeath(AIBinder* binder, AIBinder_DeathRecipient* recipient,
/packages/modules/Bluetooth/system/test/mock/
Dmock_android_hardware_audio.cc29 ::android::hardware::Return<bool> linkToDeath( in linkToDeath() function in android::hardware::bluetooth::a2dp::V1_0::BluetoothAudioHost
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImplTest.java216 when(mServiceManagerMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
220 when(mISupplicantMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
222 when(mISupplicantP2pIfaceMock.linkToDeath(any(IHwBinder.DeathRecipient.class), in setUp()
344 }).when(mISupplicantMock).linkToDeath(any(IHwBinder.DeathRecipient.class), in testMisorderSupplicantDeathHandlingV1_1()
2807 mInOrder.verify(mServiceManagerMock).linkToDeath( in executeAndValidateInitializationSequence()
2813 mInOrder.verify(mISupplicantMock).linkToDeath( in executeAndValidateInitializationSequence()
2827 mInOrder.verify(mISupplicantP2pIfaceMock).linkToDeath( in executeAndValidateInitializationSequence()
2864 mInOrder.verify(mServiceManagerMock).linkToDeath( in executeAndValidateInitializationSequenceV1_1()
2870 mInOrder.verify(mISupplicantMock).linkToDeath( in executeAndValidateInitializationSequenceV1_1()
2883 mInOrder.verify(mISupplicantP2pIfaceMock).linkToDeath( in executeAndValidateInitializationSequenceV1_1()

123456