/system/core/deprecated-adf/libadf/tests/ |
D | adf_test.cpp | 30 int err = adf_device_open(dev_id, O_RDWR, &dev); in SetUp() local 31 ASSERT_GE(err, 0) << "opening ADF device " << dev_id << in SetUp() 32 " failed: " << strerror(-err); in SetUp() 34 err = adf_find_simple_post_configuration(&dev, fmt8888, n_fmt8888, in SetUp() 36 ASSERT_GE(err, 0) << "finding ADF configuration failed: " << in SetUp() 37 strerror(-err); in SetUp() 58 int err = adf_get_overlay_engine_data(eng, &data); in get8888Format() local 59 ASSERT_GE(err, 0) << "getting ADF overlay engine data failed: " << in get8888Format() 60 strerror(-err); in get8888Format() 80 int err = adf_get_interface_data(intf, &data); in getInterfaceData() local [all …]
|
/system/update_engine/ |
D | dlcservice_chromeos.cc | 46 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/connectivity/wifilogd/ |
D | main_loop.cpp | 44 Os::Errno err; in MainLoop() local 45 std::tie(sock_fd_, err) = os_->GetControlSocket(socket_name); in MainLoop() 46 if (err) { in MainLoop() 54 Os::Errno err; in RunOnce() local 55 std::tie(datagram_len, err) = in RunOnce() 57 if (err) { in RunOnce() 58 ProcessError(err); in RunOnce() 73 void MainLoop::ProcessError(Os::Errno err) { in ProcessError() argument 74 if (err == EINTR || err == ENOMEM) { in ProcessError()
|
/system/tools/hidl/ |
D | Coordinator.cpp | 114 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 …]
|
D | AST.cpp | 104 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 …]
|
D | main.cpp | 86 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 …]
|
D | Type.cpp | 171 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 …]
|
D | ConstantExpression.cpp | 561 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/ |
D | ApiChecker.cpp | 39 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 …]
|
D | TypeChecker.cpp | 84 std::string err; in CheckPropertyTypes() local 109 if (!err.empty()) err += "\n"; in CheckPropertyTypes() 110 err += "Type of prop '" + prop_name + in CheckPropertyTypes() 112 err += "In sysprop_library: " + GetTypeName(prop) + "\n"; in CheckPropertyTypes() 113 err += "In property_contexts: " + itr->second + " (should be '" + in CheckPropertyTypes() 120 if (err.empty()) in CheckPropertyTypes() 123 return Errorf("{}", err); in CheckPropertyTypes()
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | neverallow.c | 39 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/ |
D | socket_local_server.cc | 46 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/ |
D | socket_local_server_unix.cpp | 60 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/ |
D | Status.cpp | 26 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/core/deprecated-adf/libadf/ |
D | adf.cpp | 105 int err; in adf_get_device_data() local 110 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data() 111 if (err < 0) in adf_get_device_data() 124 err = ioctl(dev->fd, ADF_GET_DEVICE_DATA, data); in adf_get_device_data() 125 if (err < 0) { in adf_get_device_data() 147 int err; in adf_device_post() local 158 err = ioctl(dev->fd, ADF_POST_CONFIG, &data); in adf_device_post() 159 if (err < 0) in adf_device_post() 172 int err; in adf_device_post_v2() local 184 err = ioctl(dev->fd, ADF_POST_CONFIG_V2, &data); in adf_device_post_v2() [all …]
|
/system/bt/stack/a2dp/ |
D | a2dp_aac_decoder.cc | 70 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/ |
D | fifo.cpp | 202 int err = 0; in obtain() local 213 err = filled; in obtain() 231 err = audio_utils_clock_nanosleep(CLOCK_MONOTONIC, 0 /*flags*/, timeout, in obtain() 233 if (err < 0) { in obtain() 234 LOG_ALWAYS_FATAL_IF(errno != EINTR, "unexpected err=%d errno=%d", err, errno); in obtain() 235 err = -errno; in obtain() 237 err = -ETIMEDOUT; in obtain() 247 err = mFifo.mThrottleFront->wait(op, front, timeout); in obtain() 248 if (err < 0) { in obtain() 261 err = -errno; in obtain() [all …]
|
/system/libufdt/ |
D | ufdt_overlay.c | 378 int err = ufdt_overlay_node(target_node, overlay_node, pool); in ufdt_apply_fragment() local 380 if (err < 0) { in ufdt_apply_fragment() 395 enum overlay_result err; in ufdt_overlay_apply_fragments() local 402 err = ufdt_apply_fragment(main_tree, *it, pool); in ufdt_overlay_apply_fragments() 403 if (err == OVERLAY_RESULT_MERGE_FAIL) { in ufdt_overlay_apply_fragments() 478 int err = ufdt_local_fixup_prop(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local 480 if (err < 0) return -1; in ufdt_local_fixup_node() 490 int err = ufdt_local_fixup_node(sub_target_node, *it_local_fixups, in ufdt_local_fixup_node() local 492 if (err < 0) return -1; in ufdt_local_fixup_node() 525 int err = in ufdt_overlay_do_local_fixups() local [all …]
|
D | ufdt_convert.c | 366 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 …]
|
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
D | Config.java | 64 …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/core/deprecated-adf/libadfhwc/ |
D | adfhwc.cpp | 92 int err = adf_get_interface_data(dev->intf_fds[disp], &data); in adf_getDisplayConfigs() local 93 if (err < 0) { in adf_getDisplayConfigs() 94 ALOGE("failed to get ADF interface data: %s", strerror(err)); in adf_getDisplayConfigs() 95 return err; in adf_getDisplayConfigs() 155 int err = adf_get_interface_data(dev->intf_fds[disp], &data); in adf_getDisplayAttributes() local 156 if (err < 0) { in adf_getDisplayAttributes() 157 ALOGE("failed to get ADF interface data: %s", strerror(err)); in adf_getDisplayAttributes() 158 return err; in adf_getDisplayAttributes() 206 int err = adf_get_interface_data(dev->intf_fds[disp], &data); in adf_getDisplayAttributes_hwc2() local 207 if (err < 0) { in adf_getDisplayAttributes_hwc2() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_msg.cc | 528 uint8_t err = 0; in avdt_msg_prs_cfg() local 542 while ((p < p_end) && (err == 0)) { in avdt_msg_prs_cfg() 545 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg() 563 err = AVDT_ERR_CATEGORY; in avdt_msg_prs_cfg() 577 err = avdt_msg_ie_err[elem]; in avdt_msg_prs_cfg() 590 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg() 597 err = AVDT_ERR_RECOV_TYPE; in avdt_msg_prs_cfg() 602 err = AVDT_ERR_RECOV_FMT; in avdt_msg_prs_cfg() 609 err = AVDT_ERR_LENGTH; in avdt_msg_prs_cfg() 625 err = AVDT_ERR_PAYLOAD; in avdt_msg_prs_cfg() [all …]
|
/system/core/trusty/keymaster/ |
D | TrustyKeymaster.cpp | 26 int err; in Initialize() local 28 err = trusty_keymaster_connect(); in Initialize() 29 if (err) { in Initialize() 30 ALOGE("Failed to connect to trusty keymaster %d", err); in Initialize() 31 return err; in Initialize() 57 keymaster_error_t err; in ForwardCommand() local 58 err = trusty_keymaster_send(command, req, rsp); in ForwardCommand() 59 if (err != KM_ERROR_OK) { in ForwardCommand() 60 ALOGE("Failed to send cmd %d err: %d", command, err); in ForwardCommand() 61 rsp->error = err; in ForwardCommand()
|
/system/extras/tests/pagingtest/ |
D | pageinout_test.c | 44 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/libhwbinder/ |
D | IPCThreadState.cpp | 346 const status_t err = mLastError; in clearLastError() local 348 return err; in clearLastError() 625 status_t err; in transact() local 637 err = writeTransactionData(BC_TRANSACTION_SG, flags, handle, code, data, nullptr); in transact() 639 if (err != NO_ERROR) { in transact() 640 if (reply) reply->setError(err); in transact() 641 return (mLastError = err); in transact() 663 err = waitForResponse(reply); in transact() 666 err = waitForResponse(&fakeReply); in transact() 683 err = waitForResponse(nullptr, nullptr); in transact() [all …]
|