/hardware/interfaces/light/2.0/vts/functional/ |
D | VtsHalLightV2_0TargetTest.cpp | 34 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/ |
D | Light.cpp | 46 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 …]
|
D | Light.h | 35 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/ |
D | Light.cpp | 46 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 …]
|
D | Light.h | 38 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/ |
D | Light.cpp | 46 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 …]
|
D | Light.h | 38 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/aidl/utils/include/nnapi/hal/aidl/ |
D | Utils.h | 52 template <typename Type> 53 nn::Result<void> validate(const Type& halObject) { in validate() 61 template <typename Type> 62 bool valid(const Type& halObject) { in valid() 70 template <typename Type> 71 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() 79 template <typename Type> 80 auto convertFromNonCanonical(const Type& nonCanonicalObject) 85 template <typename Type> 86 constexpr std::underlying_type_t<Type> underlyingType(Type value) { in underlyingType() [all …]
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/ |
D | Utils.h | 105 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/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Utils.h | 33 template <typename Type> 34 nn::Result<void> validate(const Type& halObject) { in validate() 42 template <typename Type> 43 bool valid(const Type& halObject) { in valid() 51 template <typename Type> 52 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() 60 template <typename Type> 61 auto convertFromNonCanonical(const Type& nonCanonicalObject)
|
D | HandleError.h | 29 template <typename Type> 30 nn::GeneralResult<Type> handleTransportError(const Return<Type>& ret) { in handleTransportError() 39 if constexpr (!std::is_same_v<Type, void>) { in handleTransportError() 40 return static_cast<Type>(ret); in handleTransportError()
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Utils.h | 35 template <typename Type> 36 nn::Result<void> validate(const Type& halObject) { in validate() 44 template <typename Type> 45 bool valid(const Type& halObject) { in valid() 53 template <typename Type> 54 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() 62 template <typename Type> 63 auto convertFromNonCanonical(const Type& nonCanonicalObject)
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | TransferValue.h | 64 template <typename Type> 69 void put(Type object) const; 74 [[nodiscard]] Type take() const; 79 mutable std::optional<Type> mObject GUARDED_BY(mMutex); 100 template <typename Type> 101 void TransferValue<Type>::put(Type object) const { in put() 111 template <typename Type> 112 Type TransferValue<Type>::take() const { in take() 117 std::optional<Type> object; in take()
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Utils.h | 44 template <typename Type> 45 nn::Result<void> validate(const Type& halObject) { in validate() 53 template <typename Type> 54 bool valid(const Type& halObject) { in valid() 62 template <typename Type> 63 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() 71 template <typename Type> 72 auto convertFromNonCanonical(const Type& nonCanonicalObject)
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Utils.h | 44 template <typename Type> 45 nn::Result<void> validate(const Type& halObject) { in validate() 53 template <typename Type> 54 bool valid(const Type& halObject) { in valid() 62 template <typename Type> 63 nn::Result<void> compliantVersion(const Type& canonical) { in compliantVersion() 71 template <typename Type> 72 auto convertFromNonCanonical(const Type& nonCanonicalObject)
|
/hardware/interfaces/renderscript/1.0/vts/functional/ |
D | VtsCopyTests.cpp | 36 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 …]
|
/hardware/interfaces/radio/1.0/ |
D | IRadioIndication.hal | 26 * @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/neuralnetworks/aidl/vts/functional/ |
D | Utils.h | 138 template <typename Type> 139 using Named = std::pair<std::string, Type>; 141 template <typename Type> 142 const std::string& getName(const Named<Type>& namedData) { in getName() 146 template <typename Type> 147 const Type& getData(const Named<Type>& namedData) { in getData()
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Conversions.cpp | 49 template <typename Type> 50 GeneralResult<std::vector<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() 51 const hidl_vec<Type>& arguments) { in unvalidatedConvert() 52 std::vector<UnvalidatedConvertOutput<Type>> canonical; in unvalidatedConvert() 60 template <typename Type> 61 GeneralResult<UnvalidatedConvertOutput<Type>> validatedConvert(const Type& halObject) { in validatedConvert() 179 template <typename Type> 180 nn::GeneralResult<hidl_vec<UnvalidatedConvertOutput<Type>>> unvalidatedConvert( in unvalidatedConvert() 181 const std::vector<Type>& arguments) { in unvalidatedConvert() 182 hidl_vec<UnvalidatedConvertOutput<Type>> halObject(arguments.size()); in unvalidatedConvert() [all …]
|
/hardware/interfaces/confirmationui/support/test/ |
D | android_cbor_test.cpp | 163 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/ |
D | hwc_buffer_allocator.h | 41 template <class Type> 42 inline Type ALIGN(Type x, Type align) { in ALIGN()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 41 template <class Type> 42 inline Type ALIGN(Type x, Type align) { in ALIGN()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 41 template <class Type> 42 inline Type ALIGN(Type x, Type align) { in ALIGN()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 41 template <class Type> 42 inline Type ALIGN(Type x, Type align) { in ALIGN()
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | ValidateRequest.cpp | 53 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()
|