Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 155) sorted by relevance

1234567

/system/core/fastboot/
Dvendor_boot_img_utils.cpp41 if (auto res = CheckAdvance(old_data_ptr_, old_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() local
43 if (auto res = CheckAdvance(new_data_ptr_, new_end(), num_bytes, __FUNCTION__); !res.ok()) in Copy() local
56 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_num_bytes, __FUNCTION__); in Replace() local
62 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_data_size, __FUNCTION__); in Replace() local
71 if (auto res = CheckAdvance(old_data_ptr_, old_end(), old_skip, __FUNCTION__); !res.ok()) in Skip() local
74 if (auto res = CheckAdvance(new_data_ptr_, new_end(), new_skip, __FUNCTION__); !res.ok()) in Skip() local
196 if (auto res = updater->Seek(updater->size() - AVB_FOOTER_SIZE); !res.ok()) return res; in copy_avb_footer() local
209 if (auto res = check_vendor_boot_hdr(vendor_boot, 3); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
221 if (auto res = updater.Copy(o); !res.ok()) return res.error(); in replace_default_vendor_ramdisk() local
235 if (auto res = updater.Replace(hdr->vendor_ramdisk_size, new_ramdisk); !res.ok()) in replace_default_vendor_ramdisk() local
[all …]
/system/netd/server/
DMDnsService.cpp62 int res = mListener.startDaemon(); in startDaemon() local
68 int res = mListener.stopDaemon(); in stopDaemon() local
74 int res = mListener.serviceRegister( in registerService() local
82 int res = mListener.discover(info.interfaceIdx, info.registrationType.c_str(), in discover() local
89 int res = mListener.resolveService(info.id, info.interfaceIdx, info.serviceName.c_str(), in resolve() local
96 int res = mListener.getAddrInfo(info.id, info.interfaceIdx, 0 /* protocol */, in getServiceAddress() local
103 int res = mListener.stop(id); in stopOperation() local
109 int res = MDnsEventReporter::getInstance().addEventListener(listener); in registerEventListener() local
116 int res = MDnsEventReporter::getInstance().removeEventListener(listener); in unregisterEventListener() local
DNetdNativeService.cpp84 #define RETURN_BINDER_STATUS_IF_NOT_OK(logEntry, res) \ argument
226 int res = gCtls->bandwidthCtrl.setInterfaceQuota(ifName, bytes); in bandwidthSetInterfaceQuota() local
232 int res = gCtls->bandwidthCtrl.removeInterfaceQuota(ifName); in bandwidthRemoveInterfaceQuota() local
239 int res = gCtls->bandwidthCtrl.setInterfaceAlert(ifName, bytes); in bandwidthSetInterfaceAlert() local
245 int res = gCtls->bandwidthCtrl.removeInterfaceAlert(ifName); in bandwidthRemoveInterfaceAlert() local
251 int res = gCtls->bandwidthCtrl.setGlobalAlert(bytes); in bandwidthSetGlobalAlert() local
718 int res = in idletimerAddInterface() local
727 int res = gCtls->idletimerCtrl.removeInterfaceIdletimer(ifName.c_str(), timeout, in idletimerRemoveInterface() local
749 int res = gCtls->strictCtrl.setUidCleartextPenalty((uid_t) uid, penalty); in strictUidCleartextPenalty() local
785 int res = (gCtls->tetherCtrl.enableForwarding(requester.c_str())) ? 0 : -EREMOTEIO; in ipfwdEnableForwarding() local
[all …]
DXfrmControllerTest.cpp149 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F() local
160 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(unique_fd(), 1001, getuid()); in TEST_F() local
168 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, 1001); in TEST_F() local
176 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(fd, 1001, getuid()); in TEST_F() local
187 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F() local
198 netdutils::Status res = ctrl.ipSecSetEncapSocketOwner(sockFd, 1001, getuid()); in TEST_F() local
278 Status res = ctrl.ipSecAllocateSpi(1 /* resourceId */, localAddr, in TEST_P() local
354 Status res = ctrl.ipSecAddSecurityAssociation( in testIpSecAddSecurityAssociation() local
472 Status res = ctrl.ipSecAddSecurityAssociation( in TEST_F() local
490 Status res = ctrl.ipSecApplyTransportModeTransform(sock, 1 /* resourceId */, in TEST_F() local
[all …]
DBandwidthController.cpp321 int res = 0; in setInterfaceSharedQuota() local
410 int res = 0; in removeInterfaceSharedQuota() local
443 if (int res = updateQuota(cost, maxBytes)) { in setInterfaceQuota() local
523 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota() local
543 int res = errno; in updateQuota() local
580 int res = 0; in setGlobalAlert() local
602 int res = 0; in removeGlobalAlert() local
662 int res = 0; in setCostlyAlert() local
/system/tools/sysprop/
DApiCheckerMain.cpp46 if (auto res = ParseApiFile(argv[1]); res.ok()) { in main() local
53 if (auto res = ParseApiFile(argv[2]); res.ok()) { in main() local
60 if (auto res = CompareApis(latest, current); !res.ok()) { in main() local
DTypeCheckerMain.cpp85 if (auto res = ParseArgs(argc, argv); res.ok()) { in main() local
96 if (auto res = ParseApiFile(api_path); res.ok()) { in main() local
124 if (auto res = CheckPropertyTypes(api, entries); !res.ok()) { in main() local
DApiDumpMain.cpp50 if (auto res = ParseProps(argv[i]); res.ok()) { in main() local
79 std::string res; in main() local
DJavaMain.cpp95 if (auto res = ParseArgs(argc, argv, &args); !res.ok()) { in main() local
100 if (auto res = GenerateJavaLibrary(args.input_file_path, args.scope, in main() local
DCppMain.cpp103 if (auto res = ParseArgs(argc, argv); res.ok()) { in main() local
110 if (auto res = GenerateCppFiles(args.input_file_path, args.header_dir, in main() local
DCommon.cpp220 if (auto res = ValidateProp(props, prop); !res.ok()) return res; in ValidateProps() local
228 auto res = prop_names.insert(ApiNameToIdentifier(prop.api_name())); in ValidateProps() local
310 if (auto res = ValidateProps(ret); !res.ok()) { in ParseProps() local
343 if (auto res = ValidateProps(*props); !res.ok()) { in ParseApiFile() local
/system/incremental_delivery/libdataloader/
DJNIHelpers.h30 jmethodID res = env->GetMethodID(clazz, method_name, method_signature); in GetMethodIDOrDie() local
37 jmethodID res = env->GetStaticMethodID(clazz, method_name, method_signature); in GetStaticMethodIDOrDie() local
44 jfieldID res = env->GetFieldID(clazz, field_name, field_signature); in GetFieldIDOrDie() local
51 jfieldID res = env->GetStaticFieldID(clazz, field_name, field_signature); in GetStaticFieldIDOrDie() local
57 jfieldID res = env->GetStaticFieldID(clazz, fieldName, "I"); in GetStaticIntFieldValueOrDie() local
/system/vold/model/
DVolumeBase.cpp185 status_t res = doCreate(); in create() local
216 status_t res = doDestroy(); in destroy() local
232 status_t res = doMount(); in mount() local
257 status_t res = doUnmount(); in unmount() local
273 status_t res = doFormat(fsType); in format() local
DPrivateVolume.cpp59 status_t res = ReadMetadata(mDmDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata() local
135 int res = ext4::Check(mDmDevPath, mPath); in doMount() local
149 int res = f2fs::Check(mDmDevPath); in doMount() local
/system/apex/apexd/
Dapexservice.cpp152 Result<void> res = ::android::apex::StagePackages(paths); in stagePackages() local
171 Result<void> res = ::android::apex::UnstagePackages(paths); in unstagePackages() local
282 if (auto res = calculateSizeForCompressedApex(compressed_apex_info_list, in reserveSpaceForCompressedApex() local
287 if (auto res = ReserveSpaceForCompressedApex(required_size, kOtaReservedDir); in reserveSpaceForCompressedApex() local
526 auto res = InstallPackage(package_path); in installAndActivatePackage() local
546 Result<void> res = ::android::apex::AbortStagedSession(session_id); in abortStagedSession() local
562 Result<void> res = ::android::apex::RevertActiveSessions("", ""); in revertActiveSessions() local
583 Result<void> res = ::android::apex::ResumeRevertIfNeeded(); in resumeRevertIfNeeded() local
600 Result<void> res = in snapshotCeData() local
618 Result<void> res = in restoreCeData() local
[all …]
/system/extras/simpleperf/
Dread_symbol_map.cpp44 auto res = content_ref.substr(begin, end - begin); in ConsumeWord() local
58 auto res = strtoull(start, &stop, 0); in ConsumeUInt() local
/system/core/libcutils/
Dqtaguid.cpp81 int res = fcntl(sockfd, F_GETFD); in qtaguid_tagSocket() local
92 int res = fcntl(sockfd, F_GETFD); in qtaguid_untagSocket() local
/system/incremental_delivery/incfs/
Dincfs.cpp85 auto res = ab::unique_fd( in openAt() local
103 auto res = path::dirName(cmdFile); in rootForCmd() local
170 int res = 0; in forEachFileIn() local
260 int res = Features::none | Features::mappingFilesProgressFixed; in readIncFsFeatures() local
451 std::string res(kIncFsFileIdStringLength, '\0'); in toStringImpl() local
461 IncFsFileId res; in toFileIdImpl() local
706 T res; in read() local
929 if (auto res = makeDir(commandPath.c_str(), mode, false)) { in IncFs_MakeDir() local
954 const auto res = ::getxattr(path, kMetadataAttrName, buffer, *bufferSize); in getMetadata() local
1000 const auto res = getter(param, kIdAttrName, buffer, sizeof(buffer)); in getId() local
[all …]
Dpath.cpp136 std::string res; in readlink() local
190 void details::appendNextPath(std::string& res, std::string_view path) { in appendNextPath()
202 auto res = std::pair(dirName(full), baseName(full)); in splitDirBase() local
/system/extras/libjsonpb/verify/
Dverify.cpp116 auto res = in AllFieldsAreKnown() local
126 auto res = AllFieldsAreKnown(field, json_value, path, error); in AllFieldsAreKnown() local
202 auto res = internal::JsonStringToMessage(json, scratch_space); in FormatJson() local
/system/memory/lmkd/libpsi/
Dpsi.cpp39 int res; in init_psi_monitor() local
82 int res; in register_psi_monitor() local
/system/tools/xsdc/src/com/android/xsdc/cpp/
DUtils.java40 String res = words[0]; in toCamelCase() local
98 String res; in elementTypeName() local
/system/gsid/
Dlibgsid.cpp30 android::sp<android::IBinder> res = sm->waitForService(name); in GetGsiService() local
/system/core/fs_mgr/
Dblockdev.cpp89 int res = stat(file_path.c_str(), &statbuf); in BlockDeviceQueueDepth() local
149 const int res = write(sysfs_fd.get(), nr_requests.data(), nr_requests.length()); in ConfigureQueueDepth() local
/system/libufdt/
Dufdt_convert.c120 struct ufdt_node *res = ufdt_node_construct(fdtp, fdt_tag_ptr, pool); in ufdt_new_node() local
131 struct ufdt_node *res, *child_node; in fdt_to_ufdt_tree() local
227 struct ufdt_node *res = NULL; in ufdt_get_node_by_phandle() local
250 int res = 0; in count_phandle_node() local
284 struct ufdt_static_phandle_table res; in build_phandle_table() local
323 int res; in _ufdt_get_property_nameoff() local

1234567