Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 7 of 7) sorted by relevance

/system/netd/server/
DIdletimerController.cpp142 std::vector<std::string> cmds = { in setDefaults() local
151 return execIptablesRestore(V4V6, Join(cmds, '\n')); in setDefaults()
173 std::vector<std::string> cmds = { in modifyInterfaceIdletimer() local
184 return execIptablesRestore(V4V6, Join(cmds, '\n')); in modifyInterfaceIdletimer()
DBandwidthControllerTest.cpp412 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local
423 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands()
430 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local
439 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands()
467 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local
474 cmds.push_back(StringPrintf( in makeInterfaceSharedQuotaCommands()
477 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands()
478 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands()
486 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local
493 cmds.push_back(StringPrintf( in removeInterfaceSharedQuotaCommands()
[all …]
DIdletimerControllerTest.cpp68 std::vector<std::string> cmds = { in makeAddRemoveCommands() local
78 return { Join(cmds, '\n') }; in makeAddRemoveCommands()
DBandwidthController.cpp327 std::vector<std::string> cmds = { in setInterfaceSharedQuota() local
334 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRId64 in setInterfaceSharedQuota()
338 cmds.push_back("COMMIT\n"); in setInterfaceSharedQuota()
340 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota()
377 std::vector<std::string> cmds = { in removeInterfaceSharedQuota() local
384 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 in removeInterfaceSharedQuota()
388 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuota()
390 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota()
441 std::vector<std::string> cmds = { in setInterfaceQuota() local
455 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota()
[all …]
/system/update_engine/scripts/
Dupdate_device.py263 cmds = []
270 cmds.append(['push', args.otafile, device_ota_file])
271 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file])
272 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file])
279 cmds.append(
286 cmds.append(['shell', 'su', '0'] + update_cmd)
288 for cmd in cmds:
/system/libhwbinder/
DIPCThreadState.cpp846 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver() local
847 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()
848 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()
849 while (cmds < end) cmds = printCommand(alog, cmds); in talkWithDriver()
902 const void* cmds = mIn.data(); in talkWithDriver() local
904 alog << HexDump(cmds, mIn.dataSize()) << endl; in talkWithDriver()
905 while (cmds < end) cmds = printReturnCommand(alog, cmds); in talkWithDriver()
/system/core/trusty/storage/proxy/
Drpmb.c81 struct mmc_ioc_cmd *cmd = mmc.multi.cmds; in rpmb_send()