Home
last modified time | relevance | path

Searched refs:target (Results 1 – 25 of 149) sorted by relevance

123456

/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/
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) in perf_target__has_task() argument
52 return target->tid || target->pid || target->uid_str; in perf_target__has_task()
55 static inline bool perf_target__has_cpu(struct perf_target *target) in perf_target__has_cpu() argument
57 return target->system_wide || target->cpu_list; in perf_target__has_cpu()
60 static inline bool perf_target__none(struct perf_target *target) in perf_target__none() argument
62 return !perf_target__has_task(target) && !perf_target__has_cpu(target); in perf_target__none()
/system/netd/server/
DIptablesBaseTest.cpp64 int IptablesBaseTest::fakeExecIptables(IptablesTarget target, ...) { in fakeExecIptables() argument
67 va_start(args, target); in fakeExecIptables()
77 if (target == V4 || target == V4V6) { in fakeExecIptables()
80 if (target == V6 || target == V4V6) { in fakeExecIptables()
97 int IptablesBaseTest::fakeExecIptablesRestoreWithOutput(IptablesTarget target, in fakeExecIptablesRestoreWithOutput() argument
100 sRestoreCmds.push_back({ target, commands }); in fakeExecIptablesRestoreWithOutput()
110 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { in fakeExecIptablesRestore() argument
111 return fakeExecIptablesRestoreWithOutput(target, commands, nullptr); in fakeExecIptablesRestore()
114 int IptablesBaseTest::fakeExecIptablesRestoreCommand(IptablesTarget target, in fakeExecIptablesRestoreCommand() argument
119 return fakeExecIptablesRestoreWithOutput(target, fullCmd, output); in fakeExecIptablesRestoreCommand()
[all …]
DNetdConstants.cpp74 static int execIptables(IptablesTarget target, bool silent, va_list args) { in execIptables() argument
96 if (target == V4 || target == V4V6) { in execIptables()
100 if (target == V6 || target == V4V6) { in execIptables()
107 int execIptables(IptablesTarget target, ...) { in execIptables() argument
109 va_start(args, target); in execIptables()
110 int res = execIptables(target, false, args); in execIptables()
115 int execIptablesSilently(IptablesTarget target, ...) { in execIptablesSilently() argument
117 va_start(args, target); in execIptablesSilently()
118 int res = execIptables(target, true, args); in execIptablesSilently()
123 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands, in execIptablesRestoreWithOutput() argument
[all …]
DFirewallController.cpp165 IptablesTarget target = V4; in setEgressSourceRule() local
167 target = V6; in setEgressSourceRule()
178 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
179 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); in setEgressSourceRule()
190 IptablesTarget target = V4; in setEgressDestRule() local
192 target = V6; in setEgressDestRule()
209 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr, in setEgressDestRule()
211 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr, in setEgressDestRule()
233 const char* target; in setUidRule() local
236 target = "RETURN"; in setUidRule()
[all …]
DIptablesBaseTest.h31 static int fakeExecIptables(IptablesTarget target, ...);
32 static int fakeExecIptablesRestore(IptablesTarget target, const std::string& commands);
33 static int fakeExecIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
35 static int fakeExecIptablesRestoreCommand(IptablesTarget target, const std::string& table,
51 int expectIptablesCommand(IptablesTarget target, int pos, const std::string& cmd);
DNetdConstants.h45 int execIptables(IptablesTarget target, ...);
46 int execIptablesSilently(IptablesTarget target, ...);
47 int execIptablesRestore(IptablesTarget target, const std::string& commands);
48 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
50 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table,
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);
DStrictController.h48 static int (*execIptables)(IptablesTarget target, ...);
49 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
/system/core/debuggerd/
Dcrash_dump.cpp156 static void abort_handler(pid_t target, const bool& tombstoned_connected, in abort_handler() argument
162 if (!tombstoned_connect(target, &tombstoned_socket, &output_fd)) { in abort_handler()
170 if (target != 1) { in abort_handler()
171 dprintf(output_fd.get(), " %d: %s\n", target, abort_msg); in abort_handler()
198 pid_t target = getppid(); in main() local
205 abort_handler(target, tombstoned_connected, tombstoned_socket, output_fd, abort_msg); in main()
234 if (target == 1) { in main()
243 if (main_tid != target_info.tid || target != target_info.pid) { in main()
244 LOG(FATAL) << "target info mismatch, expected pid " << target << ", tid " << main_tid in main()
249 std::string target_proc_path = "/proc/" + std::to_string(target); in main()
[all …]
/system/media/
DCleanSpec.mk48 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
49 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_imageproc_inte…
50 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_text_intermedi…
51 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_ui_intermediat…
52 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterpack_videosrc_inter…
54 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/filterfw_intermediates)
/system/extras/simpleperf/scripts/
Dupdate.py30 def __init__(self, target, name, install_path, need_strip=False): argument
31 self.target = target
74 def fetch_artifact(branch, build, target, pattern): argument
77 target, branch, pattern)
79 cmd = [fetch_artifact_path, '--branch', branch, '--target', target,
122 target = entry.target
127 fetch_artifact(branch, build, target, name)
/system/vold/fs/
DExt4.cpp71 status_t Check(const std::string& source, const std::string& target) { in Check() argument
76 const char* c_target = target.c_str(); in Check()
133 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument
139 const char* c_target = target.c_str(); in Mount()
169 const std::string& target) { in Format() argument
181 cmd.push_back(target); in Format()
194 cmd.push_back(target); in Format()
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);
/system/bt/btcore/
DAndroid.bp1 // libbtcore static library for target and host
21 target: {
31 // Note: It's good to get the tests compiled both for the host and the target so
33 // libbtcore unit tests for target and host
55 target: {
/system/media/audio_utils/tests/
DAndroid.bp16 target: {
92 target: {
116 target: {
140 target: {
164 target: {
/system/gatekeeper/
Dgatekeeper_messages.cpp49 SizedBuffer *target) { in read_from_buffer() argument
50 if (*buffer + sizeof(target->length) > end) return ERROR_INVALID; in read_from_buffer()
52 memcpy(&target->length, *buffer, sizeof(target->length)); in read_from_buffer()
53 *buffer += sizeof(target->length); in read_from_buffer()
54 if (target->length != 0) { in read_from_buffer()
55 const uint8_t *buffer_end = *buffer + target->length; in read_from_buffer()
58 target->buffer.reset(new uint8_t[target->length]); in read_from_buffer()
59 memcpy(target->buffer.get(), *buffer, target->length); in read_from_buffer()
60 *buffer += target->length; in read_from_buffer()
/system/extras/simpleperf/runtest/
Druntest.py280 def __init__(self, target, perf_path): argument
281 self.target = target
282 self.is32 = target.endswith('32')
315 def __init__(self, target): argument
316 perf_path = 'simpleperf32' if target.endswith('32') else 'simpleperf'
317 super(HostRunner, self).__init__(target, perf_path)
332 def __init__(self, target): argument
334 perf_path = 'simpleperf32' if target.endswith('32') else 'simpleperf'
335 super(DeviceRunner, self).__init__(target, self.tmpdir + perf_path)
538 def build_runner(target, use_callgraph, sampler): argument
[all …]
/system/vold/
Dsecdiscard.cpp62 for (auto const &target: options.targets) { in main() local
63 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; in main()
64 if (!secdiscard_path(target)) { in main()
65 LOG(ERROR) << "Secure discard failed for: " << target; in main()
68 if (unlink(target.c_str()) != 0 && errno != ENOENT) { in main()
69 PLOG(ERROR) << "Unable to unlink: " << target; in main()
72 LOG(DEBUG) << "Discarded: " << target; in main()
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp54 std::string target; in populate_open_files_list() local
55 if (android::base::Readlink(path, &target)) { in populate_open_files_list()
56 list->emplace_back(fd, target); in populate_open_files_list()
/system/bt/service/
DAndroid.bp93 // Main unit test sources. These get built for host and target.
111 // Native system service for target
135 // Native system service unit tests for target and host
153 target: {
155 // on target.
187 // This is a static library for target.
204 // Native system service CLI for target
217 // Heart Rate GATT service example for target
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/
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/extras/verity/
DBootSignature.java69 private DERPrintableString target; field in BootSignature
81 public BootSignature(String target, int length) { in BootSignature() argument
83 this.target = new DERPrintableString(target); in BootSignature()
114 target = (DERPrintableString) attrs.getObjectAt(0); in BootSignature()
122 attrs.add(target); in getAuthenticatedAttributes()
221 public static void doSignature( String target, in doSignature() argument
239 BootSignature bootsig = new BootSignature(target, image.length); in doSignature()
/system/tpm/trunks/
Dtrunks_factory_for_test.cc47 explicit TpmStateForwarder(TpmState* target) : target_(target) {} in TpmStateForwarder() argument
118 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {} in TpmUtilityForwarder() argument
359 explicit AuthorizationDelegateForwarder(AuthorizationDelegate* target) in AuthorizationDelegateForwarder() argument
360 : target_(target) {} in AuthorizationDelegateForwarder()
392 explicit SessionManagerForwarder(SessionManager* target) : target_(target) {} in SessionManagerForwarder() argument
418 explicit HmacSessionForwarder(HmacSession* target) : target_(target) {} in HmacSessionForwarder() argument
451 explicit PolicySessionForwarder(PolicySession* target) : target_(target) {} in PolicySessionForwarder() argument
500 explicit BlobParserForwarder(BlobParser* target) : target_(target) {} in BlobParserForwarder() argument
/system/libhwbinder/vts/performance/
DLatency.cpp224 int target; member
229 int target = priv->target; in threadStart() local
235 sp<IScheduleTest> service = services[target]; in threadStart()
247 static void threadTransaction(int target, Results* results_fifo) { in threadTransaction() argument
254 thread_priv.target = target; in threadTransaction()
319 int target = num; in clientFx() local
322 threadTransaction(target, &results_fifo); in clientFx()
326 sp<IScheduleTest> service = services[target]; in clientFx()
/system/core/libnativeloader/
DAndroid.bp1 // Shared library for target
14 target: {

123456