Home
last modified time | relevance | path

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

/hardware/interfaces/health/utils/libhealthshim/
Dtest.cpp76 #define ADD_TEST(name, aidl_name, AidlValueType, hidl_value, not_supported_hidl_value) \ argument
79 cb(Result::SUCCESS, hidl_value); \
84 ASSERT_EQ(value, static_cast<AidlValueType>(hidl_value)); \
107 bool Translate(const HidlValueType& hidl_value, AidlValueType* aidl_value) { in ADD_TEST()
108 return ::android::h2a::translate(hidl_value, aidl_value); in ADD_TEST()
115 for (const auto& hidl_value : hidl_vec) { in Translate() local
117 if (!Translate(hidl_value, &aidl_value)) return false; in Translate()
122 #define ADD_INFO_TEST(name, AidlValueType, hidl_value) \ argument
125 ASSERT_TRUE(Translate(hidl_value, &expected_aidl_value)); \
127 cb(Result::SUCCESS, hidl_value); \