Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DImsMmTelManagerTests.java81 IImsRegistrationCallback cbBinder = callbackCaptor.getValue(); in testDeprecatedCallbackValues() local
83 cbBinder.onRegistered(new ImsRegistrationAttributes.Builder( in testDeprecatedCallbackValues()
86 cbBinder.onRegistered(new ImsRegistrationAttributes.Builder( in testDeprecatedCallbackValues()
89 cbBinder.onRegistered(new ImsRegistrationAttributes.Builder( in testDeprecatedCallbackValues()
93 cbBinder.onRegistered(new ImsRegistrationAttributes.Builder(0xDEADBEEF).build()); in testDeprecatedCallbackValues()
/frameworks/base/services/tests/servicestests/src/com/android/server/uwb/
DUwbServiceImplTest.java139 final IBinder cbBinder = mock(IBinder.class); in testOpenRanging() local
140 when(cb.asBinder()).thenReturn(cbBinder); in testOpenRanging()
193 final IBinder cbBinder = mock(IBinder.class); in testRangingCallbacks() local
194 when(cb.asBinder()).thenReturn(cbBinder); in testRangingCallbacks()
254 final IBinder cbBinder = mock(IBinder.class); in testHandleClientDeath() local
255 when(cb.asBinder()).thenReturn(cbBinder); in testHandleClientDeath()
264 verify(cbBinder).linkToDeath(mClientDeathCaptor.capture(), anyInt()); in testHandleClientDeath()
288 final IBinder cbBinder = mock(IBinder.class); in testHandleVendorServiceDeath() local
289 when(cb.asBinder()).thenReturn(cbBinder); in testHandleVendorServiceDeath()
335 final IBinder cbBinder = mock(IBinder.class); in testThrowSecurityExceptionWhenOpenRangingCalledWithoutUwbRangingPermission() local
[all …]
/frameworks/base/tests/vcn/java/android/net/vcn/
DVcnManagerTest.java201 IVcnStatusCallback cbBinder = in testVcnStatusCallbackBinder() local
204 cbBinder.onVcnStatusChanged(VCN_STATUS_CODE_ACTIVE); in testVcnStatusCallbackBinder()
207 cbBinder.onGatewayConnectionError( in testVcnStatusCallbackBinder()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java983 final IBinder cbBinder = callback.asBinder(); in registerVcnStatusCallback() local
988 cbBinder.linkToDeath(cbInfo, 0 /* flags */); in registerVcnStatusCallback()
995 if (mRegisteredStatusCallbacks.containsKey(cbBinder)) { in registerVcnStatusCallback()
1000 mRegisteredStatusCallbacks.put(cbBinder, cbInfo); in registerVcnStatusCallback()
1038 final IBinder cbBinder = callback.asBinder(); in unregisterVcnStatusCallback() local
1040 VcnStatusCallbackInfo cbInfo = mRegisteredStatusCallbacks.remove(cbBinder); in unregisterVcnStatusCallback()
1043 cbBinder.unlinkToDeath(cbInfo, 0 /* flags */); in unregisterVcnStatusCallback()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java947 IBinder cbBinder = listener.asBinder(); in addOnMediaKeyEventDispatchedListenerLocked() local
950 mOnMediaKeyEventDispatchedListeners.put(cbBinder, cr); in addOnMediaKeyEventDispatchedListenerLocked()
952 cbBinder.linkToDeath(cr, 0); in addOnMediaKeyEventDispatchedListenerLocked()
955 mOnMediaKeyEventDispatchedListeners.remove(cbBinder); in addOnMediaKeyEventDispatchedListenerLocked()
961 IBinder cbBinder = listener.asBinder(); in removeOnMediaKeyEventDispatchedListenerLocked() local
963 mOnMediaKeyEventDispatchedListeners.remove(cbBinder); in removeOnMediaKeyEventDispatchedListenerLocked()
964 cbBinder.unlinkToDeath(cr, 0); in removeOnMediaKeyEventDispatchedListenerLocked()
969 IBinder cbBinder = listener.asBinder(); in addOnMediaKeyEventSessionChangedListenerLocked() local
972 mOnMediaKeyEventSessionChangedListeners.put(cbBinder, cr); in addOnMediaKeyEventSessionChangedListenerLocked()
974 cbBinder.linkToDeath(cr, 0); in addOnMediaKeyEventSessionChangedListenerLocked()
[all …]
/frameworks/base/core/java/android/app/usage/
DNetworkStatsManager.java636 final INetworkStatsProviderCallback cbBinder = in registerNetworkStatsProvider() local
638 provider.setProviderCallbackBinder(cbBinder); in registerNetworkStatsProvider()