/aosp12/system/tools/hidl/ |
H A D | MemoryType.cpp | 26 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 D | MemoryType.h | 25 struct MemoryType : public Type { struct 26 MemoryType(Scope* parent);
|
H A D | hidl-gen_l.ll | 41 #include "MemoryType.h" 133 "memory" { yylval->type = new MemoryType(*scope); return token::TYPE; }
|
H A D | Android.bp | 94 "MemoryType.cpp",
|
/aosp12/art/runtime/mirror/ |
H A D | string-inl.h | 58 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 D | string.h | 184 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 D | GeneratedTestHarness.cpp | 83 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 D | GeneratedTestHarness.cpp | 60 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 D | Utils.h | 112 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum 126 MemoryType memoryType = MemoryType::ASHMEM);
|
H A D | Utils.cpp | 180 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 D | Utils.h | 79 enum class MemoryType { ASHMEM, BLOB_AHWB, DEVICE }; enum 93 MemoryType memoryType = MemoryType::ASHMEM);
|
/aosp12/art/libdexfile/dex/ |
H A D | utf.h | 79 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 D | Utils.cpp | 102 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 D | GeneratedTestHarness.cpp | 71 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 D | SensorDirectChannel.java | 47 public @interface MemoryType {} annotation in SensorDirectChannel
|
H A D | Sensor.java | 875 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()
|