Home
last modified time | relevance | path

Searched refs:unsubscribe (Results 1 – 25 of 65) sorted by relevance

123

/packages/services/Car/tests/carservice_unit_test/src/android/car/vms/
DVmsSubscriptionHelperTest.java87 mSubscriptionHelper.unsubscribe(LAYER1); in testUnsubscribe_SingleLayer()
96 mSubscriptionHelper.unsubscribe(LAYER2); in testUnsubscribe_SingleLayer_IgnoreUnknown()
108 () -> mSubscriptionHelper.unsubscribe(LAYER1)); in testUnsubscribe_SingleLayer_RetryAfterException()
111 mSubscriptionHelper.unsubscribe(LAYER1); in testUnsubscribe_SingleLayer_RetryAfterException()
135 mSubscriptionHelper.unsubscribe(LAYER2); in testUnsubscribe_MultipleLayers()
177 mSubscriptionHelper.unsubscribe(LAYER1, PROVIDER_ID1); in testUnsubscribe_SingleLayerAndProvider()
186 mSubscriptionHelper.unsubscribe(LAYER1, PROVIDER_ID2); in testUnsubscribe_SingleLayerAndProvider_IgnoreUnknown()
198 () -> mSubscriptionHelper.unsubscribe(LAYER1, PROVIDER_ID1)); in testUnubscribe_SingleLayerAndProvider_RetryAfterException()
201 mSubscriptionHelper.unsubscribe(LAYER1, PROVIDER_ID1); in testUnubscribe_SingleLayerAndProvider_RetryAfterException()
223 mSubscriptionHelper.unsubscribe(LAYER1, PROVIDER_ID2); in testUnsubscribe_SingleLayerAndMultipleProviders()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/
DMediaBrowser.java121 public void unsubscribe(String parentId) { in unsubscribe() method in MediaBrowser
122 mDelegate.unsubscribe(parentId); in unsubscribe()
126 public void unsubscribe(String parentId, SubscriptionCallback callback) { in unsubscribe() method in MediaBrowser
127 mDelegate.unsubscribe(parentId, callback); in unsubscribe()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsSubscriberManager.java209 public void unsubscribe(@NonNull VmsLayer layer) { in unsubscribe() method in VmsSubscriberManager
210 mSubscriptionHelper.unsubscribe(layer); in unsubscribe()
221 public void unsubscribe(@NonNull VmsLayer layer, int publisherId) { in unsubscribe() method in VmsSubscriberManager
222 mSubscriptionHelper.unsubscribe(layer, publisherId); in unsubscribe()
DVmsSubscriptionHelper.java91 public void unsubscribe(@NonNull VmsLayer layer) { in unsubscribe() method in VmsSubscriptionHelper
104 public void unsubscribe(@NonNull VmsLayer layer, int providerId) { in unsubscribe() method in VmsSubscriptionHelper
DVmsOperationRecorder.java75 public void unsubscribe(VmsLayer layer) { in unsubscribe() method in VmsOperationRecorder
91 public void unsubscribe(VmsLayer layer, int publisherId) { in unsubscribe() method in VmsOperationRecorder
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java336 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER); in testUnsubscribe()
348 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER); in testUnsubscribe_MultipleLayers()
363 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER); in testUnsubscribe_MultiplePublishers()
377 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER); in testUnsubscribe_NotSubscribed()
497 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER, publisherId); in testUnsubscribeToPublisher()
510 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER, publisherId); in testUnsubscribeToPublisher_MultipleLayers()
530 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER, publisherId); in testUnsubscribeToPublisher_MultiplePublishers()
545 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER, publisherId); in testUnsubscribeToPublisher_NotSubscribed()
554 mSubscriber.unsubscribe(SUBSCRIPTION_LAYER, UNKNOWN_PUBLISHER); in testUnsubscribeToPublisher_UnknownPublisher()
DVmsOperationRecorderTest.java95 mRecorder.unsubscribe(layer1); in testUnsubscribe()
196 mRecorder.unsubscribe(layer1, 99); in testUnsubscribeToPublisher()
DVmsSubscriberManagerTest.java144 getSubscriberManager().unsubscribe(SUBSCRIPTION_LAYER); in testUnsubscribe()
181 getSubscriberManager().unsubscribe(SUBSCRIPTION_LAYER, PUBLISHER_ID); in testUnsubscribeFromPublisher()
/packages/apps/Settings/src/com/android/settings/biometrics/activeunlock/
DActiveUnlockSummaryListener.java40 public void unsubscribe() { in unsubscribe() method in ActiveUnlockSummaryListener
41 mContentListener.unsubscribe(); in unsubscribe()
DActiveUnlockDeviceNameListener.java45 public void unsubscribe() { in unsubscribe() method in ActiveUnlockDeviceNameListener
46 mActiveUnlockContentListener.unsubscribe(); in unsubscribe()
DActiveUnlockStatusPreferenceController.java113 mActiveUnlockSummaryListener.unsubscribe(); in onStop()
114 mActiveUnlockDeviceNameListener.unsubscribe(); in onStop()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java1148 client.unsubscribe(VehicleProperty.ENGINE_OIL_LEVEL); in testSubscribeOnChangePropOneClientSubscribeOnePropManyTime()
1192 client.unsubscribe(VehicleProperty.ENGINE_OIL_LEVEL); in testSubscribeOnChangePropOneClientSubscribeTwoProp()
1193 client.unsubscribe(VehicleProperty.NIGHT_MODE); in testSubscribeOnChangePropOneClientSubscribeTwoProp()
1266 client1.unsubscribe(VehicleProperty.ENGINE_OIL_LEVEL); in testSubscribeOnChangePropTwoClientSubscribeSameProp()
1267 client2.unsubscribe(VehicleProperty.ENGINE_OIL_LEVEL); in testSubscribeOnChangePropTwoClientSubscribeSameProp()
1291 client.unsubscribe(VehicleProperty.FUEL_LEVEL); in testSubscribeContinuousProp()
1324 client.unsubscribe(VehicleProperty.FUEL_LEVEL); in testSubscribeContinuousPropDifferentRate()
1348 client.unsubscribe(VehicleProperty.FUEL_LEVEL); in testSubscribeContinuousPropRateTooLarge()
1372 client.unsubscribe(VehicleProperty.FUEL_LEVEL); in testSubscribeContinuousPropRateTooSmall()
1417 client.unsubscribe(VehicleProperty.SEAT_BELT_BUCKLED); in testSubscribeNonSupportAreaId()
[all …]
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DNetlinkListener.h54 virtual netdutils::Status unsubscribe(uint16_t type) = 0;
86 netdutils::Status unsubscribe(uint16_t type) override EXCLUDES(mMutex);
/packages/services/Car/cpp/watchdog/server/tests/
DMockSubscriptionClient.h62 android::frameworks::automotive::vhal::VhalClientResult<void> unsubscribe( in unsubscribe() function
64 if (auto status = mHal->unsubscribe(mCallback, propIds); !status.isOk()) { in unsubscribe()
DMockVehicle.h30 ON_CALL(*this, unsubscribe(::testing::_, ::testing::_)).WillByDefault([]() { in MockVehicle()
58 ndk::ScopedAStatus, unsubscribe,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java553 verify(mSubscriptionClient).unsubscribe(SOME_READ_ON_CHANGE_PROPERTY);
561 doThrow(new RemoteException()).when(mSubscriptionClient).unsubscribe(
572 verify(mSubscriptionClient).unsubscribe(SOME_READ_ON_CHANGE_PROPERTY);
1088 verify(mSubscriptionClient).unsubscribe(eq(SOME_READ_ON_CHANGE_PROPERTY));
1097 verify(mSubscriptionClient, never()).unsubscribe(anyInt());
1106 verify(mSubscriptionClient, never()).unsubscribe(anyInt());
1112 doThrow(new RemoteException()).when(mSubscriptionClient).unsubscribe(anyInt());
1121 doThrow(new ServiceSpecificException(0)).when(mSubscriptionClient).unsubscribe(anyInt());
1130 doThrow(new ServiceSpecificException(0)).when(mSubscriptionClient).unsubscribe(anyInt());
1136 doNothing().when(mSubscriptionClient).unsubscribe(anyInt());
[all …]
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/controller/
DRemoteQCController.java173 private void unsubscribe() { in unsubscribe() method in RemoteQCController
273 unsubscribe(); in stopObserving()
/packages/modules/StatsD/statsd/src/shell/
DShellSubscriber.h78 void unsubscribe(const shared_ptr<aidl::android::os::IStatsSubscriptionCallback>& callback);
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/
DDarkModeObserverTest.java87 mDarkModeObserver.unsubscribe(); in callbackTest_unsubscribedAfterSubscribe_noMoreCallbackCalled()
/packages/modules/StatsD/statsd/tests/shell/
DShellSubscriber_test.cpp281 shellSubscriber.unsubscribe(callback); in TearDown()
392 shellSubscriber.unsubscribe(callbacks[i]); in TEST_F()
543 shellSubscriber.unsubscribe(callback); in TEST_F()
567 shellSubscriber.unsubscribe(callback); in TEST_F()
591 shellSubscriber.unsubscribe(callback); in TEST_F()
/packages/apps/Settings/src/com/android/settings/display/darkmode/
DDarkModePreference.java65 mDarkModeObserver.unsubscribe(); in onDetached()
DDarkModeObserver.java91 public void unsubscribe() { in unsubscribe() method in DarkModeObserver
/packages/services/Car/cpp/vhal/client/src/
DHidlVhalClient.cpp267 VhalClientResult<void> HidlSubscriptionClient::unsubscribe(const std::vector<int32_t>& propIds) { in unsubscribe() function in android::frameworks::automotive::vhal::HidlSubscriptionClient
269 auto result = mHal->unsubscribe(mVhalCallback, propId); in unsubscribe()
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp81 Return<StatusCode> unsubscribe([[maybe_unused]] const sp<IVehicleCallback>& callback, in unsubscribe() function in android::frameworks::automotive::vhal::hidl_test::MockVhal
516 auto result = subscriptionClient->unsubscribe({TEST_PROP_ID}); in TEST_F()
526 auto result = subscriptionClient->unsubscribe({TEST_PROP_ID}); in TEST_F()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java486 public void unsubscribe(int propId) throws RemoteException { in unsubscribe() method in FakeVehicleStub.FakeVhalSubscriptionClient
491 mRealClient.unsubscribe(propId); in unsubscribe()
494 FakeVehicleStub.this.unsubscribe(this, propId); in unsubscribe()
1074 private void unsubscribe(FakeVhalSubscriptionClient client, int propId) { in unsubscribe() method in FakeVehicleStub

123