Home
last modified time | relevance | path

Searched refs:is_add (Results 1 – 9 of 9) sorted by relevance

/system/extras/tests/net_test/
Diproute.py318 def _Rule(self, version, is_add, rule_type, table, match_nlattr, priority): argument
345 command = RTM_NEWRULE if is_add else RTM_DELRULE
362 def FwmarkRule(self, version, is_add, fwmark, table, priority): argument
364 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
366 def IifRule(self, version, is_add, iif, table, priority): argument
368 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
370 def OifRule(self, version, is_add, oif, table, priority): argument
372 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
374 def UidRangeRule(self, version, is_add, start, end, table, priority): argument
378 return self._Rule(version, is_add, RTN_UNICAST, table, nlattr, priority)
[all …]
Danycast_test.py69 def AnycastSetsockopt(self, s, is_add, netid, addr): argument
73 option = IPV6_JOIN_ANYCAST if is_add else IPV6_LEAVE_ANYCAST
Dmultinetwork_base.py260 def _RunSetupCommands(cls, netid, is_add): argument
272 cls.iproute.UidRangeRule(version, is_add, start, end, table,
274 cls.iproute.OifRule(version, is_add, iface, table, cls.PRIORITY_OIF)
275 cls.iproute.FwmarkRule(version, is_add, netid, table,
288 if is_add:
311 is_add = table is not None
312 cls.iproute.DefaultRule(version, is_add, table, cls.PRIORITY_DEFAULT)
Dmultinetwork_test.py53 def _SetInboundMarking(cls, netid, is_add): argument
57 add_del = "-A" if is_add else "-D"
/system/bt/btif/co/
Dbta_gatts_co.c113 void bta_gatts_co_update_handle_range(BOOLEAN is_add, tBTA_GATTS_HNDL_RANGE *p_hndl_range) in bta_gatts_co_update_handle_range() argument
115 UNUSED(is_add); in bta_gatts_co_update_handle_range()
/system/bt/bta/include/
Dbta_gatts_co.h42 extern void bta_gatts_co_update_handle_range(BOOLEAN is_add, tBTA_GATTS_HNDL_RANGE *p_hndl_range);
/system/bt/stack/gatt/
Dgatt_main.c280 void gatt_update_app_hold_link_status (tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add) in gatt_update_app_hold_link_status() argument
297 if (!is_add) in gatt_update_app_hold_link_status()
305 if (!found && is_add) in gatt_update_app_hold_link_status()
318 …te_app_hold_link_status found=%d[1-found] idx=%d gatt_if=%d is_add=%d", found, i, gatt_if, is_add); in gatt_update_app_hold_link_status()
332 void gatt_update_app_use_link_flag (tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOOLEAN che… in gatt_update_app_use_link_flag() argument
335 is_add, check_acl_link); in gatt_update_app_use_link_flag()
337 gatt_update_app_hold_link_status(gatt_if, p_tcb, is_add); in gatt_update_app_use_link_flag()
344 if (is_add) in gatt_update_app_use_link_flag()
Dgatt_int.h538 extern void gatt_update_app_use_link_flag ( tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOO…
/system/bt/bta/gatt/
Dbta_gatts_act.c79 static void bta_gatts_nv_save_cback(BOOLEAN is_add, tGATTS_HNDL_RANGE *p_hndl_range) in bta_gatts_nv_save_cback() argument
81 bta_gatts_co_update_handle_range(is_add, (tBTA_GATTS_HNDL_RANGE *)p_hndl_range); in bta_gatts_nv_save_cback()