Home
last modified time | relevance | path

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

12345678

/system/core/adb/client/
Dmdns_utils_test.cpp27 auto res = mdns_parse_instance_name(str); in TEST() local
35 auto res = mdns_parse_instance_name(str); in TEST() local
43 auto res = mdns_parse_instance_name(str); in TEST() local
54 auto res = mdns_parse_instance_name(str); in TEST() local
59 auto res = mdns_parse_instance_name(str); in TEST() local
64 auto res = mdns_parse_instance_name(str); in TEST() local
69 auto res = mdns_parse_instance_name(str); in TEST() local
74 auto res = mdns_parse_instance_name(str); in TEST() local
79 auto res = mdns_parse_instance_name(str); in TEST() local
87 auto res = mdns_parse_instance_name(str); in TEST() local
[all …]
/system/core/adb/
Dtypes.cpp33 block_type res; in clear() local
74 IOVector res; in take_front() local
158 auto res = std::move(chain_.back()); in coalesce() local
164 auto res = std::move(chain_.back()); in coalesce() local
174 auto res = std::move(chain_[start_index_]); in coalesce() 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
67 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
308 if (auto res = ValidateProps(ret); !res.ok()) { in ParseProps() local
341 if (auto res = ValidateProps(*props); !res.ok()) { in ParseApiFile() local
/system/core/libqtaguid/
Dqtaguid.c57 int fd, res, savedErrno; in write_ctrl() local
82 int res; in legacy_tagSocket() local
102 int res; in legacy_untagSocket() local
117 int res; in legacy_setCounterSet() local
128 int cnt = 0, res = 0; in legacy_deleteTagData() local
/system/core/adb/tls/tests/
Dadb_ca_list_test.cpp69 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local
74 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local
79 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local
84 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local
91 auto res = SHA256HexStringToBits(sha_str); in TEST_F() local
/system/netd/server/
DNetdNativeService.cpp124 #define RETURN_BINDER_STATUS_IF_NOT_OK(logEntry, res) \ argument
290 int res = gCtls->bandwidthCtrl.setInterfaceQuota(ifName, bytes); in bandwidthSetInterfaceQuota() local
296 int res = gCtls->bandwidthCtrl.removeInterfaceQuota(ifName); in bandwidthRemoveInterfaceQuota() local
303 int res = gCtls->bandwidthCtrl.setInterfaceAlert(ifName, bytes); in bandwidthSetInterfaceAlert() local
309 int res = gCtls->bandwidthCtrl.removeInterfaceAlert(ifName); in bandwidthRemoveInterfaceAlert() local
315 int res = gCtls->bandwidthCtrl.setGlobalAlert(bytes); in bandwidthSetGlobalAlert() local
322 int res = gCtls->bandwidthCtrl.addNaughtyApps(appStrUids); in bandwidthAddNaughtyApp() local
329 int res = gCtls->bandwidthCtrl.removeNaughtyApps(appStrUids); in bandwidthRemoveNaughtyApp() local
336 int res = gCtls->bandwidthCtrl.addNiceApps(appStrUids); in bandwidthAddNiceApp() local
343 int res = gCtls->bandwidthCtrl.removeNiceApps(appStrUids); in bandwidthRemoveNiceApp() 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 …]
DTrafficController.cpp355 base::Result<void> res = currentMap.iterate(countUidStatsEntries); in tagSocket() local
392 base::Result<void> res = mCookieTagMap.deleteValue(sock_cookie); in untagSocket() local
414 Status res = mUidCounterSetMap.deleteValue(uid); in setCounterSet() local
423 Status res = mUidCounterSetMap.writeValue(uid, tmpCounterSetNum, BPF_ANY); in setCounterSet() local
450 auto res = map.deleteValue(key); in deleteTagData() local
466 auto res = map.deleteValue(key); in deleteTagData() local
482 auto res = mUidCounterSetMap.deleteValue(uid); in deleteTagData() local
491 auto res = map.deleteValue(key); in deleteTagData() local
513 Status res = mIfaceIndexNameMap.writeValue(ifaceIndex, iface, BPF_ANY); in addInterface() local
623 Status res; in changeUidOwnerRule() local
[all …]
DBandwidthController.cpp415 int res = 0; in setInterfaceSharedQuota() local
504 int res = 0; in removeInterfaceSharedQuota() local
537 if (int res = updateQuota(cost, maxBytes)) { in setInterfaceQuota() local
617 const int res = iptablesRestoreFunction(V4V6, Join(cmds, "\n"), nullptr); in removeInterfaceQuota() local
637 int res = errno; in updateQuota() local
674 int res = 0; in setGlobalAlert() local
696 int res = 0; in removeGlobalAlert() local
756 int res = 0; in setCostlyAlert() local
/system/vold/model/
DPrivateVolume.cpp57 status_t res = ReadMetadata(mDmDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata() local
111 int res = ext4::Check(mDmDevPath, mPath); in doMount() local
125 int res = f2fs::Check(mDmDevPath); in doMount() local
DVolumeBase.cpp175 status_t res = doCreate(); in create() local
205 status_t res = doDestroy(); in destroy() local
221 status_t res = doMount(); in mount() local
241 status_t res = doUnmount(); in unmount() local
257 status_t res = doFormat(fsType); in format() local
DPublicVolume.cpp56 status_t res = ReadMetadataUntrusted(mDevPath, &mFsType, &mFsUuid, &mFsLabel); in readMetadata() local
258 status_t res = OK; in doFormat() 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/apex/apexd/
Dapexservice.cpp133 Result<void> res = ::android::apex::stagePackages(paths); in stagePackages() local
148 Result<void> res = ::android::apex::unstagePackages(paths); in unstagePackages() local
335 Result<void> res = ::android::apex::activatePackage(packagePath); in activatePackage() local
356 Result<void> res = ::android::apex::deactivatePackage(packagePath); in deactivatePackage() local
416 Result<void> res = ::android::apex::preinstallPackages(paths); in preinstallPackages() local
435 Result<void> res = ::android::apex::postinstallPackages(paths); in postinstallPackages() local
449 Result<void> res = ::android::apex::abortStagedSession(session_id); in abortStagedSession() local
460 Result<void> res = ::android::apex::revertActiveSessions(""); in revertActiveSessions() local
476 Result<void> res = ::android::apex::resumeRevertIfNeeded(); in resumeRevertIfNeeded() local
489 Result<ino_t> res = in snapshotCeData() local
[all …]
/system/bt/stack/smp/
Dsmp_api.cc268 void SMP_SecurityGrant(const RawAddress& bd_addr, uint8_t res) { in SMP_SecurityGrant()
316 void SMP_PasskeyReply(const RawAddress& bd_addr, uint8_t res, in SMP_PasskeyReply()
374 void SMP_ConfirmReply(const RawAddress& bd_addr, uint8_t res) { in SMP_ConfirmReply()
421 void SMP_OobDataReply(const RawAddress& bd_addr, tSMP_STATUS res, uint8_t len, in SMP_OobDataReply()
/system/memory/lmkd/libpsi/
Dpsi.cpp39 int res; in init_psi_monitor() local
82 int res; in register_psi_monitor() local
/system/gsid/tests/
DLockScreenAutomation.java58 Resources res = pm.getResourcesForApplication(SETTINGS_PACKAGE); in setPin() local
111 Resources res = pm.getResourcesForApplication(SETTINGS_PACKAGE); in removePin() local
/system/extras/libjsonpb/verify/
Dverify.cpp125 auto res = AllFieldsAreKnown(fields.Get(i, scratch_space.get()), in AllFieldsAreKnown() local
135 auto res = AllFieldsAreKnown(field, json_value, path, error); in AllFieldsAreKnown() local
212 auto res = internal::JsonStringToMessage(json, scratch_space); in FormatJson() local
/system/gsid/
Dlibgsid.cpp30 android::sp<android::IBinder> res = sm->waitForService(name); in GetGsiService() local
/system/tools/xsdc/src/com/android/xsdc/cpp/
DUtils.java40 String res = words[0]; in toCamelCase() local
95 String res; in elementTypeName() local

12345678