Home
last modified time | relevance | path

Searched refs:TaskCase (Results 1 – 23 of 23) sorted by relevance

/cts/suite/audio_quality/lib/src/task/
DTaskCase.cpp34 TaskCase::TaskCase() in TaskCase() function in TaskCase
42 TaskCase::~TaskCase() in ~TaskCase()
47 bool TaskCase::getCaseName(android::String8& name) const in getCaseName()
56 bool TaskCase::addChild(TaskGeneric* child) in addChild()
138 bool TaskCase::registerBuffer(const android::String8& orig, android::sp<Buffer>& buffer) in registerBuffer()
147 bool TaskCase::updateBuffer(const android::String8& orig, android::sp<Buffer>& buffer) in updateBuffer()
156 android::sp<Buffer> TaskCase::findBuffer(const android::String8& orig) in findBuffer()
167 std::list<TaskCase::BufferPair>* TaskCase::findAllBuffers(const android::String8& re) in findAllBuffers()
177 bool TaskCase::registerValue(const android::String8& orig, Value& val) in registerValue()
187 bool TaskCase::updateValue(const android::String8& orig, Value& val) in updateValue()
[all …]
DTaskSave.cpp79 std::unique_ptr<std::list<TaskCase::BufferPair> > buffers( in handleFile()
81 std::list<TaskCase::BufferPair>* buffersp = buffers.get(); in handleFile()
86 std::list<TaskCase::BufferPair>::iterator it = buffersp->begin(); in handleFile()
87 std::list<TaskCase::BufferPair>::iterator end = buffersp->end(); in handleFile()
117 std::unique_ptr<std::list<TaskCase::ValuePair> > values( in handleReport()
119 std::list<TaskCase::ValuePair>* valuesp = values.get(); in handleReport()
124 std::list<TaskCase::ValuePair>::iterator it = values->begin(); in handleReport()
125 std::list<TaskCase::ValuePair>::iterator end = values->end(); in handleReport()
128 if (it->second.getType() == TaskCase::Value::ETypeDouble) { in handleReport()
DTaskProcess.cpp115 valuesPtr[i].reset(new TaskCase::Value()); in prepareParams()
132 if (list[i].getValue().getType() == TaskCase::Value::ETypeDouble) { in prepareParams()
225 TaskCase::Value* valuep = in doRun()
226 reinterpret_cast<TaskCase::Value*>((outputs.get())[i]); in doRun()
277 TaskCase::Value v(value); in parseParams()
283 TaskCase::Value v(value); in parseParams()
337 TaskProcess::Param::Param(TaskCase::Value& val) in Param()
355 TaskCase::Value& TaskProcess::Param::getValue() in getValue()
361 TaskCase::Value* TaskProcess::Param::getValuePtr() in getValuePtr()
DModelBuilder.cpp181 TaskCase* ModelBuilder::parseCase(const XMLElement& root) in parseCase()
184 return reinterpret_cast<TaskCase*>(parseGeneric(root, 0)); in parseCase()
207 std::unique_ptr<TaskCase> testCase; in parseBatch()
237 TaskCase* ModelBuilder::parseInclude(const XMLElement& elem, const android::String8& path) in parseInclude()
248 return reinterpret_cast<TaskCase*>(parseTestDescriptionXml(incFile, true)); in parseInclude()
DTaskGeneric.cpp65 TaskCase* TaskGeneric::getTestCase() in getTestCase()
72 return reinterpret_cast<TaskCase*>(task); in getTestCase()
/cts/suite/audio_quality/test/
DSignalProcessingInterfaceTest.cpp63 TaskCase::Value in2(1.0f); in TEST_F()
64 TaskCase::Value in3((int64_t)100); in TEST_F()
77 TaskCase::Value out2(-1.0f); in TEST_F()
78 TaskCase::Value out3((int64_t)1000); in TEST_F()
97 TaskCase::Value in0((int64_t)10); in TEST_F()
98 TaskCase::Value in1((int64_t)100); in TEST_F()
101 TaskCase::Value out0((int64_t)0); in TEST_F()
122 TaskCase::Value in0((int64_t)10); in TEST_F()
123 TaskCase::Value in1((int64_t)100); in TEST_F()
126 TaskCase::Value out0((int64_t)0); in TEST_F()
[all …]
DTaskCaseTest.cpp27 TaskCase* mTaskCase;
29 mTaskCase = new TaskCase(); in SetUp()
61 std::list<TaskCase::BufferPair>* list = mTaskCase->findAllBuffers(RE); in TEST_F()
71 TaskCase::Value val1(1.0f); in TEST_F()
72 TaskCase::Value val2(2.0f); in TEST_F()
73 TaskCase::Value val3((int64_t)1); in TEST_F()
74 TaskCase::Value val4((int64_t)2); in TEST_F()
75 TaskCase::Value val2_copy(2.0f); in TEST_F()
91 TaskCase::Value valRead; in TEST_F()
94 TaskCase::Value val4_2((int64_t)3); in TEST_F()
[all …]
DTaskCaseCommon.h31 inline TaskCase* getTaskCase(TaskGeneric*& setup, TaskGeneric*& action) in getTaskCase()
34 TaskCase* taskCase = new TaskCase(); in getTaskCase()
DAudioHardwareTest.cpp39 TaskCase* testCase = new TaskCase(); in TEST_F()
DTaskSequentialTest.cpp20 TaskCase* mTestCase;
53 std::list<TaskCase::IndexPair>* indices = mTestCase->findAllIndices(RE); in TEST_F()
DTaskTest.cpp25 TaskCase* mTestCase;
68 mTestCase = new TaskCase(); in SetUp()
DTaskProcessTest.cpp22 TaskCase* mTestCase;
/cts/suite/audio_quality/lib/include/task/
DTaskProcess.h45 typedef std::unique_ptr<TaskCase::Value> UniqueValue;
72 explicit Param(TaskCase::Value& val);
75 TaskCase::Value& getValue();
76 TaskCase::Value* getValuePtr();
83 TaskCase::Value mValue;
DModelBuilder.h54 virtual TaskCase* parseCase(const tinyxml2::XMLElement& root);
56 virtual TaskCase* parseInclude(const tinyxml2::XMLElement& elem, const android::String8& path);
DTaskCase.h34 class TaskCase: public TaskGeneric {
36 TaskCase();
37 virtual ~TaskCase();
DTaskGeneric.h28 class TaskCase; variable
86 TaskCase* getTestCase();
/cts/suite/audio_quality/lib/src/
DBuiltinProcessing.cpp52 int64_t passMin = (reinterpret_cast<TaskCase::Value*>(inputs[1]))->getInt64(); in rms_mva()
53 int64_t passMax = (reinterpret_cast<TaskCase::Value*>(inputs[2]))->getInt64(); in rms_mva()
79 TaskCase::Value* rmsVal = reinterpret_cast<TaskCase::Value*>(outputs[0]); in rms_mva()
DSignalProcessingImpl.cpp143 TaskCase::Value* val = reinterpret_cast<TaskCase::Value*>(inputs[i]); in run()
144 bool isI64 = (val->getType() == TaskCase::Value::ETypeI64); in run()
221 TaskCase::Value* val = reinterpret_cast<TaskCase::Value*>(outputs[i]); in run()
228 val->setType(TaskCase::Value::ETypeI64); in run()
230 val->setType(TaskCase::Value::ETypeDouble); in run()
DReport.cpp74 void Report::addCasePassed(const TaskCase* task) in addCasePassed()
82 void Report::addCaseFailed(const TaskCase* task) in addCaseFailed()
DGenericFactory.cpp34 task = new TaskCase(); in createTask()
/cts/suite/audio_quality/lib/include/
DReport.h26 class TaskCase; variable
41 void addCasePassed(const TaskCase* task);
42 void addCaseFailed(const TaskCase* task);
/cts/suite/audio_quality/lib/include/audio/
DAudioHardware.h24 class TaskCase; variable
58 TaskCase* testCase = NULL);
70 virtual bool startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase = NULL);
/cts/suite/audio_quality/lib/src/audio/
DAudioHardware.cpp77 TaskCase* testCase) in createAudioHw()
109 bool AudioHardware::startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase) in startPlaybackOrRecordById()