Searched refs:level (Results 1 - 4 of 4) sorted by relevance
| /ide/tools/previewer/mock/lite/ |
| H A D | BatteryModuleImpl.cpp | 28 int32_t GetBatteryStatus(bool *charging, double *level) in GetBatteryStatus() argument 34 if (level == nullptr) { in GetBatteryStatus() 35 ILOG("level is nullptr"); in GetBatteryStatus() 38 *level = SharedData<double>::GetData(SharedDataType::BATTERY_LEVEL); in GetBatteryStatus() 40 ILOG("Battery charge state: %d level: %f", charging, level); in GetBatteryStatus()
|
| /ide/tools/previewer/test/unittest/mock_lite/ |
| H A D | BatteryModuleImplTest.cpp | 30 double *level = nullptr; in TEST() local 31 int32_t ret = GetBatteryStatus(charging, level); in TEST() 36 int32_t ret1 = GetBatteryStatus(&testCharging, level); in TEST()
|
| /ide/tools/previewer/util/ |
| H A D | PreviewerEngineLog.cpp | 30 void PrintLog(const char* level, const char* file, const char* func, int line, const char* fmt, ...) in PrintLog() argument 33 std::string levelStr(level); in PrintLog() 54 fprintf(stdout, "[%s][%s][%s][%d]%s:%s\n", level, fileStr.c_str(), func, line, in PrintLog()
|
| H A D | PreviewerEngineLog.h | 25 void PrintLog(const char* level, const char* file, const char* func, int line,
|
Completed in 1 milliseconds