/system/update_engine/scripts/ |
D | update_device.py | 389 cmds = [] 400 cmds.append(['push', args.otafile, data_local_tmp_file]) 401 cmds.append(['shell', 'su', '0', 'mv', data_local_tmp_file, 403 cmds.append(['shell', 'su', '0', 'chcon', 405 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file]) 406 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file]) 417 cmds.append( 423 cmds.append( 426 cmds.append(['shell', 'su', '0', 'chcon', 'u:object_r:shell_data_file:s0', 428 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH]) [all …]
|
/system/netd/server/ |
D | BandwidthControllerTest.cpp | 318 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local 330 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands() 337 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local 347 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands() 375 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local 383 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in makeInterfaceSharedQuotaCommands() 386 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands() 387 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands() 395 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local 403 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name shared -j REJECT", in removeInterfaceSharedQuotaCommands() [all …]
|
D | IdletimerControllerTest.cpp | 45 std::vector<std::string> cmds = { in makeAddRemoveCommands() local 55 return { Join(cmds, '\n') }; in makeAddRemoveCommands()
|
D | BandwidthController.cpp | 436 std::vector<std::string> cmds = { in setInterfaceSharedQuota() local 444 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRId64 " --name %s -j REJECT", in setInterfaceSharedQuota() 447 cmds.push_back("COMMIT\n"); in setInterfaceSharedQuota() 449 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota() 486 std::vector<std::string> cmds = { in removeInterfaceSharedQuota() local 494 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 " --name %s -j REJECT", in removeInterfaceSharedQuota() 497 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuota() 499 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota() 548 std::vector<std::string> cmds = { in setInterfaceQuota() local 561 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota() [all …]
|
D | IdletimerController.cpp | 149 std::vector<std::string> cmds = { in modifyInterfaceIdletimer() local 160 return (execIptablesRestore(V4V6, Join(cmds, '\n')) == 0) ? 0 : -EREMOTEIO; in modifyInterfaceIdletimer()
|
D | TetherControllerTest.cpp | 181 void appendAll(std::vector<T>& cmds, const std::vector<T>& appendCmds) { in appendAll() argument 182 cmds.insert(cmds.end(), appendCmds.begin(), appendCmds.end()); in appendAll()
|
D | TetherController.cpp | 645 const std::string cmds = in setTetherGlobalAlertRule() local 650 return iptablesRestoreFunction(V4V6, cmds, nullptr); in setTetherGlobalAlertRule()
|
/system/libhwbinder/ |
D | IPCThreadState.cpp | 921 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver() local 922 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver() 923 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver() 924 while (cmds < end) cmds = printCommand(alog, cmds); in talkWithDriver() 983 const void* cmds = mIn.data(); in talkWithDriver() local 985 alog << HexDump(cmds, mIn.dataSize()) << endl; in talkWithDriver() 986 while (cmds < end) cmds = printReturnCommand(alog, cmds); in talkWithDriver()
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 139 struct mmc_ioc_cmd* cmd = mmc.multi.cmds; in send_mmc_rpmb_req()
|