Searched defs:target (Results 1 - 25 of 51) sorted by relevance

123

/system/core/base/
H A Dfile_test.cpp51 TemporaryFile target, link; local
53 ASSERT_EQ(0, symlink(target.path, link.path));
138 // size of the encrypted symlink target. There's also an off-by-one
/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);
H A Dbacktrace.cpp86 auto target = thread_info.find(target_thread); local
87 if (target == thread_info.end()) {
88 ALOGE("failed to find target thread in thread info");
92 dump_process_header(&log, target->second.pid, target->second.process_name.c_str());
94 dump_backtrace_thread(output_fd.get(), map, target->second);
101 dump_process_footer(&log, target->second.pid);
/system/vold/fs/
H A DF2fs.cpp55 status_t Mount(const std::string& source, const std::string& target) { argument
57 const char* c_target = target.c_str();
H A DExfat.cpp57 status_t Mount(const std::string& source, const std::string& target, int ownerUid, int ownerGid, argument
63 if (mount(source.c_str(), target.c_str(), "exfat", mountFlags, mountData.c_str()) == 0) {
69 if (mount(source.c_str(), target.c_str(), "exfat", mountFlags, mountData.c_str()) == 0) {
H A DVfat.cpp116 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
123 const char* c_target = target.c_str();
144 auto lost_path = android::base::StringPrintf("%s/LOST.DIR", target.c_str());
H A DExt4.cpp70 status_t Check(const std::string& source, const std::string& target) { argument
75 const char* c_target = target.c_str();
132 status_t Mount(const std::string& source, const std::string& target, bool ro, argument
138 const char* c_target = target.c_str();
168 const std::string& target) {
179 cmd.push_back(target);
167 Format(const std::string& source, unsigned long numSectors, const std::string& target) argument
/system/core/adb/
H A Dline_printer.cpp92 SMALL_RECT target = { local
104 WriteConsoleOutput(console_, &char_data[0], buf_size, zero_zero, &target);
/system/update_engine/payload_consumer/
H A Dfile_descriptor_utils.cc81 FileDescriptorPtr target,
86 TEST_AND_RETURN_FALSE(writer.Init(target, tgt_extents, block_size));
79 CopyAndHashExtents(FileDescriptorPtr source, const RepeatedPtrField<Extent>& src_extents, FileDescriptorPtr target, const RepeatedPtrField<Extent>& tgt_extents, uint64_t block_size, brillo::Blob* hash_out) argument
/system/core/debuggerd/
H A Ddebuggerd_benchmark.cpp67 pid_t target = getpid(); local
87 if (!debuggerd_trigger_dump(target, kDebuggerdNativeBacktrace, 1000, std::move(output_fd))) {
/system/core/libutils/
H A DPrinter.cpp126 String8Printer::String8Printer(String8* target, const char* prefix) : argument
127 mTarget(target),
130 if (target == NULL) {
/system/netd/server/
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.cpp109 std::set<std::string> Controllers::findExistingChildChains(const IptablesTarget target, argument
112 if (target == V4V6) {
129 if (Controllers::execIptablesRestoreWithOutput(target, command, &output) == -1) {
149 void Controllers::createChildChains(IptablesTarget target, const char* table, argument
174 existingChildChains = findExistingChildChains(target, table, parentChain);
186 execIptablesRestore(target, command);
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.cpp215 const char* target; local
218 target = "RETURN";
222 target = "DROP";
252 op, chainName.c_str(), uid, target);
265 std::string FirewallController::makeCriticalCommands(IptablesTarget target, const char* chainName) { argument
268 if (target == V6) {
277 std::string FirewallController::makeUidRules(IptablesTarget target, const char *name, argument
310 commands.append(makeCriticalCommands(target, name));
/system/tpm/trunks/
H A Dtrunks_factory_for_test.cc44 // Forwards all calls to a target instance.
47 explicit TpmStateForwarder(TpmState* target) : target_(target) {} argument
115 // Forwards all calls to a target instance.
118 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {} argument
356 // Forwards all calls to a target instance.
359 explicit AuthorizationDelegateForwarder(AuthorizationDelegate* target) argument
360 : target_(target) {}
389 // Forwards all calls to a target instanc
392 SessionManagerForwarder(SessionManager* target) argument
418 HmacSessionForwarder(HmacSession* target) argument
451 PolicySessionForwarder(PolicySession* target) argument
500 BlobParserForwarder(BlobParser* target) argument
[all...]
/system/vold/
H A DLoop.cpp49 int Loop::create(const std::string& target, std::string& out_device) { argument
64 unique_fd target_fd(open(target.c_str(), O_RDWR | O_CLOEXEC));
66 PLOG(ERROR) << "Failed to open " << target;
/system/core/lmkd/include/
H A Dlmkd.h66 int target_idx, struct lmk_target *target) {
67 target->minfree = ntohl(packet[target_idx * 2 + 1]);
68 target->oom_adj_score = ntohl(packet[target_idx * 2 + 2]);
65 lmkd_pack_get_target(LMKD_CTRL_PACKET packet, int target_idx, struct lmk_target *target) argument
/system/extras/mmap-perf/
H A DmmapPerf.cpp39 uint64_t *target = (uint64_t*)ptr; local
41 *target = seed ^ (uint64_t)(uintptr_t)target;
43 target++;
/system/extras/verity/
H A DBootSignature.java57 * target CHARACTER STRING,
69 private DERPrintableString target; field in class:BootSignature
83 * @param target Target name, included in the signed data
86 public BootSignature(String target, int length) { argument
88 this.target = new DERPrintableString(target);
119 target = (DERPrintableString) attrs.getObjectAt(0);
127 attrs.add(target);
242 public static void doSignature( String target, argument
260 BootSignature bootsig = new BootSignature(target, imag
[all...]
/system/nvram/hal/tests/
H A Dnvram_hal_test.cc45 // Returns true if |target| contains |value|.
47 bool Contains(T value, const std::vector<T>& target) { argument
48 return (std::find(target.begin(), target.end(), value) != target.end());
51 // Returns true if |target| contains all of |values|.
54 const std::vector<T>& target) {
56 [target](T value) { return Contains(value, target); });
53 ContainsAll(const std::vector<T>& values, const std::vector<T>& target) argument
/system/update_engine/payload_generator/
H A Dpayload_generation_config.h79 // target image.
150 // Image information about the new image that's the target of this payload.
151 ImageConfig target; member in struct:chromeos_update_engine::PayloadGenerationConfig
164 // filesystem in either source or target version, since there is some space
/system/gatekeeper/
H A Dgatekeeper_messages.cpp47 SizedBuffer *target) {
48 if (*buffer + sizeof(target->length) > end) return ERROR_INVALID;
50 memcpy(&target->length, *buffer, sizeof(target->length));
51 *buffer += sizeof(target->length);
52 if (target->length != 0) {
54 if (buffer_size < target->length) return ERROR_INVALID;
56 target->buffer.reset(new uint8_t[target->length]);
57 memcpy(target
46 read_from_buffer(const uint8_t **buffer, const uint8_t *end, SizedBuffer *target) argument
[all...]
/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/netd/client/
H A DNetdClient.cpp136 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { argument
141 *target = netId;
158 *target = (target == &netIdForResolv) ? requestedNetId : netId;

Completed in 357 milliseconds

123