Home
last modified time | relevance | path

Searched refs:level (Results 1 - 4 of 4) sorted by relevance

/ide/tools/previewer/mock/lite/
H A DBatteryModuleImpl.cpp28 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 DBatteryModuleImplTest.cpp30 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 DPreviewerEngineLog.cpp30 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 DPreviewerEngineLog.h25 void PrintLog(const char* level, const char* file, const char* func, int line,

Completed in 1 milliseconds