/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 34 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 …]
|
D | TaskSave.cpp | 79 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()
|
D | TaskProcess.cpp | 115 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()
|
D | ModelBuilder.cpp | 181 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()
|
D | TaskGeneric.cpp | 65 TaskCase* TaskGeneric::getTestCase() in getTestCase() 72 return reinterpret_cast<TaskCase*>(task); in getTestCase()
|
/cts/suite/audio_quality/test/ |
D | SignalProcessingInterfaceTest.cpp | 63 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 …]
|
D | TaskCaseTest.cpp | 27 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 …]
|
D | TaskCaseCommon.h | 31 inline TaskCase* getTaskCase(TaskGeneric*& setup, TaskGeneric*& action) in getTaskCase() 34 TaskCase* taskCase = new TaskCase(); in getTaskCase()
|
D | AudioHardwareTest.cpp | 39 TaskCase* testCase = new TaskCase(); in TEST_F()
|
D | TaskSequentialTest.cpp | 20 TaskCase* mTestCase; 53 std::list<TaskCase::IndexPair>* indices = mTestCase->findAllIndices(RE); in TEST_F()
|
D | TaskTest.cpp | 25 TaskCase* mTestCase; 68 mTestCase = new TaskCase(); in SetUp()
|
D | TaskProcessTest.cpp | 22 TaskCase* mTestCase;
|
/cts/suite/audio_quality/lib/include/task/ |
D | TaskProcess.h | 45 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;
|
D | ModelBuilder.h | 54 virtual TaskCase* parseCase(const tinyxml2::XMLElement& root); 56 virtual TaskCase* parseInclude(const tinyxml2::XMLElement& elem, const android::String8& path);
|
D | TaskGeneric.h | 28 class TaskCase; variable 86 TaskCase* getTestCase();
|
D | TaskCase.h | 34 class TaskCase: public TaskGeneric { 36 TaskCase(); 37 virtual ~TaskCase();
|
/cts/suite/audio_quality/lib/src/ |
D | BuiltinProcessing.cpp | 52 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()
|
D | SignalProcessingImpl.cpp | 143 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()
|
D | Report.cpp | 74 void Report::addCasePassed(const TaskCase* task) in addCasePassed() 82 void Report::addCaseFailed(const TaskCase* task) in addCaseFailed()
|
D | GenericFactory.cpp | 34 task = new TaskCase(); in createTask()
|
/cts/suite/audio_quality/lib/include/ |
D | Report.h | 26 class TaskCase; variable 41 void addCasePassed(const TaskCase* task); 42 void addCaseFailed(const TaskCase* task);
|
/cts/suite/audio_quality/lib/include/audio/ |
D | AudioHardware.h | 24 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/ |
D | AudioHardware.cpp | 77 TaskCase* testCase) in createAudioHw() 109 bool AudioHardware::startPlaybackOrRecordById(const android::String8& id, TaskCase* testCase) in startPlaybackOrRecordById()
|