/system/core/include/utils/ |
H A D | misc.h | 33 void add_sysprop_change_callback(sysprop_change_callback cb, int priority);
|
H A D | Log.h | 43 LogIfSlow(const char* tag, android_LogPriority priority,
|
H A D | CallStack.h | 51 android_LogPriority priority = ANDROID_LOG_DEBUG,
|
H A D | ProcessCallStack.h | 45 void log(const char* logtag, android_LogPriority priority = ANDROID_LOG_DEBUG,
|
H A D | Printer.h | 43 // Create a printer using the specified logcat and log priority 47 android_LogPriority priority = ANDROID_LOG_DEBUG,
|
H A D | Thread.h | 49 int32_t priority = PRIORITY_DEFAULT,
|
/system/core/libutils/ |
H A D | Log.cpp | 24 LogIfSlow::LogIfSlow(const char* tag, android_LogPriority priority, argument 26 mTag(tag), mPriority(priority), mTimeoutMillis(timeoutMillis), mMessage(message),
|
H A D | misc.cpp | 41 int priority; member in struct:android::sysprop_change_callback_info 49 void add_sysprop_change_callback(sysprop_change_callback cb, int priority) { argument 57 info.priority = priority; 60 if (priority >= gSyspropList->itemAt(i).priority) {
|
H A D | CallStack.cpp | 53 void CallStack::log(const char* logtag, android_LogPriority priority, const char* prefix) const { argument 54 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false);
|
H A D | Printer.cpp | 66 android_LogPriority priority, 70 mPriority(priority), 65 LogPrinter(const char* logtag, android_LogPriority priority, const char* prefix, bool ignoreBlankLines) argument
|
H A D | Threads.cpp | 77 int priority; member in struct:thread_data_t 80 // we use this trampoline when we need to set the priority with 85 int prio = t->priority; 135 #if defined(__ANDROID__) /* valgrind is rejecting RT-priority create reqs */ 145 t->priority = threadPriority; 669 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument 694 this, name, priority, stack, &mThread); 697 this, name, priority, stack, &mThread);
|
H A D | ProcessCallStack.cpp | 205 void ProcessCallStack::log(const char* logtag, android_LogPriority priority, argument 207 LogPrinter printer(logtag, priority, prefix, /*ignoreBlankLines*/false);
|
/system/bt/utils/src/ |
H A D | bt_utils.c | 113 ** Description Raise task priority for A2DP streaming 121 int priority = ANDROID_PRIORITY_AUDIO; local 145 // always use urgent priority for HCI worker thread until we can adjust 149 priority = ANDROID_PRIORITY_URGENT_AUDIO; 151 if (setpriority(PRIO_PROCESS, tid, priority) < 0) { 152 LOG_WARN(LOG_TAG, "failed to change priority tid: %d to %d", tid, priority); 160 ** Description increase the a2dp consumer task priority temporarily when start 162 ** the a2dp consumer task priority when stop audio playing. 168 int priority local [all...] |
/system/core/toolbox/ |
H A D | log.c | 92 android_LogPriority priority; local 97 priority = ANDROID_LOG_INFO; 114 priority = filterCharToPri(optarg[0]); 115 if (priority == ANDROID_LOG_UNKNOWN) { 141 __android_log_print(priority, tag, "%s", buffer);
|
/system/extras/perfprofd/quipper/base/ |
H A D | logging.cc | 84 android_LogPriority priority = local 88 priority = ANDROID_LOG_INFO; 91 priority = ANDROID_LOG_WARN; 94 priority = ANDROID_LOG_ERROR; 97 priority = ANDROID_LOG_FATAL; 100 __android_log_write(priority, LOG_TAG, str_newline.c_str());
|
/system/bt/osi/include/ |
H A D | thread.h | 62 // Attempts to sets the |priority| of a given |thread|. 65 bool thread_set_priority(thread_t *thread, int priority);
|
/system/extras/tests/net_test/ |
H A D | iproute.py | 318 def _Rule(self, version, is_add, rule_type, table, match_nlattr, priority): 328 priority: An integer, the priority. 338 rtmsg += self._NlAttrU32(FRA_PRIORITY, priority) 348 def DeleteRulesAtPriority(self, version, priority): 352 rtmsg += self._NlAttrU32(FRA_PRIORITY, priority) 362 def FwmarkRule(self, version, is_add, fwmark, table, priority): 364 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority) 366 def IifRule(self, version, is_add, iif, table, priority): 368 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority) [all...] |
H A D | multinetwork_test.py | 815 def GetRulesAtPriority(self, version, priority): 818 if attributes.get("FRA_PRIORITY", 0) == priority] 823 for priority in [0, 32766, 32767]: 824 rules.extend(self.GetRulesAtPriority(version, priority)) 841 priority = Random() 845 priority=priority) 847 rules = self.GetRulesAtPriority(version, priority) 850 self.assertEquals(priority, attributes["FRA_PRIORITY"]) 856 priority [all...] |
/system/core/include/log/ |
H A D | log.h | 170 * verbose priority. 182 * debug priority. 190 * info priority. 198 * warn priority. 206 * error priority. 452 #define ALOG(priority, tag, ...) \ 453 LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__) 457 * Log macro that allows you to specify a number for the priority. 460 #define LOG_PRI(priority, tag, ...) \ 461 android_printLog(priority, ta [all...] |
H A D | logprint.h | 40 FORMAT_MODIFIER_COLOR, /* converts priority to color */ 55 android_LogPriority priority; member in struct:AndroidLogEntry_t 106 * returns 1 if this log line should be printed based on its priority
|
/system/netd/server/ |
H A D | RouteController.cpp | 265 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint8_t ruleType, argument 316 { &priority, sizeof(priority) }, 346 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument 349 return modifyIpRule(action, priority, FR_ACT_TO_TBL, table, fwmark, mask, iif, oif, uidStart, 353 WARN_UNUSED_RESULT int modifyIpRule(uint16_t action, uint32_t priority, uint32_t table, argument 355 return modifyIpRule(action, priority, table, fwmark, mask, IIF_NONE, OIF_NONE, INVALID_UID, 498 uint32_t priority; local 501 priority = RULE_PRIORITY_SECURE_VPN; 503 priority 529 uint32_t priority = secure ? RULE_PRIORITY_SECURE_VPN : RULE_PRIORITY_BYPASSABLE_VPN; local [all...] |
/system/core/base/ |
H A D | logging.cpp | 219 int priority = kLogSeverityToAndroidLogPriority[severity]; local 226 if (priority == ANDROID_LOG_FATAL) { 227 __android_log_buf_print(lg_id, priority, tag, "%s:%u] %s", file, line, 230 __android_log_buf_print(lg_id, priority, tag, "%s", message);
|
/system/bt/osi/src/ |
H A D | thread.c | 153 bool thread_set_priority(thread_t *thread, int priority) { argument 157 const int rc = setpriority(PRIO_PROCESS, thread->tid, priority); 159 LOG_ERROR(LOG_TAG, "%s unable to set thread priority %d for tid %d, error %d", 160 __func__, priority, thread->tid, rc);
|
/system/connectivity/shill/ |
H A D | profile_unittest.cc | 271 // Change priority from default. 272 service1->SetPriority(service1->priority() + 1, nullptr); 282 int32_t orig_priority = service2->priority(); 284 ASSERT_EQ(service1->priority(), service2->priority()); 285 ASSERT_NE(orig_priority, service2->priority());
|
/system/netd/tests/ |
H A D | binder_test.cpp | 271 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range, argument 277 std::string prefix = StringPrintf("%" PRIu32 ":", priority); 289 static bool ipRuleExistsForRange(const uint32_t priority, const UidRange& range, argument 291 bool existsIp4 = ipRuleExistsForRange(priority, range, action, IP_RULE_V4); 292 bool existsIp6 = ipRuleExistsForRange(priority, range, action, IP_RULE_V6);
|