Home
last modified time | relevance | path

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

/system/tools/hidl/test/java_test/
Dhidl_test_java.py57 cmds = ["app_process /data/framework com.android.commands.hidl_test_java.HidlTestJava"] variable
60 cmds += ["/data/nativetest/hidl_test_java_native/hidl_test_java_native"]
63 cmds += ["/data/nativetest64/hidl_test_java_native/hidl_test_java_native"]
65 assert len(cmds) >= 2
74 for client in cmds:
75 for server in cmds:
/system/netd/server/
DBandwidthControllerTest.cpp268 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local
280 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands()
287 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local
297 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands()
325 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local
333 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands()
336 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands()
337 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands()
345 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local
353 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands()
[all …]
DIdletimerControllerTest.cpp45 std::vector<std::string> cmds = { in makeAddRemoveCommands() local
57 return { Join(cmds, '\n') }; in makeAddRemoveCommands()
DBandwidthController.cpp373 std::vector<std::string> cmds = { in setInterfaceSharedQuota() local
381 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRId64 " --name %s -j REJECT", in setInterfaceSharedQuota()
384 cmds.push_back("COMMIT\n"); in setInterfaceSharedQuota()
386 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota()
423 std::vector<std::string> cmds = { in removeInterfaceSharedQuota() local
431 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name %s -j REJECT", in removeInterfaceSharedQuota()
434 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuota()
436 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota()
485 std::vector<std::string> cmds = { in setInterfaceQuota() local
498 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota()
[all …]
DIdletimerController.cpp149 std::vector<std::string> cmds = { in modifyInterfaceIdletimer() local
160 return (execIptablesRestore(V4V6, Join(cmds, '\n')) == 0) ? 0 : -EREMOTEIO; in modifyInterfaceIdletimer()
DTetherControllerTest.cpp134 void appendAll(std::vector<T>& cmds, const std::vector<T>& appendCmds) { in appendAll() argument
135 cmds.insert(cmds.end(), appendCmds.begin(), appendCmds.end()); in appendAll()
DTetherController.cpp616 const std::string cmds = in setTetherGlobalAlertRule() local
621 return iptablesRestoreFunction(V4V6, cmds, nullptr); in setTetherGlobalAlertRule()
/system/update_engine/scripts/
Dupdate_device.py452 cmds = []
497 cmds.append(['push', args.otafile, data_local_tmp_file])
498 cmds.append(['shell', 'su', '0', 'mv', data_local_tmp_file,
500 cmds.append(['shell', 'su', '0', 'chcon',
502 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file])
503 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file])
514 cmds.append(
520 cmds.append(
523 cmds.append(['shell', 'su', '0', 'chcon', 'u:object_r:shell_data_file:s0',
525 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH])
[all …]
/system/libhwbinder/
DIPCThreadState.cpp915 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver() local
916 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()
917 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()
918 while (cmds < end) cmds = printCommand(alog, cmds); in talkWithDriver()
977 const void* cmds = mIn.data(); in talkWithDriver() local
979 alog << HexDump(cmds, mIn.dataSize()) << endl; in talkWithDriver()
980 while (cmds < end) cmds = printReturnCommand(alog, cmds); in talkWithDriver()
/system/core/trusty/storage/proxy/
Drpmb.c143 struct mmc_ioc_cmd* cmd = mmc.multi.cmds; in send_mmc_rpmb_req()
/system/extras/simpleperf/
Dcmd_record.cpp904 std::vector<std::string> cmds = android::base::Split(*value.str_value, ","); in ParseOptions() local
905 for (const auto& cmd : cmds) { in ParseOptions()