Home
last modified time | relevance | path

Searched refs:obtain (Results 1 – 25 of 1609) sorted by relevance

12345678910>>...65

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DVehicleObjectPool.cpp36 VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain(VehiclePropertyType type) { in obtain() function in android::hardware::automotive::vehicle::VehiclePropValuePool
38 return obtain(type, 0); in obtain()
40 return obtain(type, 1); in obtain()
43 VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain(VehiclePropertyType type, in obtain() function in android::hardware::automotive::vehicle::VehiclePropValuePool
54 VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain(const VehiclePropValue& src) { in obtain() function in android::hardware::automotive::vehicle::VehiclePropValuePool
58 auto dest = obtain(type, vectorSize); in obtain()
70 auto val = obtain(VehiclePropertyType::INT32); in obtainInt32()
76 auto val = obtain(VehiclePropertyType::INT64); in obtainInt64()
82 auto val = obtain(VehiclePropertyType::FLOAT); in obtainFloat()
88 auto val = obtain(VehiclePropertyType::STRING); in obtainString()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleObjectPool.cpp31 VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain( in obtain() function in android::hardware::automotive::vehicle::V2_0::VehiclePropValuePool
38 VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain( in obtain() function in android::hardware::automotive::vehicle::V2_0::VehiclePropValuePool
46 auto dest = obtain(type, vecSize); in obtain()
59 auto val = obtain(VehiclePropertyType::INT32); in obtainInt32()
66 auto val = obtain(VehiclePropertyType::INT64); in obtainInt64()
73 auto val = obtain(VehiclePropertyType::FLOAT); in obtainFloat()
80 auto val = obtain(VehiclePropertyType::STRING); in obtainString()
86 return obtain(VehiclePropertyType::MIXED); in obtainComplex()
102 return it->second->obtain(); in obtainRecylable()
118 VehiclePropValuePool::RecyclableType VehiclePropValuePool::obtain( in obtain() function in android::hardware::automotive::vehicle::V2_0::VehiclePropValuePool
[all …]
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/test/
DVehiclePropertyStoreTest.cpp144 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(values[0]))); in TEST_F()
150 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(value))); in TEST_F()
161 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(value))); in TEST_F()
173 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(value))); in TEST_F()
193 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(value))); in TEST_F()
210 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(value))); in TEST_F()
221 ASSERT_RESULT_OK(mStore->writeValue(mValuePool->obtain(value))); in TEST_F()
231 auto v = mValuePool->obtain(VehiclePropertyType::FLOAT); in TEST_F()
242 auto v = mValuePool->obtain(VehiclePropertyType::FLOAT); in TEST_F()
255 auto v = mValuePool->obtain(VehiclePropertyType::FLOAT); in TEST_F()
[all …]
DVehicleObjectPoolTest.cpp152 auto value = mValuePool->obtain(info.type, info.vecSize); in TEST_P()
156 ASSERT_EQ(mValuePool->obtain(info.type, info.vecSize).get(), raw); in TEST_P()
168 auto value = mValuePool->obtain(info.type, info.vecSize); in TEST_P()
178 auto value = mValuePool->obtain(VehiclePropertyType::INT32); in TEST_F()
182 ASSERT_EQ(mValuePool->obtain(VehiclePropertyType::INT32).get(), raw); in TEST_F()
184 ASSERT_NE(mValuePool->obtain(VehiclePropertyType::FLOAT).get(), raw); in TEST_F()
191 mValuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
192 auto stringProp = mValuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
197 auto newStringProp = mValuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
200 ASSERT_NE(mValuePool->obtain(VehiclePropertyType::STRING).get(), raw); in TEST_F()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleObjectPool_test.cpp60 auto value = valuePool->obtain(VehiclePropertyType::INT32); in TEST_F()
64 ASSERT_EQ(raw, valuePool->obtain(VehiclePropertyType::INT32).get()); in TEST_F()
66 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::FLOAT).get()); in TEST_F()
73 valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
74 auto vs = valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
79 auto vs2 = valuePool->obtain(VehiclePropertyType::STRING); in TEST_F()
81 ASSERT_NE(raw, valuePool->obtain(VehiclePropertyType::STRING).get()); in TEST_F()
104 poolPtr->obtain(k % 2 == 0 in TEST_F()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleObjectPool.h85 virtual recyclable_ptr<T> obtain() { in obtain() function
180 RecyclableType obtain(VehiclePropertyType type);
182 RecyclableType obtain(VehiclePropertyType type, size_t vecSize);
183 RecyclableType obtain(const VehiclePropValue& src);
209 RecyclableType obtain() override { in obtain() function
210 return ObjectPool<VehiclePropValue>::obtain(); in obtain()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/userhal/src/
DFakeUserHal.cpp136 auto newValue = mValuePool->obtain(*mSetUserIdentificationAssociationResponseFromCmd); in onGetUserIdentificationAssociation()
161 mInitialUserResponseFromCmd = mValuePool->obtain(value); in onSetInitialUserInfoResponse()
205 return mValuePool->obtain(value); in onSetSwitchUserResponse()
209 mSwitchUserResponseFromCmd = mValuePool->obtain(value); in onSetSwitchUserResponse()
250 mCreateUserResponseFromCmd = mValuePool->obtain(value); in onSetCreateUserResponse()
285 mSetUserIdentificationAssociationResponseFromCmd = mValuePool->obtain(value); in onSetUserIdentificationAssociation()
294 auto copy = mValuePool->obtain(*mSetUserIdentificationAssociationResponseFromCmd); in onSetUserIdentificationAssociation()
/hardware/interfaces/drm/1.1/
DIDrmFactory.hal6 * You may obtain a copy of the License at
24 * creates drm sessions which are used to obtain keys for a crypto
/hardware/interfaces/drm/1.4/
DIDrmFactory.hal6 * You may obtain a copy of the License at
23 * creates drm sessions which are used to obtain keys for a crypto
/hardware/interfaces/cas/1.2/
DIMediaCasService.hal6 * You may obtain a copy of the License at
26 * opens cas sessions which are used to obtain keys for a descrambler session,
/hardware/interfaces/cas/1.1/
DIMediaCasService.hal6 * You may obtain a copy of the License at
25 * opens cas sessions which are used to obtain keys for a descrambler session,
/hardware/interfaces/drm/1.3/
DIDrmFactory.hal6 * You may obtain a copy of the License at
23 * creates drm sessions which are used to obtain keys for a crypto
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DVehicleObjectPool.h82 virtual recyclable_ptr<T> obtain() { in obtain() function
191 RecyclableType obtain(aidl::android::hardware::automotive::vehicle::VehiclePropertyType type);
198 RecyclableType obtain(aidl::android::hardware::automotive::vehicle::VehiclePropertyType type,
203 RecyclableType obtain(
/hardware/nxp/keymint/
DAndroid.bp5 // You may obtain a copy of the License at
20 // You may obtain a copy of the License at
/hardware/nxp/keymint/transport/
DAndroid.bp5 // You may obtain a copy of the License at
20 // You may obtain a copy of the License at
/hardware/interfaces/drm/1.2/
DIDrmFactory.hal6 * You may obtain a copy of the License at
25 * creates drm sessions which are used to obtain keys for a crypto
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_GOOGLE_display_timing.adoc20 `apiext:VK_KHR_swapchain` extension to obtain information about the
21 presentation engine's display, to obtain timing information about each
/hardware/interfaces/drm/1.0/
DIDrmFactory.hal6 * You may obtain a copy of the License at
25 * creates drm sessions which are used to obtain keys for a crypto
/hardware/interfaces/bluetooth/
D.clang-format6 # You may obtain a copy of the License at
/hardware/nxp/nfc/intf/nxpnfc/1.0/
Dtypes.hal7 * You may obtain a copy of the License at
/hardware/nxp/weaver/
DNOTICE5 You may obtain a copy of the License at
/hardware/interfaces/cas/1.0/
DIMediaCasService.hal6 * You may obtain a copy of the License at
25 * opens cas sessions which are used to obtain keys for a descrambler session,
/hardware/interfaces/tests/inheritance/1.0/
DIParent.hal6 * You may obtain a copy of the License at
/hardware/qcom/sm8150/thermal/
DLICENSE8 * You may obtain a copy of the License at
/hardware/interfaces/automotive/vehicle/aidl/generated_lib/3/java/
DAndroid.bp6 * You may obtain a copy of the License at

12345678910>>...65