Home
last modified time | relevance | path

Searched refs:Type (Results 1 – 25 of 145) sorted by relevance

123456

/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp34 using ::android::hardware::light::V2_0::Type;
67 const static std::set<Type> kAllTypes = {
68 Type::BACKLIGHT,
69 Type::KEYBOARD,
70 Type::BUTTONS,
71 Type::BATTERY,
72 Type::NOTIFICATIONS,
73 Type::ATTENTION,
74 Type::BLUETOOTH,
75 Type::WIFI
[all …]
/hardware/interfaces/light/2.0/default/
DLight.cpp46 Light::Light(std::map<Type, light_device_t*> &&lights) in Light() argument
50 Return<Status> Light::setLight(Type type, const LightState& state) { in setLight()
80 Type *types = new Type[mLights.size()]; in getSupportedTypes()
84 Type type = pair.first; in getSupportedTypes()
90 hidl_vec<Type> hidl_types{}; in getSupportedTypes()
101 const static std::map<Type, const char*> kLogicalLights = {
102 {Type::BACKLIGHT, LIGHT_ID_BACKLIGHT},
103 {Type::KEYBOARD, LIGHT_ID_KEYBOARD},
104 {Type::BUTTONS, LIGHT_ID_BUTTONS},
105 {Type::BATTERY, LIGHT_ID_BATTERY},
[all …]
DLight.h35 using ::android::hardware::light::V2_0::Type;
43 Light(std::map<Type, light_device_t*> &&lights);
45 Return<Status> setLight(Type type, const LightState& state) override;
51 std::map<Type, light_device_t*> mLights;
/hardware/google/interfaces/light/1.0/default/
DLight.cpp46 Light::Light(std::map<Type, light_device_t*>&& lights) in Light() argument
50 Return<Status> Light::setLight(Type type, const LightState& state) { in setLight()
78 std::vector<Type> types(mLights.size()); in getSupportedTypes()
85 hidl_vec<Type> hidl_types{}; in getSupportedTypes()
93 static const std::map<Type, const char*> kLogicalLights = {
94 {Type::BACKLIGHT, LIGHT_ID_BACKLIGHT},
95 {Type::KEYBOARD, LIGHT_ID_KEYBOARD},
96 {Type::BUTTONS, LIGHT_ID_BUTTONS},
97 {Type::BATTERY, LIGHT_ID_BATTERY},
98 {Type::NOTIFICATIONS, LIGHT_ID_NOTIFICATIONS},
[all …]
DLight.h38 using ::android::hardware::light::V2_0::Type;
41 Light(std::map<Type, light_device_t*>&& lights);
43 Return<Status> setLight(Type type, const LightState& state) override;
50 std::map<Type, light_device_t*> mLights;
/hardware/google/interfaces/light/1.1/default/
DLight.cpp46 Light::Light(std::map<Type, light_device_t*>&& lights) in Light() argument
50 Return<Status> Light::setLight(Type type, const LightState& state) { in setLight()
78 std::vector<Type> types(mLights.size()); in getSupportedTypes()
85 hidl_vec<Type> hidl_types{}; in getSupportedTypes()
93 static const std::map<Type, const char*> kLogicalLights = {
94 {Type::BACKLIGHT, LIGHT_ID_BACKLIGHT},
95 {Type::KEYBOARD, LIGHT_ID_KEYBOARD},
96 {Type::BUTTONS, LIGHT_ID_BUTTONS},
97 {Type::BATTERY, LIGHT_ID_BATTERY},
98 {Type::NOTIFICATIONS, LIGHT_ID_NOTIFICATIONS},
[all …]
DLight.h38 using ::android::hardware::light::V2_0::Type;
41 Light(std::map<Type, light_device_t*>&& lights);
43 Return<Status> setLight(Type type, const LightState& state) override;
50 std::map<Type, light_device_t*> mLights;
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
DUtils.h105 template <typename Type>
106 inline void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt()
113 template <typename Type>
114 inline void hidl_vec_remove(hidl_vec<Type>* vec, const Type& val) { in hidl_vec_remove()
121 template <typename Type>
122 inline uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back()
142 template <typename Type>
143 using Named = std::pair<std::string, Type>;
145 template <typename Type>
146 const std::string& getName(const Named<Type>& namedData) { in getName()
[all …]
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonModel.h97 template <typename Type>
98 Type getScalar(uint32_t operand);
103 template <typename Type>
105 const std::vector<Type>& values);
107 template <typename Type>
108 hexagon_nn_input createValues(const std::vector<Type>& values);
109 template <typename Type>
110 hexagon_nn_input createScalar(Type value);
170 template <typename Type>
171 Type Model::getScalar(uint32_t operand) { in getScalar()
[all …]
/hardware/interfaces/renderscript/1.0/vts/functional/
DVtsCopyTests.cpp36 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
37 ASSERT_NE(Type(0), type); in TEST_P()
72 Type type = context->typeCreate(element, 128, 128, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
73 ASSERT_NE(Type(0), type); in TEST_P()
109 Type type = context->typeCreate(element, 32, 32, 32, false, false, YuvFormat::YUV_NONE); in TEST_P()
110 ASSERT_NE(Type(0), type); in TEST_P()
146 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
147 ASSERT_NE(Type(0), type); in TEST_P()
186 Type typeSrc = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
187 ASSERT_NE(Type(0), typeSrc); in TEST_P()
[all …]
DVtsMiscellaneousTests.cpp52 Type type = context->typeCreate(element, 1, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
53 ASSERT_NE(Type(0), type); in TEST_P()
63 Type type2 = context->allocationGetType(allocation); in TEST_P()
80 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
81 ASSERT_NE(Type(0), type); in TEST_P()
116 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
117 ASSERT_NE(Type(0), type); in TEST_P()
154 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
155 ASSERT_NE(Type(0), type); in TEST_P()
207 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_P()
[all …]
/hardware/interfaces/radio/1.0/
DIRadioIndication.hal26 * @param type Type of radio indication
40 * @param type Type of radio indication
49 * @param type Type of radio indication
61 * @param type Type of radio indication
75 * @param type Type of radio indication
84 * @param type Type of radio indication
94 * @param type Type of radio indication
103 * @param type Type of radio indication
112 * @param type Type of radio indication
120 * @param type Type of radio indication
[all …]
/hardware/interfaces/confirmationui/support/test/
Dandroid_cbor_test.cpp163 state = writeHeader(state, Type::NUMBER, 23); in TEST()
167 state = writeHeader(state, Type::NUMBER, 24); in TEST()
171 state = writeHeader(state, Type::NUMBER, 0xff); in TEST()
175 state = writeHeader(state, Type::NUMBER, 0x100); in TEST()
179 state = writeHeader(state, Type::NUMBER, 0xffff); in TEST()
183 state = writeHeader(state, Type::NUMBER, 0x10000); in TEST()
187 state = writeHeader(state, Type::NUMBER, 0xffffffff); in TEST()
191 state = writeHeader(state, Type::NUMBER, 0x100000000); in TEST()
195 state = writeHeader(state, Type::NUMBER, 0xffffffffffffffff); in TEST()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_buffer_allocator.h41 template <class Type>
42 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.h41 template <class Type>
42 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_buffer_allocator.h41 template <class Type>
42 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.h44 template <class Type>
45 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_buffer_allocator.h41 template <class Type>
42 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DValidateRequest.cpp53 template <typename Type>
54 static void hidl_vec_removeAt(hidl_vec<Type>* vec, uint32_t index) { in hidl_vec_removeAt()
61 template <typename Type>
62 static uint32_t hidl_vec_push_back(hidl_vec<Type>* vec, const Type& value) { in hidl_vec_push_back()
/hardware/interfaces/tests/extension/light/2.0/default/
DLight.cpp27 Return<Status> Light::setLight(Type type, const OldLightState& state) { in setLight()
40 hidl_vec<Type> vec{}; in getSupportedTypes()
52 Return<Status> Light::setLightExt(Type /* type */, const LightState& /* state */) { in setLightExt() argument
DLight.h37 using ::android::hardware::light::V2_0::Type;
45 Return<Status> setLight(Type type, const OldLightState& state) override;
49 Return<Status> setLightExt(Type type, const LightState& state) override;
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_buffer_allocator.h47 template <class Type>
48 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
Dconfig.h24 enum Type { UNSIGNED, STRING, BYTES }; enum
26 Type getType() const;
34 Type type_;
/hardware/nxp/secure_element/libese-spi/p73/utils/
Dconfig.h24 enum Type { UNSIGNED, STRING, BYTES }; enum
27 Type getType() const;
35 Type type_;
/hardware/qcom/display/msm8226/libgralloc/
Dgr.h40 template <class Type>
41 inline Type ALIGN(Type x, Type align) { in ALIGN()

123456