Home
last modified time | relevance | path

Searched refs:mSubscriptionClient (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java124 @Mock private VehicleStub.SubscriptionClient mSubscriptionClient; field in VehicleHalTest
266 when(mVehicle.newSubscriptionClient(any())).thenReturn(mSubscriptionClient);
553 verify(mSubscriptionClient).unsubscribe(SOME_READ_ON_CHANGE_PROPERTY);
561 doThrow(new RemoteException()).when(mSubscriptionClient).unsubscribe(
572 verify(mSubscriptionClient).unsubscribe(SOME_READ_ON_CHANGE_PROPERTY);
597 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions}));
609 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions}));
621 verify(mSubscriptionClient).subscribe(eq(new SubscribeOptions[]{expectedOptions}));
648 doThrow(new RemoteException()).when(mSubscriptionClient).subscribe(any());
657 doThrow(new ServiceSpecificException(0)).when(mSubscriptionClient).subscribe(any());
[all …]
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java104 private final SubscriptionClient mSubscriptionClient; field in VehicleHal
297 mSubscriptionClient = vehicle.newSubscriptionClient(this); in VehicleHal()
542 mSubscriptionClient.unsubscribe(subscribedProperties.valueAt(i)); in release()
674 mSubscriptionClient.subscribe(subscribeOptions); in subscribeProperty()
927 mSubscriptionClient.unsubscribe(property); in unsubscribeProperty()
/packages/services/Car/cpp/powerpolicy/server/src/
DCarPowerPolicyServer.cpp825 mSubscriptionClient->unsubscribe( in terminate()
1132 mSubscriptionClient = mVhalService->getSubscriptionClient(mPropertyChangeListener); in connectToVhalHelper()
1243 if (auto result = mSubscriptionClient->subscribe(options); !result.ok()) { in subscribeToProperty()
DCarPowerPolicyServer.h362 std::unique_ptr<android::frameworks::automotive::vhal::ISubscriptionClient> mSubscriptionClient; variable