Home
last modified time | relevance | path

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

/aosp12/system/tools/hidl/
H A DMemoryType.cpp26 MemoryType::MemoryType(Scope* parent) : Type(parent, "memory") {} in MemoryType() function in android::MemoryType
28 std::string MemoryType::getCppType(StorageMode mode, in getCppType()
46 std::string MemoryType::typeName() const { in typeName()
50 std::string MemoryType::getVtsType() const { in getVtsType()
58 std::string MemoryType::getJavaSuffix() const { in getJavaSuffix()
62 void MemoryType::emitJavaFieldInitializer( in emitJavaFieldInitializer()
68 void MemoryType::emitJavaFieldDefaultInitialValue( in emitJavaFieldDefaultInitialValue()
140 void MemoryType::emitReaderWriter( in emitReaderWriter()
195 void MemoryType::emitReaderWriterEmbedded( in emitReaderWriterEmbedded()
226 bool MemoryType::resultNeedsDeref() const { in resultNeedsDeref()
[all …]
H A DMemoryType.h25 struct MemoryType : public Type { struct
26 MemoryType(Scope* parent);
H A Dhidl-gen_l.ll41 #include "MemoryType.h"
133 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; }
H A DAndroid.bp94 "MemoryType.cpp",
/aosp12/art/runtime/mirror/
H A Dstring-inl.h58 template <typename MemoryType>
59 int32_t String::FastIndexOf(MemoryType* chars, int32_t ch, int32_t start) { in FastIndexOf()
60 const MemoryType* p = chars + start; in FastIndexOf()
61 const MemoryType* end = chars + GetLength(); in FastIndexOf()
95 template<typename MemoryType>
96 inline bool String::AllASCII(const MemoryType* chars, const int length) { in AllASCII()
97 static_assert(std::is_unsigned<MemoryType>::value, "Expecting unsigned MemoryType"); in AllASCII()
H A Dstring.h184 template <typename MemoryType>
185 int32_t FastIndexOf(MemoryType* chars, int32_t ch, int32_t start)
204 template<typename MemoryType>
205 static bool AllASCII(const MemoryType* chars, const int length);
/aosp12/hardware/interfaces/neuralnetworks/1.3/vts/functional/
H A DGeneratedTestHarness.cpp83 MemoryType memoryType;
89 MemoryType memoryType) in TestConfig()
380 } else if (memoryType == MemoryType::DEVICE) { in createRequest()
406 if (memoryType == MemoryType::DEVICE) { in createRequest()
441 if (memoryType == MemoryType::BLOB_AHWB) { in createRequest()
793 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
800 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
806 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
812 memoryTypeList = {MemoryType::BLOB_AHWB, MemoryType::DEVICE}; in EvaluatePreparedModel()
818 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
[all …]
/aosp12/hardware/interfaces/neuralnetworks/aidl/vts/functional/
H A DGeneratedTestHarness.cpp60 MemoryType memoryType;
368 } else if (memoryType == MemoryType::DEVICE) { in createRequest()
397 if (memoryType == MemoryType::DEVICE) { in createRequest()
429 if (memoryType == MemoryType::DEVICE && mBuffers.empty()) { in createRequest()
434 if (memoryType == MemoryType::BLOB_AHWB) { in createRequest()
772 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
779 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
785 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
791 memoryTypeList = {MemoryType::BLOB_AHWB, MemoryType::DEVICE}; in EvaluatePreparedModel()
797 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
[all …]
H A DUtils.h112 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum
126 MemoryType memoryType = MemoryType::ASHMEM);
H A DUtils.cpp180 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
181 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
222 if (memoryType == MemoryType::ASHMEM) { in createRequest()
/aosp12/hardware/interfaces/neuralnetworks/1.0/vts/functional/include/1.0/
H A DUtils.h79 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum
93 MemoryType memoryType = MemoryType::ASHMEM);
/aosp12/art/libdexfile/dex/
H A Dutf.h79 template<typename MemoryType>
80 int32_t ComputeUtf16Hash(const MemoryType* chars, size_t char_count) { in ComputeUtf16Hash()
/aosp12/hardware/interfaces/neuralnetworks/1.0/vts/functional/
H A DUtils.cpp102 Request ExecutionContext::createRequest(const TestModel& testModel, MemoryType memoryType) { in createRequest()
103 CHECK(memoryType == MemoryType::ASHMEM || memoryType == MemoryType::BLOB_AHWB); in createRequest()
144 if (memoryType == MemoryType::ASHMEM) { in createRequest()
/aosp12/hardware/interfaces/neuralnetworks/1.2/vts/functional/
H A DGeneratedTestHarness.cpp71 MemoryType memoryType;
342 std::vector<MemoryType> memoryTypeList; in EvaluatePreparedModel()
348 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
353 memoryTypeList = {MemoryType::ASHMEM}; in EvaluatePreparedModel()
359 for (const MemoryType memoryType : memoryTypeList) { in EvaluatePreparedModel()
/aosp12/frameworks/base/core/java/android/hardware/
H A DSensorDirectChannel.java47 public @interface MemoryType {} annotation in SensorDirectChannel
H A DSensor.java875 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()