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.py65 cmds = ["app_process /data/framework com.android.commands.hidl_test_java.HidlTestJava"] variable
68 cmds += ["/data/nativetest/hidl_test_java_native/hidl_test_java_native"]
71 cmds += ["/data/nativetest64/hidl_test_java_native/hidl_test_java_native"]
73 assert len(cmds) >= 2
82 for client in cmds:
83 for server in cmds:
/system/netd/server/
DBandwidthControllerTest.cpp247 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local
259 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands()
266 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local
276 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands()
304 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local
312 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands()
315 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands()
316 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands()
324 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local
332 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands()
[all …]
DBandwidthController.cpp333 std::vector<std::string> cmds = { in setInterfaceSharedQuota() local
341 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRId64 " --name %s -j REJECT", in setInterfaceSharedQuota()
344 cmds.push_back("COMMIT\n"); in setInterfaceSharedQuota()
346 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota()
383 std::vector<std::string> cmds = { in removeInterfaceSharedQuota() local
391 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name %s -j REJECT", in removeInterfaceSharedQuota()
394 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuota()
396 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota()
439 std::vector<std::string> cmds = { in setInterfaceQuota() local
452 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota()
[all …]
DIdletimerControllerTest.cpp45 std::vector<std::string> cmds = { in makeAddRemoveCommands() local
57 return { Join(cmds, '\n') }; in makeAddRemoveCommands()
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.cpp615 const std::string cmds = in setTetherGlobalAlertRule() local
620 return iptablesRestoreFunction(V4V6, cmds, nullptr); in setTetherGlobalAlertRule()
/system/update_engine/scripts/
Dupdate_device.py436 cmds = []
504 cmds.append(['push', args.otafile, data_local_tmp_file])
505 cmds.append(['shell', 'su', '0', 'mv', data_local_tmp_file,
507 cmds.append(['shell', 'su', '0', 'chcon',
509 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file])
510 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file])
517 cmds.append(
523 cmds.append(
526 cmds.append(['shell', 'su', '0', 'chcon', 'u:object_r:shell_data_file:s0',
528 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH])
[all …]
/system/libhwbinder/
DIPCThreadState.cpp929 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver() local
930 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver()
931 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver()
932 while (cmds < end) cmds = printCommand(alog, cmds); in talkWithDriver()
991 const void* cmds = mIn.data(); in talkWithDriver() local
993 alog << HexDump(cmds, mIn.dataSize()) << endl; in talkWithDriver()
994 while (cmds < end) cmds = printReturnCommand(alog, cmds); in talkWithDriver()
/system/core/trusty/storage/proxy/
Drpmb.c330 struct mmc_ioc_cmd* cmd = mmc.multi.cmds; in send_mmc_rpmb_req()
/system/extras/simpleperf/
Dcmd_record.cpp1117 std::vector<std::string> cmds = android::base::Split(*value.str_value, ","); in ParseOptions() local
1118 for (const auto& cmd : cmds) { in ParseOptions()