Home
last modified time | relevance | path

Searched refs:convertTo (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/media/libmedia/include/media/
Dconvert.h54 static inline bool convertTo(const srcType &input, dstType &result);
202 if (not convertTo(*it, dstElem)) {
214 static inline bool convertTo(const srcType &input, dstType &result)
234 inline bool convertTo<std::string, int16_t>(const std::string &str, int16_t &result)
238 if (!convertTo<std::string, int64_t>(str, res)) {
266 inline bool convertTo<std::string, float>(const std::string &str, float &result)
296 inline bool convertTo<std::string, double>(const std::string &str, double &result)
328 inline bool convertTo<std::string, bool>(const std::string &str, bool &result)
356 inline bool convertTo<bool, std::string>(const bool &isSet, std::string &result)
375 inline bool convertTo<std::string, std::string>(const std::string &str, std::string &result)
DOMXFenceParcelable.h33 bool convertTo(::android::OMXFenceParcelable* l,
39 bool convertTo(::android::OMXFenceParcelable* l,
65 convertTo)(OMXFenceParcelable* l,
71 convertTo)(OMXFenceParcelable* l,
DOMXBuffer.h37 inline bool convertTo(::android::OMXBuffer* l,
43 inline bool convertTo(::android::OMXBuffer* l,
101 convertTo)(OMXBuffer* l,
107 convertTo)(OMXBuffer* l,
DTypeConverter.h107 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) {
/frameworks/av/include/media/
Dconvert.h54 static inline bool convertTo(const srcType &input, dstType &result);
202 if (not convertTo(*it, dstElem)) {
214 static inline bool convertTo(const srcType &input, dstType &result)
234 inline bool convertTo<std::string, int16_t>(const std::string &str, int16_t &result)
238 if (!convertTo<std::string, int64_t>(str, res)) {
266 inline bool convertTo<std::string, float>(const std::string &str, float &result)
296 inline bool convertTo<std::string, double>(const std::string &str, double &result)
328 inline bool convertTo<std::string, bool>(const std::string &str, bool &result)
356 inline bool convertTo<bool, std::string>(const bool &isSet, std::string &result)
375 inline bool convertTo<std::string, std::string>(const std::string &str, std::string &result)
DOMXFenceParcelable.h33 bool convertTo(::android::OMXFenceParcelable* l,
39 bool convertTo(::android::OMXFenceParcelable* l,
65 convertTo)(OMXFenceParcelable* l,
71 convertTo)(OMXFenceParcelable* l,
DOMXBuffer.h37 inline bool convertTo(::android::OMXBuffer* l,
43 inline bool convertTo(::android::OMXBuffer* l,
101 convertTo)(OMXBuffer* l,
107 convertTo)(OMXBuffer* l,
DTypeConverter.h107 if (utilities::convertTo<std::string, typename Traits::Type >(cstr, value)) {
/frameworks/base/core/java/android/hardware/camera2/utils/
DArrayUtils.java78 List<String> list, String[] convertFrom, int[] convertTo) { in convertStringListToIntArray() argument
83 List<Integer> convertedList = convertStringListToIntList(list, convertFrom, convertTo); in convertStringListToIntArray()
108 List<String> list, String[] convertFrom, int[] convertTo) { in convertStringListToIntList() argument
125 if (strIndex < convertTo.length) { in convertStringListToIntList()
126 convertedList.add(convertTo[strIndex]); in convertStringListToIntList()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp144 inline bool convertTo(GraphicBuffer* l, AnwBuffer const& t) { in convertTo() function
346 inline bool convertTo(Fence* l, hidl_handle const& t) { in convertTo() function
865 inline bool convertTo( in convertTo() function
932 inline bool convertTo( in convertTo() function
935 if (!convertTo(&(l->frameTimestamps), t.frameTimestamps)) { in convertTo()
974 if (!convertTo(buf->get(), buffer)) { in requestBuffer()
1007 if (!convertTo(fence->get(), tFence)) { in dequeueBuffer()
1012 if (outTimestamps && !convertTo(outTimestamps, tTs)) { in dequeueBuffer()
1036 if (!convertTo(outFence->get(), tFence)) { in detachNextBuffer()
1041 if (!convertTo(outBuffer->get(), tBuffer)) { in detachNextBuffer()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSerializer.cpp44 using utilities::convertTo;
144 if (!minValueMBLiteral.empty() && convertTo(minValueMBLiteral, minValueMB)) { in deserialize()
150 if (!maxValueMBLiteral.empty() && convertTo(maxValueMBLiteral, maxValueMB)) { in deserialize()
156 if (!defaultValueMBLiteral.empty() && convertTo(defaultValueMBLiteral, defaultValueMB)) { in deserialize()
162 if (!stepValueMBLiteral.empty() && convertTo(stepValueMBLiteral, stepValueMB)) { in deserialize()
168 if (!minRampMsLiteral.empty() && convertTo(minRampMsLiteral, minRampMs)) { in deserialize()
174 if (!maxRampMsLiteral.empty() && convertTo(maxRampMsLiteral, maxRampMs)) { in deserialize()
501 convertTo<string, bool>(speakerDrcEnabled, isSpeakerDrcEnabled)) { in deserialize()
DConfigParsingUtils.cpp379 if (utilities::convertTo<std::string, bool>(node->value, speakerDrcEnabled)) { in loadGlobalConfig()
/frameworks/av/include/media/omx/1.0/
DConversion.h381 inline bool convertTo(omx_message* l, Message const& t) { in convertTo() function
442 inline bool convertTo(OMXFenceParcelable* l, hidl_handle const& t) { in convertTo() function
580 inline bool convertTo(GraphicBuffer* l, AnwBuffer const& t) { in convertTo() function
690 inline bool convertTo(OMXBuffer* l, CodecBuffer const& t) { in convertTo() function
715 if (!convertTo(graphicBuffer.get(), anwBuffer)) { in convertTo()
737 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo() function
754 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo() function
/frameworks/av/media/libstagefright/omx/1.0/
DConversion.h374 inline bool convertTo(omx_message* l, Message const& t) { in convertTo() function
435 inline bool convertTo(OMXFenceParcelable* l, hidl_handle const& t) { in convertTo() function
573 inline bool convertTo(GraphicBuffer* l, AnwBuffer const& t) { in convertTo() function
697 inline bool convertTo(OMXBuffer* l, CodecBuffer const& t) { in convertTo() function
722 if (!convertTo(graphicBuffer.get(), anwBuffer)) { in convertTo()
744 inline bool convertTo(IOmx::ComponentInfo* t, IOMX::ComponentInfo const& l) { in convertTo() function
761 inline bool convertTo(IOMX::ComponentInfo* l, IOmx::ComponentInfo const& t) { in convertTo() function
1132 inline bool convertTo(Fence* l, hidl_handle const& t) { in convertTo() function
1656 inline bool convertTo( in convertTo() function
1780 inline bool convertTo(Region* t, ::android::Region const& l) { in convertTo() function
[all …]
DWOmxNode.cpp366 if (!convertTo(&omxBuffer, codecBuffer)) { in useBuffer()
384 if (!convertTo(&omxBuffer, codecBuffer)) { in fillBuffer()
397 if (!convertTo(&omxBuffer, codecBuffer)) { in emptyBuffer()
420 if (!convertTo(&lMsg, tMsg)) { in dispatchMessage()
DWGraphicBufferProducer.cpp147 if (!convertTo(lBuffer.get(), buffer)) { in attachBuffer()
168 if (!convertTo(&lInput, input)) { in queueBuffer()
198 if (!convertTo(lFence.get(), fence)) { in cancelBuffer()
DWOmxObserver.cpp66 convertTo(&lMessages.back(), tMessages[i]); in onMessages()
DWOmxBufferSource.cpp97 if (!convertTo(&fenceParcelable, fence)) { in onInputBufferEmptied()
DOmx.cpp79 convertTo(&(tList[i++]), info); in listNodes()
/frameworks/av/media/libmedia/omx/1.0/
DWOmxNode.cpp363 if (!convertTo(&omxBuffer, codecBuffer)) { in useBuffer()
381 if (!convertTo(&omxBuffer, codecBuffer)) { in fillBuffer()
394 if (!convertTo(&omxBuffer, codecBuffer)) { in emptyBuffer()
417 if (!convertTo(&lMsg, tMsg)) { in dispatchMessage()
DWOmxObserver.cpp66 convertTo(&lMessages.back(), tMessages[i]); in onMessages()
DWOmxBufferSource.cpp97 if (!convertTo(&fenceParcelable, fence)) { in onInputBufferEmptied()
DWOmx.cpp51 convertTo(&*newInfo, nodeList[i]); in listNodes()
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
DParameterManagerWrapper.cpp62 using utilities::convertTo;
167 if (!convertTo<string, uint32_t>(first, index)) { in loadCriterionType()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/
DSetterStore.java382 HashMap<String, MethodDescription> convertTo = mStore.conversionMethods.get(fromType); in addConversionMethod() local
383 if (convertTo == null) { in addConversionMethod()
384 convertTo = new HashMap<String, MethodDescription>(); in addConversionMethod()
385 mStore.conversionMethods.put(fromType, convertTo); in addConversionMethod()
387 convertTo.put(toType, methodDescription); in addConversionMethod()
975 ModelClass convertTo = mClassAnalyzer.findClass(toClassName, in getConversionMethod() local
977 if (canUseForConversion(convertTo, to)) { in getConversionMethod()

12