/system/core/base/ |
H A D | file_test.cpp | 51 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 D | open_files_list.cpp | 54 std::string target; local 55 if (android::base::Readlink(path, &target)) { 56 list->emplace_back(fd, target);
|
H A D | backtrace.cpp | 86 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 D | F2fs.cpp | 55 status_t Mount(const std::string& source, const std::string& target) { argument 57 const char* c_target = target.c_str();
|
H A D | Exfat.cpp | 57 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 D | Vfat.cpp | 116 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 D | Ext4.cpp | 70 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 D | line_printer.cpp | 92 SMALL_RECT target = { local 104 WriteConsoleOutput(console_, &char_data[0], buf_size, zero_zero, &target);
|
/system/update_engine/payload_consumer/ |
H A D | file_descriptor_utils.cc | 81 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 D | debuggerd_benchmark.cpp | 67 pid_t target = getpid(); local 87 if (!debuggerd_trigger_dump(target, kDebuggerdNativeBacktrace, 1000, std::move(output_fd))) {
|
/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/netd/server/ |
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.cpp | 109 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 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 | 215 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 D | trunks_factory_for_test.cc | 44 // 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 D | Loop.cpp | 49 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 D | lmkd.h | 66 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 D | mmapPerf.cpp | 39 uint64_t *target = (uint64_t*)ptr; local 41 *target = seed ^ (uint64_t)(uintptr_t)target; 43 target++;
|
/system/extras/verity/ |
H A D | BootSignature.java | 57 * 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 D | nvram_hal_test.cc | 45 // 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 D | payload_generation_config.h | 79 // 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 D | gatekeeper_messages.cpp | 47 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 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/netd/client/ |
H A D | NetdClient.cpp | 136 int setNetworkForTarget(unsigned netId, std::atomic_uint* target) { argument 141 *target = netId; 158 *target = (target == &netIdForResolv) ? requestedNetId : netId;
|