Searched refs:SubscriptionManager (Results 1 – 11 of 11) sorted by relevance
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/src/ |
D | SubscriptionManager.cpp | 60 SubscriptionManager::SubscriptionManager(IVehicleHardware* vehicleHardware) in SubscriptionManager() function in android::hardware::automotive::vehicle::SubscriptionManager 63 SubscriptionManager::~SubscriptionManager() { in ~SubscriptionManager() 70 bool SubscriptionManager::checkSampleRateHz(float sampleRateHz) { in checkSampleRateHz() 74 Result<int64_t> SubscriptionManager::getIntervalNanos(float sampleRateHz) { in getIntervalNanos() 86 bool SubscriptionManager::checkResolution(float resolution) { in checkResolution() 155 VhalResult<void> SubscriptionManager::addOnChangeSubscriberLocked( in addOnChangeSubscriberLocked() 175 VhalResult<void> SubscriptionManager::addContinuousSubscriberLocked( in addContinuousSubscriberLocked() 189 VhalResult<void> SubscriptionManager::removeContinuousSubscriberLocked( in removeContinuousSubscriberLocked() 197 VhalResult<void> SubscriptionManager::removeOnChangeSubscriberLocked( in removeOnChangeSubscriberLocked() 214 VhalResult<void> SubscriptionManager::updateContSubConfigsLocked(const PropIdAreaId& propIdAreaId, in updateContSubConfigsLocked() [all …]
|
D | DefaultVehicleHal.cpp | 110 mSubscriptionManager = std::make_shared<SubscriptionManager>(vehicleHardwarePtr); in DefaultVehicleHal() 125 std::weak_ptr<SubscriptionManager> subscriptionManagerCopy = mSubscriptionManager; in DefaultVehicleHal() 201 const std::weak_ptr<SubscriptionManager>& subscriptionManager, in onPropertyChangeEvent() 216 const std::weak_ptr<SubscriptionManager>& subscriptionManager, in onPropertySetErrorEvent() 750 if (!SubscriptionManager::checkSampleRateHz(sampleRateHz)) { in checkSubscribeOptions() 754 if (!SubscriptionManager::checkResolution(option.resolution)) { in checkSubscribeOptions() 918 std::weak_ptr<SubscriptionManager> subscriptionManager) { in checkHealth()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | SubscriptionManager.cpp | 86 StatusCode SubscriptionManager::addOrUpdateSubscription( in addOrUpdateSubscription() 120 std::list<HalClientValues> SubscriptionManager::distributeValuesToClients( in distributeValuesToClients() 147 std::list<sp<HalClient>> SubscriptionManager::getSubscribedClients(int32_t propId, in getSubscribedClients() 153 std::list<sp<HalClient>> SubscriptionManager::getSubscribedClientsLocked( in getSubscribedClientsLocked() 170 bool SubscriptionManager::updateHalEventSubscriptionLocked( in updateHalEventSubscriptionLocked() 191 void SubscriptionManager::addClientToPropMapLocked( in addClientToPropMapLocked() 204 sp<HalClientVector> SubscriptionManager::getClientsForPropertyLocked( in getClientsForPropertyLocked() 210 sp<HalClient> SubscriptionManager::getOrCreateHalClientLocked( in getOrCreateHalClientLocked() 232 void SubscriptionManager::unsubscribe(ClientId clientId, in unsubscribe() 274 void SubscriptionManager::onCallbackDead(uint64_t cookie) { in onCallbackDead()
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | SubscriptionManager.h | 83 class SubscriptionManager { 92 SubscriptionManager(const OnPropertyUnsubscribed& onPropertyUnsubscribed) in SubscriptionManager() function 95 std::bind(&SubscriptionManager::onCallbackDead, this, std::placeholders::_1))) in SubscriptionManager() 98 ~SubscriptionManager() = default;
|
D | VehicleHalManager.h | 146 SubscriptionManager mSubscriptionManager;
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/include/ |
D | SubscriptionManager.h | 73 class SubscriptionManager final { 80 explicit SubscriptionManager(IVehicleHardware* vehicleHardware); 81 ~SubscriptionManager(); 181 VhalResult<void> unsubscribePropIdAreaIdLocked(SubscriptionManager::ClientIdType clientId,
|
D | DefaultVehicleHal.h | 130 std::shared_ptr<SubscriptionManager> mSubscriptionManager; 228 static void onPropertyChangeEvent(const std::weak_ptr<SubscriptionManager>& subscriptionManager, 232 const std::weak_ptr<SubscriptionManager>& subscriptionManager, 236 std::weak_ptr<SubscriptionManager> subscriptionManager);
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/ |
D | SubscriptionManagerTest.cpp | 93 mManager = std::make_unique<SubscriptionManager>(mHardware.get()); in SetUp() 109 SubscriptionManager* getManager() { return mManager.get(); } in getManager() 122 std::unique_ptr<SubscriptionManager> mManager; 512 ASSERT_TRUE(SubscriptionManager::checkSampleRateHz(1.0)); in TEST_F() 516 ASSERT_FALSE(SubscriptionManager::checkSampleRateHz(FLT_MIN)); in TEST_F() 520 ASSERT_FALSE(SubscriptionManager::checkSampleRateHz(0)); in TEST_F() 524 ASSERT_TRUE(SubscriptionManager::checkResolution(0.0)); in TEST_F() 525 ASSERT_TRUE(SubscriptionManager::checkResolution(0.1)); in TEST_F() 526 ASSERT_TRUE(SubscriptionManager::checkResolution(1.0)); in TEST_F() 530 ASSERT_FALSE(SubscriptionManager::checkResolution(2.0)); in TEST_F()
|
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/ |
D | Android.bp | 58 "src/SubscriptionManager.cpp",
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | SubscriptionManager_test.cpp | 41 SubscriptionManager manager;
|
/hardware/interfaces/automotive/vehicle/2.0/default/ |
D | Android.bp | 64 "common/src/SubscriptionManager.cpp",
|