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/netd/server/
H A DIptablesBaseTest.cpp43 int IptablesBaseTest::fakeExecIptables(IptablesTarget target, ...) { argument
46 va_start(args, target);
56 if (target == V4 || target == V4V6) {
59 if (target == V6 || target == V4V6) {
66 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { argument
67 sRestoreCmds.push_back({ target, commands });
71 int IptablesBaseTest::expectIptablesCommand(IptablesTarget target, int pos, argument
80 if (target
101 auto target = expectedCmds[i].first; local
[all...]
H A DStrictController.h48 static int (*execIptables)(IptablesTarget target, ...);
49 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
H A DIptablesBaseTest.h28 static int fakeExecIptables(IptablesTarget target, ...);
29 static int fakeExecIptablesRestore(IptablesTarget target, const std::string& commands);
38 int expectIptablesCommand(IptablesTarget target, int pos, const std::string& cmd);
H A DFirewallController.cpp173 IptablesTarget target = V4; local
175 target = V6;
186 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL);
187 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL);
198 IptablesTarget target = V4; local
200 target = V6;
217 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr,
219 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr,
244 const char* target; local
247 target
298 makeUidRules(IptablesTarget target, const char *name, bool isWhitelist, const std::vector<int32_t>& uids) argument
[all...]
H A DFirewallController.h86 std::string makeUidRules(IptablesTarget target, const char *name, bool isWhitelist,
88 static int (*execIptables)(IptablesTarget target, ...);
89 static int (*execIptablesSilently)(IptablesTarget target, ...);
90 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
H A DNetdConstants.cpp73 static int execIptables(IptablesTarget target, bool silent, va_list args) { argument
95 if (target == V4 || target == V4V6) {
99 if (target == V6 || target == V4V6) {
106 int execIptables(IptablesTarget target, ...) { argument
108 va_start(args, target);
109 int res = execIptables(target, false, args);
114 int execIptablesSilently(IptablesTarget target, ...) { argument
116 va_start(args, target);
148 execIptablesRestore(IptablesTarget target, const std::string& commands) argument
[all...]
H A DNetdConstants.h43 int execIptables(IptablesTarget target, ...);
44 int execIptablesSilently(IptablesTarget target, ...);
45 int execIptablesRestore(IptablesTarget target, const std::string& commands);
/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.cpp67 status_t Check(const std::string& source, const std::string& target) { argument
72 const char* c_target = target.c_str();
129 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
135 const char* c_target = target.c_str();
165 const std::string& target) {
171 cmd.push_back(target);
164 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/bt/audio_a2dp_hw/
H A DAndroid.mk3 # Audio A2DP shared library for target
/system/bt/utils/
H A DAndroid.mk3 # Utils static library for target
/system/connectivity/shill/
H A Dproperty_accessor.h150 // |target| is the object on which to call the methods |getter|, |setter|
156 // It is an error to pass NULL for either |target| or |getter|.
157 CustomAccessor(C* target, argument
161 : target_(target),
166 DCHECK(target);
173 CustomAccessor(C* target, argument
176 : CustomAccessor(target, getter, setter, nullptr) {}
215 // |target| is the object on which to call |setter| and |clearer|.
217 // |target| and |setter| must be non-NULL. |setter| should return true
222 CustomWriteOnlyAccessor(C* target, argument
273 CustomReadOnlyAccessor(C* target, T(C::*getter)(Error* error) const) argument
310 CustomMappedAccessor(C* target, void(C::*clearer)(const A& argument, Error* error), T(C::*getter)(const A& argument, Error* error), bool(C::*setter)(const A& argument, const T& value, Error* error), const A& argument) argument
[all...]
/system/core/libutils/
H A DPrinter.cpp126 String8Printer::String8Printer(String8* target, const char* prefix) : argument
127 mTarget(target),
130 if (target == NULL) {
/system/core/libbacktrace/
H A DAndroid.build.mk29 ifeq ($(build_type),target)
80 ifeq ($(build_type),target)
H A DAndroid.mk68 build_type := target
120 build_type := target
140 build_type := target
206 build_type := target
/system/connectivity/shill/vpn/
H A Dthird_party_vpn_driver.h111 // the |target|.
117 const char* key, std::string* target, bool mandatory,
124 // deleting ones that are not. The list of string is set to |target|.
130 char delimiter, std::vector<std::string>* target, bool mandatory,
138 // |target|. The flag |mandatory| when set to true, makes the function treat a
143 char delimiter, std::vector<std::string>* target, bool mandatory,
149 // |delimiter|. The list of string is set to |target|.
155 char delimiter, std::vector<std::string>* target, bool mandatory,
161 // between |min_value| and |max_value|. It then updates |target| with the
167 const char* key, int32_t* target, int32_
[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) {
55 const uint8_t *buffer_end = *buffer + target->length;
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];
/system/bt/hci/
H A DAndroid.mk3 # HCI static library for target
45 # HCI unit tests for target
/system/core/libnativebridge/tests/
H A DAndroid.nativebridge-dummy.mk6 # Shared library for target
42 # Shared library for target

Completed in 5006 milliseconds

1234