Searched refs:HalClient (Results 1 – 4 of 4) sorted by relevance
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/ |
D | SubscriptionManager.h | 40 class HalClient : public android::RefBase { 42 HalClient(const sp<IVehicleCallback> &callback) in HalClient() function 45 virtual ~HalClient() {} in ~HalClient() 61 class HalClientVector : private SortedVector<sp<HalClient>> , public RefBase { 65 inline void addOrUpdate(const sp<HalClient> &client) { in addOrUpdate() 77 sp<HalClient> client; 117 std::list<sp<HalClient>> getSubscribedClients(int32_t propId, SubscribeFlags flags) const; 124 std::list<sp<HalClient>> getSubscribedClientsLocked(int32_t propId, 129 void addClientToPropMapLocked(int32_t propId, const sp<HalClient>& client); 133 sp<HalClient> getOrCreateHalClientLocked(ClientId callingPid, [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
D | SubscriptionManager.cpp | 50 void HalClient::addOrUpdateSubscription(const SubscribeOptions &opts) { in addOrUpdateSubscription() 66 bool HalClient::isSubscribed(int32_t propId, in isSubscribed() 77 std::vector<int32_t> HalClient::getSubscribedProperties() const { in getSubscribedProperties() 97 const sp<HalClient>& client = getOrCreateHalClientLocked(clientId, callback); in addOrUpdateSubscription() 123 std::map<sp<HalClient>, std::list<VehiclePropValue*>> clientValuesMap; in distributeValuesToClients() 147 std::list<sp<HalClient>> SubscriptionManager::getSubscribedClients(int32_t propId, in getSubscribedClients() 153 std::list<sp<HalClient>> SubscriptionManager::getSubscribedClientsLocked( in getSubscribedClientsLocked() 155 std::list<sp<HalClient>> subscribedClients; in getSubscribedClientsLocked() 192 int32_t propId, const sp<HalClient> &client) { in addClientToPropMapLocked() 210 sp<HalClient> SubscriptionManager::getOrCreateHalClientLocked( in getOrCreateHalClientLocked() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/tests/ |
D | SubscriptionManager_test.cpp | 67 const std::list<sp<HalClient>>& clients) { in extractCallbacks() 75 std::list<sp<HalClient>> clientsToProp1() { in clientsToProp1() 79 std::list<sp<HalClient>> clientsToProp2() { in clientsToProp2()
|
D | VehicleHalManager_test.cpp | 463 sp<HalClient> c1 = new HalClient(callback1); in TEST() 464 sp<HalClient> c2 = new HalClient(callback1); in TEST()
|