Home
last modified time | relevance | path

Searched refs:propIds (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/car-lib/src/com/android/car/internal/
DPropertyPermissionMapping.java193 private void map(String readPermission, String writePermission, Integer... propIds) { in map() argument
194 map(Permission.of(readPermission, writePermission), propIds); in map() local
197 private void map(String readPermission, Integer... propIds) { in map() argument
198 map(Permission.of(readPermission), propIds); in map() local
201 private void map(Permission p, Integer[] propIds) { in map() argument
202 for (int propId : propIds) { in map()
/packages/services/Car/service/src/com/android/car/
DCarPropertyService.java165 List<Integer> propIds = new ArrayList<>(); in binderDied() local
177 propIds.add(mRateMap.keyAt(i)); in binderDied()
181 CarPropertyService.this.unregisterListenerBinderForProps(propIds, mListenerBinder); in binderDied()
411 private void unregisterListenerBinderForProps(List<Integer> propIds, IBinder listenerBinder) { in unregisterListenerBinderForProps() argument
413 for (int i = 0; i < propIds.size(); i++) { in unregisterListenerBinderForProps()
414 int propId = propIds.get(i); in unregisterListenerBinderForProps()
444 public List<CarPropertyConfig> getPropertyConfigList(int[] propIds) { in getPropertyConfigList() argument
448 if (propIds == null) { in getPropertyConfigList()
451 for (int propId : propIds) { in getPropertyConfigList()
DHidlVehicleStub.java370 private ArrayList<VehiclePropConfig> getPropConfigs(ArrayList<Integer> propIds) in getPropConfigs() argument
373 mHidlVehicle.getPropConfigs(propIds, in getPropConfigs()
379 throw new IllegalArgumentException("Part of the property IDs: " + propIds in getPropConfigs()
DCarShellCommand.java3134 List<Integer> propIds = new ArrayList<>();
3138 propIds.add(configs[i].getPropId());
3140 writer.println(propIds.toString());
/packages/services/Car/cpp/watchdog/server/tests/
DMockSubscriptionClient.h63 const std::vector<int32_t>& propIds) override { in unsubscribe() argument
64 if (auto status = mHal->unsubscribe(mCallback, propIds); !status.isOk()) { in unsubscribe()
68 << "failed to unsubscribe to prop IDs: " << toString(propIds) in unsubscribe()
DWatchdogProcessServiceTest.cpp162 std::vector<int32_t> propIds = {static_cast<int32_t>(aahav::VehicleProperty::VHAL_HEARTBEAT)}; in TEST_F() local
164 EXPECT_CALL(*mMockVehicle, unsubscribe(_, propIds)) in TEST_F()
/packages/services/Car/cpp/vhal/client/src/
DAidlVhalClient.cpp208 std::vector<int32_t> propIds) { in getPropConfigs() argument
210 if (ScopedAStatus status = mHal->getPropConfigs(propIds, &configs); !status.isOk()) { in getPropConfigs()
214 toString(propIds).c_str())); in getPropConfigs()
553 std::vector<int32_t> propIds; in subscribe() local
555 propIds.push_back(option.propId); in subscribe()
565 toString(propIds).c_str())); in subscribe()
570 VhalResult<void> AidlSubscriptionClient::unsubscribe(const std::vector<int32_t>& propIds) { in unsubscribe() argument
571 if (auto status = mHal->unsubscribe(mSubscriptionCallback, propIds); !status.isOk()) { in unsubscribe()
575 toString(propIds).c_str())); in unsubscribe()
DHidlVhalClient.cpp189 std::vector<int32_t> propIds) { in getPropConfigs() argument
191 hidl_vec<int32_t> hidlPropIds(propIds); in getPropConfigs()
269 VhalResult<void> HidlSubscriptionClient::unsubscribe(const std::vector<int32_t>& propIds) { in unsubscribe() argument
270 for (int32_t propId : propIds) { in unsubscribe()
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp338 std::vector<int32_t> propIds = {TEST_PROP_ID, TEST_PROP_ID_2}; in TEST_F() local
339 auto result = getClient()->getPropConfigs(propIds); in TEST_F()
341 ASSERT_EQ(getVhal()->getGetPropConfigsProps(), propIds); in TEST_F()
361 std::vector<int32_t> propIds = {TEST_PROP_ID, TEST_PROP_ID_2}; in TEST_F() local
362 auto result = getClient()->getPropConfigs(propIds); in TEST_F()
DAidlVhalClientTest.cpp156 const std::vector<int32_t>& propIds) override { in unsubscribe() argument
157 mUnsubscribePropIds = propIds; in unsubscribe()
815 std::vector<int32_t> propIds = {TEST_PROP_ID, TEST_PROP_ID_2}; in TEST_F() local
816 auto result = getClient()->getPropConfigs(propIds); in TEST_F()
818 ASSERT_EQ(getVhal()->getGetPropConfigPropIds(), propIds); in TEST_F()
838 std::vector<int32_t> propIds = {TEST_PROP_ID, TEST_PROP_ID_2}; in TEST_F() local
839 auto result = getClient()->getPropConfigs(propIds); in TEST_F()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java90 public List<CarPropertyConfig> getPropertyConfigList(int[] propIds) { in getPropertyConfigList() argument
91 List<CarPropertyConfig> configs = new ArrayList<>(propIds.length); in getPropertyConfigList()
92 for (int prop : propIds) { in getPropertyConfigList()
/packages/services/Car/cpp/vhal/client/include/
DIVhalClient.h65 const std::vector<int32_t>& propIds) = 0;
200 getPropConfigs(std::vector<int32_t> propIds) = 0;
DHidlVhalClient.h76 getPropConfigs(std::vector<int32_t> propIds) override;
118 const std::vector<int32_t>& propIds) override;
DAidlVhalClient.h90 getPropConfigs(std::vector<int32_t> propIds) override;
268 const std::vector<int32_t>& propIds) override;
/packages/services/Car/car-lib/src/android/car/hardware/property/
DCarPropertyManager.java414 int[] propIds = new int[propertyIds.size()]; in getPropertyList() local
418 propIds[idx++] = propId; in getPropertyList()
422 configs = mService.getPropertyConfigList(propIds); in getPropertyList()
DICarProperty.aidl42 List<CarPropertyConfig> getPropertyConfigList(in int[] propIds) = 7; in getPropertyConfigList() argument
/packages/services/Car/cpp/watchdog/server/src/
DWatchdogProcessService.cpp543 std::vector<int32_t> propIds = {static_cast<int32_t>(VehicleProperty::VHAL_HEARTBEAT)}; in terminate() local
545 mVhalService->getSubscriptionClient(mPropertyChangeListener)->unsubscribe(propIds); in terminate()
879 std::vector<VehicleProperty> propIds = {VehicleProperty::WATCHDOG_ALIVE, in queryVhalPropertiesLocked() local
882 for (const auto& propId : propIds) { in queryVhalPropertiesLocked()
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/
DAidlMockedVehicleHal.java315 public void unsubscribe(IVehicleCallback callback, int[] propIds) in unsubscribe() argument
318 for (int propId : propIds) { in unsubscribe()