/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
H A D | target.h | 44 enum perf_target_errno perf_target__validate(struct perf_target *target); 45 enum perf_target_errno perf_target__parse_uid(struct perf_target *target); 47 int perf_target__strerror(struct perf_target *target, int errnum, char *buf, 50 static inline bool perf_target__has_task(struct perf_target *target) argument 52 return target->tid || target->pid || target->uid_str; 55 static inline bool perf_target__has_cpu(struct perf_target *target) argument 57 return target->system_wide || target 60 perf_target__none(struct perf_target *target) argument [all...] |
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
H A D | target.h | 48 enum perf_target_errno perf_target__validate(struct perf_target * target); 49 enum perf_target_errno perf_target__parse_uid(struct perf_target * target);
|
/system/vold/fs/ |
H A D | Ext4.h | 30 status_t Check(const std::string& source, const std::string& target); 31 status_t Mount(const std::string& source, const std::string& target, bool ro, 34 const std::string& target);
|
H A D | F2fs.h | 31 status_t Mount(const std::string& source, const std::string& target);
|
H A D | Vfat.h | 31 status_t Mount(const std::string& source, const std::string& target, bool ro,
|
H A D | Ext4.cpp | 69 status_t Check(const std::string& source, const std::string& target) { argument 74 const char* c_target = target.c_str(); 131 status_t Mount(const std::string& source, const std::string& target, bool ro, argument 137 const char* c_target = target.c_str(); 167 const std::string& target) { 178 cmd.push_back(target); 166 Format(const std::string& source, unsigned long numSectors, const std::string& target) argument
|
H A D | F2fs.cpp | 53 status_t Mount(const std::string& source, const std::string& target) { argument 55 const char* c_target = target.c_str();
|
/system/extras/simpleperf/scripts/ |
H A D | update.py | 30 def __init__(self, target, name, install_path, need_strip=False): 31 self.target = target 81 def fetch_artifact(branch, build, target, name): 83 if target.startswith('local:'): 84 shutil.copyfile(target[6:], name) 87 target, branch, name) 89 cmd = [fetch_artifact_path, '--branch', branch, '--target', target, 132 target [all...] |
/system/netd/server/ |
H A D | StrictController.h | 48 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
|
H A D | IptablesBaseTest.cpp | 74 int IptablesBaseTest::fakeExecIptablesRestoreWithOutput(IptablesTarget target, argument 77 sRestoreCmds.push_back({ target, commands }); 87 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { argument 88 return fakeExecIptablesRestoreWithOutput(target, commands, nullptr); 91 int IptablesBaseTest::fakeExecIptablesRestoreCommand(IptablesTarget target, argument 96 return fakeExecIptablesRestoreWithOutput(target, fullCmd, output);
|
H A D | Controllers.h | 66 static std::set<std::string> findExistingChildChains(const IptablesTarget target, 69 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain,
|
H A D | FirewallController.h | 67 static std::string makeCriticalCommands(IptablesTarget target, const char* chainName); 85 std::string makeUidRules(IptablesTarget target, const char *name, bool isWhitelist, 87 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
|
H A D | IptablesBaseTest.h | 31 static int fakeExecIptablesRestore(IptablesTarget target, const std::string& commands); 32 static int fakeExecIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands, 34 static int fakeExecIptablesRestoreCommand(IptablesTarget target, const std::string& table,
|
H A D | NetdConstants.h | 43 int execIptablesRestore(IptablesTarget target, const std::string& commands); 44 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands, 46 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table,
|
H A D | NetdConstants.cpp | 45 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands, argument 47 return android::net::gCtls->iptablesRestoreCtrl.execute(target, commands, output); 50 int execIptablesRestore(IptablesTarget target, const std::string& commands) { argument 51 return execIptablesRestoreWithOutput(target, commands, nullptr); 54 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table, argument 58 return execIptablesRestoreWithOutput(target, fullCmd, output);
|
H A D | FirewallController.cpp | 196 const char* target; local 199 target = "RETURN"; 203 target = "DROP"; 230 op, chainName.c_str(), uid, target); 243 std::string FirewallController::makeCriticalCommands(IptablesTarget target, const char* chainName) { argument 246 if (target == V6) { 255 std::string FirewallController::makeUidRules(IptablesTarget target, const char *name, argument 280 commands.append(makeCriticalCommands(target, name));
|
H A D | IptablesRestoreController.h | 32 // Execute |commands| on the given |target|, and populate |output| with stdout. 33 virtual int execute(const IptablesTarget target, const std::string& commands, 45 int execute(const IptablesTarget target, const std::string& commands,
|
/system/core/debuggerd/libdebuggerd/ |
H A D | open_files_list.cpp | 54 std::string target; local 55 if (android::base::Readlink(path, &target)) { 56 list->emplace_back(fd, target);
|
/system/core/debuggerd/ |
H A D | crash_dump.cpp | 159 static void abort_handler(pid_t target, const bool tombstoned_connected, argument 165 if (!tombstoned_connect(target, &tombstoned_socket, &output_fd, kDebuggerdAnyIntercept)) { 173 if (target != 1) { 174 dprintf(output_fd.get(), " %d: %s\n", target, abort_msg); 204 pid_t target = getppid(); local 211 abort_handler(target, tombstoned_connected, tombstoned_socket, output_fd, abort_msg); 245 if (target == 1) { 246 LOG(FATAL) << "target died before we could attach (received main tid = " << main_tid << ")"; 251 LOG(FATAL) << "failed to fetch process info for target " << main_tid; 254 if (main_tid != target_info.tid || target ! [all...] |
/system/vold/ |
H A D | secdiscard.cpp | 60 for (auto const &target: options.targets) { 61 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; 62 if (!secdiscard_path(target)) { 63 LOG(ERROR) << "Secure discard failed for: " << target; 66 if (unlink(target.c_str()) != 0 && errno != ENOENT) { 67 PLOG(ERROR) << "Unable to unlink: " << target; 70 LOG(DEBUG) << "Discarded: " << target;
|
/system/core/libutils/ |
H A D | Printer.cpp | 126 String8Printer::String8Printer(String8* target, const char* prefix) : argument 127 mTarget(target), 130 if (target == NULL) {
|
/system/libhwbinder/vts/performance/ |
H A D | Latency.cpp | 108 int target; ///< the terget service number member in struct:ThreadArg 113 int target = priv->target; local 119 sp<IScheduleTest> service = services[target]; 131 static void threadTransaction(int target, PResults* presults) { argument 137 thread_arg.target = target; 204 // the target is paired to make it easier to diagnose 205 int target = num; local 208 threadTransaction(target, [all...] |
/system/extras/simpleperf/runtest/ |
H A D | runtest.py | 280 def __init__(self, target, perf_path): 281 self.target = target 282 self.is32 = target.endswith('32') 315 def __init__(self, target): 316 perf_path = 'simpleperf32' if target.endswith('32') else 'simpleperf' 317 super(HostRunner, self).__init__(target, perf_path) 332 def __init__(self, target): 334 perf_path = 'simpleperf32' if target.endswith('32') else 'simpleperf' 335 super(DeviceRunner, self).__init__(target, sel [all...] |
/system/gatekeeper/ |
H A D | gatekeeper_messages.cpp | 49 SizedBuffer *target) { 50 if (*buffer + sizeof(target->length) > end) return ERROR_INVALID; 52 memcpy(&target->length, *buffer, sizeof(target->length)); 53 *buffer += sizeof(target->length); 54 if (target->length != 0) { 56 if (buffer_size < target->length) return ERROR_INVALID; 58 target->buffer.reset(new uint8_t[target->length]); 59 memcpy(target 48 read_from_buffer(const uint8_t **buffer, const uint8_t *end, SizedBuffer *target) argument [all...] |
/system/update_engine/payload_generator/ |
H A D | delta_diff_generator.cc | 82 config.target.partitions.size()); 85 for (size_t i = 0; i < config.target.partitions.size(); i++) { 88 const PartitionConfig& new_part = config.target.partitions[i];
|