Home
last modified time | relevance | path

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

123456

/hardware/interfaces/light/2.0/vts/functional/
DVtsHalLightV2_0TargetTest.cpp32 using ::android::hardware::light::V2_0::Type;
65 const static std::set<Type> kAllTypes = {
66 Type::BACKLIGHT,
67 Type::KEYBOARD,
68 Type::BUTTONS,
69 Type::BATTERY,
70 Type::NOTIFICATIONS,
71 Type::ATTENTION,
72 Type::BLUETOOTH,
73 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/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_F()
37 ASSERT_NE(Type(0), type); in TEST_F()
72 Type type = context->typeCreate(element, 128, 128, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
73 ASSERT_NE(Type(0), type); in TEST_F()
109 Type type = context->typeCreate(element, 32, 32, 32, false, false, YuvFormat::YUV_NONE); in TEST_F()
110 ASSERT_NE(Type(0), type); in TEST_F()
146 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
147 ASSERT_NE(Type(0), type); in TEST_F()
186 Type typeSrc = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
187 ASSERT_NE(Type(0), typeSrc); in TEST_F()
[all …]
DVtsMiscellaneousTests.cpp52 Type type = context->typeCreate(element, 1, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
53 ASSERT_NE(Type(0), type); in TEST_F()
63 Type type2 = context->allocationGetType(allocation); in TEST_F()
80 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
81 ASSERT_NE(Type(0), type); in TEST_F()
116 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
117 ASSERT_NE(Type(0), type); in TEST_F()
154 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
155 ASSERT_NE(Type(0), type); in TEST_F()
207 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
[all …]
DVtsScriptTests.cpp83 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
84 ASSERT_NE(Type(0), type); in TEST_F()
205 Type type = context->typeCreate(element, 64, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
206 ASSERT_NE(Type(0), type); in TEST_F()
251 Type type = context->typeCreate(element, 64, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
252 ASSERT_NE(Type(0), type); in TEST_F()
254 Type type2 = context->typeCreate(element, 1, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
255 ASSERT_NE(Type(0), type2); in TEST_F()
302 Type type = context->typeCreate(element, 64, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
303 ASSERT_NE(Type(0), type); in TEST_F()
[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/msm8998/sdm/libs/hwc2/
Dhwc_buffer_allocator.h41 template <class Type>
42 inline Type ALIGN(Type x, Type align) { in ALIGN()
/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/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/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/nxp/secure_element/libese-spi/p73/utils/
Dconfig.h24 enum Type { UNSIGNED, STRING, BYTES }; enum
26 Type getType() const;
34 Type type_;
/hardware/qcom/display/msm8226/libgralloc/
Dgr.h40 template <class Type>
41 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/interfaces/light/utils/
Dmain.cpp35 using ::android::hardware::light::V2_0::Type; in main()
48 service->getSupportedTypes([&](const hidl_vec<Type>& types) { in main()
49 for (Type type : types) { in main()
/hardware/interfaces/audio/effect/2.0/
DINoiseSuppressionEffect.hal39 enum Type : int32_t {
47 setSuppressionType(Type type) generates (Result retval);
52 getSuppressionType() generates (Result retval, Type type);
56 Type type;
/hardware/qcom/display/msm8084/libgralloc/
Dgr.h40 template <class Type>
41 inline Type ALIGN(Type x, Type align) { in ALIGN()
/hardware/interfaces/audio/effect/4.0/
DINoiseSuppressionEffect.hal39 enum Type : int32_t {
47 setSuppressionType(Type type) generates (Result retval);
52 getSuppressionType() generates (Result retval, Type type);
56 Type type;
/hardware/interfaces/audio/effect/5.0/
DINoiseSuppressionEffect.hal39 enum Type : int32_t {
47 setSuppressionType(Type type) generates (Result retval);
52 getSuppressionType() generates (Result retval, Type type);
56 Type type;

123456