Searched refs:Instance (Results 1 – 10 of 10) sorted by relevance
/cts/suite/audio_quality/lib/include/ |
D | Log.h | 36 static Log* Instance(const char* dirName = NULL); 55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \ 56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0) 57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0) 58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0) 59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0) 60 #define LOGV(x...) do { Log::Instance()->printf(Log::ELogV, x); } while(0) 62 #define MSG(x...) do { Log::Instance()->printf(Log::ELogE, x); } while(0) 64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \
|
D | Settings.h | 25 static Settings* Instance();
|
D | Report.h | 37 static Report* Instance(const char* dirName = NULL);
|
/cts/suite/audio_quality/executable/src/ |
D | main.cpp | 42 Settings::Instance()->getSetting(Settings::EREPORT_FILE).getPathDir(); in ~CleanupStatics() 94 if (Settings::Instance() == NULL) { in main() 100 Settings::Instance()->addSetting(Settings::EADB, strSerial); in main() 102 if (Log::Instance(dirName.string()) == NULL) { in main() 106 Log::Instance()->setLogLevel((Log::LogLevel)logLevel); in main() 108 if (Report::Instance(dirName.string()) == NULL) { in main() 120 if (!client->init(Settings::Instance()->getSetting(Settings::EADB))) { in main() 130 Settings::Instance()->addSetting(Settings::EDEVICE_INFO, deviceInfo); in main() 138 Settings::Instance()->addSetting(Settings::ETEST_XML, xmlFile); in main()
|
/cts/suite/audio_quality/lib/src/ |
D | Report.cpp | 26 Report* Report::Instance(const char* dirName) in Instance() function in Report 62 Settings::Instance()->addSetting(Settings::EREPORT_FILE, report); in init() 110 Settings::Instance()->getSetting(Settings::EREPORT_TIME).string()); in writeReport() 113 printf(" %s", Settings::Instance()->getSetting(Settings::EDEVICE_INFO).string()); in writeReport() 116 Settings::Instance()->getSetting(Settings::ETEST_XML).string()); in writeReport()
|
D | Settings.cpp | 22 Settings* Settings::Instance() in Instance() function in Settings
|
D | Log.cpp | 28 Log* Log::Instance(const char* dirName) in Instance() function in Log
|
D | FileUtil.cpp | 63 Settings::Instance()->addSetting(Settings::EREPORT_TIME, reportTime); in prepare()
|
/cts/suite/audio_quality/test/ |
D | LogTest.cpp | 32 Log::LogLevel level = Log::Instance()->getLogLevel(); in TEST_F() 36 Log::Instance()->setLogLevel(Log::ELogV); in TEST_F() 59 Log::Instance()->setLogLevel(level); in TEST_F()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskCase.cpp | 284 ASSERT(mClient->init(Settings::Instance()->getSetting(Settings::EADB))); in getRemoteAudio() 349 Report::Instance()->addCasePassed(this); in run() 355 Report::Instance()->addCaseFailed(this); in run()
|