Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 29) sorted by relevance

12

/system/connectivity/shill/
Dscope_logger.cc94 bool ScopeLogger::IsLogEnabled(Scope scope, int verbose_level) const { in IsLogEnabled() argument
95 return IsScopeEnabled(scope) && verbose_level <= verbose_level_; in IsLogEnabled()
98 bool ScopeLogger::IsScopeEnabled(Scope scope) const { in IsScopeEnabled()
99 CHECK_GE(scope, 0); in IsScopeEnabled()
100 CHECK_LT(scope, kNumScopes); in IsScopeEnabled()
102 return scope_enabled_[scope]; in IsScopeEnabled()
157 Scope scope, ScopeEnableChangedCallback callback) { in RegisterScopeEnableChangedCallback() argument
158 CHECK_GE(scope, 0); in RegisterScopeEnableChangedCallback()
159 CHECK_LT(scope, kNumScopes); in RegisterScopeEnableChangedCallback()
160 log_scope_callbacks_[scope].push_back(callback); in RegisterScopeEnableChangedCallback()
[all …]
Dlogging.h44 #define SLOG_IS_ON(scope, verbose_level) \ argument
46 ::shill::ScopeLogger::k##scope, verbose_level)
57 #define SLOG_3ARG(scope, object, verbose_level) \ argument
60 ::shill::ScopeLogger::k##scope, verbose_level)) \
66 #define SLOG_IF(scope, verbose_level, condition) \ argument
68 SLOG_IS_ON(scope, verbose_level) && (condition))
74 #define SPLOG(scope, verbose_level) \ argument
75 LAZY_STREAM(SPLOG_STREAM(verbose_level), SLOG_IS_ON(scope, verbose_level))
77 #define SPLOG_IF(scope, verbose_level, condition) \ argument
79 SLOG_IS_ON(scope, verbose_level) && (condition))
Drouting_table_entry.h38 scope(0), in RoutingTableEntry()
53 scope(scope_in), in RoutingTableEntry()
69 scope(scope_in), in RoutingTableEntry()
86 scope(scope_in), in RoutingTableEntry()
96 scope(b.scope), in RoutingTableEntry()
106 scope = b.scope;
121 scope == b.scope && in Equals()
131 unsigned char scope; member
Dscope_logger.h87 bool IsLogEnabled(Scope scope, int verbose_level) const;
90 bool IsScopeEnabled(Scope scope) const;
119 Scope scope, ScopeEnableChangedCallback callback);
136 void SetScopeEnabled(Scope scope, bool enabled);
Dscope_logger_unittest.cc44 for (int scope = 0; scope < ScopeLogger::kNumScopes; ++scope) { in TEST_F() local
47 static_cast<ScopeLogger::Scope>(scope), verbose_level)); in TEST_F()
DHACKING110 - Choose the appropriate scope and verbose level for log messages. E.g.
114 - Before defining a new scope, check if any existing scope defined in
117 - To add a new scope:
120 2. Add the corresponding scope name to the kScopeNames array in
Ddevice_info.h58 : address(IPAddress::kFamilyUnknown), flags(0), scope(0) {} in AddressData()
62 : address(address_in), flags(flags_in), scope(scope_in) {} in AddressData()
65 unsigned char scope; member
Drouting_table.cc337 entry->scope = route_status.scope; in ParseRoutingTableMessage()
405 nent->scope == entry.scope) { in RouteMsgHandler()
451 entry.scope, in ApplyRoute()
Ddevice_info.cc825 (address_info.scope == RT_SCOPE_UNIVERSE && in FlushAddresses()
853 } else if ((local_address.scope == RT_SCOPE_UNIVERSE && in HasOtherAddress()
872 local_address.scope != RT_SCOPE_UNIVERSE) { in GetPrimaryIPv6Address()
1085 iter->scope = status.scope; in AddressMsgHandler()
1088 address_list.push_back(AddressData(address, status.flags, status.scope)); in AddressMsgHandler()
1095 status.scope == RT_SCOPE_UNIVERSE) { in AddressMsgHandler()
Drouting_table_unittest.cc192 status.scope == RT_SCOPE_UNIVERSE &&
216 status.scope == entry.scope &&
263 entry.scope, in SendRouteEntryWithSeqAndProto()
582 status.scope == 0 &&
Ddevice_info_unittest.cc185 unsigned char scope);
246 unsigned char scope) { in BuildAddressMessage() argument
257 RTNLMessage::AddressStatus(address.prefix(), flags, scope)); in BuildAddressMessage()
Dconnection_unittest.cc271 arg.scope == RT_SCOPE_LINK && !arg.from_rtnl;
/system/connectivity/shill/net/
Drtnl_message.h76 scope(0) {} in AddressStatus()
82 scope(scope_in) {} in AddressStatus()
85 unsigned char scope; member
94 scope(0), in RouteStatus()
108 scope(scope_in), in RouteStatus()
115 unsigned char scope; member
Drtnl_message_unittest.cc433 unsigned char scope) { in TestParseAddress() argument
443 EXPECT_EQ(scope, status.scope); in TestParseAddress()
462 unsigned char scope, in TestParseRoute() argument
475 EXPECT_EQ(scope, status.scope); in TestParseRoute()
Drtnl_message.cc456 hdr->ifa.ifa_scope = address_status_.scope; in EncodeAddress()
482 hdr->rtm.rtm_scope = route_status_.scope; in EncodeRoute()
/system/netd/server/
DNetlinkHandler.cpp80 const char *scope = evt->findParam("SCOPE"); in onEvent() local
100 if (iface && iface[0] && address && flags && scope) { in onEvent()
101 notifyAddressChanged(action, address, iface, flags, scope); in onEvent()
198 const char *scope) { in notifyAddressChanged() argument
202 addr, iface, flags, scope); in notifyAddressChanged()
DNetlinkHandler.h46 const char *flags, const char *scope);
/system/extras/tests/net_test/
Diproute.py427 def _Address(self, version, command, addr, prefixlen, flags, scope, ifindex): argument
430 ifaddrmsg = IfAddrMsg((family, prefixlen, flags, scope, ifindex)).Pack()
459 scope = RT_SCOPE_UNIVERSE if nexthop else RT_SCOPE_LINK
461 RTPROT_STATIC, scope, RTN_UNICAST, 0)).Pack()
Dsrcaddr_selection_test.py88 self.assertEquals(iproute.RT_SCOPE_UNIVERSE, ifa_msg.scope)
/system/sepolicy/
Dlmkd.te16 ## TODO: maybe scope this down?
Ddumpstate.te37 # TODO: scope this down.
/system/bt/stack/include/
Davrc_defs.h1093 UINT8 scope; member
1117 UINT8 scope; member
1139 UINT8 scope; member
1150 UINT8 scope; member
/system/sepolicy/tools/fc_sort/
DNOTICE73 covered by this License; they are outside its scope. The act of
132 the scope of this License.
/system/media/audio_utils/
DDoxyfile.orig357 # the documentation of the scope in which they are defined (i.e. file,
358 # namespace, or group documentation), provided this scope is documented. If set
377 # cache is used to resolve symbols given their name and scope. Since this can be
410 # scope will be included in the documentation.
494 # scope will be hidden.
DDoxyfile357 # the documentation of the scope in which they are defined (i.e. file,
358 # namespace, or group documentation), provided this scope is documented. If set
377 # cache is used to resolve symbols given their name and scope. Since this can be
410 # scope will be included in the documentation.
494 # scope will be hidden.

12