/system/update_engine/scripts/ |
D | update_device.py | 378 cmds = [] 389 cmds.append(['push', args.otafile, data_local_tmp_file]) 390 cmds.append(['shell', 'su', '0', 'mv', data_local_tmp_file, 392 cmds.append(['shell', 'su', '0', 'chcon', 394 cmds.append(['shell', 'su', '0', 'chown', 'system:cache', device_ota_file]) 395 cmds.append(['shell', 'su', '0', 'chmod', '0660', device_ota_file]) 406 cmds.append( 412 cmds.append( 415 cmds.append(['shell', 'su', '0', 'chcon', 'u:object_r:shell_data_file:s0', 417 cmds.append(['push', args.public_key, PAYLOAD_KEY_PATH]) [all …]
|
/system/netd/server/ |
D | BandwidthControllerTest.cpp | 317 std::vector<std::string> cmds = { in makeInterfaceQuotaCommands() local 329 return {Join(cmds, "\n")}; in makeInterfaceQuotaCommands() 336 std::vector<std::string> cmds = { in removeInterfaceQuotaCommands() local 346 return {Join(cmds, "\n")}; in removeInterfaceQuotaCommands() 374 std::vector<std::string> cmds = { in makeInterfaceSharedQuotaCommands() local 382 cmds.push_back(StringPrintf( in makeInterfaceSharedQuotaCommands() 385 cmds.push_back("COMMIT\n"); in makeInterfaceSharedQuotaCommands() 386 return {Join(cmds, "\n")}; in makeInterfaceSharedQuotaCommands() 394 std::vector<std::string> cmds = { in removeInterfaceSharedQuotaCommands() local 402 cmds.push_back(StringPrintf( 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 | 416 std::vector<std::string> cmds = { in setInterfaceSharedQuota() local 424 cmds.push_back(StringPrintf("-I %s -m quota2 ! --quota %" PRId64 in setInterfaceSharedQuota() 428 cmds.push_back("COMMIT\n"); in setInterfaceSharedQuota() 430 res |= iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in setInterfaceSharedQuota() 467 std::vector<std::string> cmds = { in removeInterfaceSharedQuota() local 475 cmds.push_back(StringPrintf("-D %s -m quota2 ! --quota %" PRIu64 in removeInterfaceSharedQuota() 479 cmds.push_back("COMMIT\n"); in removeInterfaceSharedQuota() 481 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in removeInterfaceSharedQuota() 530 std::vector<std::string> cmds = { in setInterfaceQuota() local 544 if (iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr) != 0) { in setInterfaceQuota() [all …]
|
D | IdletimerController.cpp | 150 std::vector<std::string> cmds = { in modifyInterfaceIdletimer() local 161 return (execIptablesRestore(V4V6, Join(cmds, '\n')) == 0) ? 0 : -EREMOTEIO; in modifyInterfaceIdletimer()
|
D | TetherControllerTest.cpp | 131 void appendAll(std::vector<T>& cmds, const std::vector<T>& appendCmds) { in appendAll() argument 132 cmds.insert(cmds.end(), appendCmds.begin(), appendCmds.end()); in appendAll()
|
D | TetherController.cpp | 593 const std::string cmds = in setTetherGlobalAlertRule() local 598 return iptablesRestoreFunction(V4V6, cmds, nullptr); in setTetherGlobalAlertRule()
|
/system/libhwbinder/ |
D | IPCThreadState.cpp | 925 const void* cmds = (const void*)bwr.write_buffer; in talkWithDriver() local 926 const void* end = ((const uint8_t*)cmds)+bwr.write_size; in talkWithDriver() 927 alog << HexDump(cmds, bwr.write_size) << endl; in talkWithDriver() 928 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 | 77 struct mmc_ioc_cmd* cmd = mmc.multi.cmds; in send_mmc_rpmb_req()
|