Home
last modified time | relevance | path

Searched refs:err (Results 1 – 25 of 223) sorted by relevance

123456789

/system/update_engine/cros/
Ddlcservice_chromeos.cc46 brillo::ErrorPtr err; in GetDlcsToUpdate() local
47 if (!GetDlcServiceProxy().GetDlcsToUpdate(dlc_ids, &err)) { in GetDlcsToUpdate()
49 << "ErrorCode=" << err->GetCode() in GetDlcsToUpdate()
50 << ", ErrMsg=" << err->GetMessage(); in GetDlcsToUpdate()
58 brillo::ErrorPtr err; in InstallCompleted() local
59 if (!GetDlcServiceProxy().InstallCompleted(dlc_ids, &err)) { in InstallCompleted()
61 << err->GetCode() << ", ErrMsg=" << err->GetMessage(); in InstallCompleted()
68 brillo::ErrorPtr err; in UpdateCompleted() local
69 if (!GetDlcServiceProxy().UpdateCompleted(dlc_ids, &err)) { in UpdateCompleted()
71 << err->GetCode() << ", ErrMsg=" << err->GetMessage(); in UpdateCompleted()
/system/tools/hidl/
DCoordinator.cpp114 status_t err = getFilepath(fqName, location, fileName, &filepath); in getFormatter() local
115 if (err != OK) { in getFormatter()
138 status_t err; in getFilepath() local
147 err = getPackagePath(fqName, false /* relative */, false /* sanitized */, &packagePath); in getFilepath()
148 if (err != OK) return err; in getFilepath()
153 err = convertPackageRootToPath(fqName, &packageRootPath); in getFilepath()
154 if (err != OK) return err; in getFilepath()
155 err = getPackagePath(fqName, true /* relative */, false /* sanitized */, &packagePath); in getFilepath()
156 if (err != OK) return err; in getFilepath()
161 err = convertPackageRootToPath(fqName, &packageRootPath); in getFilepath()
[all …]
DAST.cpp104 status_t err; in postParse() local
107 err = lookupTypes(); in postParse()
108 if (err != OK) return err; in postParse()
111 err = setParseStage(Type::ParseStage::PARSE, Type::ParseStage::POST_PARSE); in postParse()
112 if (err != OK) return err; in postParse()
117 err = validateDefinedTypesUniqueNames(); in postParse()
118 if (err != OK) return err; in postParse()
121 err = topologicalReorder(); in postParse()
122 if (err != OK) return err; in postParse()
123 err = resolveInheritance(); in postParse()
[all …]
Dmain.cpp86 status_t err = getOutputFile(fqName, coordinator, location, &fileName); in appendOutputFiles() local
87 if (err != OK) return err; in appendOutputFiles()
187 status_t err = coordinator->appendPackageInterfacesToVector(fqName, targets); in appendTargets() local
188 if (err != OK) return err; in appendTargets()
192 status_t err = appendPerTypeTargets(fqName, coordinator, targets); in appendTargets() local
193 if (err != OK) return err; in appendTargets()
198 status_t err = coordinator->appendPackageInterfacesToVector(fqName, &packageInterfaces); in appendTargets() local
199 if (err != OK) return err; in appendTargets()
201 err = appendPerTypeTargets(packageInterface, coordinator, targets); in appendTargets()
202 if (err != OK) return err; in appendTargets()
[all …]
DType.cpp171 status_t err = func(this); in recursivePass() local
172 if (err != OK) return err; in recursivePass()
175 err = nextType->recursivePass(stage, func, visited); in recursivePass()
176 if (err != OK) return err; in recursivePass()
180 err = nextRef->shallowGet()->recursivePass(stage, func, visited); in recursivePass()
181 if (err != OK) return err; in recursivePass()
195 status_t err = func(this); in recursivePass() local
196 if (err != OK) return err; in recursivePass()
199 err = nextType->recursivePass(stage, func, visited); in recursivePass()
200 if (err != OK) return err; in recursivePass()
[all …]
DConstantExpression.cpp561 status_t err = func(this); in recursivePass() local
562 if (err != OK) return err; in recursivePass()
566 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass() local
567 if (err != OK) return err; in recursivePass()
573 status_t err = nextCE->recursivePass(func, visited, processBeforeDependencies); in recursivePass() local
574 if (err != OK) return err; in recursivePass()
578 status_t err = func(this); in recursivePass() local
579 if (err != OK) return err; in recursivePass()
594 status_t err = func(this); in recursivePass() local
595 if (err != OK) return err; in recursivePass()
[all …]
/system/tools/sysprop/
DApiChecker.cpp39 std::string err; in CompareProps() local
64 err += "Prop " + latest_prop.api_name() + " has been removed\n"; in CompareProps()
70 err += "Type of prop " + latest_prop.api_name() + " has been changed\n"; in CompareProps()
74 err += "Accessibility of prop " + latest_prop.api_name() + in CompareProps()
79 err += "Scope of prop " + latest_prop.api_name() + in CompareProps()
83 err += "Enum values of prop " + latest_prop.api_name() + in CompareProps()
87 err += "Integer-as-bool of prop " + latest_prop.api_name() + in CompareProps()
94 err += "Underlying property of prop " + latest_prop.api_name() + in CompareProps()
98 err += "Legacy prop of prop " + latest_prop.api_name() + in CompareProps()
106 err += "owner of module " + latest.module() + " has been changed\n"; in CompareProps()
[all …]
DTypeChecker.cpp87 std::string err; in CheckPropertyTypes() local
112 if (!err.empty()) err += "\n"; in CheckPropertyTypes()
113 err += "Type of prop '" + prop_name + in CheckPropertyTypes()
115 err += "In sysprop_library: " + GetTypeName(prop) + "\n"; in CheckPropertyTypes()
116 err += "In property_contexts: " + itr->second + " (should be '" + in CheckPropertyTypes()
123 if (err.empty()) in CheckPropertyTypes()
126 return Errorf("{}", err); in CheckPropertyTypes()
/system/sepolicy/tools/sepolicy-analyze/
Dneverallow.c39 goto err; in read_typeset()
49 goto err; in read_typeset()
64 goto err; in read_typeset()
97 goto err; in read_typeset()
109 goto err; in read_typeset()
136 goto err; in read_typeset()
141 goto err; in read_typeset()
151 goto err; in read_typeset()
159 goto err; in read_typeset()
171 goto err; in read_typeset()
[all …]
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc46 int err; local
48 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
50 if (err < 0) {
81 int err; local
87 err = osi_socket_local_server_bind(s, name, namespaceId);
89 if (err < 0) {
/system/core/libcutils/
Dsocket_local_server_unix.cpp60 int err; local
62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
64 if (err < 0) {
99 int err; local
105 err = socket_local_server_bind(s, name, namespaceId);
107 if (err < 0) {
/system/netd/libnetdutils/
DStatus.cpp26 Status statusFromErrno(int err, const std::string& msg) { in statusFromErrno() argument
27 return Status(err, base::StringPrintf("[%s] : %s", strerror(err), msg.c_str())); in statusFromErrno()
30 bool equalToErrno(const Status& status, int err) { in equalToErrno() argument
31 return status.code() == err; in equalToErrno()
/system/bt/stack/a2dp/
Da2dp_aac_decoder.cc70 AAC_DECODER_ERROR err = aacDecoder_Fill(a2dp_aac_decoder_cb.aac_handle, in a2dp_aac_decoder_decode_packet() local
72 if (err != AAC_DEC_OK) { in a2dp_aac_decoder_decode_packet()
74 static_cast<unsigned>(err)); in a2dp_aac_decoder_decode_packet()
79 err = aacDecoder_DecodeFrame(a2dp_aac_decoder_cb.aac_handle, in a2dp_aac_decoder_decode_packet()
82 if (err == AAC_DEC_NOT_ENOUGH_BITS) { in a2dp_aac_decoder_decode_packet()
85 if (err != AAC_DEC_OK) { in a2dp_aac_decoder_decode_packet()
87 static_cast<int>(err)); in a2dp_aac_decoder_decode_packet()
/system/media/audio_utils/
Dfifo.cpp204 int err = 0; in obtain() local
216 err = filled; in obtain()
234 err = -ENOTSUP; in obtain()
237 err = audio_utils_clock_nanosleep(CLOCK_MONOTONIC, 0 /*flags*/, timeout, in obtain()
239 if (err < 0) { in obtain()
240 LOG_ALWAYS_FATAL_IF(errno != EINTR, "unexpected err=%d errno=%d", err, errno); in obtain()
241 err = -errno; in obtain()
243 err = -ETIMEDOUT; in obtain()
253 err = mFifo.mThrottleFront->wait(op, front, timeout); in obtain()
254 if (err < 0) { in obtain()
[all …]
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/
DConfig.java64 …System.err.println("" + fileDir + File.separator + fileName + " file does not exists because the t… in getConfiguration()
67 …System.err.println("" + fileDir + File.separator + fileName + " file read/write permission denied.… in getConfiguration()
70 … System.err.println("Exception while opening file " + fileDir + File.separator + fileName + "."); in getConfiguration()
73 … System.err.println("Invalid json format for file " + fileDir + File.separator + fileName + "."); in getConfiguration()
76 … System.err.println("Exception while parsing file " + fileDir + File.separator + fileName + "."); in getConfiguration()
79 System.err.println("Exception while getting configuration."); in getConfiguration()
96 …System.err.println("Exception while saving configuration, " + fileDir + File.separator + fileName … in saveConfiguration()
99 System.err.println("Exception while saving configuration."); in saveConfiguration()
118 … System.err.println("Exception while deleting file " + fileDir + File.separator + fileName + "."); in createLockFile()
127 …System.err.println("Exception while creating file " + fileDir + File.separator + fileLock + ", exi… in createLockFile()
[all …]
/system/bt/stack/avdt/
Davdt_msg.cc530 uint8_t err = 0; in avdt_msg_prs_cfg() local
544 while ((p < p_end) && (err == 0)) { in avdt_msg_prs_cfg()
547 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg()
565 err = AVDT_ERR_CATEGORY; in avdt_msg_prs_cfg()
579 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg()
592 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg()
599 err = AVDT_ERR_RECOV_TYPE; in avdt_msg_prs_cfg()
604 err = AVDT_ERR_RECOV_FMT; in avdt_msg_prs_cfg()
611 err = AVDT_ERR_LENGTH; in avdt_msg_prs_cfg()
627 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg()
[all …]
/system/libufdt/
Dufdt_convert.c366 int err = fdt_begin_node(fdtp, ufdt_node_name(node)); in _ufdt_output_node_to_fdt() local
367 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
371 err = _ufdt_output_node_to_fdt(tree, fdtp, *it, dict); in _ufdt_output_node_to_fdt()
372 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
376 err = _ufdt_output_node_to_fdt(tree, fdtp, *it, dict); in _ufdt_output_node_to_fdt()
377 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
380 err = fdt_end_node(fdtp); in _ufdt_output_node_to_fdt()
381 if (err < 0) return -1; in _ufdt_output_node_to_fdt()
419 int err; in ufdt_to_fdt() local
420 err = fdt_create(buf, buf_size); in ufdt_to_fdt()
[all …]
Dufdt_overlay.c378 int err = ufdt_overlay_node(target_node, overlay_node, pool); in ufdt_apply_fragment() local
380 if (err < 0) { in ufdt_apply_fragment()
480 int err = ufdt_local_fixup_prop(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local
482 if (err < 0) return -1; in ufdt_local_fixup_node()
492 int err = ufdt_local_fixup_node(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local
494 if (err < 0) return -1; in ufdt_local_fixup_node()
527 int err = in ufdt_overlay_do_local_fixups() local
530 if (err < 0) return -1; in ufdt_overlay_do_local_fixups()
544 int err = ufdt_overlay_do_local_fixups(overlay_tree, phandle_offset); in ufdt_overlay_local_ref_update() local
545 if (err < 0) { in ufdt_overlay_local_ref_update()
[all …]
/system/libvintf/
DRuntimeInfo-target.cpp77 status_t err = OK; in fetchKernelConfigs() local
82 err = (errnum == Z_ERRNO ? -errno : errnum); in fetchKernelConfigs()
87 return err; in fetchKernelConfigs()
130 status_t err = RuntimeInfo::parseGkiKernelRelease(flags, mRuntimeInfo->mOsRelease, in fetchVersion() local
133 if (err == OK) return OK; in fetchVersion()
135 err = parseKernelVersion(); in fetchVersion()
136 if (err != OK) { in fetchVersion()
140 return err; in fetchVersion()
191 status_t err; in fetchAllInformation() local
193 if ((flags & fetchFunction.flags) && ((err = fetchFunction.fetch(this, flags)) != OK)) in fetchAllInformation()
[all …]
/system/core/trusty/keymaster/
DTrustyKeymaster.cpp28 int err; in Initialize() local
32 err = trusty_keymaster_connect(); in Initialize()
33 if (err) { in Initialize()
34 LOG(ERROR) << "Failed to connect to trusty keymaster (1st try)" << err; in Initialize()
35 return err; in Initialize()
46 err = trusty_keymaster_connect(); in Initialize()
47 if (err) { in Initialize()
48 LOG(FATAL) << "Failed to connect to trusty keymaster (2nd try) " << err; in Initialize()
49 return err; in Initialize()
103 keymaster_error_t err; in ForwardCommand() local
[all …]
/system/libhwbinder/
DIPCThreadState.cpp348 const status_t err = mLastError; in clearLastError() local
350 return err; in clearLastError()
614 status_t err; in transact() local
626 err = writeTransactionData(BC_TRANSACTION_SG, flags, handle, code, data, nullptr); in transact()
628 if (err != NO_ERROR) { in transact()
629 if (reply) reply->setError(err); in transact()
630 return (mLastError = err); in transact()
652 err = waitForResponse(reply); in transact()
655 err = waitForResponse(&fakeReply); in transact()
672 err = waitForResponse(nullptr, nullptr); in transact()
[all …]
/system/iorap/src/serialize/
Dprotobuf_io.cc105 int err = errno; in WriteFully() local
107 return unexpected{err}; in WriteFully()
128 int err = errno; in WriteFully() local
130 return unexpected{err}; in WriteFully()
141 int err = errno; in WriteFully() local
143 return unexpected{err}; in WriteFully()
158 int err = errno; in WriteFully() local
160 return unexpected{err}; in WriteFully()
/system/extras/tests/pagingtest/
Dpageinout_test.c44 goto err; in pageinout_test()
52 goto err; in pageinout_test()
68 goto err; in pageinout_test()
77 goto err; in pageinout_test()
84 goto err; in pageinout_test()
97 err: in pageinout_test()
/system/tools/hidl/hashing/
DHash.cpp98 static const HashFile* parse(const std::string& path, std::string* err) { in parse()
103 it = hashfiles.insert(it, {path, readHashFile(path, err)}); in parse()
120 static HashFile* readHashFile(const std::string& path, std::string* err) { in readHashFile()
135 *err = "Error reading line from " + path + ": " + line; in readHashFile()
150 *err = "Hash or fqName empty on " + path + ": " + line; in readHashFile()
165 std::string* err, bool* fileExists) { in lookupHash() argument
166 *err = ""; in lookupHash()
167 const HashFile* file = HashFile::parse(path, err); in lookupHash()
169 if (file == nullptr || err->size() > 0) { in lookupHash()
/system/core/trusty/keymaster/3.0/
Dservice.cpp27 int err = trustyKeymaster->Initialize(keymaster::KmVersion::KEYMASTER_3); in main() local
28 if (err != 0) { in main()
29 LOG(FATAL) << "Could not initialize TrustyKeymaster (" << err << ")"; in main()

123456789