Home
last modified time | relevance | path

Searched refs:subscribe (Results 1 – 25 of 50) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/
DVmsSubscriptionHelperTest.java55 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer()
63 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer_IgnoreDuplicates()
64 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer_IgnoreDuplicates()
75 () -> mSubscriptionHelper.subscribe(LAYER1)); in testSubscribe_SingleLayer_RetryAfterException()
78 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_SingleLayer_RetryAfterException()
86 mSubscriptionHelper.subscribe(LAYER1); in testUnsubscribe_SingleLayer()
95 mSubscriptionHelper.subscribe(LAYER1); in testUnsubscribe_SingleLayer_IgnoreUnknown()
104 mSubscriptionHelper.subscribe(LAYER1); in testUnsubscribe_SingleLayer_RetryAfterException()
119 mSubscriptionHelper.subscribe(LAYER1); in testSubscribe_MultipleLayers()
120 mSubscriptionHelper.subscribe(LAYER2); in testSubscribe_MultipleLayers()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java255 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe()
268 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_AfterPublish()
276 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_MultipleLayers()
277 mSubscriber.subscribe(SUBSCRIPTION_LAYER_OTHER); in testSubscribe_MultipleLayers()
290 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_MultiplePublishers()
304 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_MultipleLayers_MultiplePublishers()
305 mSubscriber.subscribe(SUBSCRIPTION_LAYER_OTHER); in testSubscribe_MultipleLayers_MultiplePublishers()
319 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_ClearCallback()
330 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testSubscribe_NoCallback()
335 mSubscriber.subscribe(SUBSCRIPTION_LAYER); in testUnsubscribe()
[all …]
DVmsSubscriberManagerTest.java86 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSubscribe()
106 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeToPublisher()
124 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromPublisher()
144 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testUnsubscribe()
163 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testSubscribeFromWrongPublisher()
181 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testUnsubscribeFromPublisher()
249 getSubscriberManager().subscribe(SUBSCRIPTION_LAYER); in testSimpleAvailableLayersAfterSubscription()
DVmsOperationRecorderTest.java89 mRecorder.subscribe(layer1); in testSubscribe()
189 mRecorder.subscribe(layer1, 99); in testSubscribeToPublisher()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/mockable/
DMediaBrowser.java129 public void subscribe(String parentId, Bundle options, SubscriptionCallback callback) { in subscribe() method in MediaBrowser
130 mDelegate.subscribe(parentId, options, callback); in subscribe()
136 public void subscribe(String parentId, SubscriptionCallback callback) { in subscribe() method in MediaBrowser
137 mDelegate.subscribe(parentId, callback); in subscribe()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriberManager.java177 public void subscribe(@NonNull VmsLayer layer) { in subscribe() method in VmsSubscriberManager
178 mSubscriptionHelper.subscribe(layer); in subscribe()
189 public void subscribe(@NonNull VmsLayer layer, int publisherId) { in subscribe() method in VmsSubscriberManager
190 mSubscriptionHelper.subscribe(layer, publisherId); in subscribe()
DVmsSubscriptionHelper.java65 public void subscribe(@NonNull VmsLayer layer) { in subscribe() method in VmsSubscriptionHelper
78 public void subscribe(@NonNull VmsLayer layer, int providerId) { in subscribe() method in VmsSubscriptionHelper
DVmsOperationRecorder.java67 public void subscribe(VmsLayer layer) { in subscribe() method in VmsOperationRecorder
82 public void subscribe(VmsLayer layer, int publisherId) { in subscribe() method in VmsOperationRecorder
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java303 mDut.subscribe(clientId1, subscribeConfig, mockSessionCallback1); in testRequestMacAddresses()
305 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses()
311 mDut.subscribe(clientId2, subscribeConfig, mockSessionCallback2); in testRequestMacAddresses()
313 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses()
1113 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail()
1115 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail()
1126 when(mMockNative.subscribe(anyShort(), anyByte(), any())) in testSubscribeFail()
1129 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeFail()
1131 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testSubscribeFail()
1185 mDut.subscribe(clientId, subscribeConfig, mockSessionCallback); in testSubscribeSuccessTerminated()
[all …]
DWifiAwareServiceImplTest.java332 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in testFailOnSubscribeRangingWithoutRttFeature()
494 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in testSubscribe()
496 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in testSubscribe()
729 mDut.subscribe(mPackageName, mFeatureId, clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
731 verify(mAwareStateManagerMock).subscribe(clientId, subscribeConfig, mockCallback); in doBadSubscribeConfiguration()
DWifiAwareNativeApiTest.java362 mDut.subscribe(tid, pid, subDefault); in testDiscoveryRangingSettings()
363 mDut.subscribe(tid, pid, subWithMin); in testDiscoveryRangingSettings()
364 mDut.subscribe(tid, pid, subWithMax); in testDiscoveryRangingSettings()
365 mDut.subscribe(tid, pid, subWithMinMax); in testDiscoveryRangingSettings()
DTestUtils.java67 public boolean subscribe(short transactionId, byte subscribeId, in subscribe() method in TestUtils.MonitoredWifiAwareNativeApi
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/
DDarkModeObserverTest.java53 mDarkModeObserver.subscribe(mCallback); in callbackTest_subscribedCallbackCalled()
60 mDarkModeObserver.subscribe(mCallback); in callbackTest_unsubscribedCallNotbackCalled()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModePreference.java53 mDarkModeObserver.subscribe(mCallback); in DarkModePreference()
59 mDarkModeObserver.subscribe(mCallback); in onAttached()
DDarkModeObserver.java63 public void subscribe(Runnable callback) { in subscribe() method in DarkModeObserver
DDarkModeSettingsFragment.java63 mContentObserver.subscribe(mCallback); in onStart()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java127 verify(mHalClient).subscribe(eq(expectedOptions)); in testSubscribeProperty_registeringReadWriteAndOnChangeProperty()
155 verify(mHalClient, never()).subscribe(any(SubscribeOptions.class)); in testSubscribeProperty_registeringStaticProperty()
236 verify(mockVehicle, times(1)).subscribe(vehicleCallbackCaptor.capture(), in testVehicleHalReconnected()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareSession.java197 public void subscribe(@NonNull SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareSession
208 mgr.subscribe(mClientId, (handler == null) ? Looper.getMainLooper() : handler.getLooper(), in subscribe()
DIWifiAwareManager.aidl53 void subscribe(in String callingPackage, in String callingFeatureId, int clientId, in subscribe() method
DWifiAwareManager.java430 public void subscribe(int clientId, Looper looper, SubscribeConfig subscribeConfig, in subscribe() method in WifiAwareManager
444 mService.subscribe(mContext.getOpPackageName(), mContext.getAttributionTag(), clientId, in subscribe()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java268 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testConnectFailure()
269 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testConnectFailure()
508 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeFlow()
509 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeFlow()
600 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in testSubscribeRemoteTerminate()
601 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), eq(subscribeConfig), in testSubscribeRemoteTerminate()
1600 session.subscribe(subscribeConfig, mockSessionCallback, mMockLooperHandler); in executeSessionStartup()
1601 inOrder.verify(mockAwareService).subscribe(any(), any(), eq(clientId), in executeSessionStartup()
/packages/services/Car/service/src/com/android/car/hal/
DHalClient.java88 public void subscribe(SubscribeOptions... options) throws RemoteException { in subscribe() method in HalClient
89 mVehicle.subscribe(mInternalCallback, new ArrayList<>(Arrays.asList(options))); in subscribe()
DVmsHalService.java430 mSubscriptionHelper.subscribe(vmsLayer); in handleSubscribeEvent()
450 mSubscriptionHelper.subscribe(vmsLayer, publisherId); in handleSubscribeToPublisherEvent()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareServiceImpl.java360 public void subscribe(String callingPackage, String callingFeatureId, int clientId, in subscribe() method in WifiAwareServiceImpl
385 mStateManager.subscribe(clientId, subscribeConfig, callback); in subscribe()
/packages/services/Car/cpp/evs/apps/default/
Devs_app.cpp95 StatusCode status = pVnet->subscribe(listener, options); in subscribeToVHal()

12