/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | target.h | 44 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/ |
D | IptablesBaseTest.cpp | 43 int IptablesBaseTest::fakeExecIptables(IptablesTarget target, ...) { in fakeExecIptables() argument 46 va_start(args, target); in fakeExecIptables() 56 if (target == V4 || target == V4V6) { in fakeExecIptables() 59 if (target == V6 || target == V4V6) { in fakeExecIptables() 66 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { in fakeExecIptablesRestore() argument 67 sRestoreCmds.push_back({ target, commands }); in fakeExecIptablesRestore() 71 int IptablesBaseTest::expectIptablesCommand(IptablesTarget target, int pos, in expectIptablesCommand() argument 80 if (target == V4 || target == V4V6) { in expectIptablesCommand() 83 if (target == V6 || target == V4V6) { in expectIptablesCommand() 87 return target == V4V6 ? 2 : 1; in expectIptablesCommand() [all …]
|
D | NetdConstants.cpp | 73 static int execIptables(IptablesTarget target, bool silent, va_list args) { in execIptables() argument 95 if (target == V4 || target == V4V6) { in execIptables() 99 if (target == V6 || target == V4V6) { in execIptables() 106 int execIptables(IptablesTarget target, ...) { in execIptables() argument 108 va_start(args, target); in execIptables() 109 int res = execIptables(target, false, args); in execIptables() 114 int execIptablesSilently(IptablesTarget target, ...) { in execIptablesSilently() argument 116 va_start(args, target); in execIptablesSilently() 117 int res = execIptables(target, true, args); in execIptablesSilently() 148 int execIptablesRestore(IptablesTarget target, const std::string& commands) { in execIptablesRestore() argument [all …]
|
D | FirewallController.cpp | 173 IptablesTarget target = V4; in setEgressSourceRule() local 175 target = V6; in setEgressSourceRule() 186 res |= execIptables(target, op, LOCAL_INPUT, "-d", addr, "-j", "RETURN", NULL); in setEgressSourceRule() 187 res |= execIptables(target, op, LOCAL_OUTPUT, "-s", addr, "-j", "RETURN", NULL); in setEgressSourceRule() 198 IptablesTarget target = V4; in setEgressDestRule() local 200 target = V6; in setEgressDestRule() 217 res |= execIptables(target, op, LOCAL_INPUT, "-s", addr, "-p", protocolStr, in setEgressDestRule() 219 res |= execIptables(target, op, LOCAL_OUTPUT, "-d", addr, "-p", protocolStr, in setEgressDestRule() 244 const char* target; in setUidRule() local 247 target = "RETURN"; in setUidRule() [all …]
|
D | FirewallController.h | 86 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);
|
D | IptablesBaseTest.h | 28 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);
|
D | NetdConstants.h | 43 int execIptables(IptablesTarget target, ...); 44 int execIptablesSilently(IptablesTarget target, ...); 45 int execIptablesRestore(IptablesTarget target, const std::string& commands);
|
D | StrictController.h | 48 static int (*execIptables)(IptablesTarget target, ...); 49 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
|
/system/media/ |
D | CleanSpec.mk | 48 $(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/connectivity/shill/ |
D | property_accessor.h | 157 CustomAccessor(C* target, in CustomAccessor() argument 161 : target_(target), in CustomAccessor() 166 DCHECK(target); in CustomAccessor() 173 CustomAccessor(C* target, in CustomAccessor() argument 176 : CustomAccessor(target, getter, setter, nullptr) {} in CustomAccessor() 222 CustomWriteOnlyAccessor(C* target, in CustomWriteOnlyAccessor() argument 226 : target_(target), in CustomWriteOnlyAccessor() 230 DCHECK(target); in CustomWriteOnlyAccessor() 273 CustomReadOnlyAccessor(C* target, T(C::*getter)(Error* error) const) in CustomReadOnlyAccessor() argument 274 : target_(target), getter_(getter) { in CustomReadOnlyAccessor() [all …]
|
/system/vold/fs/ |
D | Ext4.cpp | 67 status_t Check(const std::string& source, const std::string& target) { in Check() argument 72 const char* c_target = target.c_str(); in Check() 129 status_t Mount(const std::string& source, const std::string& target, bool ro, in Mount() argument 135 const char* c_target = target.c_str(); in Mount() 165 const std::string& target) { in Format() argument 171 cmd.push_back(target); in Format()
|
D | Ext4.h | 30 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);
|
D | F2fs.cpp | 53 status_t Mount(const std::string& source, const std::string& target) { in Mount() argument 55 const char* c_target = target.c_str(); in Mount()
|
/system/gatekeeper/ |
D | gatekeeper_messages.cpp | 49 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/tpm/trunks/ |
D | trunks_factory_for_test.cc | 44 explicit TpmStateForwarder(TpmState* target) : target_(target) {} in TpmStateForwarder() argument 122 explicit TpmUtilityForwarder(TpmUtility* target) : target_(target) {} in TpmUtilityForwarder() argument 356 explicit AuthorizationDelegateForwarder(AuthorizationDelegate* target) in AuthorizationDelegateForwarder() argument 357 : target_(target) {} in AuthorizationDelegateForwarder() 391 explicit SessionManagerForwarder(SessionManager* target) : target_(target) {} in SessionManagerForwarder() argument 418 explicit HmacSessionForwarder(HmacSession* target): target_(target) {} in HmacSessionForwarder() argument 453 explicit PolicySessionForwarder(PolicySession* target): target_(target) {} in PolicySessionForwarder() argument 503 explicit BlobParserForwarder(BlobParser* target): target_(target) {} in BlobParserForwarder() argument
|
/system/vold/ |
D | secdiscard.cpp | 61 for (auto target: options.targets) { in main() local 62 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink; in main() 63 secdiscard_path(target); in main() 65 if (unlink(target.c_str()) != 0 && errno != ENOENT) { in main() 66 PLOG(ERROR) << "Unable to unlink: " << target; in main() 69 LOG(DEBUG) << "Discarded: " << target; in main()
|
/system/connectivity/shill/vpn/ |
D | third_party_vpn_driver.h | 117 const char* key, std::string* target, bool mandatory, 130 char delimiter, std::vector<std::string>* target, bool mandatory, 143 char delimiter, std::vector<std::string>* target, bool mandatory, 155 char delimiter, std::vector<std::string>* target, bool mandatory, 167 const char* key, int32_t* target, int32_t min_value,
|
D | third_party_vpn_driver.cc | 188 std::string* target, bool mandatory, std::string* error_message) { in ProcessIp() argument 193 *target = parameters.at(key); in ProcessIp() 204 char delimiter, std::vector<std::string>* target, bool mandatory, in ProcessIPArray() argument 224 target->swap(string_array); in ProcessIPArray() 235 char delimiter, std::vector<std::string>* target, bool mandatory, in ProcessIPArrayCIDR() argument 264 target->swap(string_array); in ProcessIPArrayCIDR() 275 char delimiter, std::vector<std::string>* target, bool mandatory, in ProcessSearchDomainArray() argument 285 target->swap(string_array); in ProcessSearchDomainArray() 296 int32_t* target, int32_t min_value, int32_t max_value, bool mandatory, in ProcessInt32() argument 303 *target = value; in ProcessInt32()
|
/system/extras/verity/ |
D | BootSignature.java | 69 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/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | target.h | 48 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/core/libutils/ |
D | Printer.cpp | 126 String8Printer::String8Printer(String8* target, const char* prefix) : in String8Printer() argument 127 mTarget(target), in String8Printer() 130 if (target == NULL) { in String8Printer()
|
/system/core/libbacktrace/ |
D | Android.mk | 68 build_type := target 120 build_type := target 140 build_type := target 206 build_type := target
|
/system/core/fs_mgr/ |
D | fs_mgr.c | 96 static void check_fs(char *blk_device, char *fs_type, char *target) in check_fs() argument 129 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts); in check_fs() 131 __func__, blk_device, target, fs_type, ret, strerror(errno)); in check_fs() 137 int result = umount(target); in check_fs() 139 INFO("%s(): unmount(%s) succeeded\n", __func__, target); in check_fs() 142 ERROR("%s(): umount(%s)=%d: %s\n", __func__, target, result, strerror(errno)); in check_fs() 224 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) in __mount() argument 234 if (!lstat(target, &info)) in __mount() 236 unlink(target); in __mount() 237 mkdir(target, 0755); in __mount() [all …]
|
/system/extras/mmap-perf/ |
D | mmapPerf.cpp | 38 uint64_t *target = (uint64_t*)ptr; in fillPageJunk() local 40 *target = seed ^ (uint64_t)(uintptr_t)target; in fillPageJunk() 42 target++; in fillPageJunk()
|
/system/update_engine/payload_generator/ |
D | delta_diff_generator.cc | 82 config.target.partitions.size()); in GenerateUpdatePayloadFile() 85 for (size_t i = 0; i < config.target.partitions.size(); i++) { in GenerateUpdatePayloadFile() 88 const PartitionConfig& new_part = config.target.partitions[i]; in GenerateUpdatePayloadFile()
|