Home
last modified time | relevance | path

Searched refs:level (Results 1 – 25 of 171) sorted by relevance

1234567

/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DErrors.java32 private int level = 0; field in Errors
49 level = Math.max(level, LEVEL_FATAL); in addFatal()
54 level = Math.max(level, LEVEL_ERROR); in addError()
59 level = Math.max(level, LEVEL_WARNING); in addWarning()
77 return level >= LEVEL_ERROR; in hasError()
81 return level >= LEVEL_FATAL; in hasFatal()
/system/connectivity/wificond/scanning/
Dradio_chain_info.h31 RadioChainInfo(int32_t chain_id, int32_t level) in RadioChainInfo() argument
32 : chain_id(chain_id), level(level) {} in RadioChainInfo()
34 : chain_id(0), level(0) {} in RadioChainInfo()
36 return chain_id == rhs.chain_id && level == rhs.level;
42 int32_t level; variable
Dradio_chain_info.cpp32 RETURN_IF_FAILED(parcel->writeInt32(level)); in writeToParcel()
38 RETURN_IF_FAILED(parcel->readInt32(&level)); in readFromParcel()
/system/core/libcutils/
Dklog.cpp33 void klog_set_level(int level) { in klog_set_level() argument
34 klog_level = level; in klog_set_level()
47 void klog_writev(int level, const struct iovec* iov, int iov_count) { in klog_writev() argument
48 if (level > klog_level) return; in klog_writev()
55 void klog_write(int level, const char* fmt, ...) { in klog_write() argument
56 if (level > klog_level) return; in klog_write()
69 klog_writev(level, iov, 1); in klog_write()
/system/chre/platform/slpi/
Dchre_api_re.cc23 inline void logToFarf(enum chreLogLevel level, const char *logStr) { in logToFarf() argument
24 switch (level) { in logToFarf()
42 inline ashLogLevel chreLogLevelToAshLogLevel(enum chreLogLevel level) { in chreLogLevelToAshLogLevel() argument
44 switch (level) { in chreLogLevelToAshLogLevel()
63 DLL_EXPORT void chreLog(enum chreLogLevel level, const char *formatStr, ...) { in chreLog() argument
74 logToFarf(level, logBuf); in chreLog()
76 ashVaLog(ASH_SOURCE_CHRE, chreLogLevelToAshLogLevel(level), formatStr, args); in chreLog()
/system/nvram/core/include/nvram/core/
Dlogger.h43 #define NVRAM_LOG_EMIT(level, fmt, ...) \ argument
44 LOG_PRI(NVRAM_ANDROID_LOG_PRI_##level, LOG_TAG, fmt, ##__VA_ARGS__)
53 #define NVRAM_LOG_EMIT(level, fmt, ...) \ argument
63 #define NVRAM_LOG(level, fmt, ...) \ argument
65 if (NVRAM_LOG_LEVEL_##level <= NVRAM_LOG_LEVEL) { \
66 NVRAM_LOG_EMIT(level, __FILE__ ":" NVRAM_STRINGIFY(__LINE__) ": " fmt, \
/system/chre/platform/linux/include/chre/target_platform/
Dlog.h31 #define CHRE_LINUX_LOG(level, color, fmt, ...) \ argument
33 level, __FILENAME__, __LINE__, ##__VA_ARGS__)
37 #define CHRE_LINUX_LOG(level, color, fmt, ...) \ argument
40 level, __FILENAME__, __LINE__, ##__VA_ARGS__)
/system/chre/platform/slpi/include/chre/target_platform/
Dlog.h32 #define CHRE_SLPI_LOG(level, fmt, ...) \ argument
35 FARF(level, fmt, ##__VA_ARGS__); \
44 #define CHRE_SLPI_LOG(level, fmt, ...) \ argument
47 ashLog(ASH_SOURCE_CHRE, level, fmt, ##__VA_ARGS__); \
/system/tools/hidl/host_utils/
DFormatter.cpp40 void Formatter::indent(size_t level) { in indent() argument
41 mIndentDepth += level; in indent()
44 void Formatter::unindent(size_t level) { in unindent() argument
45 assert(mIndentDepth >= level); in unindent()
46 mIndentDepth -= level; in unindent()
49 Formatter& Formatter::indent(size_t level, const std::function<void(void)>& func) { in indent() argument
50 this->indent(level); in indent()
52 this->unindent(level); in indent()
/system/keymaster/android_keymaster/
Dlogger.cpp24 int Logger::Log(LogLevel level, const char* fmt, va_list args) { in Log() argument
27 return instance_->log_msg(level, fmt, args); in Log()
31 int Logger::Log(LogLevel level, const char* fmt, ...) { in Log() argument
34 int result = Log(level, fmt, args); in Log()
/system/core/libcutils/include/cutils/
Dklog.h26 void klog_set_level(int level);
28 void klog_write(int level, const char *fmt, ...)
30 void klog_writev(int level, const struct iovec* iov, int iov_count);
/system/core/libcutils/include_vndk/cutils/
Dklog.h26 void klog_set_level(int level);
28 void klog_write(int level, const char *fmt, ...)
30 void klog_writev(int level, const struct iovec* iov, int iov_count);
/system/chre/util/include/chre/util/nanoapp/
Dlog.h44 #define CHRE_LOG(level, fmt, ...) \ argument
47 chreLog(level, LOG_TAG " " fmt, ##__VA_ARGS__); \
77 void chreLog(enum chreLogLevel level, const char *formatStr, ...);
/system/core/lmkd/
Dlmkd.c1506 enum vmpressure_level upgrade_level(enum vmpressure_level level) { in upgrade_level() argument
1507 return (enum vmpressure_level)((level < VMPRESS_LEVEL_CRITICAL) ? in upgrade_level()
1508 level + 1 : level); in upgrade_level()
1511 enum vmpressure_level downgrade_level(enum vmpressure_level level) { in downgrade_level() argument
1512 return (enum vmpressure_level)((level > VMPRESS_LEVEL_LOW) ? in downgrade_level()
1513 level - 1 : level); in downgrade_level()
1544 enum vmpressure_level level = (enum vmpressure_level)data; in mp_event_common() local
1558 ALOGI("%s memory pressure event is triggered", level_name[level]); in mp_event_common()
1571 evcount > 0 && lvl > level) { in mp_event_common()
1572 level = lvl; in mp_event_common()
[all …]
DREADME.md38 killed at low vmpressure level. Default = 1001
42 killed at medium vmpressure level. Default = 800
46 killed at critical vmpressure level. Default = 0
49 ro.lmk.critical_upgrade: enables upgrade to critical level. Default = false
51 ro.lmk.upgrade_pressure: max mem_pressure at which level will be upgraded
/system/core/liblog/tests/
Dliblog_test.cpp1426 int level; in TEST() member
1455 if (levels[i].level == -2) { in TEST()
1459 if (levels[j].level == -2) { in TEST()
1464 levels[i].level, tag, strlen(tag), levels[j].level); in TEST()
1465 if ((levels[i].level < levels[j].level) || (levels[j].level == -1)) { in TEST()
1472 levels[i].level, tag, strlen(tag), levels[j].level)); in TEST()
1481 levels[i].level, tag, strlen(tag), levels[j].level)); in TEST()
1489 if (levels[i].level == -2) { in TEST()
1503 levels[i].level, tag, strlen(tag), ANDROID_LOG_DEBUG); in TEST()
1504 if ((levels[i].level < levels[j].level) || (levels[j].level == -1) || in TEST()
[all …]
/system/keymaster/include/keymaster/
Dlogger.h37 virtual int log_msg(LogLevel level, const char* fmt, va_list args) const = 0;
39 static int Log(LogLevel level, const char* fmt, va_list args);
40 static int Log(LogLevel level, const char* fmt, ...);
/system/chre/platform/linux/
Dchre_api_re.cc23 DLL_EXPORT void chreLog(enum chreLogLevel level, const char *formatStr, ...) { in chreLog() argument
31 switch (level) { in chreLog()
/system/bt/gd/packet/
Dpacket_builder_unittest.cc202 static std::unique_ptr<NestedBuilder> Create(uint8_t level) { in Create() argument
203 return std::unique_ptr<NestedBuilder>(new NestedBuilder(level)); in Create()
206 …unique_ptr<NestedBuilder> CreateNested(std::unique_ptr<BasePacketBuilder> payload, uint8_t level) { in CreateNested() argument
207 return std::unique_ptr<NestedBuilder>(new NestedBuilder(std::move(payload), level)); in CreateNested()
229 …r(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)), level_(le… in NestedBuilder() argument
230 NestedBuilder(uint8_t level) : level_(level) {} in NestedBuilder() argument
/system/extras/verity/
Dbuild_verity_tree_utils.cpp24 size_t hash_size, size_t level) { in verity_tree_blocks() argument
30 } while (level--); in verity_tree_blocks()
/system/keymaster/contexts/
Dsoft_keymaster_logger.cpp27 int SoftKeymasterLogger::log_msg(LogLevel level, const char* fmt, va_list args) const { in log_msg() argument
30 switch (level) { in log_msg()
/system/bt/vendor_libs/test_vendor_lib/packets/test/
Dpacket_builder_test.cc199 static std::unique_ptr<NestedBuilder> Create(uint8_t level) { in Create() argument
200 return std::unique_ptr<NestedBuilder>(new NestedBuilder(level)); in Create()
203 …unique_ptr<NestedBuilder> CreateNested(std::unique_ptr<BasePacketBuilder> payload, uint8_t level) { in CreateNested() argument
204 return std::unique_ptr<NestedBuilder>(new NestedBuilder(std::move(payload), level)); in CreateNested()
226 …r(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)), level_(le… in NestedBuilder() argument
227 NestedBuilder(uint8_t level) : level_(level) {} in NestedBuilder() argument
/system/bt/vendor_libs/test_vendor_lib/test/
Dpacket_builder_test.cc199 static std::unique_ptr<NestedBuilder> Create(uint8_t level) { in Create() argument
200 return std::unique_ptr<NestedBuilder>(new NestedBuilder(level)); in Create()
203 …unique_ptr<NestedBuilder> CreateNested(std::unique_ptr<BasePacketBuilder> payload, uint8_t level) { in CreateNested() argument
204 return std::unique_ptr<NestedBuilder>(new NestedBuilder(std::move(payload), level)); in CreateNested()
226 …r(std::unique_ptr<BasePacketBuilder> inner, uint8_t level) : payload_(std::move(inner)), level_(le… in NestedBuilder() argument
227 NestedBuilder(uint8_t level) : level_(level) {} in NestedBuilder() argument
/system/chre/platform/android/include/chre/target_platform/
Dlog.h29 #define CHRE_ANDROID_LOG(level, fmt, ...) \ argument
30 __android_log_print(level, ANDROID_LOG_TAG, \
/system/chre/platform/shared/
Dpal_system_api.cc38 void palSystemApiLog(enum chreLogLevel level, const char *formatStr, ...) { in palSystemApiLog() argument
46 switch (level) { in palSystemApiLog()

1234567