Searched refs:target (Results 1 - 25 of 88) sorted by relevance

1234

/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
H A Dtarget.h44 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 Dtarget.h48 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 DExt4.h30 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 DF2fs.h31 status_t Mount(const std::string& source, const std::string& target);
H A DVfat.h31 status_t Mount(const std::string& source, const std::string& target, bool ro,
H A DExt4.cpp69 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 DF2fs.cpp53 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 Dupdate.py30 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 DStrictController.h48 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
H A DIptablesBaseTest.cpp74 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 DControllers.h66 static std::set<std::string> findExistingChildChains(const IptablesTarget target,
69 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain,
H A DFirewallController.h67 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 DIptablesBaseTest.h31 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 DNetdConstants.h43 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 DNetdConstants.cpp45 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 DFirewallController.cpp196 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 DIptablesRestoreController.h32 // 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 Dopen_files_list.cpp54 std::string target; local
55 if (android::base::Readlink(path, &target)) {
56 list->emplace_back(fd, target);
/system/core/debuggerd/
H A Dcrash_dump.cpp159 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 Dsecdiscard.cpp60 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 DPrinter.cpp126 String8Printer::String8Printer(String8* target, const char* prefix) : argument
127 mTarget(target),
130 if (target == NULL) {
/system/libhwbinder/vts/performance/
H A DLatency.cpp108 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 Druntest.py280 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 Dgatekeeper_messages.cpp49 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 Ddelta_diff_generator.cc82 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];

Completed in 918 milliseconds

1234