Home
last modified time | relevance | path

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

123456789

/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/timezone/input_tools/android/common/src/main/java/com/android/libcore/timezone/util/
DErrors.java37 private int level = 0; field in Errors
93 return level >= LEVEL_ERROR; in hasError()
98 return level >= LEVEL_FATAL; in hasFatal()
101 private void addInternal(String msg, Throwable t, int level) { in addInternal() argument
102 this.level = Math.max(this.level, level); in addInternal()
/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/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_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/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/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/libvintf/
DMatrixKernel.cpp30 void MatrixKernel::setSourceMatrixLevel(Level level) { in setSourceMatrixLevel() argument
31 mSourceMatrixLevel = level; in setSourceMatrixLevel()
DCompatibilityMatrix.cpp57 kernel.setSourceMatrixLevel(level()); in addKernel()
117 Level CompatibilityMatrix::level() const { in level() function in android::vintf::CompatibilityMatrix
195 if (other == nullptr || other->level() <= level()) { in addAllHalsAsOptional()
252 if (other == nullptr || other->level() <= level()) { in addAllXmlFilesAsOptional()
274 kernel.setSourceMatrixLevel(other->level()); in addAllKernels()
351 if (e.level() == Level::UNSPECIFIED) { in combine()
359 [](const auto& x, const auto& y) { return x.level() < y.level(); }); in combine()
367 if (e.level() < deviceLevel) { in combine()
372 if (e.level() == deviceLevel) { in combine()
474 return level(); in getSourceMatrixLevel()
/system/core/liblog/tests/
Dliblog_test.cpp1246 int level; in TEST() member
1271 if (levels[i].level == -2) { in TEST()
1275 if (levels[j].level == -2) { in TEST()
1280 levels[i].level, tag, strlen(tag), levels[j].level); in TEST()
1281 if ((levels[i].level < levels[j].level) || (levels[j].level == -1)) { in TEST()
1288 levels[i].level, tag, strlen(tag), levels[j].level)); in TEST()
1297 levels[i].level, tag, strlen(tag), levels[j].level)); in TEST()
1305 if (levels[i].level == -2) { in TEST()
1319 levels[i].level, tag, strlen(tag), ANDROID_LOG_DEBUG); in TEST()
1320 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/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/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/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/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()
/system/tools/hidl/host_utils/
DFormatter.cpp43 void Formatter::indent(size_t level) { in indent() argument
44 mIndentDepth += level; in indent()
47 void Formatter::unindent(size_t level) { in unindent() argument
48 assert(mIndentDepth >= level); in unindent()
49 mIndentDepth -= level; in unindent()
52 Formatter& Formatter::indent(size_t level, const std::function<void(void)>& func) { in indent() argument
53 this->indent(level); in indent()
55 this->unindent(level); in indent()
/system/netd/libnetdutils/
DSocketOption.cpp29 Status enableSockopt(Fd sock, int level, int optname) { in enableSockopt() argument
32 return sys.setsockopt(sock, level, optname, &on, sizeof(on)); in enableSockopt()
/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp75 DEFINE_bool(level, false, "Write level (FCM version) of the compatibility matrix.");
91 if (mat->level() == Level::UNSPECIFIED) { in main()
94 std::cout << mat->level() << std::endl; in main()

123456789