Home
last modified time | relevance | path

Searched refs:drop (Results 1 – 23 of 23) sorted by relevance

/system/netd/libnetdutils/
DNetlink.cpp33 onMsg(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkMessage()
34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage()
45 onAttr(hdr, drop(take(tail, len), sizeof(hdr))); in forEachNetlinkAttribute()
46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
DSliceTest.cpp45 EXPECT_EQ(s1.base() + kBytes, drop(s1, kBytes).base()); in TEST_F()
46 EXPECT_EQ(s1.size() - kBytes, drop(s1, kBytes).size()); in TEST_F()
101 copy(drop(buffer, sizeof(origA1)), makeSlice(origB)); in TEST_F()
102 copy(drop(buffer, sizeof(origA1) + sizeof(origB)), makeSlice(origA2)); in TEST_F()
DMemBlockTest.cpp37 for (Slice slice = result.get(); !slice.empty(); slice = drop(slice, 1)) { in makeArbitraryMemBlock()
44 for (; !slice.empty(); slice = drop(slice, 1)) { in checkAllZeros()
53 for (; !slice.empty(); slice = drop(slice, 1)) { in checkArbitraryMemBlock()
DSlice.cpp49 tail = drop(tail, 1); in toHex()
/system/core/adb/daemon/
Dmain.cpp80 bool drop = ro_secure; in should_drop_privileges() local
87 drop = false; in should_drop_privileges()
91 drop = true; in should_drop_privileges()
94 return drop; in should_drop_privileges()
/system/netd/libnetdutils/include/netdutils/
DSlice.h107 inline const Slice drop(const Slice s, size_t cut) { in drop() function
130 return extracted + extract(drop(src, extracted), tail...); in extract()
155 return drop(s, match - s.base()); in findFirstMatching()
/system/bt/stack/avrc/
Davrc_api.cc627 bool drop = false; in avrc_msg_cback() local
711 drop = true; in avrc_msg_cback()
749 drop = true; in avrc_msg_cback()
775 drop = true; in avrc_msg_cback()
791 drop = true; in avrc_msg_cback()
797 if (drop_code > 0) drop = true; in avrc_msg_cback()
831 drop = true; in avrc_msg_cback()
865 drop = true; in avrc_msg_cback()
870 if (opcode != AVRC_OP_BROWSE) drop = true; in avrc_msg_cback()
880 drop = true; in avrc_msg_cback()
[all …]
/system/netd/server/
DXfrmControllerTest.cpp286 nlMsgSlice = drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
367 nlMsgSlice = drop(nlMsgSlice, NLMSG_HDRLEN); in testIpSecAddSecurityAssociation()
389 Slice attr_buf = drop(nlMsgSlice, NLA_ALIGN(sizeof(xfrm_usersa_info))); in testIpSecAddSecurityAssociation()
403 buf = drop(buf, sizeof(xfrm_algo)); in testIpSecAddSecurityAssociation()
408 buf = drop(buf, sizeof(xfrm_algo_auth)); in testIpSecAddSecurityAssociation()
615 nlMsgSlice = netdutils::drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
620 nlMsgSlice = drop(nlMsgSlice, sizeof(xfrm_usersa_id)); in TEST_P()
670 nlMsgSlice = netdutils::drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
677 Slice attr_buf = drop(nlMsgSlice, NLA_ALIGN(sizeof(xfrm_userpolicy_info))); in TEST_P()
775 nlMsgSlice = netdutils::drop(nlMsgSlice, NLMSG_HDRLEN); in TEST_P()
[all …]
DWakeupControllerTest.cpp130 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, uidAttr)); in TEST_F()
206 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, uidAttr)); in TEST_F()
256 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, uidAttr)); in TEST_F()
278 auto payload = drop(netdutils::makeSlice(msg), offsetof(Msg, prefixAttr)); in TEST_F()
DWakeupController.cpp91 extractIpPorts(args, drop(payload, header.ihl * 4)); // ipv4 IHL counts 32 bit words. in extractIpHeader()
107 extractIpPorts(args, drop(payload, sizeof(header))); in extractIpHeader()
DNFLogListenerTest.cpp92 mPacketFn(msg.nlmsg, drop(makeSlice(msg), sizeof(msg.nlmsg))); in sendEmptyMsg()
DNFLogListener.cpp152 fn(nlmsg, nfmsg, drop(msg, sizeof(nfmsg))); in NFLogListener()
/system/sepolicy/prebuilts/api/29.0/public/
Diorapd.te8 # Allow read/write /proc/sys/vm/drop/caches
/system/sepolicy/prebuilts/api/30.0/public/
Diorap_prefetcherd.te8 # Allow read/write /proc/sys/vm/drop/caches
Diorapd.te8 # Allow read/write /proc/sys/vm/drop/caches
/system/sepolicy/public/
Diorap_prefetcherd.te8 # Allow read/write /proc/sys/vm/drop/caches
Diorapd.te8 # Allow read/write /proc/sys/vm/drop/caches
/system/bt/gd/hci/
Dhci_layer.cc97 void drop(EventPacketView) {} in drop() function
368 auto drop_packet = handler->BindOn(impl_, &impl::drop); in Start()
/system/core/liblog/
DREADME.md112 `LOG_EVENT_(INT|LONG)` is used to drop binary content into the Events sub-log.
155 the problem(s) worse and cause your application to temporarily drop to the logger daemon priority,
/system/bt/tools/scripts/
Ddump_hearingaid_audio.py323 ori_len, include_len, packet_flag, drop, timestamp = \
330 if packet_flag != 2 and drop == 0:
/system/extras/app-launcher/
DREADME21 -c:pagecached. Don't drop pagecache before each launch (not default)
/system/apex/docs/
DREADME.md209 - UPSTREAM: loop: drop caches if offset or block_size are changed
/system/core/init/
DREADME.md351 capabilities, then drop to its desired uid. There is a new