Searched refs:TestCase (Results 1 – 4 of 4) sorted by relevance
/system/extras/tests/sdcard/ |
D | testcase.cpp | 42 TestCase::TestCase(const char *appName) in TestCase() function in android_test::TestCase 69 TestCase::~TestCase() in ~TestCase() 78 bool TestCase::runTest() in runTest() 110 write(mIpc[TestCase::WRITE_TO_PARENT], buffer, str - buffer); in runTest() 143 void TestCase::setIter(size_t iter) in setIter() 148 void TestCase::createTimers() in createTimers() 171 bool TestCase::setTypeFromName(const char *test_name) in setTypeFromName() 183 void TestCase::setSync(Sync s) in setSync() 188 const char *TestCase::syncAsStr() const in syncAsStr() 193 void TestCase::setFadvise(const char *advice) in setFadvise() [all …]
|
D | sdcard_perf_test.cpp | 103 using android_test::TestCase; 149 void printHeader(int argc, char **argv, const TestCase& testCase) in printHeader() 204 void parseCmdLine(int argc, char **argv, TestCase *testCase)\ in parseCmdLine() 252 testCase->setSync(TestCase::SYNC); in parseCmdLine() 254 testCase->setSync(TestCase::FSYNC); in parseCmdLine() 290 bool readData(char *const chunk, const int idx, TestCase *testCase) in readData() 352 bool testRead(TestCase *testCase) { in testRead() 366 if (testCase->type() == TestCase::READ_WRITE) in testRead() 368 iter *= TestCase::kReadWriteFactor; in testRead() 418 bool writeData(const char *const chunk, const int idx, TestCase *testCase) { in writeData() [all …]
|
D | testcase.h | 42 class TestCase { 53 TestCase(const char *appName); 55 ~TestCase(); 127 bool (*mTestBody)(TestCase *);
|
/system/core/libctest/ |
D | ctest.c | 30 typedef void TestCase(); typedef 36 TestCase* tests[MAX_TESTS]; 58 void addNamedTest(const char* name, TestCase* test) { in addNamedTest()
|